/third_party/libwebsockets/lib/misc/ |
D | dir.c | 115 lws_dir(const char *dirpath, void *user, lws_dir_callback_function cb) in lws_dir() argument 123 l = (size_t)(ssize_t)lws_snprintf(combo, COMBO_SIZEOF - 2, "%s", dirpath); in lws_dir() 127 n = scandir((char *)dirpath, &namelist, filter, alphasort); in lws_dir() 129 lwsl_err("Scandir on '%s' failed, errno %d\n", dirpath, LWS_ERRNO); in lws_dir() 172 if (cb(dirpath, user, &lde)) { in lws_dir() 217 lws_dir_glob_cb(const char *dirpath, void *user, struct lws_dir_entry *lde) in lws_dir_glob_cb() argument 229 lws_snprintf(path, sizeof(path), "%s%c%s", dirpath, csep, in lws_dir_glob_cb() 238 lws_dir_rm_rf_cb(const char *dirpath, void *user, struct lws_dir_entry *lde) in lws_dir_rm_rf_cb() argument 245 lws_snprintf(path, sizeof(path), "%s%c%s", dirpath, csep, lde->name); in lws_dir_rm_rf_cb() 298 lws_plugins_dir_cb(const char *dirpath, void *user, struct lws_dir_entry *lde) in lws_plugins_dir_cb() argument [all …]
|
D | diskcache.c | 275 char dirpath[132], filepath[132 + 32]; in lws_diskcache_trim() local 303 lws_snprintf(dirpath, sizeof(dirpath), "%s/%c/%c", in lws_diskcache_trim() 307 dir = opendir(dirpath); in lws_diskcache_trim() 324 lws_snprintf(filepath, sizeof(filepath), "%s/%s", dirpath, in lws_diskcache_trim()
|
D | fsmount.c | 41 rm_rf_cb(const char *dirpath, void *user, struct lws_dir_entry *lde) in rm_rf_cb() argument 48 lws_snprintf(path, sizeof(path), "%s/%s", dirpath, lde->name); in rm_rf_cb()
|
/third_party/python/Lib/test/ |
D | test_support.py | 86 dirpath = os_helper.TESTFN + 'd' 87 subdirpath = os.path.join(dirpath, 'subdir') 88 os.mkdir(dirpath) 90 os_helper.rmtree(dirpath) 91 self.assertFalse(os.path.exists(dirpath)) 93 os_helper.rmtree(dirpath) 95 os.mkdir(dirpath) 97 os.chmod(dirpath, stat.S_IRUSR|stat.S_IXUSR) 99 os_helper.rmtree(dirpath) 100 self.assertFalse(os.path.exists(dirpath)) [all …]
|
/third_party/skia/gn/ |
D | copy_git_directory.py | 33 for dirpath, dirnames, filenames in os.walk('.', topdown=False): 35 path = os.path.normpath(os.path.join(dirpath, filename)) 40 path = os.path.normpath(os.path.join(dirpath, filename))
|
D | checkdir.py | 13 dirpath, = sys.argv[1:] variable 15 print(os.path.isdir(dirpath))
|
D | highest_version_dir.py | 14 dirpath = sys.argv[1] variable 17 print(sorted(filter(regex.match, os.listdir(dirpath)))[-1])
|
/third_party/skia/infra/bots/ |
D | zip_utils.py | 57 dirpath = os.path.join(r, dirname) 58 z.write(dirpath, os.path.relpath(dirpath, target_dir))
|
/third_party/node/deps/openssl/openssl/crypto/conf/ |
D | conf_def.c | 56 char **dirpath); 226 char *dirpath = NULL; in def_load_bio() local 291 if ((next = get_next_file(dirpath, &dirctx)) != NULL) { in def_load_bio() 296 OPENSSL_free(dirpath); in def_load_bio() 297 dirpath = NULL; in def_load_bio() 501 next = process_include(include_path, &dirctx, &dirpath); in def_load_bio() 502 if (include_path != dirpath) { in def_load_bio() 594 OPENSSL_free(dirpath); in def_load_bio() 816 char **dirpath) in process_include() argument 835 *dirpath = include; in process_include()
|
/third_party/openssl/crypto/conf/ |
D | conf_def.c | 56 char **dirpath); 226 char *dirpath = NULL; in def_load_bio() local 291 if ((next = get_next_file(dirpath, &dirctx)) != NULL) { in def_load_bio() 296 OPENSSL_free(dirpath); in def_load_bio() 297 dirpath = NULL; in def_load_bio() 501 next = process_include(include_path, &dirctx, &dirpath); in def_load_bio() 502 if (include_path != dirpath) { in def_load_bio() 594 OPENSSL_free(dirpath); in def_load_bio() 816 char **dirpath) in process_include() argument 835 *dirpath = include; in process_include()
|
/third_party/python/Lib/test/test_importlib/ |
D | update-zips.py | 44 for dirpath, dirnames, filenames in os.walk(datapath): 48 res = pathlib.Path(dirpath) / filename
|
/third_party/cef/tools/yapf/yapf/yapflib/ |
D | file_resources.py | 123 os.path.join(dirpath, f) 124 for dirpath, _, filelist in os.walk(filename) for f in filelist 125 if IsPythonFile(os.path.join(dirpath, f)))
|
/third_party/ltp/testcases/kernel/syscalls/getcwd/ |
D | getcwd02.c | 35 static int dir_exists(const char *dirpath) in dir_exists() argument 39 if (!stat(dirpath, &sb) && S_ISDIR(sb.st_mode)) in dir_exists()
|
/third_party/skia/tools/copyright/ |
D | main.py | 74 for dirpath, _, filenames in os.walk(root_directory): 76 path_list.append(os.path.abspath(os.path.join(dirpath, filename)))
|
/third_party/python/Lib/distutils/ |
D | archive_util.py | 174 for dirpath, dirnames, filenames in os.walk(base_dir): 176 path = os.path.normpath(os.path.join(dirpath, name, '')) 180 path = os.path.normpath(os.path.join(dirpath, name))
|
/third_party/python/Lib/lib2to3/tests/ |
D | support.py | 53 for dirpath, dirnames, filenames in os.walk(proj_dir): 56 yield os.path.join(dirpath, filename)
|
/third_party/jinja2/ |
D | loaders.py | 224 for dirpath, _, filenames in walk_dir: 227 os.path.join(dirpath, filename)[len(searchpath) :] 375 for dirpath, _, filenames in os.walk(self._template_root): 376 dirpath = dirpath[offset:].lstrip(os.path.sep) 378 os.path.join(dirpath, name).replace(os.path.sep, "/")
|
/third_party/python/Tools/scripts/ |
D | pysource.py | 111 for dirpath, dirnames, filenames in os.walk(path): 116 fullpath = os.path.join(dirpath, filename)
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-misc.h | 712 lws_dir_callback_function(const char *dirpath, void *user, 728 lws_dir(const char *dirpath, void *user, lws_dir_callback_function cb); 742 lws_dir_rm_rf_cb(const char *dirpath, void *user, struct lws_dir_entry *lde); 774 lws_dir_glob_cb(const char *dirpath, void *user, struct lws_dir_entry *lde);
|
/third_party/node/tools/ |
D | install.py | 137 for dirpath, dirnames, filenames in os.walk(path): 138 files_in_path = [dirpath + '/' + f for f in filenames if f.endswith('.h')] 139 ret[dest + dirpath.replace(path, '')] = files_in_path
|
/third_party/python/Lib/idlelib/ |
D | grep.py | 56 for dirpath, _, filenames in os.walk(folder, onerror=walk_error): 57 yield from (os.path.join(dirpath, name)
|
/third_party/protobuf/python/ |
D | setup.py | 118 for (dirpath, dirnames, filenames) in os.walk("."): 120 filepath = os.path.join(dirpath, filename)
|
/third_party/skia/tools/skqp/ |
D | cut_release.py | 104 for dirpath, _, filenames in os.walk(ASSETS + '/gmkb'): 106 path = os.path.join(dirpath, filename)
|
D | create_apk.py | 60 for dirpath, _, filenames in os.walk(searchpath): 62 yield os.path.join(dirpath, filename)
|
/third_party/ntfs-3g/src/ |
D | ntfs-3g.c | 335 char *dirpath; in ntfs_allowed_dir_access() local 351 dirpath = strdup(path); in ntfs_allowed_dir_access() 352 if (dirpath) { in ntfs_allowed_dir_access() 355 name = strrchr(dirpath, '/'); in ntfs_allowed_dir_access() 358 NULL, dirpath); in ntfs_allowed_dir_access() 365 free(dirpath); in ntfs_allowed_dir_access() 413 char *dirpath; in ntfs_allowed_real_dir_access() local 420 dirpath = strdup(path); in ntfs_allowed_real_dir_access() 421 if (dirpath) { in ntfs_allowed_real_dir_access() 424 name = strrchr(dirpath, '/'); in ntfs_allowed_real_dir_access() [all …]
|