Lines Matching refs:new_str_key
902 zend_string *new_str_key; in phar_wrapper_rename() local
914 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
915 memcpy(ZSTR_VAL(new_str_key), resource_to->path + 1, to_len); in phar_wrapper_rename()
916 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename()
917 ZSTR_VAL(new_str_key)[ZSTR_LEN(new_str_key)] = 0; in phar_wrapper_rename() local
923 entry->filename = estrndup(ZSTR_VAL(new_str_key), ZSTR_LEN(new_str_key)); in phar_wrapper_rename()
924 entry->filename_len = ZSTR_LEN(new_str_key); in phar_wrapper_rename()
927 b->h = zend_string_hash_val(new_str_key); in phar_wrapper_rename()
928 b->key = new_str_key; in phar_wrapper_rename()
939 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
940 memcpy(ZSTR_VAL(new_str_key), resource_to->path + 1, to_len); in phar_wrapper_rename()
941 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename()
942 ZSTR_VAL(new_str_key)[ZSTR_LEN(new_str_key)] = 0; in phar_wrapper_rename() local
945 b->h = zend_string_hash_val(new_str_key); in phar_wrapper_rename()
946 b->key = new_str_key; in phar_wrapper_rename()
957 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
958 memcpy(ZSTR_VAL(new_str_key), resource_to->path + 1, to_len); in phar_wrapper_rename()
959 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename()
960 ZSTR_VAL(new_str_key)[ZSTR_LEN(new_str_key)] = 0; in phar_wrapper_rename() local
963 b->h = zend_string_hash_val(new_str_key); in phar_wrapper_rename()
964 b->key = new_str_key; in phar_wrapper_rename()