Home
last modified time | relevance | path

Searched refs:str_key (Results 1 – 14 of 14) sorted by relevance

/PHP-7.0/ext/phar/
H A Ddirstream.c97 zend_string *str_key; in phar_dir_read() local
105 to_read = MIN(ZSTR_LEN(str_key), count); in phar_dir_read()
185 zend_string *str_key; in phar_make_dirstream() local
207 keylen = ZSTR_LEN(str_key); in phar_make_dirstream()
230 memcpy(entry, ZSTR_VAL(str_key), found - ZSTR_VAL(str_key)); in phar_make_dirstream()
231 keylen = found - ZSTR_VAL(str_key); in phar_make_dirstream()
257 save = ZSTR_VAL(str_key); in phar_make_dirstream()
309 zend_string *str_key; in phar_wrapper_open_dir() local
389 if (ZSTR_LEN(str_key) > (uint)i_len && 0 == memcmp(ZSTR_VAL(str_key), internal_file, i_len)) { in phar_wrapper_open_dir()
552 zend_string *str_key; in phar_wrapper_rmdir() local
[all …]
H A Dstream.c633 zend_string *str_key; in phar_wrapper_stat() local
636 …if ((int)ZSTR_LEN(str_key) >= internal_file_len || strncmp(ZSTR_VAL(str_key), internal_file, ZSTR_… in phar_wrapper_stat()
900 zend_string *str_key; in phar_wrapper_rename() local
906 str_key = b->key; in phar_wrapper_rename()
925 zend_string_release(str_key); in phar_wrapper_rename()
933 str_key = b->key; in phar_wrapper_rename()
936 (ZSTR_LEN(str_key) == from_len || IS_SLASH(ZSTR_VAL(str_key)[from_len]))) { in phar_wrapper_rename()
943 zend_string_release(str_key); in phar_wrapper_rename()
951 str_key = b->key; in phar_wrapper_rename()
954 (ZSTR_LEN(str_key) == from_len || IS_SLASH(ZSTR_VAL(str_key)[from_len]))) { in phar_wrapper_rename()
[all …]
H A Dphar.c1974 zend_string *str_key; local
1978 … HASH_KEY_NON_EXISTENT != zend_hash_get_current_key(&(PHAR_G(phar_fname_map)), &str_key, &unused);
1981 if (ZSTR_LEN(str_key) > (uint) filename_len) {
1985 …if (!memcmp(filename, ZSTR_VAL(str_key), ZSTR_LEN(str_key)) && ((uint)filename_len == ZSTR_LEN(str…
1986 || filename[ZSTR_LEN(str_key)] == '/' || filename[ZSTR_LEN(str_key)] == '\0')) {
1990 *ext_str = filename + (ZSTR_LEN(str_key) - pphar->ext_len);
1997 HASH_KEY_NON_EXISTENT != zend_hash_get_current_key(&cached_phars, &str_key, &unused);
2000 if (ZSTR_LEN(str_key) > (uint) filename_len) {
2004 …if (!memcmp(filename, ZSTR_VAL(str_key), ZSTR_LEN(str_key)) && ((uint)filename_len == ZSTR_LEN(str…
2005 || filename[ZSTR_LEN(str_key)] == '/' || filename[ZSTR_LEN(str_key)] == '\0')) {
[all …]
H A Dutil.c1302 zend_string *str_key; in phar_get_entry_info_dir() local
1304 ZEND_HASH_FOREACH_STR_KEY(&phar->mounted_dirs, str_key) { in phar_get_entry_info_dir()
1305 if ((int)ZSTR_LEN(str_key) >= path_len || strncmp(ZSTR_VAL(str_key), path, ZSTR_LEN(str_key))) { in phar_get_entry_info_dir()
1312 if (NULL == (entry = zend_hash_find_ptr(&phar->manifest, str_key))) { in phar_get_entry_info_dir()
1314 …phar internal error: mounted path \"%s\" could not be retrieved from manifest", ZSTR_VAL(str_key)); in phar_get_entry_info_dir()
1321 …rnal error: mounted path \"%s\" is not properly initialized as a mounted path", ZSTR_VAL(str_key)); in phar_get_entry_info_dir()
1326 test_len = spprintf(&test, MAXPATHLEN, "%s%s", entry->tmp, path + ZSTR_LEN(str_key)); in phar_get_entry_info_dir()
H A Dphar_object.c1451 char *str_key; in phar_build() local
1499 str_key = estrndup(Z_STRVAL(key), str_key_len); in phar_build()
1501 save = str_key; in phar_build()
1594 str_key = fname + base_len; in phar_build()
1596 if (*str_key == '/' || *str_key == '\\') { in phar_build()
1597 str_key++; in phar_build()
1633 str_key = estrndup(Z_STRVAL(key), str_key_len); in phar_build()
1635 save = str_key; in phar_build()
1689 if (str_key_len >= sizeof(".phar")-1 && !memcmp(str_key, ".phar", sizeof(".phar")-1)) { in phar_build()
1711 …w_exception_ex(spl_ce_BadMethodCallException, 0, "Entry %s cannot be created: %s", str_key, error); in phar_build()
[all …]
/PHP-7.0/ext/standard/
H A Dstring.c2917 zend_string *str_key; local
2935 if (UNEXPECTED(!str_key)) {
2938 len = ZSTR_LEN(str_key);
2963 if (UNEXPECTED(!str_key)) {
2980 key_used = str_key;
2988 if (UNEXPECTED(!str_key)) {
3397 if (UNEXPECTED(!str_key)) {
3400 str_key = Z_STR(tmp);
3403 if (ZSTR_LEN(str_key) < 1) {
3407 ZSTR_VAL(str_key)[0],
[all …]
H A Darray.c5191 zend_string *str_key; local
5208 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL(arrays[0]), num_key, str_key, zv) {
5223 if (str_key) {
5224 zend_hash_add_new(Z_ARRVAL_P(return_value), str_key, &result);
5369 zend_string *str_key; local
5395 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(input), num_key, str_key, entry) {
5403 if (str_key) {
5404 entry = zend_hash_update(Z_ARRVAL(chunk), str_key, entry);
/PHP-7.0/ext/mbstring/oniguruma/
H A Dregint.h808 extern int onig_st_lookup_strend P_((hash_table_type* table, const UChar* str_key, const UChar* end…
809 extern int onig_st_insert_strend P_((hash_table_type* table, const UChar* str_key, const UChar* end…
H A Dregparse.c362 onig_st_lookup_strend(hash_table_type* table, const UChar* str_key, in onig_st_lookup_strend() argument
367 key.s = (UChar* )str_key; in onig_st_lookup_strend()
374 onig_st_insert_strend(hash_table_type* table, const UChar* str_key, in onig_st_insert_strend() argument
381 key->s = (UChar* )str_key; in onig_st_insert_strend()
/PHP-7.0/ext/standard/tests/file/
H A Dfile.inc548 foreach($string_keys as $str_key)
550 if($stat[$key] != $stat[$str_key]) {
551 echo "Error: stat[$key] doesn't match with stat[$str_key]\n";
/PHP-7.0/ext/pdo/
H A Dpdo_dbh.c381 zend_string *str_key = NULL; in PHP_METHOD() local
383 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(options), long_key, str_key, attr_value) { in PHP_METHOD()
384 if (str_key) { in PHP_METHOD()
/PHP-7.0/Zend/
H A Dzend_interfaces.c198 static int zend_user_it_get_current_key_default(zend_object_iterator *_iter, char **str_key, uint *…
/PHP-7.0/ext/soap/
H A Dphp_encoding.c1979 zend_string *str_key; in to_xml_object() local
1982 ZEND_HASH_FOREACH_STR_KEY_VAL_IND(prop, str_key, zprop) { in to_xml_object()
1986 if (str_key) { in to_xml_object()
1992 zend_unmangle_property_name(str_key, &class_name, &prop_name); in to_xml_object()
1994 prop_name = ZSTR_VAL(str_key); in to_xml_object()
H A Dphp_schema.c2267 zend_string *str_key; in schema_type_fixup() local
2270 ZEND_HASH_FOREACH_KEY_PTR(type->attributes, index, str_key, attr) { in schema_type_fixup()
2271 if (str_key) { in schema_type_fixup()

Completed in 119 milliseconds