Searched refs:colon (Results 1 - 10 of 10) 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/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...]
/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_inheritance.c216 const char *colon; local
223 (colon = zend_memrchr(ZSTR_VAL(fe_class_name), '\\', ZSTR_LEN(fe_class_name))) == NULL ||
224 strcasecmp(colon+1, ZSTR_VAL(proto_class_name)) != 0) {
H A Dzend_constants.c300 const char *colon; local
313 if ((colon = zend_memrchr(name, ':', name_len)) &&
314 colon > name && (*(colon - 1) == ':')) {
315 int class_name_len = colon - name - 1;
317 zend_string *constant_name = zend_string_init(colon + 1, const_name_len, 0);
386 if ((colon = zend_memrchr(name, '\\', name_len)) != NULL) {
388 int prefix_len = colon - name;
390 const char *constant_name = colon + 1;
H A Dzend_execute_API.c552 char *colon; local
579 } else if ((colon = (char*)zend_memrchr(Z_STRVAL_P(p), ':', Z_STRLEN_P(p)))) {
H A Dzend_compile.c1772 * increment the len_adjust to the length of path till colon character(inclusive)
2870 const char *colon; local
2872 if ((colon = zend_memrchr(ZSTR_VAL(str), ':', ZSTR_LEN(str))) != NULL && colon > ZSTR_VAL(str) && *(colon - 1) == ':') {
2873 zend_string *class = zend_string_init(ZSTR_VAL(str), colon - ZSTR_VAL(str) - 1, 0);
2874 zend_string *method = zend_string_init(colon + 1, ZSTR_LEN(str) - (colon - ZSTR_VAL(str)) - 1, 0);
H A Dzend_vm_def.h3233 const char *colon; local
3235 if ((colon = zend_memrchr(Z_STRVAL_P(function_name), ':', Z_STRLEN_P(function_name))) != NULL &&
3236 colon > Z_STRVAL_P(function_name) &&
3237 *(colon-1) == ':'
3240 size_t cname_length = colon - Z_STRVAL_P(function_name) - 1;
H A Dzend_vm_execute.h1936 const char *colon; local
1938 if ((colon = zend_memrchr(Z_STRVAL_P(function_name), ':', Z_STRLEN_P(function_name))) != NULL &&
1939 colon > Z_STRVAL_P(function_name) &&
1940 *(colon-1) == ':'
1943 size_t cname_length = colon - Z_STRVAL_P(function_name) - 1;
2389 const char *colon; local
2391 if ((colon = zend_memrchr(Z_STRVAL_P(function_name), ':', Z_STRLEN_P(function_name))) != NULL &&
2392 colon > Z_STRVAL_P(function_name) &&
2393 *(colon-1) == ':'
2396 size_t cname_length = colon
2643 const char *colon; local
[all...]
H A Dzend_API.c2921 const char *colon; local
2969 if ((colon = zend_memrchr(Z_STRVAL_P(callable), ':', Z_STRLEN_P(callable))) != NULL &&
2970 colon > Z_STRVAL_P(callable) &&
2971 *(colon-1) == ':'
2973 colon--;
2974 clen = colon - Z_STRVAL_P(callable);
2977 if (colon == Z_STRVAL_P(callable)) {

Completed in 66 milliseconds