Home
last modified time | relevance | path

Searched refs:ZSTR_VAL (Results 176 – 200 of 258) sorted by relevance

1234567891011

/PHP-7.4/ext/soap/
H A Dphp_sdl.c1809 WSDL_CACHE_PUT_N(ZSTR_VAL(key), ZSTR_LEN(key), out); in sdl_serialize_key()
2377 php_ignore_value(write(f, ZSTR_VAL(buf.s), ZSTR_LEN(buf.s))); in add_sdl_to_cache()
2481 zend_hash_str_add_ptr(pheaders, ZSTR_VAL(key), ZSTR_LEN(key), pheader); in make_persistent_sdl_function_headers()
2538 zend_hash_str_add_ptr(pparams, ZSTR_VAL(key), ZSTR_LEN(key), pparam); in make_persistent_sdl_parameters()
2582 zend_hash_str_add_ptr(pfaults, ZSTR_VAL(key), ZSTR_LEN(key), pfault); in make_persistent_sdl_function_faults()
2963 zend_hash_str_add_ptr(psdl->groups, ZSTR_VAL(key), ZSTR_LEN(key), ptype); in make_persistent_sdl()
2982 zend_hash_str_add_ptr(psdl->types, ZSTR_VAL(key), ZSTR_LEN(key), ptype); in make_persistent_sdl()
3001 zend_hash_str_add_ptr(psdl->elements, ZSTR_VAL(key), ZSTR_LEN(key), ptype); in make_persistent_sdl()
3020 zend_hash_str_add_ptr(psdl->encoders, ZSTR_VAL(key), ZSTR_LEN(key), penc); in make_persistent_sdl()
3062 zend_hash_str_add_ptr(psdl->bindings, ZSTR_VAL(key), ZSTR_LEN(key), pbind); in make_persistent_sdl()
[all …]
/PHP-7.4/ext/phar/
H A Dutil.c313 if (ret && ZSTR_LEN(ret) > 8 && !strncmp(ZSTR_VAL(ret), "phar://", 7)) { in phar_find_in_include_path()
315 …if (SUCCESS != phar_split_fname(ZSTR_VAL(ret), ZSTR_LEN(ret), &arch, &arch_len, &entry, &entry_len… in phar_find_in_include_path()
1294 if (ZSTR_LEN(str_key) >= path_len || strncmp(ZSTR_VAL(str_key), path, ZSTR_LEN(str_key))) { in phar_get_entry_info_dir()
1303 …phar internal error: mounted path \"%s\" could not be retrieved from manifest", ZSTR_VAL(str_key)); in phar_get_entry_info_dir()
1310 …rnal error: mounted path \"%s\" is not properly initialized as a mounted path", ZSTR_VAL(str_key)); in phar_get_entry_info_dir()
1520 …if (FAILURE == phar_call_openssl_signverify(0, fp, end_of_phar, pubkey ? ZSTR_VAL(pubkey) : NULL, … in phar_verify_signature()
1538 in = BIO_new_mem_buf(pubkey ? ZSTR_VAL(pubkey) : NULL, pubkey ? ZSTR_LEN(pubkey) : 0); in phar_verify_signature()
/PHP-7.4/ext/pdo_pgsql/
H A Dpgsql_driver.c1226 …' connect_timeout=" ZEND_LONG_FMT, (char *) dbh->data_source, ZSTR_VAL(tmp_user), ZSTR_VAL(tmp_pas… in pdo_pgsql_handle_factory()
1228 …s user='%s' connect_timeout=" ZEND_LONG_FMT, (char *) dbh->data_source, ZSTR_VAL(tmp_user), connec… in pdo_pgsql_handle_factory()
1230 …ssword='%s' connect_timeout=" ZEND_LONG_FMT, (char *) dbh->data_source, ZSTR_VAL(tmp_pass), connec… in pdo_pgsql_handle_factory()
/PHP-7.4/ext/libxml/
H A Dlibxml.c610 _php_list_set_error_structure(NULL, ZSTR_VAL(LIBXML(error_buffer).s)); in php_libxml_internal_error_handler()
614 php_libxml_ctx_error_level(E_WARNING, ctx, ZSTR_VAL(LIBXML(error_buffer).s)); in php_libxml_internal_error_handler()
617 php_libxml_ctx_error_level(E_NOTICE, ctx, ZSTR_VAL(LIBXML(error_buffer).s)); in php_libxml_internal_error_handler()
620 php_error_docref(NULL, E_WARNING, "%s", ZSTR_VAL(LIBXML(error_buffer).s)); in php_libxml_internal_error_handler()
/PHP-7.4/ext/odbc/
H A Dphp_odbc.c532 value = ZSTR_VAL(ini_entry->orig_value); in PHP_INI_DISP()
534 value = ZSTR_VAL(ini_entry->value); in PHP_INI_DISP()
556 value = ZSTR_VAL(ini_entry->orig_value); in PHP_INI_DISP()
558 value = ZSTR_VAL(ini_entry->value); in PHP_INI_DISP()
586 value = ZSTR_VAL(ini_entry->orig_value); in PHP_INI_DISP()
588 value = ZSTR_VAL(ini_entry->value); in PHP_INI_DISP()
616 value = ZSTR_VAL(ini_entry->orig_value); in PHP_INI_DISP()
618 value = ZSTR_VAL(ini_entry->value); in PHP_INI_DISP()
641 value = ZSTR_VAL(ini_entry->orig_value); in PHP_INI_DISP()
643 value = ZSTR_VAL(ini_entry->value); in PHP_INI_DISP()
[all …]
/PHP-7.4/ext/intl/transliterator/
H A Dtransliterator_class.c176 zend_throw_error( NULL, "%s", ZSTR_VAL(err_msg) ); in Transliterator_clone_obj()
/PHP-7.4/ext/json/
H A Djson_parser.y259 if (ZSTR_LEN(key) > 0 && ZSTR_VAL(key)[0] == '\0') { in php_json_parser_object_update()
/PHP-7.4/ext/shmop/
H A Dshmop.c336 memcpy(shmop->addr + offset, ZSTR_VAL(data), writesize); in PHP_FUNCTION()
/PHP-7.4/ext/gmp/
H A Dgmp.c585 *buffer = (unsigned char *) estrndup(ZSTR_VAL(buf.s), ZSTR_LEN(buf.s)); in gmp_serialize()
775 mpz_get_str(ZSTR_VAL(str), base, gmpnum); in gmp_strval()
785 if (ZSTR_VAL(str)[ZSTR_LEN(str) - 1] == '\0') { in gmp_strval()
788 ZSTR_VAL(str)[ZSTR_LEN(str)] = '\0'; in gmp_strval()
1145 mpz_export(ZSTR_VAL(out_string), NULL, order, size, endian, 0, gmpnumber); in ZEND_FUNCTION()
1146 ZSTR_VAL(out_string)[ZSTR_LEN(out_string)] = '\0'; in ZEND_FUNCTION()
/PHP-7.4/ext/dom/
H A Ddocument.c345 handler = xmlFindCharEncodingHandler(ZSTR_VAL(str)); in dom_document_encoding_write()
352 docp->encoding = xmlStrdup((const xmlChar *) ZSTR_VAL(str)); in dom_document_encoding_write()
446 docp->version = xmlStrdup((const xmlChar *) ZSTR_VAL(str)); in dom_document_version_write()
677 docp->URL = xmlStrdup((const xmlChar *) ZSTR_VAL(str)); in dom_document_document_uri_write()
2278 …zend_throw_error(NULL, "Class %s is not derived from %s.", ZSTR_VAL(ce->name), ZSTR_VAL(basece->na… in PHP_METHOD()
H A Dcharacterdata.c112 xmlNodeSetContentLen(nodep, (xmlChar *) ZSTR_VAL(str), ZSTR_LEN(str) + 1); in dom_characterdata_data_write()
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_auth.c894 ret = mysqlnd_sha256_get_rsa_from_pem(ZSTR_VAL(key_str), ZSTR_LEN(key_str)); in mysqlnd_sha256_get_rsa_key()
896 DBG_INF_FMT("Public key:%*.s", ZSTR_LEN(key_str), ZSTR_VAL(key_str)); in mysqlnd_sha256_get_rsa_key()
1177 ret = mysqlnd_sha256_get_rsa_from_pem(ZSTR_VAL(key_str), ZSTR_LEN(key_str)); in mysqlnd_caching_sha2_get_key()
1179 DBG_INF_FMT("Public key:%*.s", ZSTR_LEN(key_str), ZSTR_VAL(key_str)); in mysqlnd_caching_sha2_get_key()
/PHP-7.4/ext/opcache/Optimizer/
H A Dcompact_literals.c97 memcpy(ZSTR_VAL(key), Z_STRVAL_P(class_name), Z_STRLEN_P(class_name)); in add_static_slot()
98 memcpy(ZSTR_VAL(key) + Z_STRLEN_P(class_name), "::", sizeof("::") - 1); in add_static_slot()
99 memcpy(ZSTR_VAL(key) + Z_STRLEN_P(class_name) + sizeof("::") - 1, in add_static_slot()
/PHP-7.4/Zend/
H A Dzend_vm_def.h423 memcpy(ZSTR_VAL(str) + len, ZSTR_VAL(op2_str), ZSTR_LEN(op2_str)+1);
430 memcpy(ZSTR_VAL(str), ZSTR_VAL(op1_str), ZSTR_LEN(op1_str));
431 memcpy(ZSTR_VAL(str) + ZSTR_LEN(op1_str), ZSTR_VAL(op2_str), ZSTR_LEN(op2_str)+1);
1753 zend_write(ZSTR_VAL(str), ZSTR_LEN(str));
3214 memcpy(ZSTR_VAL(str) + len, ZSTR_VAL(op2_str), ZSTR_LEN(op2_str)+1);
3221 memcpy(ZSTR_VAL(str), ZSTR_VAL(op1_str), ZSTR_LEN(op1_str));
3222 memcpy(ZSTR_VAL(str) + ZSTR_LEN(op1_str), ZSTR_VAL(op2_str), ZSTR_LEN(op2_str)+1);
3281 memcpy(ZSTR_VAL(str), ZSTR_VAL(op1_str), ZSTR_LEN(op1_str));
3282 memcpy(ZSTR_VAL(str) + ZSTR_LEN(op1_str), ZSTR_VAL(op2_str), ZSTR_LEN(op2_str)+1);
6544 } else if (ZSTR_VAL(p->key)[0]) {
[all …]
H A Dzend_API.h566 …if (ZSTR_VAL(str)[ZSTR_LEN(str)] != '\0') { zend_error(E_WARNING, "String is not zero-terminated (…
568 …if (ZSTR_VAL(str)[ZSTR_LEN(str)] != '\0') { zend_error(E_WARNING, "String is not zero-terminated (…
1414 _error = ZSTR_VAL((_ce)->name); \
1632 *dest = ZSTR_VAL(str); in zend_parse_arg_string()
1641 (*dest && UNEXPECTED(CHECK_NULL_PATH(ZSTR_VAL(*dest), ZSTR_LEN(*dest))))) { in zend_parse_arg_path_str()
1658 *dest = ZSTR_VAL(str); in zend_parse_arg_path()
H A Dzend_ini_parser.y126 ZVAL_PSTRINGL(op1, ZSTR_VAL(str), ZSTR_LEN(str)); in zend_ini_add_string()
H A Dzend_vm_execute.h5642 memcpy(ZSTR_VAL(str), ZSTR_VAL(op1_str), ZSTR_LEN(op1_str)); in ZEND_FAST_CONCAT_SPEC_CONST_CONST_HANDLER()
5702 memcpy(ZSTR_VAL(str), ZSTR_VAL(op1_str), ZSTR_LEN(op1_str)); in ZEND_FAST_CONCAT_SPEC_CONST_CONST_HANDLER()
7502 memcpy(ZSTR_VAL(str), ZSTR_VAL(op1_str), ZSTR_LEN(op1_str)); in ZEND_CONCAT_SPEC_CONST_TMPVAR_HANDLER()
7913 memcpy(ZSTR_VAL(str), ZSTR_VAL(op1_str), ZSTR_LEN(op1_str)); in ZEND_FAST_CONCAT_SPEC_CONST_TMPVAR_HANDLER()
7973 memcpy(ZSTR_VAL(str), ZSTR_VAL(op1_str), ZSTR_LEN(op1_str)); in ZEND_FAST_CONCAT_SPEC_CONST_TMPVAR_HANDLER()
9963 memcpy(ZSTR_VAL(str), ZSTR_VAL(op1_str), ZSTR_LEN(op1_str)); in ZEND_CONCAT_SPEC_CONST_CV_HANDLER()
10374 memcpy(ZSTR_VAL(str), ZSTR_VAL(op1_str), ZSTR_LEN(op1_str)); in ZEND_FAST_CONCAT_SPEC_CONST_CV_HANDLER()
10434 memcpy(ZSTR_VAL(str), ZSTR_VAL(op1_str), ZSTR_LEN(op1_str)); in ZEND_FAST_CONCAT_SPEC_CONST_CV_HANDLER()
14754 memcpy(ZSTR_VAL(str), ZSTR_VAL(op1_str), ZSTR_LEN(op1_str)); in ZEND_FAST_CONCAT_SPEC_TMPVAR_CONST_HANDLER()
16178 memcpy(ZSTR_VAL(str), ZSTR_VAL(op1_str), ZSTR_LEN(op1_str)); in ZEND_FAST_CONCAT_SPEC_TMPVAR_TMPVAR_HANDLER()
[all …]
/PHP-7.4/ext/intl/breakiterator/
H A Dbreakiterator_methods.cpp165 ut = utext_openUTF8(ut, ZSTR_VAL(text), ZSTR_LEN(text), BREAKITER_ERROR_CODE_P(bio)); in PHP_FUNCTION()
H A Dbreakiterator_class.cpp124 zend_throw_exception(NULL, ZSTR_VAL(err_msg), 0); in BreakIterator_clone_obj()
/PHP-7.4/sapi/cli/
H A Dphp_cli_server.c622 php_cli_server_client_send_through(client, ZSTR_VAL(buffer.s), ZSTR_LEN(buffer.s)); in sapi_cli_server_send_headers()
671 key = estrndup(ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key)); in sapi_cli_server_register_entry_cb()
1686 …zend_str_tolower_copy(ZSTR_VAL(lc_header_name), client->current_header_name, client->current_heade… in php_cli_server_client_save_header()
1954 client->addr_str = pestrndup(ZSTR_VAL(addr_str), ZSTR_LEN(addr_str), 1); in php_cli_server_client_ctor()
2041 …snprintf(chunk->data.heap.p, chunk->data.heap.len, content_template, status_string, ZSTR_VAL(escap… in php_cli_server_send_error_page()
2069 chunk = php_cli_server_chunk_heap_new(buffer.s, ZSTR_VAL(buffer.s), ZSTR_LEN(buffer.s)); in php_cli_server_send_error_page()
2169 chunk = php_cli_server_chunk_heap_new(buffer.s, ZSTR_VAL(buffer.s), ZSTR_LEN(buffer.s)); in php_cli_server_begin_send_static()
2431 …_LOG_ERROR, "Failed to listen on %s:%d (reason: %s)", host, port, errstr ? ZSTR_VAL(errstr) : "?"); in php_cli_server_ctor()
/PHP-7.4/main/streams/
H A Dplain_wrapper.c227 stream->orig_path = estrndup(ZSTR_VAL(opened_path), ZSTR_LEN(opened_path)); in _php_stream_fopen_temporary_file()
497 php_win32_ioutil_unlink(ZSTR_VAL(data->temp_name)); in php_stdiop_close()
499 unlink(ZSTR_VAL(data->temp_name)); in php_stdiop_close()
1607 const char *exec_fname = ZSTR_VAL(exec_filename); in _php_stream_fopen_with_path()
/PHP-7.4/ext/mbstring/
H A Dmb_gpc.c371 detected = _php_mb_encoding_handler_ex(&info, arg, post_data_str ? ZSTR_VAL(post_data_str) : NULL); in SAPI_POST_HANDLER_FUNC()
/PHP-7.4/ext/pdo_sqlite/
H A Dsqlite_statement.c132 param->paramno = sqlite3_bind_parameter_index(S->stmt, ZSTR_VAL(param->name)) - 1; in pdo_sqlite_stmt_param_hook()
/PHP-7.4/ext/sockets/
H A Dmulticast.c103 ret = php_string_to_if_index(ZSTR_VAL(str), out); in php_get_if_index_from_zval()
136 if (!php_set_inet46_addr(ss, ss_len, ZSTR_VAL(str), sock)) { in php_get_address_from_array()
/PHP-7.4/main/
H A Drfc1867.c204 VCWD_UNLINK(ZSTR_VAL(filename)); in destroy_uploaded_files_hash()
1095 event_file_end.temp_filename = temp_filename ? ZSTR_VAL(temp_filename) : NULL;
1105 unlink(ZSTR_VAL(temp_filename));

Completed in 315 milliseconds

1234567891011