Home
last modified time | relevance | path

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

1234

/PHP-5.3/scripts/dev/
H A Dfind_tested.php184 if(is_dir($path) == true) {
/PHP-5.3/ext/phar/
H A Dzip.c78 if (entry->is_dir) { in phar_zip_process_extra()
398 entry.is_dir = 1; in phar_parse_zipfile()
402 entry.is_dir = 0; in phar_parse_zipfile()
833 PHAR_SET_16(central.filename_len, entry->filename_len + (entry->is_dir ? 1 : 0)); in phar_zip_changed_apply()
834 PHAR_SET_16(local.filename_len, entry->filename_len + (entry->is_dir ? 1 : 0)); in phar_zip_changed_apply()
843 if (entry->is_dir) { in phar_zip_changed_apply()
967 …offset = entry->header_offset + sizeof(local) + entry->filename_len + (entry->is_dir ? 1 : 0) + si… in phar_zip_changed_apply()
979 if (entry->is_dir) { in phar_zip_changed_apply()
1063 …if (!entry->is_dir && entry->compressed_filesize && SUCCESS != phar_stream_copy_to_stream(p->old, … in phar_zip_changed_apply()
H A Dfunc_interceptors.c744 if (!data->is_dir) { in phar_file_stat()
941 RETURN_BOOL(!etemp->is_dir); in PharFileFunction()
1071 PHAR_INTERCEPT(is_dir); in phar_intercept_functions_init()
1107 PHAR_RELEASE(is_dir); in phar_intercept_functions_shutdown()
H A Dphar.c1083 entry.is_dir = 1;
1085 entry.is_dir = 0;
1109 if (entry.is_dir) {
2789 if (entry->is_dir) {
2811 …4 + entry->filename_len + sizeof(entry_buffer) + entry->metadata_str.len + (entry->is_dir ? 1 : 0);
2814 if ((oldfile && !entry->is_modified) || entry->is_dir) {
3007 if (entry->is_dir) {
3016 || (entry->is_dir && 1 != php_stream_write(newfile, "/", 1))) {
3022 if (entry->is_dir) {
3074 if (entry->is_deleted || entry->is_dir || entry->is_mounted) {
H A Dphar_object.c2401 newentry.tar_type = (entry->is_dir ? TAR_DIR : TAR_FILE);
3723 if (!data->internal_file->is_dir) {
4248 if (entry->is_dir) {
4270 if (entry->is_dir) {
4627 if (entry_obj->ent.entry->is_dir) {
4900 if (entry_obj->ent.entry->is_dir) {
4954 if (entry_obj->ent.entry->is_dir) {
5074 if (entry_obj->ent.entry->is_dir) {
H A Dtar.c462 entry.is_dir = 1; in phar_parse_tarfile()
464 entry.is_dir = 0; in phar_parse_tarfile()
H A Dphar_internal.h289 unsigned int is_dir:1; member
/PHP-5.3/ext/phar/tests/
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.phpt43 var_dump(is_dir(dirname(__FILE__) . '/extract2/one/level'));
H A Dfopen_edgecases.phpt43 var_dump(is_dir($pname));
/PHP-5.3/ext/standard/tests/dir/
H A Dscandir_variation7.phpt58 if (is_dir($dir_path)){
H A Dopendir_variation7.phpt61 if (is_dir($dir_path)){
H A Dreaddir_variation5.phpt59 if (is_dir($dir_path)) {
/PHP-5.3/ext/standard/tests/file/windows_acls/
H A Dcommon.inc163 if (is_dir($path)) {
/PHP-5.3/TSRM/
H A Dtsrm_virtual_cwd.h217 int is_dir; member
/PHP-5.3/ext/standard/
H A Dfilestat.c1112 FileFunction(PHP_FN(is_dir), FS_IS_DIR) in FileFunction()
1169 add_assoc_bool(entry, "is_dir", bucket->is_dir); in PHP_FUNCTION()
H A Dbasic_functions.c3199 PHP_FE(is_dir, arginfo_is_dir)
/PHP-5.3/ext/phar/phar/
H A Dclicommand.inc185 if ($f===false || !file_exists($f) || !is_dir($f)) {
H A Dpharcommand.inc235 if (is_dir($phpdir)) {
631 if ($input && is_file($input) && !is_dir($input)) {
647 if ((empty($stub) || $file->getRealPath() != $stub->getRealPath()) && !is_dir($file)) {
/PHP-5.3/
H A Dserver-tests.php800 if (is_dir($dir)) {
842 if (is_dir("$dir/$name")) {
H A Drun-tests.php748 } else if (is_dir($testfile)) {
863 if (is_dir("{$dir}/{$name}") && !in_array($name, array('.', '..', '.svn'))) {
1376 if (!is_dir(dirname($copy_file))) {
H A DNEWS4237 - Fixed bug #42027 (is_file() / is_dir() matches file/dirnames with wildcard char
5952 - Fixed bug #31347 (is_dir and is_file (incorrectly) return true for any string

Completed in 234 milliseconds

1234