Lines Matching refs:new_str_key

901 		zend_string *new_str_key;  in phar_wrapper_rename()  local
913 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
914 memcpy(ZSTR_VAL(new_str_key), resource_to->path + 1, to_len); in phar_wrapper_rename()
915 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename()
916 ZSTR_VAL(new_str_key)[ZSTR_LEN(new_str_key)] = 0; in phar_wrapper_rename() local
922 entry->filename = estrndup(ZSTR_VAL(new_str_key), ZSTR_LEN(new_str_key)); in phar_wrapper_rename()
923 entry->filename_len = ZSTR_LEN(new_str_key); in phar_wrapper_rename()
926 b->h = zend_string_hash_val(new_str_key); in phar_wrapper_rename()
927 b->key = new_str_key; in phar_wrapper_rename()
938 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
939 memcpy(ZSTR_VAL(new_str_key), 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()
941 ZSTR_VAL(new_str_key)[ZSTR_LEN(new_str_key)] = 0; in phar_wrapper_rename() local
944 b->h = zend_string_hash_val(new_str_key); in phar_wrapper_rename()
945 b->key = new_str_key; in phar_wrapper_rename()
956 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
957 memcpy(ZSTR_VAL(new_str_key), resource_to->path + 1, to_len); in phar_wrapper_rename()
958 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename()
959 ZSTR_VAL(new_str_key)[ZSTR_LEN(new_str_key)] = 0; in phar_wrapper_rename() local
962 b->h = zend_string_hash_val(new_str_key); in phar_wrapper_rename()
963 b->key = new_str_key; in phar_wrapper_rename()