Home
last modified time | relevance | path

Searched refs:is_dir (Results 76 – 100 of 106) sorted by relevance

12345

/PHP-7.4/tests/security/
H A Dopen_basedir.inc27 if (is_dir($directory) == FALSE) {
43 if (is_dir($path) == TRUE) {
/PHP-7.4/ext/standard/tests/file/windows_mb_path/
H A Dutil_utf8.inc7 if (!is_dir($prefix)) {
/PHP-7.4/ext/standard/tests/file/
H A Dtouch_variation5-win32.phpt72 if (is_dir($path) || is_file($path)) {
81 if (is_dir($path)) {
99 if (is_dir($path)) {
H A Dtouch_variation6-win32.phpt78 if (is_dir($path) || is_file($path)) {
87 if (is_dir($path)) {
105 if (is_dir($path)) {
/PHP-7.4/ext/phar/
H A Ddirstream.c25 …_dostat(phar_archive_data *phar, phar_entry_info *data, php_stream_statbuf *ssb, zend_bool is_dir);
369 …zend_hash_str_find_ptr(&phar->manifest, internal_file, strlen(internal_file))) && !entry->is_dir) { in phar_wrapper_open_dir()
372 } else if (entry && entry->is_dir) { in phar_wrapper_open_dir()
512 entry.is_dir = 1; in phar_wrapper_mkdir()
H A Dzip.c78 if (entry->is_dir) { in phar_zip_process_extra()
414 entry.is_dir = 1; in phar_parse_zipfile()
420 entry.is_dir = 0; in phar_parse_zipfile()
880 PHAR_SET_16(central.filename_len, entry->filename_len + (entry->is_dir ? 1 : 0)); in phar_zip_changed_apply_int()
881 PHAR_SET_16(local.filename_len, entry->filename_len + (entry->is_dir ? 1 : 0)); in phar_zip_changed_apply_int()
895 if (entry->is_dir) { in phar_zip_changed_apply_int()
1018 …offset = entry->header_offset + sizeof(local) + entry->filename_len + (entry->is_dir ? 1 : 0) + si… in phar_zip_changed_apply_int()
1030 if (entry->is_dir) { in phar_zip_changed_apply_int()
1114 …if (!entry->is_dir && entry->compressed_filesize && SUCCESS != php_stream_copy_to_stream_ex(p->old… in phar_zip_changed_apply_int()
H A Dfunc_interceptors.c707 if (!data->is_dir) { in phar_file_stat()
892 RETURN_BOOL(!etemp->is_dir); in PharFileFunction()
1022 PHAR_INTERCEPT(is_dir); in phar_intercept_functions_init()
1058 PHAR_RELEASE(is_dir); in phar_intercept_functions_shutdown()
H A Dphar.c1083 entry.is_dir = 1; in phar_parse_pharfile()
1085 entry.is_dir = 0; in phar_parse_pharfile()
1109 if (entry.is_dir) { in phar_parse_pharfile()
2719 if (entry->is_dir) { in phar_flush()
2739 …_buffer) + (entry->metadata_str.s ? ZSTR_LEN(entry->metadata_str.s) : 0) + (entry->is_dir ? 1 : 0); in phar_flush()
2742 if ((oldfile && !entry->is_modified) || entry->is_dir) { in phar_flush()
2939 if (entry->is_dir) { in phar_flush()
2948 || (entry->is_dir && 1 != php_stream_write(newfile, "/", 1))) { in phar_flush()
2954 if (entry->is_dir) { in phar_flush()
3016 if (entry->is_deleted || entry->is_dir || entry->is_mounted) { in phar_flush()
H A Dphar_object.c2344 newentry.tar_type = (entry->is_dir ? TAR_DIR : TAR_FILE); in phar_convert_to_other()
3676 if (!data->internal_file->is_dir) { in phar_add_file()
4240 if (entry->is_dir) { in phar_extract_file()
4266 if (entry->is_dir) { in phar_extract_file()
4615 if (entry_obj->entry->is_dir) { in PHP_METHOD()
4887 if (entry_obj->entry->is_dir) { in PHP_METHOD()
4941 if (entry_obj->entry->is_dir) { in PHP_METHOD()
5062 if (entry_obj->entry->is_dir) { in PHP_METHOD()
/PHP-7.4/ext/phar/tests/
H A Dstat2_5.3.phpt29 var_dump(is_dir("./bar"), is_file("foo/bar/blah"));
H A Dphar_gobyebye.phpt22 var_dump(is_file("foo/hi"),is_link("foo/hi"),is_dir("foo/hi"),file_exists("foo/hi"),stat("foo/hi"));
H A Dbug54289.phpt23 var_dump(is_dir($outDir.DIRECTORY_SEPARATOR.'dirAB'));
H A Dphar_gobyebye-win32.phpt21 var_dump(is_file("foo/hi"),is_link("foo/hi"),is_dir("foo/hi"),file_exists("foo/hi"),stat("foo/hi"));
H A Dphar_extract.phpt45 var_dump(is_dir(__DIR__ . '/extract1-2/one/level'));
H A Dfopen_edgecases.phpt43 var_dump(is_dir($pname));
/PHP-7.4/scripts/dev/
H A Dfind_tested.php188 if(is_dir($path) == true) {
H A Dbless_tests.php48 if (is_dir($dirOrFile)) {
/PHP-7.4/ext/standard/tests/dir/
H A Dscandir_variation7.phpt50 if (is_dir($dir_path)){
H A Dopendir_variation7.phpt53 if (is_dir($dir_path)){
H A Dreaddir_variation5.phpt51 if (is_dir($dir_path)) {
/PHP-7.4/win32/
H A Dioutil.c866 uint8_t is_dir; in php_win32_ioutil_fstat_int() local
917 is_dir = (data->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) == FILE_ATTRIBUTE_DIRECTORY; in php_win32_ioutil_fstat_int()
927 if (!is_dir) { in php_win32_ioutil_fstat_int()
945 if (is_dir) { in php_win32_ioutil_fstat_int()
/PHP-7.4/ext/standard/tests/file/windows_acls/
H A Dcommon.inc163 if (is_dir($path)) {
/PHP-7.4/Zend/
H A Dzend_virtual_cwd.h213 uint8_t is_dir:1; member
/PHP-7.4/ext/standard/
H A Dfilestat.c1073 FileFunction(PHP_FN(is_dir), FS_IS_DIR) in FileFunction()
1130 add_assoc_bool_ex(&entry, "is_dir", sizeof("is_dir") - 1, bucket->is_dir); in PHP_FUNCTION()
/PHP-7.4/sapi/fpm/tests/
H A Dtester.inc163 if (is_dir(self::CONF_DIR)) {
202 if ($phpPath && is_dir($phpPath)) {
900 if (!is_dir(self::CONF_DIR)) {

Completed in 81 milliseconds

12345