Home
last modified time | relevance | path

Searched refs:Z_STRVAL_P (Results 1 – 25 of 153) sorted by relevance

1234567

/PHP-7.3/ext/filter/
H A Dlogical_filters.c57 var_name = Z_STRVAL_P(option_val); \
217 p = Z_STRVAL_P(value); in php_filter_int()
254 char *str = Z_STRVAL_P(value); in php_filter_boolean()
342 str = Z_STRVAL_P(value); in php_filter_float()
872 …if (Z_STRLEN_P(value) >=2 && (!strncasecmp("FC", Z_STRVAL_P(value), 2) || !strncasecmp("FD", Z_STR… in php_filter_validate_ip()
881 if (!strcmp("::", Z_STRVAL_P(value))) { in php_filter_validate_ip()
886 if (!strcmp("::1", Z_STRVAL_P(value)) || !strcmp("5f:", Z_STRVAL_P(value))) { in php_filter_validate_ip()
893 !strncasecmp("fe8", Z_STRVAL_P(value), 3) || in php_filter_validate_ip()
894 !strncasecmp("fe9", Z_STRVAL_P(value), 3) || in php_filter_validate_ip()
896 !strncasecmp("feb", Z_STRVAL_P(value), 3) in php_filter_validate_ip()
[all …]
H A Dsanitizing_filters.c32 unsigned char *s = (unsigned char *)Z_STRVAL_P(value); in php_filter_encode_html()
90 s = (unsigned char *) Z_STRVAL_P(value); in php_filter_encode_url()
121 str = (unsigned char *)Z_STRVAL_P(value); in php_filter_strip()
163 str = (unsigned char *)Z_STRVAL_P(value); in filter_map_apply()
187 ZVAL_STRINGL(value, Z_STRVAL_P(value), Z_STRLEN_P(value)); in php_filter_string()
209 new_len = php_strip_tags_ex(Z_STRVAL_P(value), Z_STRLEN_P(value), NULL, NULL, 0, 1); in php_filter_string()
266 …buf = php_escape_html_entities_ex((unsigned char *) Z_STRVAL_P(value), Z_STRLEN_P(value), 1, quote… in php_filter_full_special_chars()
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_frame.c191 …phpdbg_xml(" symbol=\"%s%s%s\"", class ? Z_STRVAL_P(class) : "", class ? Z_STRVAL_P(type) : "", Z_… in phpdbg_dump_prototype()
199 …phpdbg_out("%s%s%s(", class ? Z_STRVAL_P(class) : "", class ? Z_STRVAL_P(type) : "", Z_STRVAL_P(fu… in phpdbg_dump_prototype()
209 if ((func = phpdbg_get_function(Z_STRVAL_P(funcname), class ? Z_STRVAL_P(class) : NULL))) { in phpdbg_dump_prototype()
298 …phpdbg_xml("<frame %r id=\"%d\" file=\"%s\" line=\"" ZEND_LONG_FMT "\"", i, Z_STRVAL_P(file), Z_LV… in phpdbg_dump_backtrace()
300 phpdbg_out(" at %s:%ld\n", Z_STRVAL_P(file), Z_LVAL_P(line)); in phpdbg_dump_backtrace()
314 …\"{main}\" file=\"%s\" line=\"%d\"", "frame #%d: {main} at %s:%ld", i, Z_STRVAL_P(file), Z_LVAL_P(… in phpdbg_dump_backtrace()
H A Dphpdbg_wait.c149 param.str = Z_STRVAL_P(script); in phpdbg_webdata_decompress()
179 php_stream_write(SG(request_info).request_body, Z_STRVAL_P(zvp), Z_STRLEN_P(zvp)); in phpdbg_webdata_decompress()
183 if (VCWD_CHDIR(Z_STRVAL_P(zvp)) == SUCCESS) { in phpdbg_webdata_decompress()
200 PHPDBG_G(sapi_name_ptr) = sapi_module.name = strdup(Z_STRVAL_P(zvp)); in phpdbg_webdata_decompress()
228 if (strcmp(PHPDBG_NAME, Z_STRVAL_P(module))) { in phpdbg_webdata_decompress()
233 if (!sapi_module.name || strcmp(sapi_module.name, Z_STRVAL_P(module))) { in phpdbg_webdata_decompress()
234 …h/to/module/%.*s.so", (int) Z_STRLEN_P(module), Z_STRVAL_P(module), (int) Z_STRLEN_P(module), Z_ST… in phpdbg_webdata_decompress()
256 …TRING && !zend_binary_strcmp(extension->name, strlen(extension->name), Z_STRVAL_P(name), Z_STRLEN_… in phpdbg_webdata_decompress()
292 …AME ", you still can load via dl /path/to/extension.so", (int) Z_STRLEN_P(name), Z_STRVAL_P(name)); in phpdbg_webdata_decompress()
/PHP-7.3/Zend/
H A Dzend_ini_parser.y57 int val = atoi(Z_STRVAL_P(op)); in get_int_val()
140 memcpy(Z_STRVAL_P(result) + op1_len, Z_STRVAL_P(op2), Z_STRLEN_P(op2) + 1); in zend_ini_add_string()
151 if (!memchr(Z_STRVAL_P(name), ':', Z_STRLEN_P(name)) in zend_ini_get_constant()
161 ZVAL_NEW_STR(result, zend_string_init(Z_STRVAL_P(c), Z_STRLEN_P(c), ZEND_SYSTEM_INI)); in zend_ini_get_constant()
181 ZVAL_NEW_STR(result, zend_string_init(Z_STRVAL_P(curval), Z_STRLEN_P(curval), ZEND_SYSTEM_INI)); in zend_ini_get_var()
183 } else if ((envvar = zend_getenv(Z_STRVAL_P(name), Z_STRLEN_P(name))) != NULL || in zend_ini_get_var()
184 (envvar = getenv(Z_STRVAL_P(name))) != NULL) { in zend_ini_get_var()
H A Dzend_operators.c1452 Z_STRVAL_P(result)[i] = ~Z_STRVAL_P(op1)[i]; in bitwise_not_function()
1454 Z_STRVAL_P(result)[i] = 0; in bitwise_not_function()
1492 zend_uchar or = (zend_uchar) (*Z_STRVAL_P(op1) | *Z_STRVAL_P(op2)); in bitwise_or_function()
1508 ZSTR_VAL(str)[i] = Z_STRVAL_P(longer)[i] | Z_STRVAL_P(shorter)[i]; in bitwise_or_function()
1570 zend_uchar and = (zend_uchar) (*Z_STRVAL_P(op1) & *Z_STRVAL_P(op2)); in bitwise_and_function()
1586 ZSTR_VAL(str)[i] = Z_STRVAL_P(shorter)[i] & Z_STRVAL_P(longer)[i]; in bitwise_and_function()
1648 zend_uchar xor = (zend_uchar) (*Z_STRVAL_P(op1) ^ *Z_STRVAL_P(op2)); in bitwise_xor_function()
1664 ZSTR_VAL(str)[i] = Z_STRVAL_P(shorter)[i] ^ Z_STRVAL_P(longer)[i]; in bitwise_xor_function()
1912 return zend_binary_strcmp(Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in string_compare_function()
2383 s = Z_STRVAL_P(str); in increment_string()
[all …]
/PHP-7.3/ext/intl/collator/
H A Dcollator_convert.c51 old_val = Z_STRVAL_P( hashData ); in collator_convert_hash_item_from_utf8_to_utf16()
91 old_val = Z_STRVAL_P( hashData ); in collator_convert_hash_item_from_utf16_to_utf8()
168 (UChar*) Z_STRVAL_P(utf16_zval), UCHARS( Z_STRLEN_P(utf16_zval) ), &status ); in collator_convert_zstr_utf16_to_utf8()
197 Z_STRVAL_P( utf8_zval ), Z_STRLEN_P( utf8_zval ), in collator_convert_zstr_utf8_to_utf16()
272 Z_STRVAL_P( zstr ), Z_STRLEN_P( zstr ), in collator_convert_object_to_string()
357 …if( ( is_numeric = collator_is_numeric( (UChar*) Z_STRVAL_P(str), UCHARS( Z_STRLEN_P(str) ), &lval… in collator_convert_string_to_number_if_possible()
/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_conf.c213 char *val = Z_STRVAL_P(value); in fpm_conf_set_boolean()
253 char *val = Z_STRVAL_P(value); in fpm_conf_set_integer()
271 char *val = Z_STRVAL_P(value);
288 char *val = Z_STRVAL_P(value); in fpm_conf_set_time()
328 char *val = Z_STRVAL_P(value); in fpm_conf_set_log_level()
353 char *val = Z_STRVAL_P(value); in fpm_conf_set_syslog_facility()
503 char *val = Z_STRVAL_P(value); in fpm_conf_set_rlimit_core()
532 char *val = Z_STRVAL_P(value); in fpm_conf_set_pm()
561 kv->key = strdup(Z_STRVAL_P(key)); in fpm_conf_set_array()
1442 if (!Z_STRVAL_P(key) || !Z_STRVAL_P(value) || !*Z_STRVAL_P(key)) { in fpm_conf_ini_parser_array()
[all …]
/PHP-7.3/ext/xmlrpc/
H A Dxmlrpc-epi-php.c375 if (!strcmp(Z_STRVAL_P(val), OUTPUT_TYPE_VALUE_PHP)) { in set_output_options()
377 } else if (!strcmp(Z_STRVAL_P(val), OUTPUT_TYPE_VALUE_XML)) { in set_output_options()
386 if (!strcmp(Z_STRVAL_P(val), VERBOSITY_VALUE_NO_WHITE_SPACE)) { in set_output_options()
390 } else if (!strcmp(Z_STRVAL_P(val), VERBOSITY_VALUE_PRETTY)) { in set_output_options()
400 if (!strcmp(Z_STRVAL_P(val), VERSION_VALUE_XMLRPC)) { in set_output_options()
402 } else if (!strcmp(Z_STRVAL_P(val), VERSION_VALUE_SIMPLE)) { in set_output_options()
404 } else if (!strcmp(Z_STRVAL_P(val), VERSION_VALUE_SOAP11)) { in set_output_options()
430 if (!strcmp(Z_STRVAL_P(iter_val), ESCAPING_VALUE_CDATA)) { in set_output_options()
443 if (!strcmp(Z_STRVAL_P(val), ESCAPING_VALUE_CDATA)) { in set_output_options()
449 } else if (!strcmp(Z_STRVAL_P(val), ESCAPING_VALUE_MARKUP)) { in set_output_options()
[all …]
/PHP-7.3/ext/soap/
H A Dphp_http.c44 smart_str_appendl(&auth, Z_STRVAL_P(login), Z_STRLEN_P(login)); in proxy_authentication()
48 smart_str_appendl(&auth, Z_STRVAL_P(password), Z_STRLEN_P(password)); in proxy_authentication()
73 smart_str_appendl(&auth, Z_STRVAL_P(login), Z_STRLEN_P(login)); in basic_authentication()
77 smart_str_appendl(&auth, Z_STRVAL_P(password), Z_STRLEN_P(password)); in basic_authentication()
103 char *s = Z_STRVAL_P(tmp); in http_context_headers()
178 host = Z_STRVAL_P(proxy_host); in http_connect()
600 smart_str_appendl(&soap_headers, Z_STRVAL_P(tmp), Z_STRLEN_P(tmp)); in make_http_soap_request()
708 stricmp(Z_STRVAL_P(tmp), "md5-sess") == 0) { in make_http_soap_request()
812 smart_str_appendl(&auth, Z_STRVAL_P(login), Z_STRLEN_P(login)); in make_http_soap_request()
861 in_domain(ZSTR_VAL(phpurl->host),Z_STRVAL_P(tmp))) && in make_http_soap_request()
[all …]
H A Dsoap.c875 fault_code = Z_STRVAL_P(code); in PHP_METHOD()
1028 type_name = Z_STRVAL_P(tmp); in soap_create_typemap()
1034 type_ns = Z_STRVAL_P(tmp); in soap_create_typemap()
2620 location = Z_STRVAL_P(tmp);
2714 call_uri = Z_STRVAL_P(uri);
2833 location = Z_STRVAL_P(tmp);
2843 uri = Z_STRVAL_P(tmp);
3859 hdr_ns = Z_STRVAL_P(tmp);
3864 hdr_name = Z_STRVAL_P(tmp);
3900 fault_ns = Z_STRVAL_P(tmp);
[all …]
/PHP-7.3/ext/readline/
H A Dreadline.c283 rl_line_buffer = strdup(Z_STRVAL_P(value)); in PHP_FUNCTION()
306 rl_pending_input = Z_STRVAL_P(value)[0]; in PHP_FUNCTION()
323 rl_completion_append_character = (int)Z_STRVAL_P(value)[0]; in PHP_FUNCTION()
346 rl_readline_name = strdup(Z_STRVAL_P(value)); in PHP_FUNCTION()
485 if (strncmp (Z_STRVAL_P(entry), text, strlen(text)) == 0) { in _readline_command_generator()
486 return (strdup(Z_STRVAL_P(entry))); in _readline_command_generator()
/PHP-7.3/ext/intl/
H A Dintl_common.h43 #define INTL_Z_STRVAL_P(str) (UChar*) Z_STRVAL_P(str)
/PHP-7.3/ext/pgsql/
H A Dpgsql.c3146 if (Z_STRVAL_P(return_value)) {
3147 RETURN_STRING(Z_STRVAL_P(return_value));
5926 if (!strcmp(Z_STRVAL_P(val), "t") || !strcmp(Z_STRVAL_P(val), "T") ||
5927 !strcmp(Z_STRVAL_P(val), "y") || !strcmp(Z_STRVAL_P(val), "Y") ||
5928 !strcmp(Z_STRVAL_P(val), "true") || !strcmp(Z_STRVAL_P(val), "True") ||
5929 !strcmp(Z_STRVAL_P(val), "yes") || !strcmp(Z_STRVAL_P(val), "Yes") ||
5930 !strcmp(Z_STRVAL_P(val), "1")) {
5933 else if (!strcmp(Z_STRVAL_P(val), "f") || !strcmp(Z_STRVAL_P(val), "F") ||
5934 !strcmp(Z_STRVAL_P(val), "n") || !strcmp(Z_STRVAL_P(val), "N") ||
5935 !strcmp(Z_STRVAL_P(val), "false") || !strcmp(Z_STRVAL_P(val), "False") ||
[all …]
/PHP-7.3/ext/standard/
H A Dbrowscap.c312 if ((Z_STRLEN_P(arg2) == 2 && !strncasecmp(Z_STRVAL_P(arg2), "on", sizeof("on") - 1)) || in php_browscap_parser_cb()
313 (Z_STRLEN_P(arg2) == 3 && !strncasecmp(Z_STRVAL_P(arg2), "yes", sizeof("yes") - 1)) || in php_browscap_parser_cb()
314 (Z_STRLEN_P(arg2) == 4 && !strncasecmp(Z_STRVAL_P(arg2), "true", sizeof("true") - 1)) in php_browscap_parser_cb()
318 (Z_STRLEN_P(arg2) == 2 && !strncasecmp(Z_STRVAL_P(arg2), "no", sizeof("no") - 1)) || in php_browscap_parser_cb()
319 (Z_STRLEN_P(arg2) == 3 && !strncasecmp(Z_STRVAL_P(arg2), "off", sizeof("off") - 1)) || in php_browscap_parser_cb()
320 (Z_STRLEN_P(arg2) == 4 && !strncasecmp(Z_STRVAL_P(arg2), "none", sizeof("none") - 1)) || in php_browscap_parser_cb()
321 (Z_STRLEN_P(arg2) == 5 && !strncasecmp(Z_STRVAL_P(arg2), "false", sizeof("false") - 1)) in php_browscap_parser_cb()
339 if (!strcasecmp(Z_STRVAL_P(arg1), "parent")) { in php_browscap_parser_cb()
342 !strcasecmp(ZSTR_VAL(ctx->current_section_name), Z_STRVAL_P(arg2)) in php_browscap_parser_cb()
H A Dtype.c106 char *strval = Z_STRVAL_P(num); in PHP_FUNCTION()
142 RETVAL_LONG(ZEND_STRTOL(Z_STRVAL_P(num), NULL, base)); in PHP_FUNCTION()
305 if (is_numeric_string(Z_STRVAL_P(arg), Z_STRLEN_P(arg), NULL, NULL, 0)) { in PHP_FUNCTION()
H A Dproc_open.c555 if (strcmp(Z_STRVAL_P(ztype), "pipe") == 0) { in PHP_FUNCTION()
573 if (strncmp(Z_STRVAL_P(zmode), "w", 1) != 0) { in PHP_FUNCTION()
587 if (Z_STRLEN_P(zmode) >= 2 && Z_STRVAL_P(zmode)[1] == 'b') in PHP_FUNCTION()
591 } else if (strcmp(Z_STRVAL_P(ztype), "file") == 0) { in PHP_FUNCTION()
613 stream = php_stream_open_wrapper(Z_STRVAL_P(zfile), Z_STRVAL_P(zmode), in PHP_FUNCTION()
629 if (strchr(Z_STRVAL_P(zmode), 'a')) { in PHP_FUNCTION()
635 } else if (strcmp(Z_STRVAL_P(ztype), "pty") == 0) { in PHP_FUNCTION()
662 php_error_docref(NULL, E_WARNING, "%s is not a valid descriptor spec/mode", Z_STRVAL_P(ztype)); in PHP_FUNCTION()
H A Durl.c732 if ((p = strchr(Z_STRVAL_P(hdr), ':'))) {
740 …if ((prev_val = zend_hash_str_find(Z_ARRVAL_P(return_value), Z_STRVAL_P(hdr), (p - Z_STRVAL_P(hdr)…
741 …add_assoc_stringl_ex(return_value, Z_STRVAL_P(hdr), (p - Z_STRVAL_P(hdr)), s, (Z_STRLEN_P(hdr) - (…
744 add_next_index_stringl(prev_val, s, (Z_STRLEN_P(hdr) - (s - Z_STRVAL_P(hdr))));
H A Dhttp_fopen_wrapper.c180 transport_string = estrndup(Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval)); in php_stream_url_wrap_http_ex()
203 transport_string = estrndup(Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval)); in php_stream_url_wrap_http_ex()
268 s = Z_STRVAL_P(tmpheader); in php_stream_url_wrap_http_ex()
292 s = Z_STRVAL_P(tmpzval); in php_stream_url_wrap_http_ex()
375 || (Z_STRLEN_P(tmpzval) == 3 && memcmp("GET", Z_STRVAL_P(tmpzval), 3) == 0) in php_stream_url_wrap_http_ex()
376 || (Z_STRLEN_P(tmpzval) == 4 && memcmp("HEAD",Z_STRVAL_P(tmpzval), 4) == 0) in php_stream_url_wrap_http_ex()
586 ua_str = Z_STRVAL_P(ua_zval); in php_stream_url_wrap_http_ex()
647 smart_str_appendl(&req_buf, Z_STRVAL_P(tmpzval), Z_STRLEN_P(tmpzval)); in php_stream_url_wrap_http_ex()
/PHP-7.3/main/
H A Dphp_ini.c229 …if (!is_special_section && !strcasecmp(Z_STRVAL_P(arg1), PHP_EXTENSION_TOKEN)) { /* load PHP exten… in php_ini_parser_cb()
230 extension_name = estrndup(Z_STRVAL_P(arg2), Z_STRLEN_P(arg2)); in php_ini_parser_cb()
232 …} else if (!is_special_section && !strcasecmp(Z_STRVAL_P(arg1), ZEND_EXTENSION_TOKEN)) { /* load Z… in php_ini_parser_cb()
233 extension_name = estrndup(Z_STRVAL_P(arg2), Z_STRLEN_P(arg2)); in php_ini_parser_cb()
281 …if (!zend_binary_strncasecmp(Z_STRVAL_P(arg1), Z_STRLEN_P(arg1), "PATH", sizeof("PATH") - 1, sizeo… in php_ini_parser_cb()
282 key = Z_STRVAL_P(arg1); in php_ini_parser_cb()
292 …} else if (!zend_binary_strncasecmp(Z_STRVAL_P(arg1), Z_STRLEN_P(arg1), "HOST", sizeof("HOST") - 1… in php_ini_parser_cb()
293 key = Z_STRVAL_P(arg1); in php_ini_parser_cb()
960 *result = Z_STRVAL_P(tmp);
/PHP-7.3/ext/ctype/
H A Dctype.c161 char *p = Z_STRVAL_P(c), *e = Z_STRVAL_P(c) + Z_STRLEN_P(c); \
/PHP-7.3/ext/intl/transliterator/
H A Dtransliterator_class.c216 Z_STRVAL_P( member ), Z_STRLEN_P( member ) ) == 0 ) in Transliterator_get_property_ptr_ptr()
240 Z_STRVAL_P( member ), Z_STRLEN_P( member ) ) == 0 ) ) in Transliterator_read_property()
271 Z_STRVAL_P( member ), Z_STRLEN_P( member ) ) == 0 ) ) in Transliterator_write_property()
/PHP-7.3/ext/interbase/
H A Dibase_query.c513 if (!sscanf(Z_STRVAL_P(val), "%Lf", &l)) { in _php_ibase_bind_array()
515 Z_STRVAL_P(val)); in _php_ibase_bind_array()
564 if (!sscanf(Z_STRVAL_P(val), "%" LL_MASK "d", &l)) { in _php_ibase_bind_array()
566 Z_STRVAL_P(val)); in _php_ibase_bind_array()
602 strptime(Z_STRVAL_P(val), INI_STR("ibase.dateformat"), &t); in _php_ibase_bind_array()
608 "Use format 'm/d/Y' You gave '%s')", n, Z_STRVAL_P(val)); in _php_ibase_bind_array()
619 strptime(Z_STRVAL_P(val), INI_STR("ibase.timeformat"), &t); in _php_ibase_bind_array()
633 strlcpy(buf, Z_STRVAL_P(val), buf_size); in _php_ibase_bind_array()
715 if (!strptime(Z_STRVAL_P(b_var), format, &t)) { in _php_ibase_bind()
804 var->sqldata = Z_STRVAL_P(b_var); in _php_ibase_bind()
[all …]
/PHP-7.3/ext/pdo_odbc/
H A Dodbc_stmt.c196 Z_STRVAL_P(parameter), in odbc_stmt_execute()
200 SQLPutData(S->stmt, Z_STRVAL_P(parameter), in odbc_stmt_execute()
450 memcpy(P->outbuf, Z_STRVAL_P(parameter), P->len); in odbc_stmt_param_hook()
462 Z_STRVAL_P(parameter), in odbc_stmt_param_hook()
468 memcpy(P->outbuf, Z_STRVAL_P(parameter), P->len); in odbc_stmt_param_hook()
515 memcpy(Z_STRVAL_P(parameter), srcbuf, srclen); in odbc_stmt_param_hook()
516 Z_STRVAL_P(parameter)[Z_STRLEN_P(parameter)] = '\0'; in odbc_stmt_param_hook()
782 rc = SQLSetCursorName(S->stmt, Z_STRVAL_P(val), Z_STRLEN_P(val)); in odbc_stmt_set_param()
/PHP-7.3/ext/com_dotnet/
H A Dcom_com.c89 server_name = Z_STRVAL_P(tmp); in PHP_FUNCTION()
97 user_name = Z_STRVAL_P(tmp); in PHP_FUNCTION()
104 password = Z_STRVAL_P(tmp); in PHP_FUNCTION()
111 domain_name = Z_STRVAL_P(tmp); in PHP_FUNCTION()
721 typelibname = Z_STRVAL_P(tmp); in PHP_FUNCTION()
723 dispname = Z_STRVAL_P(tmp); in PHP_FUNCTION()
726 dispname = Z_STRVAL_P(sink); in PHP_FUNCTION()
779 typelibname = Z_STRVAL_P(arg1); in PHP_FUNCTION()

Completed in 125 milliseconds

1234567