Lines Matching refs:ZSTR_VAL

51 		buf = php_base64_encode((unsigned char*)ZSTR_VAL(auth.s), ZSTR_LEN(auth.s));  in proxy_authentication()
53 smart_str_appendl(soap_headers, (char*)ZSTR_VAL(buf), ZSTR_LEN(buf)); in proxy_authentication()
80 buf = php_base64_encode((unsigned char*)ZSTR_VAL(auth.s), ZSTR_LEN(auth.s)); in basic_authentication()
82 smart_str_appendl(soap_headers, (char*)ZSTR_VAL(buf), ZSTR_LEN(buf)); in basic_authentication()
182 host = ZSTR_VAL(phpurl->host); in http_connect()
252 smart_str_appends(&soap_headers, ZSTR_VAL(phpurl->host)); in http_connect()
257 smart_str_appends(&soap_headers, ZSTR_VAL(phpurl->host)); in http_connect()
265 …if (php_stream_write(stream, ZSTR_VAL(soap_headers.s), ZSTR_LEN(soap_headers.s)) != ZSTR_LEN(soap_… in http_connect()
496 strcmp(ZSTR_VAL(orig->host), ZSTR_VAL(phpurl->host)) == 0 && in make_http_soap_request()
557 smart_str_appends(&soap_headers, ZSTR_VAL(phpurl->scheme)); in make_http_soap_request()
559 smart_str_appends(&soap_headers, ZSTR_VAL(phpurl->host)); in make_http_soap_request()
564 smart_str_appends(&soap_headers, ZSTR_VAL(phpurl->path)); in make_http_soap_request()
570 smart_str_appends(&soap_headers, ZSTR_VAL(phpurl->query)); in make_http_soap_request()
574 smart_str_appends(&soap_headers, ZSTR_VAL(phpurl->fragment)); in make_http_soap_request()
582 smart_str_appends(&soap_headers, ZSTR_VAL(phpurl->host)); in make_http_soap_request()
725 PHP_MD5Update(&md5ctx, (unsigned char*)ZSTR_VAL(phpurl->path), ZSTR_LEN(phpurl->path)); in make_http_soap_request()
731 PHP_MD5Update(&md5ctx, (unsigned char*)ZSTR_VAL(phpurl->query), ZSTR_LEN(phpurl->query)); in make_http_soap_request()
773 smart_str_appends(&soap_headers, ZSTR_VAL(phpurl->path)); in make_http_soap_request()
779 smart_str_appends(&soap_headers, ZSTR_VAL(phpurl->query)); in make_http_soap_request()
783 smart_str_appends(&soap_headers, ZSTR_VAL(phpurl->fragment)); in make_http_soap_request()
819 buf = php_base64_encode((unsigned char*)ZSTR_VAL(auth.s), ZSTR_LEN(auth.s)); in make_http_soap_request()
821 smart_str_appendl(&soap_headers, (char*)ZSTR_VAL(buf), ZSTR_LEN(buf)); in make_http_soap_request()
851 … strncmp(phpurl->path?ZSTR_VAL(phpurl->path):"/",Z_STRVAL_P(tmp),Z_STRLEN_P(tmp)) == 0) && in make_http_soap_request()
854 in_domain(ZSTR_VAL(phpurl->host),Z_STRVAL_P(tmp))) && in make_http_soap_request()
874 …add_property_stringl(this_ptr, "__last_request_headers", ZSTR_VAL(soap_headers.s), ZSTR_LEN(soap_h… in make_http_soap_request()
879 err = php_stream_write(stream, ZSTR_VAL(soap_headers.s), ZSTR_LEN(soap_headers.s)); in make_http_soap_request()
929 http_version = get_http_header_value(ZSTR_VAL(http_headers), "HTTP/"); in make_http_soap_request()
965 cookie_itt = ZSTR_VAL(http_headers); in make_http_soap_request()
1022 char *t = phpurl->path?ZSTR_VAL(phpurl->path):"/"; in make_http_soap_request()
1045 connection = get_http_header_value(ZSTR_VAL(http_headers), "Proxy-Connection: "); in make_http_soap_request()
1054 connection = get_http_header_value(ZSTR_VAL(http_headers), "Connection: "); in make_http_soap_request()
1065 connection = get_http_header_value(ZSTR_VAL(http_headers), "Proxy-Connection: "); in make_http_soap_request()
1074 connection = get_http_header_value(ZSTR_VAL(http_headers), "Connection: "); in make_http_soap_request()
1085 http_body = get_http_body(stream, http_close, ZSTR_VAL(http_headers)); in make_http_soap_request()
1117 if ((loc = get_http_header_value(ZSTR_VAL(http_headers), "Location: ")) != NULL) { in make_http_soap_request()
1128 if (new_url->path && ZSTR_VAL(new_url->path)[0] != '/') { in make_http_soap_request()
1130 char *t = ZSTR_VAL(phpurl->path); in make_http_soap_request()
1134 strncpy(ZSTR_VAL(s), t, (p - t) + 1); in make_http_soap_request()
1135 ZSTR_VAL(s)[(p - t) + 1] = 0; in make_http_soap_request()
1136 strcat(ZSTR_VAL(s), ZSTR_VAL(new_url->path)); in make_http_soap_request()
1142 ZSTR_VAL(s)[0] = '/'; in make_http_soap_request()
1143 ZSTR_VAL(s)[1] = 0; in make_http_soap_request()
1144 strcat(ZSTR_VAL(s), ZSTR_VAL(new_url->path)); in make_http_soap_request()
1164 char *auth = get_http_header_value(ZSTR_VAL(http_headers), "WWW-Authenticate: "); in make_http_soap_request()
1241 content_type = get_http_header_value(ZSTR_VAL(http_headers), "Content-Type: "); in make_http_soap_request()
1271 content_encoding = get_http_header_value(ZSTR_VAL(http_headers), "Content-Encoding: "); in make_http_soap_request()