Home
last modified time | relevance | path

Searched refs:ZSTR_LEN (Results 101 – 125 of 187) sorted by relevance

12345678

/PHP-7.1/ext/curl/
H A Dinterface.c2408 int ret = php_curl_option_str(ch, option, ZSTR_VAL(str), ZSTR_LEN(str), 0); in _php_curl_setopt()
2453 int ret = php_curl_option_str(ch, option, ZSTR_VAL(str), ZSTR_LEN(str), 1); in _php_curl_setopt()
2462 int ret = php_curl_option_url(ch, ZSTR_VAL(str), ZSTR_LEN(str)); in _php_curl_setopt()
2736 CURLFORM_NAMELENGTH, ZSTR_LEN(string_key), in _php_curl_setopt()
2758 CURLFORM_NAMELENGTH, ZSTR_LEN(string_key), in _php_curl_setopt()
2760 CURLFORM_CONTENTSLENGTH, ZSTR_LEN(postval), in _php_curl_setopt()
2785 error = curl_easy_setopt(ch->cp, CURLOPT_POSTFIELDSIZE, ZSTR_LEN(str)); in _php_curl_setopt()
2792 post = estrndup(ZSTR_VAL(str), ZSTR_LEN(str)); in _php_curl_setopt()
2796 error = curl_easy_setopt(ch->cp, CURLOPT_POSTFIELDSIZE, ZSTR_LEN(str)); in _php_curl_setopt()
2890 if (ZSTR_LEN(str) && php_check_open_basedir(ZSTR_VAL(str))) { in _php_curl_setopt()
[all …]
/PHP-7.1/Zend/
H A Dzend.c98 …pt_encoding_by_string(new_value ? ZSTR_VAL(new_value) : NULL, new_value ? ZSTR_LEN(new_value) : 0); in ZEND_INI_MH()
115 val = zend_atol(ZSTR_VAL(new_value), (int)ZSTR_LEN(new_value)); in ZEND_INI_MH()
229 ZEND_WRITE(ZSTR_VAL(string_key), ZSTR_LEN(string_key)); in print_flat_hash()
253 size_t len = ZSTR_LEN(str); in zend_print_zval()
387 zend_write(ZSTR_VAL(str), ZSTR_LEN(str)); in zend_print_zval_r()
H A Dzend_vm_execute.h4436 str = zend_string_alloc(ZSTR_LEN(op1_str) + ZSTR_LEN(op2_str), 0);
5319 str = zend_string_alloc(ZSTR_LEN(op1_str) + ZSTR_LEN(op2_str), 0);
8521 str = zend_string_alloc(ZSTR_LEN(op1_str) + ZSTR_LEN(op2_str), 0);
9256 str = zend_string_alloc(ZSTR_LEN(op1_str) + ZSTR_LEN(op2_str), 0);
10533 str = zend_string_alloc(ZSTR_LEN(op1_str) + ZSTR_LEN(op2_str), 0);
11234 str = zend_string_alloc(ZSTR_LEN(op1_str) + ZSTR_LEN(op2_str), 0);
39616 str = zend_string_alloc(ZSTR_LEN(op1_str) + ZSTR_LEN(op2_str), 0);
46620 str = zend_string_alloc(ZSTR_LEN(op1_str) + ZSTR_LEN(op2_str), 0);
50589 str = zend_string_alloc(ZSTR_LEN(op1_str) + ZSTR_LEN(op2_str), 0);
52800 str = zend_string_alloc(ZSTR_LEN(op1_str) + ZSTR_LEN(op2_str), 0);
[all …]
H A Dzend_ini_parser.y125 ZVAL_PSTRINGL(op1, ZSTR_VAL(str), ZSTR_LEN(str)); in zend_ini_add_string()
H A Dzend_ast.c604 for (i = 0; i < ZSTR_LEN(s); i++) { in zend_ast_export_str()
619 for (i = 0; i < ZSTR_LEN(s); i++) { in zend_ast_export_qstr()
933 smart_str_appendl(str, ZSTR_VAL(key), ZSTR_LEN(key)); in zend_ast_export_zval()
1075 smart_str_appendl(str, ZSTR_VAL(decl->name), ZSTR_LEN(decl->name)); in zend_ast_export_ex()
1115 smart_str_appendl(str, ZSTR_VAL(decl->name), ZSTR_LEN(decl->name)); in zend_ast_export_ex()
/PHP-7.1/ext/phar/
H A Dtar.c869 …entry->uncompressed_filesize = entry->compressed_filesize = entry->metadata_str.s ? ZSTR_LEN(entry… in phar_tar_setmetadata()
883 …if (ZSTR_LEN(entry->metadata_str.s) != php_stream_write(entry->fp, ZSTR_VAL(entry->metadata_str.s)… in phar_tar_setmetadata()
1039 len = ZSTR_LEN(str); in phar_tar_flush()
1040 user_stub = estrndup(ZSTR_VAL(str), ZSTR_LEN(str)); in phar_tar_flush()
/PHP-7.1/ext/gmp/
H A Dgmp.c576 *buffer = (unsigned char *) estrndup(ZSTR_VAL(buf.s), ZSTR_LEN(buf.s)); in gmp_serialize()
577 *buf_len = ZSTR_LEN(buf.s); in gmp_serialize()
776 if (ZSTR_VAL(str)[ZSTR_LEN(str) - 1] == '\0') { in gmp_strval()
777 ZSTR_LEN(str)--; in gmp_strval()
779 ZSTR_VAL(str)[ZSTR_LEN(str)] = '\0'; in gmp_strval()
1155 ZSTR_VAL(out_string)[ZSTR_LEN(out_string)] = '\0'; in ZEND_FUNCTION()
/PHP-7.1/ext/pgsql/
H A Dpgsql.c3552 ZSTR_LEN(buf) = nbytes;
3553 ZSTR_VAL(buf)[ZSTR_LEN(buf)] = '\0';
4389 to = zend_string_safe_alloc(ZSTR_LEN(from), 2, 0, 0);
4395 ZSTR_LEN(to) = PQescapeStringConn(pgsql, ZSTR_VAL(to), ZSTR_VAL(from), ZSTR_LEN(from), NULL);
4399 ZSTR_LEN(to) = PQescapeString(ZSTR_VAL(to), ZSTR_VAL(from), ZSTR_LEN(from));
4402 to = zend_string_truncate(to, ZSTR_LEN(to), 0);
6092 str = zend_string_truncate(str, ZSTR_LEN(str), 0);
6636 ZSTR_LEN(querystr.s)--;
6674 ZSTR_LEN(querystr.s)--;
6804 smart_str_appendl(querystr, ZSTR_VAL(fld), ZSTR_LEN(fld));
[all …]
/PHP-7.1/ext/intl/idn/
H A Didn.c169 ZSTR_LEN(buffer) = len; in php_intl_idn_to_46()
/PHP-7.1/main/
H A Dphp_variables.c323 vars->end = ZSTR_VAL(vars->str.s) + ZSTR_LEN(vars->str.s); in add_post_vars()
335 memmove(ZSTR_VAL(vars->str.s), vars->ptr, ZSTR_LEN(vars->str.s) = vars->end - vars->ptr); in add_post_vars()
668 if (!globals_check || ZSTR_LEN(string_key) != sizeof("GLOBALS") - 1 in php_autoglobal_merge()
H A Dmain.c192 PG(memory_limit) = zend_atol(ZSTR_VAL(new_value), (int)ZSTR_LEN(new_value)); in PHP_INI_MH()
376 …PG(display_errors) = (zend_bool) php_get_display_errors_mode(ZSTR_VAL(new_value), (int)ZSTR_LEN(ne… in PHP_INI_MH()
391 tmp_value_length = (int)(ini_entry->orig_value? ZSTR_LEN(ini_entry->orig_value) : 0); in PHP_INI_DISP()
394 tmp_value_length = (int)ZSTR_LEN(ini_entry->value); in PHP_INI_DISP()
792 if (!replace_buffer || ZSTR_LEN(replace_buffer) < 1) { in php_verror()
800 buffer_len = (int)ZSTR_LEN(replace_buffer); in php_verror()
2668 SG(request_info).auth_user = estrndup(ZSTR_VAL(user), ZSTR_LEN(user)); in php_handle_auth_data()
H A Dfopen_wrappers.c584 size_t exec_fname_length = ZSTR_LEN(exec_filename);
663 size_t exec_fname_length = ZSTR_LEN(exec_filename);
/PHP-7.1/sapi/cli/
H A Dphp_cli_server.c564 php_cli_server_client_send_through(client, ZSTR_VAL(buffer.s), ZSTR_LEN(buffer.s)); in sapi_cli_server_send_headers()
613 key = estrndup(ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key)); in sapi_cli_server_register_entry_cb()
614 for(i=0; i<ZSTR_LEN(hash_key->key); i++) { in sapi_cli_server_register_entry_cb()
1864 client->addr_str = pestrndup(ZSTR_VAL(addr_str), ZSTR_LEN(addr_str), 1); in php_cli_server_client_ctor()
1865 client->addr_str_len = ZSTR_LEN(addr_str); in php_cli_server_client_ctor()
1948 …php_cli_server_chunk_heap_new_self_contained(strlen(content_template) + ZSTR_LEN(escaped_request_u… in php_cli_server_send_error_page()
1980 chunk = php_cli_server_chunk_heap_new(buffer.s, ZSTR_VAL(buffer.s), ZSTR_LEN(buffer.s)); in php_cli_server_send_error_page()
2085 chunk = php_cli_server_chunk_heap_new(buffer.s, ZSTR_VAL(buffer.s), ZSTR_LEN(buffer.s)); in php_cli_server_begin_send_static()
/PHP-7.1/ext/standard/
H A Dfilters.c182 if (NULL == (inst->allowed_tags = pemalloc(ZSTR_LEN(allowed_tags) + 1, persistent))) { in php_strip_tags_filter_ctor()
185 memcpy((char *)inst->allowed_tags, ZSTR_VAL(allowed_tags), ZSTR_LEN(allowed_tags) + 1); in php_strip_tags_filter_ctor()
186 inst->allowed_tags_len = (int)ZSTR_LEN(allowed_tags); in php_strip_tags_filter_ctor()
1225 if (NULL == (*pretval = pemalloc(ZSTR_LEN(str) + 1, persistent))) { in php_conv_get_string_prop_ex()
1229 *pretval_len = ZSTR_LEN(str); in php_conv_get_string_prop_ex()
1230 memcpy(*pretval, ZSTR_VAL(str), ZSTR_LEN(str) + 1); in php_conv_get_string_prop_ex()
/PHP-7.1/ext/gettext/
H A Dgettext.c196 PHP_GETTEXT_LENGTH_CHECK("msgid", ZSTR_LEN(msgid)) in PHP_NAMED_FUNCTION()
/PHP-7.1/ext/json/
H A Djson_parser.y276 if (ZSTR_LEN(key) > 0 && ZSTR_VAL(key)[0] == '\0') { in php_json_parser_object_update()
/PHP-7.1/ext/opcache/Optimizer/
H A Dcompact_literals.c431 ZSTR_LEN(key) = key_len; in zend_optimizer_compact_literals()
445 ZSTR_H(key) = zend_hash_func(ZSTR_VAL(key), ZSTR_LEN(key)); in zend_optimizer_compact_literals()
/PHP-7.1/win32/
H A Dsendmail.c176 result, ZSTR_VAL(result), (int)ZSTR_LEN(result), in php_win32_mail_trim_header()
638 char c, *e2, *e = ZSTR_VAL(data_cln) + ZSTR_LEN(data_cln); in SendText()
/PHP-7.1/ext/intl/breakiterator/
H A Dbreakiterator_methods.cpp164 ut = utext_openUTF8(ut, ZSTR_VAL(text), ZSTR_LEN(text), BREAKITER_ERROR_CODE_P(bio)); in PHP_FUNCTION()
/PHP-7.1/ext/dom/
H A Dcharacterdata.c111 xmlNodeSetContentLen(nodep, (xmlChar *) ZSTR_VAL(str), ZSTR_LEN(str) + 1); in dom_characterdata_data_write()
/PHP-7.1/ext/mbstring/
H A Dphp_mbregex.c986 if (zend_eval_stringl(ZSTR_VAL(eval_str), ZSTR_LEN(eval_str), &v, description) == FAILURE) { in _php_mb_regex_ereg_replace_exec()
1400 ZSTR_LEN(arg_str), in PHP_FUNCTION()
1406 MBREX(search_pos) = ZSTR_LEN(arg_str); in PHP_FUNCTION()
/PHP-7.1/ext/oci8/
H A Doci8.c1798 php_strtolower(ZSTR_VAL(hashed_details.s), ZSTR_LEN(hashed_details.s)); in php_oci_do_connect_ex()
1881 (ZSTR_LEN(tmp->hash_key) == ZSTR_LEN(hashed_details.s)) && in php_oci_do_connect_ex()
1883 ZSTR_LEN(tmp->hash_key)) == 0)) { in php_oci_do_connect_ex()
2786 if (hash_key && (ZSTR_LEN(hash_key) > 0)) { in php_oci_create_spool()
2944 php_strtolower(ZSTR_VAL(spool_hashed_details.s), ZSTR_LEN(spool_hashed_details.s)); in php_oci_get_spool()
2969ZSTR_LEN(((php_oci_spool *)(spool_out_le->ptr))->spool_hash_key) == ZSTR_LEN(spool_hashed_details.… in php_oci_get_spool()
2970 …spool_out_le->ptr))->spool_hash_key), ZSTR_VAL(spool_hashed_details.s), ZSTR_LEN(spool_hashed_deta… in php_oci_get_spool()
/PHP-7.1/ext/ldap/
H A Dldap.c1509 ldap_mods[i]->mod_type = estrndup(ZSTR_VAL(attribute), ZSTR_LEN(attribute)); in php_ldap_do_modify()
1796 !_ldap_str_equal_to_const(ZSTR_VAL(modkey), ZSTR_LEN(modkey), LDAP_MODIFY_BATCH_ATTRIB) && in PHP_FUNCTION()
1797 !_ldap_str_equal_to_const(ZSTR_VAL(modkey), ZSTR_LEN(modkey), LDAP_MODIFY_BATCH_MODTYPE) && in PHP_FUNCTION()
1798 !_ldap_str_equal_to_const(ZSTR_VAL(modkey), ZSTR_LEN(modkey), LDAP_MODIFY_BATCH_VALUES) in PHP_FUNCTION()
1808 if (_ldap_str_equal_to_const(ZSTR_VAL(modkey), ZSTR_LEN(modkey), LDAP_MODIFY_BATCH_ATTRIB)) { in PHP_FUNCTION()
1819 …else if (_ldap_str_equal_to_const(ZSTR_VAL(modkey), ZSTR_LEN(modkey), LDAP_MODIFY_BATCH_MODTYPE)) { in PHP_FUNCTION()
1851 … else if (_ldap_str_equal_to_const(ZSTR_VAL(modkey), ZSTR_LEN(modkey), LDAP_MODIFY_BATCH_VALUES)) { in PHP_FUNCTION()
2870 ZSTR_LEN(ret) = p; in php_ldap_do_escape()
/PHP-7.1/ext/mysqli/
H A Dmysqli_api.c44 if (str->s && ZSTR_LEN(str->s)) { in mysqli_tx_cor_options_to_string()
49 if (str->s && ZSTR_LEN(str->s)) { in mysqli_tx_cor_options_to_string()
56 if (str->s && ZSTR_LEN(str->s)) { in mysqli_tx_cor_options_to_string()
61 if (str->s && ZSTR_LEN(str->s)) { in mysqli_tx_cor_options_to_string()
1971ZSTR_LEN(newstr) = mysql_real_escape_string(mysql->mysql, ZSTR_VAL(newstr), escapestr, escapestr_l…
1972 newstr = zend_string_truncate(newstr, ZSTR_LEN(newstr), 0);
/PHP-7.1/ext/soap/
H A Dsoap.c497 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) != NULL) { in PHP_INI_MH()
1053 if (ZSTR_LEN(name) == sizeof("type_name")-1 && in soap_create_typemap()
1059 } else if (ZSTR_LEN(name) == sizeof("type_ns")-1 && in soap_create_typemap()
1065 } else if (ZSTR_LEN(name) == sizeof("to_xml")-1 && in soap_create_typemap()
1068 } else if (ZSTR_LEN(name) == sizeof("from_xml")-1 && in soap_create_typemap()
1741 int class_name_len = ZSTR_LEN(service->soap_class.ce->name);
2967 add_next_index_stringl(return_value, ZSTR_VAL(buf.s), ZSTR_LEN(buf.s));
4663 smart_str_appendl(buf, ZSTR_VAL(spaces.s), ZSTR_LEN(spaces.s));
4786 smart_str_appendl(buf, ZSTR_VAL(spaces.s), ZSTR_LEN(spaces.s));
4801 smart_str_appendl(buf, ZSTR_VAL(spaces.s), ZSTR_LEN(spaces.s));
[all …]

Completed in 275 milliseconds

12345678