/php-src/ext/fileinfo/ |
H A D | php_libmagic.c | 41 ZSTR_VAL(t)[j++] = '~'; in convert_libmagic_pattern() 46 ZSTR_VAL(t)[j++] = '\\'; in convert_libmagic_pattern() 47 ZSTR_VAL(t)[j] = '~'; in convert_libmagic_pattern() 50 ZSTR_VAL(t)[j++] = '\\'; in convert_libmagic_pattern() 51 ZSTR_VAL(t)[j++] = 'x'; in convert_libmagic_pattern() 52 ZSTR_VAL(t)[j++] = '0'; in convert_libmagic_pattern() 53 ZSTR_VAL(t)[j] = '0'; in convert_libmagic_pattern() 60 ZSTR_VAL(t)[j++] = '~'; in convert_libmagic_pattern() 63 ZSTR_VAL(t)[j++] = 'i'; in convert_libmagic_pattern() 66 ZSTR_VAL(t)[j++] = 'm'; in convert_libmagic_pattern() [all …]
|
/php-src/ext/gettext/ |
H A D | gettext.c | 98 domain_name = ZSTR_VAL(domain); in PHP_FUNCTION() 118 msgstr = gettext(ZSTR_VAL(msgid)); in PHP_FUNCTION() 120 if (msgstr != ZSTR_VAL(msgid)) { in PHP_FUNCTION() 142 msgstr = dgettext(ZSTR_VAL(domain), ZSTR_VAL(msgid)); in PHP_FUNCTION() 144 if (msgstr != ZSTR_VAL(msgid)) { in PHP_FUNCTION() 169 msgstr = dcgettext(ZSTR_VAL(domain), ZSTR_VAL(msgid), category); in PHP_FUNCTION() 171 if (msgstr != ZSTR_VAL(msgid)) { in PHP_FUNCTION() 228 msgstr = ngettext(ZSTR_VAL(msgid1), ZSTR_VAL(msgid2), count); in PHP_FUNCTION() 255 msgstr = dngettext(ZSTR_VAL(domain), ZSTR_VAL(msgid1), ZSTR_VAL(msgid2), count); in PHP_FUNCTION() 286 msgstr = dcngettext(ZSTR_VAL(domain), ZSTR_VAL(msgid1), ZSTR_VAL(msgid2), count, category); in PHP_FUNCTION() [all …]
|
/php-src/ext/odbc/ |
H A D | odbc_utils.c | 36 bool is_quoted = php_odbc_connstr_is_quoted(ZSTR_VAL(str)); in PHP_FUNCTION() 49 bool should_quote = php_odbc_connstr_should_quote(ZSTR_VAL(str)); in PHP_FUNCTION() 62 size_t new_size = php_odbc_connstr_estimate_quote_length(ZSTR_VAL(str)); in PHP_FUNCTION() 64 php_odbc_connstr_quote(ZSTR_VAL(new_string), ZSTR_VAL(str), new_size); in PHP_FUNCTION() 66 ZSTR_LEN(new_string) = strlen(ZSTR_VAL(new_string)); in PHP_FUNCTION()
|
/php-src/ext/phar/ |
H A D | dirstream.c | 143 ZSTR_VAL(f->key), ZSTR_LEN(f->key), ZSTR_VAL(s->key), ZSTR_LEN(s->key)); in phar_compare_dir_name() 183 const char *has_slash = memchr(ZSTR_VAL(str_key), '/', keylen); in phar_make_dirstream() 186 keylen = has_slash - ZSTR_VAL(str_key); in phar_make_dirstream() 189 memcpy(entry, ZSTR_VAL(str_key), keylen); in phar_make_dirstream() 194 if (0 != memcmp(ZSTR_VAL(str_key), dir, dirlen)) { in phar_make_dirstream() 198 if (ZSTR_VAL(str_key)[dirlen] != '/') { in phar_make_dirstream() 204 const char *save = ZSTR_VAL(str_key); in phar_make_dirstream() 410 …rror: cannot create directory \"%s\" in phar \"%s\", %s", ZSTR_VAL(resource->path)+1, ZSTR_VAL(res… in phar_wrapper_mkdir() 437 entry.filename = estrdup(ZSTR_VAL(resource->path) + 1); in phar_wrapper_mkdir() 546 && IS_SLASH(ZSTR_VAL(str_key)[path_len]) in phar_wrapper_rmdir() [all …]
|
H A D | stream.c | 894 memcmp(ZSTR_VAL(str_key), ZSTR_VAL(resource_from->path)+1, from_len) == 0 && in phar_wrapper_rename() 895 IS_SLASH(ZSTR_VAL(str_key)[from_len])) { in phar_wrapper_rename() 898 memcpy(ZSTR_VAL(new_str_key), ZSTR_VAL(resource_to->path) + 1, to_len); in phar_wrapper_rename() 899 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename() 900 ZSTR_VAL(new_str_key)[ZSTR_LEN(new_str_key)] = 0; in phar_wrapper_rename() 922 memcpy(ZSTR_VAL(new_str_key), ZSTR_VAL(resource_to->path) + 1, to_len); in phar_wrapper_rename() 923 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename() 924 ZSTR_VAL(new_str_key)[ZSTR_LEN(new_str_key)] = 0; in phar_wrapper_rename() 939 memcpy(ZSTR_VAL(new_str_key), ZSTR_VAL(resource_to->path) + 1, to_len); in phar_wrapper_rename() 940 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename() [all …]
|
/php-src/ext/standard/ |
H A D | string.c | 1286 ZSTR_VAL(tmp)[0] = ZSTR_VAL(incremented)[0]; in PHP_FUNCTION() 2425 memcpy(ZSTR_VAL(result), ZSTR_VAL(str), f); 2571 memcpy(ZSTR_VAL(result), ZSTR_VAL(orig_str), f); 2578 memcpy(ZSTR_VAL(result), ZSTR_VAL(orig_str), f); 2586 memcpy(ZSTR_VAL(result), ZSTR_VAL(orig_str), f); 2843 memcpy(ZSTR_VAL(new_str), ZSTR_VAL(str), input - ZSTR_VAL(str)); 2872 memcpy(ZSTR_VAL(new_str), ZSTR_VAL(str), input - ZSTR_VAL(str)); 2897 memcpy(ZSTR_VAL(new_str), ZSTR_VAL(str), i); 2899 ZSTR_VAL(new_str)[i] = ZSTR_VAL(str)[i] + xlat[(size_t)(unsigned char) ZSTR_VAL(str)[i]]; 3943 memcpy(ZSTR_VAL(new_str), ZSTR_VAL(str), offset); [all …]
|
H A D | exec.c | 354 ZSTR_VAL(cmd)[y++] = '^'; in php_escape_shell_cmd() 364 ZSTR_VAL(cmd)[y] = '\0'; in php_escape_shell_cmd() 405 ZSTR_VAL(cmd)[y++] = '"'; in php_escape_shell_arg() 407 ZSTR_VAL(cmd)[y++] = '\''; in php_escape_shell_arg() 428 ZSTR_VAL(cmd)[y++] = ' '; in php_escape_shell_arg() 432 ZSTR_VAL(cmd)[y++] = '\''; in php_escape_shell_arg() 433 ZSTR_VAL(cmd)[y++] = '\\'; in php_escape_shell_arg() 434 ZSTR_VAL(cmd)[y++] = '\''; in php_escape_shell_arg() 450 ZSTR_VAL(cmd)[y++] = '"'; in php_escape_shell_arg() 452 ZSTR_VAL(cmd)[y++] = '\''; in php_escape_shell_arg() [all …]
|
H A D | password.c | 63 if (ZSTR_VAL(buffer)[pos] == '+') { in php_password_salt_to64() 69 ret[pos] = ZSTR_VAL(buffer)[pos]; in php_password_salt_to64() 94 if (php_password_salt_to64(ZSTR_VAL(buffer), ZSTR_LEN(buffer), length, ZSTR_VAL(ret)) == FAILURE) { in php_password_make_salt() 101 ZSTR_VAL(ret)[length] = 0; in php_password_make_salt() 117 const char *h = ZSTR_VAL(hash); in php_password_bcrypt_valid() 241 const char *p = ZSTR_VAL(hash); in extract_argon2_parameters() 356 ZSTR_VAL(password), in php_password_argon2_hash() 358 ZSTR_VAL(salt), in php_password_argon2_hash() 360 ZSTR_VAL(out), in php_password_argon2_hash() 362 ZSTR_VAL(encoded), in php_password_argon2_hash() [all …]
|
H A D | http.c | 80 encoded_data = php_raw_url_encode(ZSTR_VAL(tmp), ZSTR_LEN(tmp)); in php_url_encode_scalar() 82 encoded_data = php_url_encode(ZSTR_VAL(tmp), ZSTR_LEN(tmp)); in php_url_encode_scalar() 146 prop_name = ZSTR_VAL(key); in php_url_encode_hash_ex() 154 if (ZSTR_VAL(key)[0] == '\0' && type != NULL) { in php_url_encode_hash_ex() 158 prop_name = ZSTR_VAL(key); in php_url_encode_hash_ex() 180 …new_prefix = zend_string_concat3(ZSTR_VAL(key_prefix), ZSTR_LEN(key_prefix), ZSTR_VAL(encoded_key)… in php_url_encode_hash_ex() 196 memcpy(ZSTR_VAL(new_prefix), ZSTR_VAL(key_prefix), ZSTR_LEN(key_prefix)); in php_url_encode_hash_ex() 200 ZSTR_VAL(new_prefix)[len] = '\0'; in php_url_encode_hash_ex() 268 zend_error(E_WARNING, "%s", ZSTR_VAL(errstr)); in cache_request_parse_body_option() 308 switch (ZSTR_VAL(key)[0]) { in cache_request_parse_body_options() [all …]
|
H A D | uuencode.c | 75 p = (unsigned char *) ZSTR_VAL(dest); in php_uuencode() 124 dest = zend_string_truncate(dest, (char *) p - ZSTR_VAL(dest), 0); in php_uuencode() 141 p = ZSTR_VAL(dest); in php_uudecode() 180 assert(p >= ZSTR_VAL(dest)); in php_uudecode() 181 if ((len = total_len) > (size_t)(p - ZSTR_VAL(dest))) { in php_uudecode() 192 ZSTR_VAL(dest)[ZSTR_LEN(dest)] = '\0'; in php_uudecode() 212 RETURN_STR(php_uuencode(ZSTR_VAL(src), ZSTR_LEN(src))); in PHP_FUNCTION() 226 if ((dest = php_uudecode(ZSTR_VAL(src), ZSTR_LEN(src))) == NULL) { in PHP_FUNCTION()
|
H A D | quot_print.c | 92 i = length; p1 = str; p2 = (unsigned char*)ZSTR_VAL(retval); in php_quot_print_decode() 148 d = (unsigned char*)ZSTR_VAL(ret); in php_quot_print_encode() 182 ret = zend_string_truncate(ret, d - (unsigned char*)ZSTR_VAL(ret), 0); in php_quot_print_encode() 209 str_in = ZSTR_VAL(arg1); in PHP_FUNCTION() 218 ZSTR_VAL(str_out)[j++] = (php_hex2int((int) str_in[i + 1]) << 4) in PHP_FUNCTION() 240 ZSTR_VAL(str_out)[j++] = str_in[i++]; in PHP_FUNCTION() 245 ZSTR_VAL(str_out)[j++] = str_in[i++]; in PHP_FUNCTION() 248 ZSTR_VAL(str_out)[j] = '\0'; in PHP_FUNCTION() 269 new_str = php_quot_print_encode((unsigned char *)ZSTR_VAL(str), ZSTR_LEN(str)); in PHP_FUNCTION()
|
H A D | http_fopen_wrapper.c | 278 smart_str_appends(&header, ZSTR_VAL(resource->host)); in php_stream_url_wrap_http_ex() 455 zend_str_tolower(ZSTR_VAL(tmp), ZSTR_LEN(tmp)); in php_stream_url_wrap_http_ex() 456 t = ZSTR_VAL(tmp); in php_stream_url_wrap_http_ex() 523 strcpy(scratch, ZSTR_VAL(resource->user)); in php_stream_url_wrap_http_ex() 529 strcat(scratch, ZSTR_VAL(resource->pass)); in php_stream_url_wrap_http_ex() 535 smart_str_appends(&req_buf, ZSTR_VAL(stmp)); in php_stream_url_wrap_http_ex() 865 s = ZSTR_VAL(resource->path); in php_stream_url_wrap_http_ex() 869 s = ZSTR_VAL(resource->path); in php_stream_url_wrap_http_ex() 876 ZSTR_VAL(resource->path)[0] == '/' && in php_stream_url_wrap_http_ex() 877 ZSTR_VAL(resource->path)[1] == '\0') { in php_stream_url_wrap_http_ex() [all …]
|
/php-src/ext/sodium/ |
H A D | libsodium.c | 48 ZSTR_VAL(zs)[len] = 0; in zend_string_checked_alloc() 436 ZSTR_VAL(hash)[hash_len] = 0; in PHP_FUNCTION() 476 ZSTR_VAL(state)[state_len] = 0; in PHP_FUNCTION() 564 ZSTR_VAL(hash)[hash_len] = 0; in PHP_FUNCTION() 1133 ZSTR_VAL(msg)[msg_real_len] = 0; in PHP_FUNCTION() 1498 ZSTR_VAL(hash)[hash_len] = 0; in PHP_FUNCTION() 1656 ZSTR_VAL(hash)[hash_len] = 0; in PHP_FUNCTION() 1863 ZSTR_VAL(msg)[msg_real_len] = 0; in PHP_FUNCTION() 1978 ZSTR_VAL(msg)[msg_real_len] = 0; in PHP_FUNCTION() 2473 ZSTR_VAL(hex)[hex_len] = 0; in PHP_FUNCTION() [all …]
|
H A D | sodium_pwhash.c | 76 …if (crypto_pwhash_str_alg(ZSTR_VAL(ret), ZSTR_VAL(password), ZSTR_LEN(password), opslimit, memlimi… in php_sodium_argon2_hash() 82 ZSTR_LEN(ret) = strlen(ZSTR_VAL(ret)); in php_sodium_argon2_hash() 83 ZSTR_VAL(ret)[ZSTR_LEN(ret)] = 0; in php_sodium_argon2_hash() 92 return crypto_pwhash_str_verify(ZSTR_VAL(hash), ZSTR_VAL(password), ZSTR_LEN(password)) == 0; in php_sodium_argon2_verify() 101 return crypto_pwhash_str_needs_rehash(ZSTR_VAL(hash), opslimit, memlimit); in php_sodium_argon2_needs_rehash() 114 p = ZSTR_VAL(hash); in php_sodium_argon2_get_info()
|
/php-src/Zend/ |
H A D | zend_dtrace.c | 38 return ZSTR_VAL(ex->func->op_array.filename); in dtrace_get_executed_filename() 47 DTRACE_COMPILE_FILE_ENTRY(ZSTR_VAL(file_handle->opened_path), ZSTR_VAL(file_handle->filename)); in dtrace_compile_file() 49 DTRACE_COMPILE_FILE_RETURN(ZSTR_VAL(file_handle->opened_path), ZSTR_VAL(file_handle->filename)); in dtrace_compile_file() 115 DTRACE_ERROR(ZSTR_VAL(message), ZSTR_VAL(error_filename), error_lineno); in dtrace_error_notify_cb()
|
H A D | zend_ini.c | 581 return atoi(ZSTR_VAL(str)) != 0; in zend_ini_parse_bool() 621 char *str = ZSTR_VAL(value); in zend_ini_parse_quantity_internal() 658 ZSTR_VAL(invalid.s)); in zend_ini_parse_quantity_internal() 706 ZSTR_VAL(invalid.s)); in zend_ini_parse_quantity_internal() 718 ZSTR_VAL(invalid.s)); in zend_ini_parse_quantity_internal() 760 ZSTR_VAL(invalid.s)); in zend_ini_parse_quantity_internal() 797 ZSTR_VAL(invalid.s), ZSTR_VAL(chr.s), ZSTR_VAL(interpreted.s)); in zend_ini_parse_quantity_internal() 831 ZSTR_VAL(invalid.s), ZSTR_VAL(interpreted.s), ZSTR_VAL(chr.s)); in zend_ini_parse_quantity_internal() 849 ZSTR_VAL(invalid.s)); in zend_ini_parse_quantity_internal() 881 zend_error(E_WARNING, "Invalid \"%s\" setting. %s", ZSTR_VAL(setting), ZSTR_VAL(errstr)); in zend_ini_parse_quantity_warn() [all …]
|
H A D | zend_string.h | 68 #define ZSTR_VAL(zstr) (zstr)->val in END_EXTERN_C() macro 129 memcpy(ZSTR_VAL(str), (s), (len)); \ 130 ZSTR_VAL(str)[(len)] = '\0'; \ 200 memcpy(ZSTR_VAL(ret), str, len); in zend_string_init() 201 ZSTR_VAL(ret)[len] = '\0'; in zend_string_init() 259 memcpy(ZSTR_VAL(ret), ZSTR_VAL(s), MIN(len, ZSTR_LEN(s)) + 1); in zend_string_realloc() 280 memcpy(ZSTR_VAL(ret), ZSTR_VAL(s), ZSTR_LEN(s) + 1); in zend_string_extend() 301 memcpy(ZSTR_VAL(ret), ZSTR_VAL(s), len + 1); in zend_string_truncate() 321 memcpy(ZSTR_VAL(ret), ZSTR_VAL(s), MIN((n * m) + l, ZSTR_LEN(s)) + 1); in zend_string_safe_realloc() 380 return !memcmp(ZSTR_VAL(s1), ZSTR_VAL(s2), ZSTR_LEN(s1)); in END_EXTERN_C() [all …]
|
/php-src/ext/zend_test/ |
H A D | observer.c | 87 …:%s>\n", 2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(execute_data->func->common.scope->name), Z… in observer_begin() 139 …_depth), "", ZSTR_VAL(execute_data->func->common.scope->name), ZSTR_VAL(execute_data->func->common… in observer_end() 141 …2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(execute_data->func->common.function_name), retval_i… in observer_end() 153 …%s::%s() -->\n", 2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL… in observer_show_init() 176 …php_printf("%*s%s::%s()\n", indent, "", ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.fu… in observer_show_init_backtrace() 178 php_printf("%*s%s()\n", indent, "", ZSTR_VAL(fbc->common.function_name)); in observer_show_init_backtrace() 181 php_printf("%*s{main} %s\n", indent, "", ZSTR_VAL(fbc->op_array.filename)); in observer_show_init_backtrace() 283 …php_printf("%*s<!-- declared class '%s' -->\n", 2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(nam… in declared_class_observer() 293 …%s::%s() -->\n", 2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL… in zend_test_execute_internal() 327 const char *start = ZSTR_VAL(new_value), *ptr; in ZEND_INI_MH() [all …]
|
/php-src/ext/dba/ |
H A D | dba_tcadb.c | 42 spprintf(&path_string, 0, "%s#mode=r", ZSTR_VAL(info->path)); in DBA_OPEN_FUNC() 45 spprintf(&path_string, 0, "%s#mode=w", ZSTR_VAL(info->path)); in DBA_OPEN_FUNC() 48 spprintf(&path_string, 0, "%s#mode=wc", ZSTR_VAL(info->path)); in DBA_OPEN_FUNC() 51 spprintf(&path_string, 0, "%s#mode=wct", ZSTR_VAL(info->path)); in DBA_OPEN_FUNC() 91 value = tcadbget(dba->tcadb, ZSTR_VAL(key), ZSTR_LEN(key), &value_size); in DBA_FETCH_FUNC() 107 if (tcadbvsiz(dba->tcadb, ZSTR_VAL(key), ZSTR_LEN(key)) > -1) { in DBA_UPDATE_FUNC() 112 result = tcadbput(dba->tcadb, ZSTR_VAL(key), ZSTR_LEN(key), ZSTR_VAL(val), ZSTR_LEN(val)); in DBA_UPDATE_FUNC() 128 value = tcadbget(dba->tcadb, ZSTR_VAL(key), ZSTR_LEN(key), &value_len); in DBA_EXISTS_FUNC() 141 return tcadbout(dba->tcadb, ZSTR_VAL(key), ZSTR_LEN(key)) ? SUCCESS : FAILURE; in DBA_DELETE_FUNC()
|
H A D | dba_qdbm.c | 40 dbf = dpopen(ZSTR_VAL(info->path), DP_OREADER, 0); in DBA_OPEN_FUNC() 43 dbf = dpopen(ZSTR_VAL(info->path), DP_OWRITER, 0); in DBA_OPEN_FUNC() 46 dbf = dpopen(ZSTR_VAL(info->path), DP_OWRITER | DP_OCREAT, 0); in DBA_OPEN_FUNC() 49 dbf = dpopen(ZSTR_VAL(info->path), DP_OWRITER | DP_OCREAT | DP_OTRUNC, 0); in DBA_OPEN_FUNC() 81 value = dpget(dba->dbf, ZSTR_VAL(key), ZSTR_LEN(key), 0, -1, &value_size); in DBA_FETCH_FUNC() 94 …if (dpput(dba->dbf, ZSTR_VAL(key), ZSTR_LEN(key), ZSTR_VAL(val), ZSTR_LEN(val), mode == 1 ? DP_DKE… in DBA_UPDATE_FUNC() 110 value = dpget(dba->dbf, ZSTR_VAL(key), ZSTR_LEN(key), 0, -1, NULL); in DBA_EXISTS_FUNC() 123 return dpout(dba->dbf, ZSTR_VAL(key), ZSTR_LEN(key)) ? SUCCESS : FAILURE; in DBA_DELETE_FUNC()
|
H A D | dba_cdb.c | 76 file = VCWD_OPEN(ZSTR_VAL(info->path), O_RDONLY); in DBA_OPEN_FUNC() 155 if (php_cdb_find(&cdb->c, ZSTR_VAL(key), ZSTR_LEN(key)) == 1) { in DBA_FETCH_FUNC() 157 if (php_cdb_findnext(&cdb->c, ZSTR_VAL(key), ZSTR_LEN(key)) != 1) { in DBA_FETCH_FUNC() 164 if (php_cdb_read(&cdb->c, ZSTR_VAL(fetched_val), len, cdb_datapos(&cdb->c)) == -1) { in DBA_FETCH_FUNC() 168 ZSTR_VAL(fetched_val)[len] = 0; in DBA_FETCH_FUNC() 183 if (cdb_make_add(&cdb->m, ZSTR_VAL(key), ZSTR_LEN(key), ZSTR_VAL(val), ZSTR_LEN(val)) != -1) in DBA_UPDATE_FUNC() 197 if (php_cdb_find(&cdb->c, ZSTR_VAL(key), ZSTR_LEN(key)) == 1) in DBA_EXISTS_FUNC() 266 if (cdb_file_read(cdb->file, ZSTR_VAL(key), klen) < klen) { in DBA_FIRSTKEY_FUNC() 270 ZSTR_VAL(key)[klen] = 0; in DBA_FIRSTKEY_FUNC() 297 if (cdb_file_read(cdb->file, ZSTR_VAL(key), klen) < klen) { in DBA_NEXTKEY_FUNC() [all …]
|
H A D | dba_ndbm.c | 55 dbf = dbm_open(ZSTR_VAL(info->path), gmode, filemode); in DBA_OPEN_FUNC() 71 gkey.dptr = ZSTR_VAL(key); in DBA_FETCH_FUNC() 85 gkey.dptr = ZSTR_VAL(key); in DBA_UPDATE_FUNC() 87 gval.dptr = ZSTR_VAL(val); in DBA_UPDATE_FUNC() 100 gkey.dptr = ZSTR_VAL(key); in DBA_EXISTS_FUNC() 113 gkey.dptr = ZSTR_VAL(key); in DBA_DELETE_FUNC()
|
H A D | dba_dbm.c | 39 snprintf(buf, MAXPATHLEN, "%s" extension, ZSTR_VAL(info->path)); \ 70 if(dbminit((char *) ZSTR_VAL(info->path)) == -1) { in DBA_OPEN_FUNC() 90 gkey.dptr = ZSTR_VAL(key); in DBA_FETCH_FUNC() 104 gkey.dptr = ZSTR_VAL(key); in DBA_UPDATE_FUNC() 114 gval.dptr = ZSTR_VAL(val); in DBA_UPDATE_FUNC() 125 gkey.dptr = ZSTR_VAL(key); in DBA_EXISTS_FUNC() 139 gkey.dptr = ZSTR_VAL(key); in DBA_DELETE_FUNC()
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_print.c | 63 i, (int) ZSTR_LEN(def->function_name), ZSTR_VAL(def->function_name)); in phpdbg_print_function_helper() 70 …phpdbg_writeln("\tInternal %s::%s()", ZSTR_VAL(method->common.scope->name), ZSTR_VAL(method->commo… in phpdbg_print_function_helper() 72 phpdbg_writeln("\tInternal %s()", ZSTR_VAL(method->common.function_name)); in phpdbg_print_function_helper() 103 …phpdbg_notice("Stack in %s::%s() (%d ops)", ZSTR_VAL(ops->scope->name), ZSTR_VAL(ops->function_nam… in PHPDBG_PRINT() 135 ZSTR_VAL(ce->name), in PHPDBG_PRINT() 164 ZSTR_VAL(fbc->common.function_name), in PHPDBG_PRINT() 208 zend_str_tolower_copy(ZSTR_VAL(lcname), func_name, ZSTR_LEN(lcname)); in PHPDBG_PRINT() 215 ZSTR_VAL(fbc->common.function_name), in PHPDBG_PRINT() 285 ZSTR_VAL(ce->name)); in phpdbg_print_opcodes_ce() 298 phpdbg_out("%s", ZSTR_VAL(method->common.function_name)); in phpdbg_print_opcodes_ce() [all …]
|
/php-src/ext/openssl/ |
H A D | openssl_pwhash.c | 153 …ZSTR_VAL(password), ZSTR_LEN(password), salt, PHP_OPENSSL_SALT_SIZE, hash, PHP_OPENSSL_HASH_SIZE))… in php_openssl_argon2_hash() 162 ZSTR_LEN(digest) = snprintf(ZSTR_VAL(digest), ZSTR_LEN(digest), "$%s$v=%d$m=%u,t=%u,p=%u$%s$%s", in php_openssl_argon2_hash() 163 algo, version, memlimit, iterlimit, threads, ZSTR_VAL(salt64), ZSTR_VAL(hash64)); in php_openssl_argon2_hash() 181 p = ZSTR_VAL(digest); in php_openssl_argon2_extract() 234 ZSTR_VAL(password), ZSTR_LEN(password), (unsigned char *)ZSTR_VAL(salt), in php_openssl_argon2_verify() 235 ZSTR_LEN(salt), (unsigned char *)ZSTR_VAL(new), ZSTR_LEN(new))) { in php_openssl_argon2_verify() 332 if (strcmp(ZSTR_VAL(algo), "argon2i") && strcmp(ZSTR_VAL(algo), "argon2id")) { in PHP_FUNCTION() 337 digest = php_openssl_argon2_hash(password, options, ZSTR_VAL(algo)); in PHP_FUNCTION() 358 if (strcmp(ZSTR_VAL(algo), "argon2i") && strcmp(ZSTR_VAL(algo), "argon2id")) { in PHP_FUNCTION() 363 RETURN_BOOL(php_openssl_argon2_verify(password, digest, ZSTR_VAL(algo))); in PHP_FUNCTION()
|