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

/PHP_TRUNK/Zend/
H A Dzend_constants.c329 const char *colon; local
342 if ((colon = zend_memrchr(name, ':', name_len)) &&
343 colon > name && (*(colon - 1) == ':')) {
344 int class_name_len = colon - name - 1;
346 zend_string *constant_name = zend_string_init(colon + 1, const_name_len, 0);
408 if ((colon = zend_memrchr(name, '\\', name_len)) != NULL) {
410 int prefix_len = colon - name;
412 const char *constant_name = colon + 1;
H A Dzend_execute_API.c513 char *colon; local
527 if ((colon = (char*)zend_memrchr(Z_STRVAL_P(p), ':', Z_STRLEN_P(p)))) {
531 len = Z_STRLEN_P(p) - ((colon - Z_STRVAL_P(p)) + 1);
533 zend_string *tmp = zend_string_init(colon + 1, len, 0);
537 Z_STR_P(p) = zend_string_init(colon + 1, len, 0);
H A Dzend_API.c2716 const char *colon; local
2764 if ((colon = zend_memrchr(Z_STRVAL_P(callable), ':', Z_STRLEN_P(callable))) != NULL &&
2765 colon > Z_STRVAL_P(callable) &&
2766 *(colon-1) == ':'
2768 colon--;
2769 clen = colon - Z_STRVAL_P(callable);
2772 if (colon == Z_STRVAL_P(callable)) {
H A Dzend_inheritance.c217 const char *colon; local
224 (colon = zend_memrchr(fe_class_name->val, '\\', fe_class_name->len)) == NULL ||
225 strcasecmp(colon+1, proto_class_name->val) != 0) {
/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...]

Completed in 20 milliseconds