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_API.c2987 const char *colon; local
3035 if ((colon = zend_memrchr(Z_STRVAL_P(callable), ':', Z_STRSIZE_P(callable))) != NULL &&
3036 colon > Z_STRVAL_P(callable) &&
3037 *(colon-1) == ':'
3039 colon--;
3040 clen = colon - Z_STRVAL_P(callable);
3043 if (colon == Z_STRVAL_P(callable)) {
H A Dzend_compile.c3681 const char *colon; local
3688 (colon = zend_memrchr(fe_class_name->val, '\\', fe_class_name->len)) == NULL ||
3689 strcasecmp(colon+1, proto_class_name->val) != 0) {
7894 * increment the len_adjust to the length of path till colon character(inclusive)
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 = STR_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.c520 char *colon; local
534 if ((colon = (char*)zend_memrchr(Z_STRVAL_P(p), ':', Z_STRSIZE_P(p)))) {
538 len = Z_STRSIZE_P(p) - ((colon - Z_STRVAL_P(p)) + 1);
540 zend_string *tmp = STR_INIT(colon + 1, len, 0);
544 Z_STR_P(p) = STR_INIT(colon + 1, len, 0);
/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...]
/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);

Completed in 34 milliseconds