/third_party/libwebsockets/lib/misc/ |
H A 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, voi argument [all...] |
H A 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()
|
H A 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/eudev/src/shared/ |
H A D | conf-files.c | 51 char *dirpath; in files_add() local 56 dirpath = strjoina(root ? root : "", path); in files_add() 58 dir = opendir(dirpath); in files_add() 81 p = strjoin(dirpath, "/", de->d_name, NULL); in files_add()
|
/third_party/python/Lib/test/ |
H A 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/ |
H A 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))
|
H A D | checkdir.py | 13 dirpath, = sys.argv[1:] 15 print(os.path.isdir(dirpath))
|
H A 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/ |
H A D | zip_utils.py | 57 dirpath = os.path.join(r, dirname) 58 z.write(dirpath, os.path.relpath(dirpath, target_dir))
|
/third_party/python/Lib/test/test_importlib/ |
H A D | update-zips.py | 44 for dirpath, dirnames, filenames in os.walk(datapath): 48 res = pathlib.Path(dirpath) / filename
|
/third_party/node/deps/openssl/openssl/crypto/conf/ |
H A 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() 503 /* dirpath will contain include in case of a directory */ in def_load_bio() 594 OPENSSL_free(dirpath); in def_load_bio() 816 char **dirpath) in process_include() 815 process_include(char *include, OPENSSL_DIR_CTX **dirctx, char **dirpath) process_include() argument [all...] |
/third_party/openssl/crypto/conf/ |
H A 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() 503 /* dirpath will contain include in case of a directory */ in def_load_bio() 594 OPENSSL_free(dirpath); in def_load_bio() 816 char **dirpath) in process_include() 815 process_include(char *include, OPENSSL_DIR_CTX **dirctx, char **dirpath) process_include() argument [all...] |
/third_party/ltp/testcases/kernel/syscalls/getcwd/ |
H A 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/python/Lib/distutils/ |
H A 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/jinja2/ |
H A 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/ |
H A D | pysource.py | 111 for dirpath, dirnames, filenames in os.walk(path): 116 fullpath = os.path.join(dirpath, filename)
|
/third_party/skia/tools/copyright/ |
H A 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/lib2to3/tests/ |
H A D | support.py | 53 for dirpath, dirnames, filenames in os.walk(proj_dir): 56 yield os.path.join(dirpath, filename)
|
/third_party/node/tools/ |
H A 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/libwebsockets/include/libwebsockets/ |
H A D | lws-misc.h | 712 lws_dir_callback_function(const char *dirpath, void *user, 718 * \param dirpath: the directory to scan 722 * Calls \p cb (with \p user) for every object in dirpath. 728 lws_dir(const char *dirpath, void *user, lws_dir_callback_function cb); 733 * \param dirpath: directory we are at in lws_dir 742 lws_dir_rm_rf_cb(const char *dirpath, void *user, struct lws_dir_entry *lde); 762 * \param dirpath: directory we are at in lws_dir 774 lws_dir_glob_cb(const char *dirpath, void *user, struct lws_dir_entry *lde);
|
/third_party/python/Lib/idlelib/ |
H A D | grep.py | 56 for dirpath, _, filenames in os.walk(folder, onerror=walk_error): 57 yield from (os.path.join(dirpath, name)
|
/third_party/skia/tools/skqp/ |
H A D | cut_release.py | 104 for dirpath, _, filenames in os.walk(ASSETS + '/gmkb'): 106 path = os.path.join(dirpath, filename)
|
/third_party/protobuf/python/ |
H A D | setup.py | 118 for (dirpath, dirnames, filenames) in os.walk("."): 120 filepath = os.path.join(dirpath, filename)
|
/third_party/ntfs-3g/src/ |
H A D | ntfs-3g.c | 336 char *dirpath; in ntfs_allowed_dir_access() local 352 dirpath = strdup(path); in ntfs_allowed_dir_access() 353 if (dirpath) { in ntfs_allowed_dir_access() 356 name = strrchr(dirpath, '/'); in ntfs_allowed_dir_access() 359 NULL, dirpath); in ntfs_allowed_dir_access() 366 free(dirpath); in ntfs_allowed_dir_access() 414 char *dirpath; in ntfs_allowed_real_dir_access() local 421 dirpath = strdup(path); in ntfs_allowed_real_dir_access() 422 if (dirpath) { in ntfs_allowed_real_dir_access() 425 name = strrchr(dirpath, '/'); in ntfs_allowed_real_dir_access() 444 char *dirpath; get_parent_dir() local [all...] |
/third_party/skia/third_party/externals/harfbuzz/test/shape/ |
H A D | hb_test_tools.py | 471 for dirpath, dirnames, filenames in os.walk (s, followlinks=True): 480 ms = os.path.join (dirpath, "MANIFEST") 488 Manifest.update_recursive (os.path.join (dirpath, f))
|