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

/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/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_API.c2923 const char *colon; local
2971 if ((colon = zend_memrchr(Z_STRVAL_P(callable), ':', Z_STRLEN_P(callable))) != NULL &&
2972 colon > Z_STRVAL_P(callable) &&
2973 *(colon-1) == ':'
2975 colon--;
2976 clen = colon - Z_STRVAL_P(callable);
2979 if (colon == Z_STRVAL_P(callable)) {
H A Dzend_compile.c1168 const char *colon; local
1175 (colon = zend_memrchr(fe_class_name->val, '\\', fe_class_name->len)) == NULL ||
1176 strcasecmp(colon+1, proto_class_name->val) != 0) {
3156 * increment the len_adjust to the length of path till colon character(inclusive)
H A Dzend_execute_API.c519 char *colon; local
533 if ((colon = (char*)zend_memrchr(Z_STRVAL_P(p), ':', Z_STRLEN_P(p)))) {
537 len = Z_STRLEN_P(p) - ((colon - Z_STRVAL_P(p)) + 1);
539 zend_string *tmp = zend_string_init(colon + 1, len, 0);
543 Z_STR_P(p) = zend_string_init(colon + 1, len, 0);
/PHP_TRUNK/main/
H A Dnetwork.c512 char *colon; local
525 colon = memchr(addr + 1, ']', addrlen-1);
526 if (!colon || colon[1] != ':') {
529 port = atoi(colon + 2);
532 colon = memchr(addr, ':', addrlen);
533 if (!colon) {
536 port = atoi(colon + 1);
539 tmp = estrndup(addr, colon - addr);
/PHP_TRUNK/main/streams/
H A Dxp_socket.c543 char *colon; local
563 colon = memchr(str, ':', str_len - 1);
565 colon = NULL;
567 if (colon) {
568 *portno = atoi(colon + 1);
569 host = estrndup(str, colon - str);
/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 34 milliseconds