Searched refs:colon (Results 1 - 9 of 9) 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/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);
385 if ((colon = zend_memrchr(name, '\\', name_len)) != NULL) {
387 int prefix_len = colon - name;
389 const char *constant_name = colon + 1;
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) {
H A Dzend_execute_API.c534 char *colon; local
561 } else if ((colon = (char*)zend_memrchr(Z_STRVAL_P(p), ':', Z_STRLEN_P(p)))) {
H A Dzend_API.c2927 const char *colon; local
2975 if ((colon = zend_memrchr(Z_STRVAL_P(callable), ':', Z_STRLEN_P(callable))) != NULL &&
2976 colon > Z_STRVAL_P(callable) &&
2977 *(colon-1) == ':'
2979 colon--;
2980 clen = colon - Z_STRVAL_P(callable);
2983 if (colon == Z_STRVAL_P(callable)) {
H A Dzend_vm_def.h3182 const char *colon; local
3184 if ((colon = zend_memrchr(Z_STRVAL_P(function_name), ':', Z_STRLEN_P(function_name))) != NULL &&
3185 colon > Z_STRVAL_P(function_name) &&
3186 *(colon-1) == ':'
3189 size_t cname_length = colon - Z_STRVAL_P(function_name) - 1;
H A Dzend_vm_execute.h2059 const char *colon; local
2061 if ((colon = zend_memrchr(Z_STRVAL_P(function_name), ':', Z_STRLEN_P(function_name))) != NULL &&
2062 colon > Z_STRVAL_P(function_name) &&
2063 *(colon-1) == ':'
2066 size_t cname_length = colon - Z_STRVAL_P(function_name) - 1;
2506 const char *colon; local
2508 if ((colon = zend_memrchr(Z_STRVAL_P(function_name), ':', Z_STRLEN_P(function_name))) != NULL &&
2509 colon > Z_STRVAL_P(function_name) &&
2510 *(colon-1) == ':'
2513 size_t cname_length = colon
2759 const char *colon; local
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c204 char *colon; local
220 colon = strchr(data_source, ':');
222 if (!colon) {
233 colon = strchr(data_source, ':');
235 if (!colon) {
248 colon = strchr(data_source, ':');
249 if (!colon) {
255 driver = pdo_find_driver(data_source, colon - data_source);
335 dbh->data_source_len = strlen(colon + 1);
336 dbh->data_source = (const char*)pestrdup(colon
[all...]

Completed in 62 milliseconds