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

/PHP_5_5/Zend/
H A Dzend_API.c2748 const char *colon; local
2780 if ((colon = zend_memrchr(Z_STRVAL_P(callable), ':', Z_STRLEN_P(callable))) != NULL &&
2781 colon > Z_STRVAL_P(callable) &&
2782 *(colon-1) == ':'
2784 colon--;
2785 clen = colon - Z_STRVAL_P(callable);
2788 if (colon == Z_STRVAL_P(callable)) {
H A Dzend_constants.c319 const char *colon; local
331 if ((colon = zend_memrchr(name, ':', name_len)) &&
332 colon > name && (*(colon - 1) == ':')) {
333 int class_name_len = colon - name - 1;
335 const char *constant_name = colon + 1;
394 if ((colon = zend_memrchr(name, '\\', name_len)) != NULL) {
396 int prefix_len = colon - name;
398 const char *constant_name = colon + 1;
H A Dzend_execute_API.c474 char *colon; local
493 if ((colon = (char*)zend_memrchr(Z_STRVAL_P(p), ':', Z_STRLEN_P(p)))) {
495 Z_STRLEN_P(p) -= ((colon - Z_STRVAL_P(p)) + 1);
497 colon = estrndup(colon, Z_STRLEN_P(p));
499 Z_STRVAL_P(p) = colon;
501 Z_STRVAL_P(p) = colon + 1;
595 if ((colon = (char*)zend_memrchr(str_index, ':', str_index_len - 3))) {
597 str_index_len -= ((colon - str_index) + 1);
598 str_index = colon;
[all...]
H A Dzend_compile.c3183 const char *colon; local
3188 (colon = zend_memrchr(fe_class_name, '\\', fe_class_name_len)) == NULL ||
3189 strcasecmp(colon+1, proto_class_name) != 0) {
7165 * increment the len_adjust to the length of path till colon character(inclusive)
/PHP_5_5/sapi/isapi/
H A Dphp5isapi.c645 char *colon = strchr(variable, ':'); local
647 if (colon) {
648 char *value = colon+1;
653 *colon = 0;
655 *colon = ':';
/PHP_5_5/sapi/webjames/
H A Dwebjames.c192 char *colon=strchr(WG(conn)->authorization,':'); local
193 if (colon) {
194 SG(request_info).auth_user = emalloc(colon-WG(conn)->authorization+1);
196 memcpy(SG(request_info).auth_user,WG(conn)->authorization,colon-WG(conn)->authorization);
197 SG(request_info).auth_user[colon-WG(conn)->authorization]='\0';
198 SG(request_info).auth_password = estrdup(colon+1);
/PHP_5_5/ext/pdo/
H A Dpdo_dbh.c208 char *colon; local
223 colon = strchr(data_source, ':');
225 if (!colon) {
238 colon = strchr(data_source, ':');
240 if (!colon) {
255 colon = strchr(data_source, ':');
256 if (!colon) {
263 driver = pdo_find_driver(data_source, colon - data_source);
365 dbh->data_source_len = strlen(colon + 1);
366 dbh->data_source = (const char*)pestrdup(colon
[all...]
/PHP_5_5/main/streams/
H A Dxp_socket.c526 char *colon; local
546 colon = memchr(str, ':', str_len - 1);
548 colon = NULL;
550 if (colon) {
551 *portno = atoi(colon + 1);
552 host = estrndup(str, colon - str);
/PHP_5_5/main/
H A Dnetwork.c504 char *colon; local
517 colon = memchr(addr + 1, ']', addrlen-1);
518 if (!colon || colon[1] != ':') {
521 port = atoi(colon + 2);
524 colon = memchr(addr, ':', addrlen);
525 if (!colon) {
528 port = atoi(colon + 1);
531 tmp = estrndup(addr, colon - addr);

Completed in 49 milliseconds