Lines Matching refs:new_str_key
885 zend_string *new_str_key; in phar_wrapper_rename() local
897 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); 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() local
906 entry->filename = estrndup(ZSTR_VAL(new_str_key), ZSTR_LEN(new_str_key)); in phar_wrapper_rename()
907 entry->filename_len = ZSTR_LEN(new_str_key); in phar_wrapper_rename()
910 b->h = zend_string_hash_val(new_str_key); in phar_wrapper_rename()
911 b->key = new_str_key; in phar_wrapper_rename()
922 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
923 memcpy(ZSTR_VAL(new_str_key), ZSTR_VAL(resource_to->path) + 1, to_len); in phar_wrapper_rename()
924 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename()
925 ZSTR_VAL(new_str_key)[ZSTR_LEN(new_str_key)] = 0; in phar_wrapper_rename() local
928 b->h = zend_string_hash_val(new_str_key); in phar_wrapper_rename()
929 b->key = new_str_key; in phar_wrapper_rename()
940 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
941 memcpy(ZSTR_VAL(new_str_key), ZSTR_VAL(resource_to->path) + 1, to_len); in phar_wrapper_rename()
942 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename()
943 ZSTR_VAL(new_str_key)[ZSTR_LEN(new_str_key)] = 0; in phar_wrapper_rename() local
946 b->h = zend_string_hash_val(new_str_key); in phar_wrapper_rename()
947 b->key = new_str_key; in phar_wrapper_rename()