Lines Matching refs:internal_file
295 char *internal_file, *error; in phar_wrapper_open_dir() local
327 internal_file = ZSTR_VAL(resource->path) + 1; /* strip leading "/" */ in phar_wrapper_open_dir()
344 if (*internal_file == '\0') { in phar_wrapper_open_dir()
346 internal_file = estrndup(internal_file - 1, 1); in phar_wrapper_open_dir()
347 ret = phar_make_dirstream(internal_file, &phar->manifest); in phar_wrapper_open_dir()
357 …if (NULL != (entry = zend_hash_str_find_ptr(&phar->manifest, internal_file, strlen(internal_file))… in phar_wrapper_open_dir()
365 internal_file = estrdup(internal_file); in phar_wrapper_open_dir()
367 return phar_make_dirstream(internal_file, &phar->manifest); in phar_wrapper_open_dir()
369 size_t i_len = strlen(internal_file); in phar_wrapper_open_dir()
376 if (ZSTR_LEN(str_key) > i_len && 0 == memcmp(ZSTR_VAL(str_key), internal_file, i_len)) { in phar_wrapper_open_dir()
378 internal_file = estrndup(internal_file, in phar_wrapper_open_dir()
381 return phar_make_dirstream(internal_file, &phar->manifest); in phar_wrapper_open_dir()