Searched refs:colon (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/main/streams/
H A Dxp_socket.c548 char *colon; local
568 colon = memchr(str, ':', str_len - 1);
570 colon = NULL;
572 if (colon) {
573 *portno = atoi(colon + 1);
574 host = estrndup(str, colon - str);
/PHP_TRUNK/main/
H A Dnetwork.c517 char *colon; local
530 colon = memchr(addr + 1, ']', addrlen-1);
531 if (!colon || colon[1] != ':') {
534 port = atoi(colon + 2);
537 colon = memchr(addr, ':', addrlen);
538 if (!colon) {
541 port = atoi(colon + 1);
544 tmp = estrndup(addr, colon - addr);
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c204 char *colon; local
219 colon = strchr(data_source, ':');
221 if (!colon) {
233 colon = strchr(data_source, ':');
235 if (!colon) {
250 colon = strchr(data_source, ':');
251 if (!colon) {
258 driver = pdo_find_driver(data_source, colon - data_source);
346 dbh->data_source_len = strlen(colon + 1);
347 dbh->data_source = (const char*)pestrdup(colon
[all...]
/PHP_TRUNK/Zend/
H A Dzend_constants.c299 const char *colon; local
312 if ((colon = zend_memrchr(name, ':', name_len)) &&
313 colon > name && (*(colon - 1) == ':')) {
314 int class_name_len = colon - name - 1;
316 zend_string *constant_name = zend_string_init(colon + 1, const_name_len, 0);
378 if ((colon = zend_memrchr(name, '\\', name_len)) != NULL) {
380 int prefix_len = colon - name;
382 const char *constant_name = colon + 1;
H A Dzend_API.c2900 const char *colon; local
2948 if ((colon = zend_memrchr(Z_STRVAL_P(callable), ':', Z_STRLEN_P(callable))) != NULL &&
2949 colon > Z_STRVAL_P(callable) &&
2950 *(colon-1) == ':'
2952 colon--;
2953 clen = colon - Z_STRVAL_P(callable);
2956 if (colon == Z_STRVAL_P(callable)) {
H A Dzend_execute_API.c527 char *colon; local
550 if ((colon = (char*)zend_memrchr(Z_STRVAL_P(p), ':', Z_STRLEN_P(p)))) {
554 len = Z_STRLEN_P(p) - ((colon - Z_STRVAL_P(p)) + 1);
556 zend_string *tmp = zend_string_init(colon + 1, len, 0);
560 Z_STR_P(p) = zend_string_init(colon + 1, len, 0);
H A Dzend_inheritance.c216 const char *colon; local
223 (colon = zend_memrchr(fe_class_name->val, '\\', fe_class_name->len)) == NULL ||
224 strcasecmp(colon+1, proto_class_name->val) != 0) {

Completed in 21 milliseconds