Lines Matching refs:internal_file
308 char *internal_file, *error; in phar_wrapper_open_dir() local
340 internal_file = ZSTR_VAL(resource->path) + 1; /* strip leading "/" */ in phar_wrapper_open_dir()
357 if (*internal_file == '\0') { in phar_wrapper_open_dir()
359 internal_file = estrndup(internal_file - 1, 1); in phar_wrapper_open_dir()
360 ret = phar_make_dirstream(internal_file, &phar->manifest); in phar_wrapper_open_dir()
370 …if (NULL != (entry = zend_hash_str_find_ptr(&phar->manifest, internal_file, strlen(internal_file))… in phar_wrapper_open_dir()
378 internal_file = estrdup(internal_file); in phar_wrapper_open_dir()
380 return phar_make_dirstream(internal_file, &phar->manifest); in phar_wrapper_open_dir()
382 size_t i_len = strlen(internal_file); in phar_wrapper_open_dir()
389 if (ZSTR_LEN(str_key) > i_len && 0 == memcmp(ZSTR_VAL(str_key), internal_file, i_len)) { in phar_wrapper_open_dir()
391 internal_file = estrndup(internal_file, in phar_wrapper_open_dir()
394 return phar_make_dirstream(internal_file, &phar->manifest); in phar_wrapper_open_dir()