/PHP-5.4/ext/dba/ |
H A D | dba.c | 221 *key_str = Z_STRVAL_PP(name); 225 len = spprintf(key_str, 0, "[%s]%s", Z_STRVAL_PP(group), Z_STRVAL_PP(name)); 679 …php_error_docref2(NULL TSRMLS_CC, Z_STRVAL_PP(args[0]), Z_STRVAL_PP(args[1]), E_WARNING, "No defau… in php_dba_open() 688 …p_error_docref2(NULL TSRMLS_CC, Z_STRVAL_PP(args[0]), Z_STRVAL_PP(args[1]), E_WARNING, "No such ha… in php_dba_open() 705 strlcpy(mode, Z_STRVAL_PP(args[1]), sizeof(mode)); in php_dba_open() 719 …php_error_docref2(NULL TSRMLS_CC, Z_STRVAL_PP(args[0]), Z_STRVAL_PP(args[1]), E_NOTICE, "Handler %… in php_dba_open() 774 …php_error_docref2(NULL TSRMLS_CC, Z_STRVAL_PP(args[0]), Z_STRVAL_PP(args[1]), E_WARNING, "Illegal … in php_dba_open() 806 …php_error_docref2(NULL TSRMLS_CC, Z_STRVAL_PP(args[0]), Z_STRVAL_PP(args[1]), E_WARNING, "Illegal … in php_dba_open() 813 info->path = pestrdup(Z_STRVAL_PP(args[0]), persistent); in php_dba_open() 836 lock_name = Z_STRVAL_PP(args[0]); in php_dba_open() [all …]
|
/PHP-5.4/ext/standard/ |
H A D | browscap.c | 64 if (Z_STRVAL_PP(zvalue)) { 65 efree(Z_STRVAL_PP(zvalue)); 77 if (Z_STRVAL_PP(zvalue)) { in browscap_entry_dtor_persistent() 78 free(Z_STRVAL_PP(zvalue)); in browscap_entry_dtor_persistent() 387 else if (!strcasecmp(Z_STRVAL_PP(previous_match), lookup_browser_name)) { in browser_reg_compare() 396 re = pcre_get_compiled_regex(Z_STRVAL_PP(browser_regex), &re_extra, &re_options TSRMLS_CC); in browser_reg_compare() 416 switch (Z_STRVAL_PP(previous_match)[i]) { in browser_reg_compare() 428 switch (Z_STRVAL_PP(current_match)[i]) { in browser_reg_compare() 506 agent_name = Z_STRVAL_PP(http_user_agent); in PHP_FUNCTION() 535 …if (zend_hash_find(bdata->htab, Z_STRVAL_PP(z_agent_name), Z_STRLEN_PP(z_agent_name) + 1, (void **… in PHP_FUNCTION()
|
H A D | assert.c | 160 myeval = Z_STRVAL_PP(assertion); in PHP_FUNCTION() 280 …zend_alter_ini_entry_ex("assert.active", sizeof("assert.active"), Z_STRVAL_PP(value), Z_STRLEN_PP(… in PHP_FUNCTION() 289 …zend_alter_ini_entry_ex("assert.bail", sizeof("assert.bail"), Z_STRVAL_PP(value), Z_STRLEN_PP(valu… in PHP_FUNCTION() 298 …zend_alter_ini_entry_ex("assert.quiet_eval", sizeof("assert.quiet_eval"), Z_STRVAL_PP(value), Z_ST… in PHP_FUNCTION() 307 …zend_alter_ini_entry_ex("assert.warning", sizeof("assert.warning"), Z_STRVAL_PP(value), Z_STRLEN_P… in PHP_FUNCTION()
|
H A D | http_fopen_wrapper.c | 168 transport_string = estrndup(Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval)); in php_stream_url_wrap_http_ex() 191 transport_string = estrndup(Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval)); in php_stream_url_wrap_http_ex() 244 s = Z_STRVAL_PP(tmpheader); in php_stream_url_wrap_http_ex() 268 s = Z_STRVAL_PP(tmpzval); in php_stream_url_wrap_http_ex() 352 || (Z_STRLEN_PP(tmpzval) == 3 && memcmp("GET", Z_STRVAL_PP(tmpzval), 3) == 0) in php_stream_url_wrap_http_ex() 353 || (Z_STRLEN_PP(tmpzval) == 4 && memcmp("HEAD",Z_STRVAL_PP(tmpzval), 4) == 0) in php_stream_url_wrap_http_ex() 357 strlcpy(scratch, Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval) + 1); in php_stream_url_wrap_http_ex() 434 smart_str_appendl(&tmpstr, Z_STRVAL_PP(tmpheader), Z_STRLEN_PP(tmpheader)); in php_stream_url_wrap_http_ex() 447 tmp = php_trim(Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval), NULL, 0, NULL, 3 TSRMLS_CC); in php_stream_url_wrap_http_ex() 569 ua_str = Z_STRVAL_PP(ua_zval); in php_stream_url_wrap_http_ex() [all …]
|
H A D | url.c | 746 add_next_index_stringl(return_value, Z_STRVAL_PP(hdr), Z_STRLEN_PP(hdr), 1); 751 if ((p = strchr(Z_STRVAL_PP(hdr), ':'))) { 759 …if (zend_hash_find(HASH_OF(return_value), Z_STRVAL_PP(hdr), (p - Z_STRVAL_PP(hdr) + 1), (void **) … 760 …dd_assoc_stringl_ex(return_value, Z_STRVAL_PP(hdr), (p - Z_STRVAL_PP(hdr) + 1), s, (Z_STRLEN_PP(hd… 763 add_next_index_stringl(*prev_val, s, (Z_STRLEN_PP(hdr) - (s - Z_STRVAL_PP(hdr))), 1);
|
H A D | var.c | 114 PHPWRITE(Z_STRVAL_PP(struc), Z_STRLEN_PP(struc)); in php_var_dump() 269 PHPWRITE(Z_STRVAL_PP(struc), Z_STRLEN_PP(struc)); in php_debug_zval_dump() 444 …tmp_str = php_addcslashes(Z_STRVAL_PP(struc), Z_STRLEN_PP(struc), &tmp_len, 0, "'\\", 2 TSRMLS_CC); in php_var_export_ex() 667 if (zend_hash_find(propers, Z_STRVAL_PP(name), Z_STRLEN_PP(name) + 1, (void *) &d) == SUCCESS) { in php_var_serialize_class() 668 php_var_serialize_string(buf, Z_STRVAL_PP(name), Z_STRLEN_PP(name)); in php_var_serialize_class() 678 …roperty_name(&priv_name, &prop_name_length, ce->name, ce->name_length, Z_STRVAL_PP(name), Z_STRLEN… in php_var_serialize_class() 686 …zend_mangle_property_name(&prot_name, &prop_name_length, "*", 1, Z_STRVAL_PP(name), Z_STRLEN_PP(na… in php_var_serialize_class() 694 php_var_serialize_string(buf, Z_STRVAL_PP(name), Z_STRLEN_PP(name)); in php_var_serialize_class() 696 …NOTICE, "\"%s\" returned as member variable from __sleep() but does not exist", Z_STRVAL_PP(name)); in php_var_serialize_class() 699 php_var_serialize_string(buf, Z_STRVAL_PP(name), Z_STRLEN_PP(name)); in php_var_serialize_class()
|
H A D | proc_open.c | 581 if (strcmp(Z_STRVAL_PP(ztype), "pipe") == 0) { in PHP_FUNCTION() 599 if (strncmp(Z_STRVAL_PP(zmode), "w", 1) != 0) { in PHP_FUNCTION() 613 if (Z_STRLEN_PP(zmode) >= 2 && Z_STRVAL_PP(zmode)[1] == 'b') in PHP_FUNCTION() 617 } else if (strcmp(Z_STRVAL_PP(ztype), "file") == 0) { in PHP_FUNCTION() 639 stream = php_stream_open_wrapper(Z_STRVAL_PP(zfile), Z_STRVAL_PP(zmode), in PHP_FUNCTION() 655 if (strchr(Z_STRVAL_PP(zmode), 'a')) { in PHP_FUNCTION() 661 } else if (strcmp(Z_STRVAL_PP(ztype), "pty") == 0) { in PHP_FUNCTION() 688 …or_docref(NULL TSRMLS_CC, E_WARNING, "%s is not a valid descriptor spec/mode", Z_STRVAL_PP(ztype)); in PHP_FUNCTION()
|
H A D | http.c | 175 ekey = php_raw_url_encode(Z_STRVAL_PP(zdata), Z_STRLEN_PP(zdata), &ekey_len); in php_url_encode_hash_ex() 177 ekey = php_url_encode(Z_STRVAL_PP(zdata), Z_STRLEN_PP(zdata), &ekey_len); in php_url_encode_hash_ex()
|
/PHP-5.4/ext/mcrypt/ |
H A D | mcrypt_filter.c | 179 mode = Z_STRVAL_PP(tmpzval); in php_mcrypt_filter_create() 187 algo_dir = Z_STRVAL_PP(tmpzval); in php_mcrypt_filter_create() 195 mode_dir = Z_STRVAL_PP(tmpzval); in php_mcrypt_filter_create() 203 key = Z_STRVAL_PP(tmpzval); in php_mcrypt_filter_create() 230 memcpy(iv, Z_STRVAL_PP(tmpzval), iv_len); in php_mcrypt_filter_create() 232 memcpy(iv, Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval)); in php_mcrypt_filter_create()
|
/PHP-5.4/ext/curl/ |
H A D | streams.c | 346 curl_easy_setopt(curlstream->curl, CURLOPT_USERAGENT, Z_STRVAL_PP(ctx_opt)); in php_curl_stream_opener() 358 curlstream->headers_slist = curl_slist_append(curlstream->headers_slist, Z_STRVAL_PP(header)); in php_curl_stream_opener() 364 copy_ctx_opt = php_trim(Z_STRVAL_PP(ctx_opt), Z_STRLEN_PP(ctx_opt), NULL, 0, NULL, 3 TSRMLS_CC); in php_curl_stream_opener() 379 if (strcasecmp(Z_STRVAL_PP(ctx_opt), "get")) { in php_curl_stream_opener() 380 if (!strcasecmp(Z_STRVAL_PP(ctx_opt), "head")) { in php_curl_stream_opener() 383 if (!strcasecmp(Z_STRVAL_PP(ctx_opt), "post")) { in php_curl_stream_opener() 386 curl_easy_setopt(curlstream->curl, CURLOPT_CUSTOMREQUEST, Z_STRVAL_PP(ctx_opt)); in php_curl_stream_opener() 389 curl_easy_setopt(curlstream->curl, CURLOPT_POSTFIELDS, Z_STRVAL_PP(ctx_opt)); in php_curl_stream_opener() 396 curl_easy_setopt(curlstream->curl, CURLOPT_PROXY, Z_STRVAL_PP(ctx_opt)); in php_curl_stream_opener() 400 …if (Z_TYPE_PP(ctx_opt) != IS_STRING || !is_numeric_string(Z_STRVAL_PP(ctx_opt), Z_STRLEN_PP(ctx_op… in php_curl_stream_opener()
|
/PHP-5.4/ext/soap/ |
H A D | php_http.c | 45 smart_str_appendl(&auth, Z_STRVAL_PP(login), Z_STRLEN_PP(login)); in proxy_authentication() 49 smart_str_appendl(&auth, Z_STRVAL_PP(password), Z_STRLEN_PP(password)); in proxy_authentication() 75 smart_str_appendl(&auth, Z_STRVAL_PP(login), Z_STRLEN_PP(login)); in basic_authentication() 79 smart_str_appendl(&auth, Z_STRVAL_PP(password), Z_STRLEN_PP(password)); in basic_authentication() 105 char *s = Z_STRVAL_PP(tmp); in http_context_headers() 179 host = Z_STRVAL_PP(proxy_host); in http_connect() 528 smart_str_appendl(&soap_headers, Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp)); in make_http_soap_request() 536 smart_str_appendl(&soap_headers, Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp)); in make_http_soap_request() 613 stricmp(Z_STRVAL_PP(tmp), "md5-sess") == 0) { in make_http_soap_request() 728 smart_str_appendl(&auth, Z_STRVAL_PP(login), Z_STRLEN_PP(login)); in make_http_soap_request() [all …]
|
H A D | soap.c | 1018 type_name = Z_STRVAL_PP(tmp); in soap_create_typemap() 1024 type_ns = Z_STRVAL_PP(tmp); in soap_create_typemap() 2657 location = Z_STRVAL_PP(tmp); 2750 call_uri = Z_STRVAL_PP(uri); 2861 location = Z_STRVAL_PP(tmp); 2866 soap_action = Z_STRVAL_PP(tmp); 2871 uri = Z_STRVAL_PP(tmp); 3899 hdr_ns = Z_STRVAL_PP(tmp); 3904 hdr_name = Z_STRVAL_PP(tmp); 3940 fault_ns = Z_STRVAL_PP(tmp); [all …]
|
/PHP-5.4/ext/mysqli/ |
H A D | mysqli_embedded.c | 69 arguments[++index] = Z_STRVAL_PP(item); in PHP_FUNCTION() 90 groups[++index] = Z_STRVAL_PP(item); in PHP_FUNCTION()
|
/PHP-5.4/ext/mysqlnd/ |
H A D | mysqlnd_bt.c | 76 TRACE_APPEND_STRL(Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp)); \ 105 TRACE_APPEND_STRL(Z_STRVAL_PP(arg), 15); in mysqlnd_build_trace_args() 110 TRACE_APPEND_STRL(Z_STRVAL_PP(arg), l_added); in mysqlnd_build_trace_args() 292 TRACE_APPEND_STRL(Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp)); \ 320 TRACE_APPEND_STRL(Z_STRVAL_PP(arg), 15); in mysqlnd_build_trace_args() 325 TRACE_APPEND_STRL(Z_STRVAL_PP(arg), l_added); in mysqlnd_build_trace_args() 424 sprintf(s_tmp, "%s(%ld): ", Z_STRVAL_PP(file), line); in mysqlnd_build_trace_string()
|
H A D | php_mysqlnd.c | 65 php_info_print_table_row(2, s, Z_STRVAL_PP(values_entry)); in mysqlnd_minfo_print_hash() 89 php_info_print_table_row(2, string_key, Z_STRVAL_PP(values_entry)); in mysqlnd_minfo_print_hash()
|
/PHP-5.4/ext/xmlrpc/ |
H A D | xmlrpc-epi-php.c | 387 if (!strcmp(Z_STRVAL_PP(val), OUTPUT_TYPE_VALUE_PHP)) { in set_output_options() 389 } else if (!strcmp(Z_STRVAL_PP(val), OUTPUT_TYPE_VALUE_XML)) { in set_output_options() 398 if (!strcmp(Z_STRVAL_PP(val), VERBOSITY_VALUE_NO_WHITE_SPACE)) { in set_output_options() 402 } else if (!strcmp(Z_STRVAL_PP(val), VERBOSITY_VALUE_PRETTY)) { in set_output_options() 412 if (!strcmp(Z_STRVAL_PP(val), VERSION_VALUE_XMLRPC)) { in set_output_options() 414 } else if (!strcmp(Z_STRVAL_PP(val), VERSION_VALUE_SIMPLE)) { in set_output_options() 443 if (!strcmp(Z_STRVAL_PP(iter_val), ESCAPING_VALUE_CDATA)) { in set_output_options() 460 if (!strcmp(Z_STRVAL_PP(val), ESCAPING_VALUE_CDATA)) { in set_output_options() 462 } else if (!strcmp(Z_STRVAL_PP(val), ESCAPING_VALUE_NON_ASCII)) { in set_output_options() 466 } else if (!strcmp(Z_STRVAL_PP(val), ESCAPING_VALUE_MARKUP)) { in set_output_options() [all …]
|
/PHP-5.4/ext/pgsql/ |
H A D | pgsql.c | 1266 host = Z_STRVAL_PP(args[0]); 1267 port = Z_STRVAL_PP(args[1]); 1272 tty = Z_STRVAL_PP(args[3]); 5500 if (!strcmp(Z_STRVAL_PP(val), "t") || !strcmp(Z_STRVAL_PP(val), "T") || 5501 !strcmp(Z_STRVAL_PP(val), "y") || !strcmp(Z_STRVAL_PP(val), "Y") || 5502 !strcmp(Z_STRVAL_PP(val), "true") || !strcmp(Z_STRVAL_PP(val), "True") || 5503 !strcmp(Z_STRVAL_PP(val), "yes") || !strcmp(Z_STRVAL_PP(val), "Yes") || 5507 else if (!strcmp(Z_STRVAL_PP(val), "f") || !strcmp(Z_STRVAL_PP(val), "F") || 5508 !strcmp(Z_STRVAL_PP(val), "n") || !strcmp(Z_STRVAL_PP(val), "N") || 5509 !strcmp(Z_STRVAL_PP(val), "false") || !strcmp(Z_STRVAL_PP(val), "False") || [all …]
|
/PHP-5.4/ext/readline/ |
H A D | readline.c | 269 rl_line_buffer = strdup(Z_STRVAL_PP(value)); in PHP_FUNCTION() 290 rl_pending_input = Z_STRVAL_PP(value)[0]; in PHP_FUNCTION() 314 rl_readline_name = strdup(Z_STRVAL_PP(value));; in PHP_FUNCTION() 447 if (strncmp (Z_STRVAL_PP(entry), text, strlen(text)) == 0) { in _readline_command_generator() 448 return (strdup(Z_STRVAL_PP(entry))); in _readline_command_generator()
|
/PHP-5.4/ext/ereg/ |
H A D | ereg.c | 319 err = regcomp(&re, Z_STRVAL_PP(regex), REG_EXTENDED | copts); in php_ereg() 327 err = regcomp(&re, Z_STRVAL_PP(regex), copts); in php_ereg() 565 if (Z_STRVAL_PP(arg_pattern) && Z_STRLEN_PP(arg_pattern)) { in php_do_ereg_replace() 566 pattern = estrndup(Z_STRVAL_PP(arg_pattern), Z_STRLEN_PP(arg_pattern)); in php_do_ereg_replace() 578 if (Z_STRVAL_PP(arg_replace) && Z_STRLEN_PP(arg_replace)) { in php_do_ereg_replace() 579 replace = estrndup(Z_STRVAL_PP(arg_replace), Z_STRLEN_PP(arg_replace)); in php_do_ereg_replace()
|
/PHP-5.4/ext/openssl/ |
H A D | openssl.c | 786 varname = Z_STRVAL_PP(item); \ 1781 if (VCWD_STAT(Z_STRVAL_PP(item), &sb) == -1) { in setup_verify() 1967 friendly_name = Z_STRVAL_PP(item); in PHP_FUNCTION() 2045 friendly_name = Z_STRVAL_PP(item); in PHP_FUNCTION() 2229 (unsigned char*)Z_STRVAL_PP(item), -1, -1, 0)) in php_openssl_make_REQ() 2235 nid, Z_STRVAL_PP(item)); in php_openssl_make_REQ() 2369 filename = Z_STRVAL_PP(val) + (sizeof("file://") - 1); in php_openssl_csr_from_zval() 2794 passphrase = Z_STRVAL_PP(zphrase); in php_openssl_evp_from_zval() 3066 (unsigned char*)Z_STRVAL_PP(bn), \ 3683 BIO_printf(outfile, "%s\n", Z_STRVAL_PP(zcertval)); in PHP_FUNCTION() [all …]
|
/PHP-5.4/ext/com_dotnet/ |
H A D | com_com.c | 83 server_name = Z_STRVAL_PP(tmp); in PHP_FUNCTION() 91 user_name = Z_STRVAL_PP(tmp); in PHP_FUNCTION() 98 password = Z_STRVAL_PP(tmp); in PHP_FUNCTION() 105 domain_name = Z_STRVAL_PP(tmp); in PHP_FUNCTION() 702 typelibname = Z_STRVAL_PP(tmp); in PHP_FUNCTION() 704 dispname = Z_STRVAL_PP(tmp); in PHP_FUNCTION()
|
H A D | com_wrapper.c | 263 …trace("-- Invoke: %d %20s [%d] flags=%08x args=%d\n", id, Z_STRVAL_PP(name), Z_STRLEN_PP(name), wF… in disp_invokeex() 290 …retval = zend_read_property(Z_OBJCE_P(disp->object), disp->object, Z_STRVAL_PP(name), Z_STRLEN_PP(… in disp_invokeex() 292 …zend_update_property(Z_OBJCE_P(disp->object), disp->object, Z_STRVAL_PP(name), Z_STRLEN_PP(name)+1… in disp_invokeex() 610 zend_hash_update(disp->name_to_dispid, Z_STRVAL_PP(ntmp), in php_com_wrapper_export_as_sink()
|
/PHP-5.4/ext/xml/ |
H A D | xml.c | 542 …RMLS_CC, E_WARNING, "Unable to call handler %s::%s()", Z_OBJCE_PP(obj)->name, Z_STRVAL_PP(method)); in xml_call_handler() 957 Z_STRVAL_PP(myval) = erealloc(Z_STRVAL_PP(myval),newlen+1); in _xml_characterDataHandler() 958 strncpy(Z_STRVAL_PP(myval) + Z_STRLEN_PP(myval), decoded_value, decoded_len + 1); in _xml_characterDataHandler() 974 if (!strcmp(Z_STRVAL_PP(mytype), "cdata")) { in _xml_characterDataHandler() 977 Z_STRVAL_PP(myval) = erealloc(Z_STRVAL_PP(myval),newlen+1); in _xml_characterDataHandler() 978 strncpy(Z_STRVAL_PP(myval) + Z_STRLEN_PP(myval), decoded_value, decoded_len + 1); in _xml_characterDataHandler() 1643 enc = xml_get_encoding(Z_STRVAL_PP(val)); in PHP_FUNCTION() 1645 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unsupported target encoding \"%s\"", Z_STRVAL_PP(val)… in PHP_FUNCTION()
|
/PHP-5.4/ext/intl/locale/ |
H A D | locale_methods.c | 778 smart_str_appendl(loc_name, Z_STRVAL_PP(ele_value) , Z_STRLEN_PP(ele_value)); in append_key_value() 818 smart_str_appendl(loc_name, Z_STRVAL_PP(ele_value) , Z_STRLEN_PP(ele_value)); in append_multiple_key_values() 834 smart_str_appendl(loc_name, Z_STRVAL_PP(data) , Z_STRLEN_PP(data)); in append_multiple_key_values() 868 smart_str_appendl(loc_name, Z_STRVAL_PP(ele_value) , Z_STRLEN_PP(ele_value)); in append_multiple_key_values() 1445 cur_arr[cur_arr_len*2] = estrndup(Z_STRVAL_PP(ele_value), Z_STRLEN_PP(ele_value)); in lookup_loc_range() 1446 result = strToMatch(Z_STRVAL_PP(ele_value), cur_arr[cur_arr_len*2]); in lookup_loc_range() 1451 cur_arr[cur_arr_len*2+1] = Z_STRVAL_PP(ele_value); in lookup_loc_range()
|
/PHP-5.4/ext/imap/ |
H A D | php_imap.c | 3497 env->remail = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION() 3505 env->date = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION() 3517 env->in_reply_to = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION() 3521 env->subject = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION() 3537 env->message_id=cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION() 3601 bod->subtype = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION() 3605 bod->id = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION() 3653 bod->md5 = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION() 3714 bod->subtype = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION() 3718 bod->id = cpystr(Z_STRVAL_PP(pvalue)); in PHP_FUNCTION() [all …]
|