Lines Matching refs:internal_file
322 char *internal_file, *error, *str_key; in phar_wrapper_open_dir() local
355 internal_file = resource->path + 1; /* strip leading "/" */ in phar_wrapper_open_dir()
372 if (*internal_file == '\0') { in phar_wrapper_open_dir()
374 internal_file = estrndup(internal_file - 1, 1); in phar_wrapper_open_dir()
375 ret = phar_make_dirstream(internal_file, &phar->manifest TSRMLS_CC); in phar_wrapper_open_dir()
385 …if (SUCCESS == zend_hash_find(&phar->manifest, internal_file, strlen(internal_file), (void**)&entr… in phar_wrapper_open_dir()
393 internal_file = estrdup(internal_file); in phar_wrapper_open_dir()
395 return phar_make_dirstream(internal_file, &phar->manifest TSRMLS_CC); in phar_wrapper_open_dir()
397 int i_len = strlen(internal_file); in phar_wrapper_open_dir()
406 if (keylen > (uint)i_len && 0 == memcmp(str_key, internal_file, i_len)) { in phar_wrapper_open_dir()
409 internal_file = estrndup(internal_file, in phar_wrapper_open_dir()
412 return phar_make_dirstream(internal_file, &phar->manifest TSRMLS_CC); in phar_wrapper_open_dir()