/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() 233 msgstr = ngettext(ZSTR_VAL(msgid1), ZSTR_VAL(msgid2), count); in PHP_FUNCTION() 260 msgstr = dngettext(ZSTR_VAL(domain), ZSTR_VAL(msgid1), ZSTR_VAL(msgid2), count); in PHP_FUNCTION() 291 msgstr = dcngettext(ZSTR_VAL(domain), ZSTR_VAL(msgid1), ZSTR_VAL(msgid2), count, category); in PHP_FUNCTION() [all …]
|
/php-src/ext/phar/ |
H A D | dirstream.c | 159 ZSTR_VAL(f->key), ZSTR_LEN(f->key), ZSTR_VAL(s->key), ZSTR_LEN(s->key)); in phar_compare_dir_name() 218 memcpy(entry, ZSTR_VAL(str_key), found - ZSTR_VAL(str_key)); in phar_make_dirstream() 219 keylen = found - ZSTR_VAL(str_key); in phar_make_dirstream() 223 memcpy(entry, ZSTR_VAL(str_key), keylen); in phar_make_dirstream() 229 if (0 != memcmp(ZSTR_VAL(str_key), dir, dirlen)) { in phar_make_dirstream() 236 if (ZSTR_VAL(str_key)[dirlen] != '/') { in phar_make_dirstream() 245 save = ZSTR_VAL(str_key); in phar_make_dirstream() 604 memcmp(ZSTR_VAL(str_key), ZSTR_VAL(resource->path)+1, path_len) == 0 && in phar_wrapper_rmdir() 605 IS_SLASH(ZSTR_VAL(str_key)[path_len])) { in phar_wrapper_rmdir() 621 memcmp(ZSTR_VAL(str_key), ZSTR_VAL(resource->path)+1, path_len) == 0 && in phar_wrapper_rmdir() [all …]
|
H A D | stream.c | 903 memcmp(ZSTR_VAL(str_key), ZSTR_VAL(resource_from->path)+1, from_len) == 0 && in phar_wrapper_rename() 904 IS_SLASH(ZSTR_VAL(str_key)[from_len])) { in phar_wrapper_rename() 907 memcpy(ZSTR_VAL(new_str_key), ZSTR_VAL(resource_to->path) + 1, to_len); in phar_wrapper_rename() 908 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename() 909 ZSTR_VAL(new_str_key)[ZSTR_LEN(new_str_key)] = 0; in phar_wrapper_rename() 931 memcpy(ZSTR_VAL(new_str_key), ZSTR_VAL(resource_to->path) + 1, to_len); in phar_wrapper_rename() 932 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename() 933 ZSTR_VAL(new_str_key)[ZSTR_LEN(new_str_key)] = 0; in phar_wrapper_rename() 948 memcpy(ZSTR_VAL(new_str_key), ZSTR_VAL(resource_to->path) + 1, to_len); in phar_wrapper_rename() 949 …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/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/standard/ |
H A D | string.c | 1318 ZSTR_VAL(tmp)[0] = ZSTR_VAL(incremented)[0]; in PHP_FUNCTION() 2457 memcpy(ZSTR_VAL(result), ZSTR_VAL(str), f); 2603 memcpy(ZSTR_VAL(result), ZSTR_VAL(orig_str), f); 2610 memcpy(ZSTR_VAL(result), ZSTR_VAL(orig_str), f); 2618 memcpy(ZSTR_VAL(result), ZSTR_VAL(orig_str), f); 2875 memcpy(ZSTR_VAL(new_str), ZSTR_VAL(str), input - ZSTR_VAL(str)); 2904 memcpy(ZSTR_VAL(new_str), ZSTR_VAL(str), input - ZSTR_VAL(str)); 2929 memcpy(ZSTR_VAL(new_str), ZSTR_VAL(str), i); 2931 ZSTR_VAL(new_str)[i] = ZSTR_VAL(str)[i] + xlat[(size_t)(unsigned char) ZSTR_VAL(str)[i]]; 3975 memcpy(ZSTR_VAL(new_str), ZSTR_VAL(str), offset); [all …]
|
H A D | exec.c | 357 ZSTR_VAL(cmd)[y++] = '^'; in php_escape_shell_cmd() 367 ZSTR_VAL(cmd)[y] = '\0'; in php_escape_shell_cmd() 404 ZSTR_VAL(cmd)[y++] = '"'; in php_escape_shell_arg() 406 ZSTR_VAL(cmd)[y++] = '\''; in php_escape_shell_arg() 427 ZSTR_VAL(cmd)[y++] = ' '; in php_escape_shell_arg() 431 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() 449 ZSTR_VAL(cmd)[y++] = '"'; in php_escape_shell_arg() 451 ZSTR_VAL(cmd)[y++] = '\''; in php_escape_shell_arg() [all …]
|
H A D | password.c | 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() 205 sprintf(ZSTR_VAL(hash), "%s%s", hash_format, ZSTR_VAL(salt)); in php_password_bcrypt_hash() 243 const char *p = ZSTR_VAL(hash); in extract_argon2_parameters() 358 ZSTR_VAL(password), in php_password_argon2_hash() 360 ZSTR_VAL(salt), in php_password_argon2_hash() 362 ZSTR_VAL(out), in php_password_argon2_hash() 364 ZSTR_VAL(encoded), in php_password_argon2_hash() [all …]
|
H A D | http.c | 79 encoded_data = php_raw_url_encode(ZSTR_VAL(tmp), ZSTR_LEN(tmp)); in php_url_encode_scalar() 81 encoded_data = php_url_encode(ZSTR_VAL(tmp), ZSTR_LEN(tmp)); in php_url_encode_scalar() 137 prop_name = ZSTR_VAL(key); in php_url_encode_hash_ex() 145 if (ZSTR_VAL(key)[0] == '\0' && type != NULL) { in php_url_encode_hash_ex() 149 prop_name = ZSTR_VAL(key); in php_url_encode_hash_ex() 169 …new_prefix = zend_string_concat3(ZSTR_VAL(key_prefix), ZSTR_LEN(key_prefix), ZSTR_VAL(encoded_key)… in php_url_encode_hash_ex() 185 memcpy(ZSTR_VAL(new_prefix), ZSTR_VAL(key_prefix), ZSTR_LEN(key_prefix)); in php_url_encode_hash_ex() 189 ZSTR_VAL(new_prefix)[len] = '\0'; in php_url_encode_hash_ex() 251 zend_error(E_WARNING, "%s", ZSTR_VAL(errstr)); in cache_request_parse_body_option() 291 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 | 96 i = length; p1 = str; p2 = (unsigned char*)ZSTR_VAL(retval); in php_quot_print_decode() 152 d = (unsigned char*)ZSTR_VAL(ret); in php_quot_print_encode() 186 ret = zend_string_truncate(ret, d - (unsigned char*)ZSTR_VAL(ret), 0); in php_quot_print_encode() 213 str_in = ZSTR_VAL(arg1); in PHP_FUNCTION() 222 ZSTR_VAL(str_out)[j++] = (php_hex2int((int) str_in[i + 1]) << 4) in PHP_FUNCTION() 244 ZSTR_VAL(str_out)[j++] = str_in[i++]; in PHP_FUNCTION() 249 ZSTR_VAL(str_out)[j++] = str_in[i++]; in PHP_FUNCTION() 252 ZSTR_VAL(str_out)[j] = '\0'; in PHP_FUNCTION() 273 new_str = php_quot_print_encode((unsigned char *)ZSTR_VAL(str), ZSTR_LEN(str)); in PHP_FUNCTION()
|
H A D | url_scanner_ex.re | 244 } else if (*(ZSTR_VAL(url->s)) == '/' && *(ZSTR_VAL(url->s)+1) == '/') { 248 smart_str_appends(dest, ZSTR_VAL(url_parts->user)); 302 ZSTR_VAL(ctx->arg.s)[ZSTR_LEN(ctx->arg.s)] = '\0'; 364 colon = strchr(ZSTR_VAL(host_tmp), ':'); 366 ZSTR_LEN(host_tmp) = colon - ZSTR_VAL(host_tmp); 367 ZSTR_VAL(host_tmp)[ZSTR_LEN(host_tmp)] = '\0'; 369 if (!strcasecmp(ZSTR_VAL(host_tmp), target)) { 460 ZSTR_VAL(ctx->tag.s)[i] = tolower((int)(unsigned char)ZSTR_VAL(ctx->tag.s)[i]); 506 YYCURSOR = ZSTR_VAL(ctx->buf.s); 888 ZSTR_VAL(url_app.s), ZSTR_LEN(url_app.s), [all …]
|
H A D | http_fopen_wrapper.c | 250 smart_str_appends(&header, ZSTR_VAL(resource->host)); in php_stream_url_wrap_http_ex() 461 zend_str_tolower(ZSTR_VAL(tmp), ZSTR_LEN(tmp)); in php_stream_url_wrap_http_ex() 462 t = ZSTR_VAL(tmp); in php_stream_url_wrap_http_ex() 529 strcpy(scratch, ZSTR_VAL(resource->user)); in php_stream_url_wrap_http_ex() 535 strcat(scratch, ZSTR_VAL(resource->pass)); in php_stream_url_wrap_http_ex() 541 smart_str_appends(&req_buf, ZSTR_VAL(stmp)); in php_stream_url_wrap_http_ex() 860 s = ZSTR_VAL(resource->path); in php_stream_url_wrap_http_ex() 864 s = ZSTR_VAL(resource->path); in php_stream_url_wrap_http_ex() 871 ZSTR_VAL(resource->path)[0] == '/' && in php_stream_url_wrap_http_ex() 872 ZSTR_VAL(resource->path)[1] == '\0') { in php_stream_url_wrap_http_ex() [all …]
|
/php-src/ext/sodium/ |
H A D | libsodium.c | 49 ZSTR_VAL(zs)[len] = 0; in zend_string_checked_alloc() 437 ZSTR_VAL(hash)[hash_len] = 0; in PHP_FUNCTION() 477 ZSTR_VAL(state)[state_len] = 0; in PHP_FUNCTION() 565 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/ext/zend_test/ |
H A D | observer.c | 86 …:%s>\n", 2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(execute_data->func->common.scope->name), Z… in observer_begin() 138 …_depth), "", ZSTR_VAL(execute_data->func->common.scope->name), ZSTR_VAL(execute_data->func->common… in observer_end() 140 …2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(execute_data->func->common.function_name), retval_i… in observer_end() 152 …%s::%s() -->\n", 2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL… in observer_show_init() 170 …php_printf("%*s%s::%s()\n", indent, "", ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.fu… in observer_show_init_backtrace() 172 php_printf("%*s%s()\n", indent, "", ZSTR_VAL(fbc->common.function_name)); in observer_show_init_backtrace() 175 php_printf("%*s{main} %s\n", indent, "", ZSTR_VAL(fbc->op_array.filename)); in observer_show_init_backtrace() 277 …php_printf("%*s<!-- declared class '%s' -->\n", 2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(nam… in declared_class_observer() 287 …%s::%s() -->\n", 2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL… in zend_test_execute_internal() 318 const char *start = ZSTR_VAL(new_value), *ptr; in ZEND_INI_MH() [all …]
|
/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 | 580 return atoi(ZSTR_VAL(str)) != 0; in zend_ini_parse_bool() 620 char *str = ZSTR_VAL(value); in zend_ini_parse_quantity_internal() 657 ZSTR_VAL(invalid.s)); in zend_ini_parse_quantity_internal() 705 ZSTR_VAL(invalid.s)); in zend_ini_parse_quantity_internal() 717 ZSTR_VAL(invalid.s)); in zend_ini_parse_quantity_internal() 759 ZSTR_VAL(invalid.s)); in zend_ini_parse_quantity_internal() 796 ZSTR_VAL(invalid.s), ZSTR_VAL(chr.s), ZSTR_VAL(interpreted.s)); in zend_ini_parse_quantity_internal() 830 ZSTR_VAL(invalid.s), ZSTR_VAL(interpreted.s), ZSTR_VAL(chr.s)); in zend_ini_parse_quantity_internal() 848 ZSTR_VAL(invalid.s)); in zend_ini_parse_quantity_internal() 880 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_constants.c | 278 c = zend_get_halt_offset_constant(ZSTR_VAL(name), ZSTR_LEN(name)); in zend_get_constant_ptr() 283 return zend_get_special_const(ZSTR_VAL(name), ZSTR_LEN(name)); in zend_get_constant_ptr() 335 …zend_throw_error(NULL, "Undefined constant %s::%s", ZSTR_VAL(class_name), ZSTR_VAL(constant_name)); in zend_get_class_constant_ex() 342 … %s::%s", zend_visibility_string(ZEND_CLASS_CONST_FLAGS(c)), ZSTR_VAL(class_name), ZSTR_VAL(consta… in zend_get_class_constant_ex() 350 …_error(NULL, "Cannot access trait constant %s::%s directly", ZSTR_VAL(class_name), ZSTR_VAL(consta… in zend_get_class_constant_ex() 357 …zend_error(E_DEPRECATED, "Constant %s::%s is deprecated", ZSTR_VAL(class_name), ZSTR_VAL(constant_… in zend_get_class_constant_ex() 371 …ror(NULL, "Cannot declare self-referencing constant %s::%s", ZSTR_VAL(class_name), ZSTR_VAL(consta… in zend_get_class_constant_ex() 393 const char *name = ZSTR_VAL(cname); in zend_get_constant_ex() 560 const char *slash = strrchr(ZSTR_VAL(c->name), '\\'); in zend_register_constant() 563 zend_str_tolower(ZSTR_VAL(lowercase_name), slash - ZSTR_VAL(c->name)); in zend_register_constant() [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 …]
|