Lines Matching refs:p
90 const char *p; in http_context_add_header() local
99 p = s; in http_context_add_header()
101 while (*p) { in http_context_add_header()
102 if (*p == ':') { in http_context_add_header()
103 if (name_len < 0) name_len = p - s; in http_context_add_header()
105 } else if (*p == ' ' || *p == '\t') { in http_context_add_header()
106 if (name_len < 0) name_len = p - s; in http_context_add_header()
107 } else if (*p == '\r' || *p == '\n') { in http_context_add_header()
110 p++; in http_context_add_header()
112 if (*p == ':') { in http_context_add_header()
114 while (*p && *p != '\r' && *p != '\n') { in http_context_add_header()
115 p++; in http_context_add_header()
138 smart_str_appendl(soap_headers, s, p-s); in http_context_add_header()
142 s = (*p) ? (p + 1) : p; in http_context_add_header()
1145 char *p = strrchr(t, '/'); in make_http_soap_request() local
1146 if (p) { in make_http_soap_request()
1147 zend_string *s = zend_string_alloc((p - t) + ZSTR_LEN(new_url->path) + 2, 0); in make_http_soap_request()
1148 strncpy(ZSTR_VAL(s), t, (p - t) + 1); in make_http_soap_request()
1149 ZSTR_VAL(s)[(p - t) + 1] = 0; in make_http_soap_request()