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

/PHP_TRUNK/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);
/PHP_TRUNK/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_TRUNK/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_TRUNK/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_TRUNK/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_TRUNK/Zend/
H A Dzend_API.c2760 const char *colon; local
2792 if ((colon = zend_memrchr(Z_STRVAL_P(callable), ':', Z_STRLEN_P(callable))) != NULL &&
2793 colon > Z_STRVAL_P(callable) &&
2794 *(colon-1) == ':'
2796 colon--;
2797 clen = colon - Z_STRVAL_P(callable);
2800 if (colon == Z_STRVAL_P(callable)) {
H A Dzend_constants.c306 const char *colon; local
318 if ((colon = zend_memrchr(name, ':', name_len)) &&
319 colon > name && (*(colon - 1) == ':')) {
320 int class_name_len = colon - name - 1;
322 const char *constant_name = colon + 1;
381 if ((colon = zend_memrchr(name, '\\', name_len)) != NULL) {
383 int prefix_len = colon - name;
385 const char *constant_name = colon + 1;
H A Dzend_execute_API.c461 char *colon; local
480 if ((colon = (char*)zend_memrchr(Z_STRVAL_P(p), ':', Z_STRLEN_P(p)))) {
482 Z_STRLEN_P(p) -= ((colon - Z_STRVAL_P(p)) + 1);
484 colon = estrndup(colon, Z_STRLEN_P(p));
486 Z_STRVAL_P(p) = colon;
488 Z_STRVAL_P(p) = colon + 1;
H A Dzend_compile.c3308 const char *colon; local
3313 (colon = zend_memrchr(fe_class_name, '\\', fe_class_name_len)) == NULL ||
3314 strcasecmp(colon+1, proto_class_name) != 0) {
7417 * increment the len_adjust to the length of path till colon character(inclusive)

Completed in 55 milliseconds