Home
last modified time | relevance | path

Searched full:path (Results 826 - 850 of 39697) sorted by relevance

1...<<31323334353637383940>>...1588

/third_party/node/deps/v8/tools/mb/
H A Dmb.py43 CHROMIUM_SRC_DIR = os.path.dirname(os.path.dirname(os.path.dirname(
44 os.path.abspath(__file__))))
45 sys.path = [os.path.join(CHROMIUM_SRC_DIR, 'build')] + sys.path
83 self.default_config = os.path.join(self.chromium_src_dir, 'infra', 'mb',
85 self.default_isolate_map = os.path.join(self.chromium_src_dir, 'infra',
128 subp.add_argument('-f', '--config-file', metavar='PATH',
[all...]
/third_party/libfuse/test/
H A Dtest_syscalls.c138 static int check_size(const char *path, int len) in check_size() argument
141 int res = stat(path, &stbuf); in check_size()
149 static int check_testfile_size(const char *path, int len) in check_testfile_size() argument
152 return check_size(path, len); in check_testfile_size()
164 static int check_type(const char *path, mode_t type) in check_type() argument
167 int res = lstat(path, &stbuf); in check_type()
185 static int check_mode(const char *path, mode_t mode) in check_mode() argument
188 int res = lstat(path, &stbuf); in check_mode()
196 static int check_testfile_mode(const char *path, mode_t mode) in check_testfile_mode() argument
200 return check_mode(path, mod in check_testfile_mode()
203 check_times(const char *path, time_t atime, time_t mtime) check_times() argument
261 check_nlink(const char *path, nlink_t nlink) check_nlink() argument
297 check_nonexist(const char *path) check_nonexist() argument
321 check_data(const char *path, const char *data, int offset, unsigned len) check_data() argument
393 check_dir_contents(const char *path, const char **contents) check_dir_contents() argument
463 create_file(const char *path, const char *data, int len) create_file() argument
514 create_path_fd(const char *path, const char *data, int len) create_path_fd() argument
531 create_testfile(const char *path, const char *data, int len) create_testfile() argument
598 cleanup_dir(const char *path, const char **dir_files, int quiet) cleanup_dir() argument
619 create_dir(const char *path, const char **dir_files) create_dir() argument
1582 #define PATH test_rename_dir_loop() macro
1585 char path[1280], path2[1280]; test_rename_dir_loop() local
1792 #undef PATH test_rename_dir_loop() macro
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/include/
H A Dfile_path.h36 explicit FilePath(const std::string &path);
52 static bool DirectoryExists(const FilePath &path);
53 static bool PathIsValid(const FilePath &path);
54 static bool PathIsReadable(const FilePath &path);
55 static bool PathIsWriteable(const FilePath &path);
56 static bool IsDir(const FilePath &path);
57 static bool GetZipAllDirFiles(const std::string &path, std::vector<std::string> &files);
58 // Returns a FilePath by appending a separator and the supplied path
59 // component to this object's path. Append takes care to avoid adding
60 // excessive separators if this object's path alread
[all...]
/foundation/multimedia/image_framework/mock/native/include/
H A Ddirectory_ex.h30 * The GetCurrentProcPath function get the current process exe path.
35 * The ExtractFilePath function extract the input file path.
56 * return the path without the end '/'.
58 std::string ExcludeTrailingPathDelimiter(const std::string& path);
62 * return the path with the end '/'.
64 std::string IncludeTrailingPathDelimiter(const std::string& path);
67 * The GetDirFiles function get all files in the path.
69 void GetDirFiles(const std::string& path, std::vector<std::string>& files);
72 * The IsEmptyFolder function judge the path is empty,
75 bool IsEmptyFolder(const std::string& path);
[all...]
/third_party/libuv/test/
H A Dbenchmark-fs-stat.c32 #define sync_stat(req, path) \
34 uv_fs_stat(NULL, (req), (path), NULL); \
40 const char* path; member
46 static void warmup(const char* path) { in warmup() argument
52 uv_fs_stat(uv_default_loop(), reqs + i, path, uv_fs_req_cleanup); in warmup() local
58 sync_stat(reqs + 0, path); in warmup()
62 static void sync_bench(const char* path) { in sync_bench() argument
73 sync_stat(&req, path); in sync_bench()
89 uv_fs_stat(uv_default_loop(), &req->fs_req, req->path, stat_cb); in stat_cb()
94 static void async_bench(const char* path) { in async_bench() argument
132 const char path[] = "."; BENCHMARK_IMPL() local
[all...]
/third_party/libfuse/example/
H A Dioctl.c75 static int fioc_file_type(const char *path) in fioc_file_type() argument
77 if (strcmp(path, "/") == 0) in fioc_file_type()
79 if (strcmp(path, "/" FIOC_NAME) == 0) in fioc_file_type()
84 static int fioc_getattr(const char *path, struct stat *stbuf, in fioc_getattr() argument
92 switch (fioc_file_type(path)) { in fioc_getattr()
109 static int fioc_open(const char *path, struct fuse_file_info *fi) in fioc_open() argument
113 if (fioc_file_type(path) != FIOC_NONE) in fioc_open()
131 static int fioc_read(const char *path, char *buf, size_t size, in fioc_read() argument
136 if (fioc_file_type(path) != FIOC_FILE) in fioc_read()
152 static int fioc_write(const char *path, cons argument
163 fioc_truncate(const char *path, off_t size, struct fuse_file_info *fi) fioc_truncate() argument
173 fioc_readdir(const char *path, void *buf, fuse_fill_dir_t filler, off_t offset, struct fuse_file_info *fi, enum fuse_readdir_flags flags) fioc_readdir() argument
191 fioc_ioctl(const char *path, unsigned int cmd, void *arg, struct fuse_file_info *fi, unsigned int flags, void *data) fioc_ioctl() argument
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dutimes.c33 const char *path = "/data/utimes.txt"; in utimes_0100() local
34 int fd = open(path, O_RDWR | O_RSYNC | O_CREAT, 0664); in utimes_0100()
43 stat(path, &buf1); in utimes_0100()
48 if (utimes(path, NULL) != 0) { in utimes_0100()
51 stat(path, &buf2); in utimes_0100()
57 remove(path); in utimes_0100()
67 const char *path = "/data/utimes.txt"; in utimes_0200() local
68 int fd = open(path, O_RDWR | O_RSYNC | O_CREAT, 0664); in utimes_0200()
77 int result = utimes(path, tv); in utimes_0200()
81 stat(path, in utimes_0200()
96 const char *path = "/data/utimes_time64.txt"; utimes_time64_0100() local
[all...]
/third_party/skia/src/ports/
H A DSkOSFile_stdio.cpp68 FILE* sk_fopen(const char path[], SkFILE_Flags flags) { in sk_fopen() argument
82 file = fopen_win(path, perm); in sk_fopen()
84 file = fopen(path, perm); in sk_fopen()
87 // if not found in default path and read-only, try to open from bundle in sk_fopen()
90 if (ios_get_path_in_bundle(path, &bundlePath)) { in sk_fopen()
98 path, perm, errno, strerror(errno)); in sk_fopen()
153 bool sk_isdir(const char *path) { in sk_isdir() argument
155 if (0 != stat(path, &status)) { in sk_isdir()
157 // check the bundle directory if not in default path in sk_isdir()
159 if (ios_get_path_in_bundle(path, in sk_isdir()
171 sk_mkdir(const char* path) sk_mkdir() argument
[all...]
/third_party/skia/tools/
H A Drewrite_includes.py52 # Map short name -> absolute path for all Skia headers.
55 for path, _, files in os.walk(root):
56 if not any(snippet in fix_path(path) for snippet in ignorelist):
60 message = ('Header filename is used more than once!\n- ' + path + '/' + file_name +
63 headers[file_name] = os.path.abspath(os.path.join(path, file_name))
67 for path in args.sources:
68 yield path
71 for path,
[all...]
/third_party/skia/infra/bots/recipe_modules/flavor/
H A Dssh.py27 path = '/tmp/ssh_machine.json'
28 ssh_info = self.m.file.read_json('read ssh_machine.json', path,
42 def ensure_device_dir(self, path):
43 self.ssh('mkdir %s' % path, 'mkdir', '-p', path)
54 def create_clean_device_dir(self, path):
55 # use -f to silently return if path doesn't exist
56 self.ssh('rm %s' % path, 'rm', '-rf', path)
57 self.ensure_device_dir(path)
[all...]
/third_party/weex-loader/
H A Dbuild_weex_loader_library.py21 standard_system_build_dir = os.path.join(os.path.dirname(__file__), os.pardir,
23 build_dir = os.path.join(os.path.dirname(__file__), os.pardir, os.pardir,
25 if os.path.exists(standard_system_build_dir):
26 sys.path.append(
27 os.path.join(standard_system_build_dir, os.pardir, os.pardir))
29 if os.path.exists(build_dir):
30 sys.path.append(os.path
[all...]
/third_party/node/deps/v8/third_party/zlib/
H A Dgzlib.c91 local gzFile gz_open(path, fd, mode) in gz_open()
92 const void *path; in gz_open()
107 if (path == NULL)
190 /* save the path name for error messages */
193 len = wcstombs(NULL, path, 0);
199 len = strlen((const char *)path);
200 state->path = (char *)malloc(len + 1);
201 if (state->path == NULL) {
208 wcstombs(state->path, path, le
290 char *path; /* identifier for error messages */ global() local
[all...]
/third_party/node/deps/npm/node_modules/graceful-fs/
H A Dgraceful-fs.js111 function readFile (path, options, cb) {
115 return go$readFile(path, options, cb)
117 function go$readFile (path, options, cb, startTime) {
118 return fs$readFile(path, options, function (err) {
120 enqueue([go$readFile, [path, options, cb], err, startTime || Date.now(), Date.now()])
131 function writeFile (path, data, options, cb) {
135 return go$writeFile(path, data, options, cb)
137 function go$writeFile (path, data, options, cb, startTime) {
138 return fs$writeFile(path, data, options, function (err) {
140 enqueue([go$writeFile, [path, dat
[all...]
/third_party/skia/third_party/externals/zlib/
H A Dgzlib.c91 local gzFile gz_open(path, fd, mode) in gz_open()
92 const void *path; in gz_open()
107 if (path == NULL)
190 /* save the path name for error messages */
193 len = wcstombs(NULL, path, 0);
199 len = strlen((const char *)path);
200 state->path = (char *)malloc(len + 1);
201 if (state->path == NULL) {
208 wcstombs(state->path, path, le
290 char *path; /* identifier for error messages */ global() local
[all...]
/third_party/skia/bench/
H A DTessellateBench.cpp48 SkPath path; in make_cubic_path() local
51 path.cubicTo(111.625f*x, 308.188f*x, 764.62f*x, -435.688f*x, 742.63f*x, 85.187f*x); in make_cubic_path()
52 path.cubicTo(764.62f*x, -435.688f*x, 111.625f*x, 308.188f*x, 0, 0); in make_cubic_path()
54 return path; in make_cubic_path()
59 SkPath path; in make_conic_path() local
64 path.conicTo(111.625f * x, 308.188f * x, 764.62f * x, -435.688f * x, w); in make_conic_path()
67 return path; in make_conic_path()
72 SkPath path; in make_quad_path() local
75 path.quadTo(111.625f * x, 308.188f * x, 764.62f * x, -435.688f * x); in make_quad_path()
77 return path; in make_quad_path()
82 SkPath path; make_line_path() local
167 benchmark_wangs_formula_cubic_log2(const SkMatrix& matrix, const SkPath& path) benchmark_wangs_formula_cubic_log2() argument
195 benchmark_wangs_formula_conic(const SkMatrix& matrix, const SkPath& path) benchmark_wangs_formula_conic() argument
209 benchmark_wangs_formula_conic_log2(const SkMatrix& matrix, const SkPath& path) benchmark_wangs_formula_conic_log2() argument
260 auto path = SkPath().moveTo(0, 0); make_simple_cubic_path() local
279 SkPath path; make_motionmark_paths() local
[all...]
/third_party/skia/infra/bots/recipes/perf_skottietrace.expected/
H A DPerf-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Release-All-Android_SkottieTracing.json8 "/path/to/tmp/json",
42 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
58 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
100 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
111 "/path/to/tmp/json",
136 "PATH": "<PATH>
[all...]
H A Dskottietracing_trybot.json8 "/path/to/tmp/json",
42 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
58 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
100 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
111 "/path/to/tmp/json",
136 "PATH": "<PATH>
[all...]
/foundation/filemanagement/user_file_service/services/file_extension_hap/entry/src/main/ets/FileExtensionAbility/
H A DFileExtensionAbility.ts143 recurseDir(path, cb): void {
145 let stat = fs.statSync(path);
147 let fileName = fs.listFileSync(path);
149 stat = fs.statSync(path + '/' + fileName[fileLen]);
151 this.recurseDir(path + '/' + fileName[fileLen], cb);
153 cb(path + '/' + fileName[fileLen], false);
157 cb(path, false);
161 cb(path, true);
171 let path = getPath(sourceFileUri);
172 let file = fs.openSync(path, flag
[all...]
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_xmp.cpp620 const char *path) const in Exists()
623 return fSDK->Exists (ns, path); in Exists()
641 const char *path) in IteratePaths()
644 return fSDK->IteratePaths (callback, callbackData, ns, path); in IteratePaths()
651 const char *path) in Remove()
654 fSDK->Remove (ns, path); in Remove()
670 const char *path) in RemoveEmptyStringOrArray()
673 if (path == NULL || path [0] == 0) in RemoveEmptyStringOrArray()
678 if (fSDK->IsEmptyString (ns, path) || in RemoveEmptyStringOrArray()
638 IteratePaths(IteratePathsCallback *callback, void *callbackData, const char *ns, const char *path) IteratePaths() argument
650 Remove(const char *ns, const char *path) Remove() argument
669 RemoveEmptyStringOrArray(const char *ns, const char *path) RemoveEmptyStringOrArray() argument
690 RemoveEmptyStringsAndArraysCallback(const char *ns, const char *path, void *callbackData) RemoveEmptyStringsAndArraysCallback() argument
717 Set(const char *ns, const char *path, const char *text) Set() argument
728 GetString(const char *ns, const char *path, dng_string &s) const GetString() argument
739 SetString(const char *ns, const char *path, const dng_string &s) SetString() argument
750 SyncString(const char *ns, const char *path, dng_string &s, uint32 options) SyncString() argument
847 GetStringList(const char *ns, const char *path, dng_string_list &list) const GetStringList() argument
858 SetStringList(const char *ns, const char *path, const dng_string_list &list, bool isBag) SetStringList() argument
870 SyncStringList(const char *ns, const char *path, dng_string_list &list, bool isBag, uint32 options) SyncStringList() argument
945 SetStructField(const char *ns, const char *path, const char *fieldNS, const char *fieldName, const dng_string &s) SetStructField() argument
964 SetStructField(const char *ns, const char *path, const char *fieldNS, const char *fieldName, const char *s) SetStructField() argument
977 DeleteStructField(const char *ns, const char *path, const char *fieldNS, const char *fieldName) DeleteStructField() argument
989 GetStructField(const char *ns, const char *path, const char *fieldNS, const char *fieldName, dng_string &s) const GetStructField() argument
1002 SetAltLangDefault(const char *ns, const char *path, const dng_string &s) SetAltLangDefault() argument
1013 GetAltLangDefault(const char *ns, const char *path, dng_string &s) const GetAltLangDefault() argument
1024 SyncAltLangDefault(const char *ns, const char *path, dng_string &s, uint32 options) SyncAltLangDefault() argument
1095 GetBoolean(const char *ns, const char *path, bool &x) const GetBoolean() argument
1131 SetBoolean(const char *ns, const char *path, bool x) SetBoolean() argument
1142 Get_int32(const char *ns, const char *path, int32 &x) const Get_int32() argument
1176 Set_int32(const char *ns, const char *path, int32 x, bool usePlus) Set_int32() argument
1199 Get_uint32(const char *ns, const char *path, uint32 &x) const Get_uint32() argument
1233 Set_uint32(const char *ns, const char *path, uint32 x) Set_uint32() argument
1250 Sync_uint32(const char *ns, const char *path, uint32 &x, bool isDefault, uint32 options) Sync_uint32() argument
1344 Sync_uint32_array(const char *ns, const char *path, uint32 *data, uint32 &count, uint32 maxCount, uint32 options) Sync_uint32_array() argument
1402 Get_real64(const char *ns, const char *path, real64 &x) const Get_real64() argument
1436 Set_real64(const char *ns, const char *path, real64 x, uint32 places, bool trim, bool usePlus) Set_real64() argument
1476 Get_urational(const char *ns, const char *path, dng_urational &r) const Get_urational() argument
1516 Set_urational(const char *ns, const char *path, const dng_urational &r) Set_urational() argument
1534 Sync_urational(const char *ns, const char *path, dng_urational &r, uint32 options) Sync_urational() argument
1629 Get_srational(const char *ns, const char *path, dng_srational &r) const Get_srational() argument
1669 Set_srational(const char *ns, const char *path, const dng_srational &r) Set_srational() argument
1687 Sync_srational(const char *ns, const char *path, dng_srational &r, uint32 options) Sync_srational() argument
1782 GetFingerprint(const char *ns, const char *path, dng_fingerprint &print) const GetFingerprint() argument
1837 SetVersion2to4(const char *ns, const char *path, uint32 version) SetVersion2to4() argument
3907 ValidateStringList(const char *ns, const char *path) ValidateStringList() argument
3933 DateTimeIsDateOnly(const char *ns, const char *path) DateTimeIsDateOnly() argument
[all...]
/test/xts/acts/hiviewdfx/hiappeventtest/hiappeventcpptest/
H A DHiAppEventCPPTest.cpp70 string path; in HWTEST_F() local
80 path = logPath + getlogFile; in HWTEST_F()
82 fileinfo = ReadFile(path); in HWTEST_F()
106 string path; in HWTEST_F() local
116 path = logPath + getlogFile; in HWTEST_F()
118 fileinfo = ReadFile(path); in HWTEST_F()
141 string path; in HWTEST_F() local
151 path = logPath + getlogFile; in HWTEST_F()
153 fileinfo = ReadFile(path); in HWTEST_F()
176 string path; in HWTEST_F() local
213 string path; HWTEST_F() local
248 string path; HWTEST_F() local
283 string path; HWTEST_F() local
318 string path; HWTEST_F() local
353 string path; HWTEST_F() local
388 string path; HWTEST_F() local
423 string path; HWTEST_F() local
458 string path; HWTEST_F() local
493 string path; HWTEST_F() local
528 string path; HWTEST_F() local
563 string path; HWTEST_F() local
598 string path; HWTEST_F() local
633 string path; HWTEST_F() local
675 string path; HWTEST_F() local
713 string path; HWTEST_F() local
807 string path; HWTEST_F() local
849 string path; HWTEST_F() local
884 string path; HWTEST_F() local
919 string path; HWTEST_F() local
959 string path; HWTEST_F() local
994 string path; HWTEST_F() local
1037 string path; HWTEST_F() local
1072 string path; HWTEST_F() local
1113 string path; HWTEST_F() local
1163 string path; HWTEST_F() local
[all...]
/base/security/code_signature/interfaces/innerkits/code_sign_utils/src/
H A Dcode_sign_utils.cpp85 LOG_DEBUG("Enable entry %{public}s, path = %{public}s", entryName.c_str(), targetFile.c_str()); in EnforceCodeSignForApp()
110 int32_t CodeSignUtils::IsSupportFsVerity(const std::string &path)
113 if (Statx(AT_FDCWD, path.c_str(), 0, STATX_ALL, &stat) != 0) {
125 int32_t CodeSignUtils::EnforceCodeSignForFile(const std::string &path, const ByteBuffer &signature)
127 return EnforceCodeSignForFile(path, signature.GetBuffer(), signature.GetSize());
130 int32_t CodeSignUtils::EnableCodeSignForFile(const std::string &path, const struct code_sign_enable_arg &arg)
134 int32_t fd = open(path.c_str(), O_RDONLY);
136 LOG_ERROR("Open file failed, path = %{public}s, errno = <%{public}d, %{public}s>",
137 path.c_str(), errno, strerror(errno));
160 ReportEnableError(path, errn
[all...]
/foundation/arkui/ui_lite/test/uitest/test_clip/
H A Dui_test_clip.cpp95 ClipPath path; in OnClick() local
97 path.Circle({70, 50}, g_radius1); in OnClick()
99 ClipImage(imageView1_, path); in OnClick()
103 ClipPath path; in OnClick() local
105 path.MoveTo({80, 80}).Arc({80, 80}, 50, g_startAngle, g_endAngle); in OnClick()
107 ClipImage(imageView2_, path); in OnClick()
160 void UITestClip::ClipImage(UIImageView* imageView, ClipPath& path) in ClipImage() argument
164 clip.PerformScan(path, info); in ClipImage()
195 ClipPath path; in UIKitClipTest001() local
197 path in UIKitClipTest001()
221 ClipPath path; UIKitClipTest002() local
247 ClipPath path; UIKitClipTest003() local
269 ClipPath path; UIKitClipTest004() local
283 ClipPath path; UIKitClipTest005() local
[all...]
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/mutators/
H A Dcommon.js120 function isInForLoopCondition(path) {
124 const forStatementChild = path.find(
130 function isInWhileLoop(path) {
132 const whileStatement = path.find(p => babelTypes.isWhileStatement(p));
136 function _availableIdentifiers(path, filter) {
139 const allBindings = path.scope.getAllBindings();
146 path.willIMaybeExecuteBefore(allBindings[key].path)) {
156 function availableVariables(path) {
157 return _availableIdentifiers(path, isVariableIdentifie
[all...]
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_nir_lower_builtin.c68 get_element(const struct gl_builtin_uniform_desc *desc, nir_deref_path *path) in get_element() argument
72 assert(path->path[0]->deref_type == nir_deref_type_var); in get_element()
78 if (path->path[idx]->deref_type == nir_deref_type_array) in get_element()
82 if (!path->path[idx]) in get_element()
85 if (path->path[idx]->deref_type != nir_deref_type_struct) in get_element()
88 assert(path in get_element()
94 get_variable(nir_builder *b, nir_deref_path *path, const struct gl_builtin_uniform_element *element) get_variable() argument
[all...]
/third_party/python/Doc/library/
H A Dsys_path_init.rst1 .. _sys-path-init:
3 The initialization of the :data:`sys.path` module search path
6 A module search path is initialized when Python starts. This module search path
7 may be accessed at :data:`sys.path`.
9 The first entry in the module search path is the directory that contains the
15 to the search path. If this environment variable is found then the contents are
16 added to the module search path.
41 module search path eve
[all...]

Completed in 19 milliseconds

1...<<31323334353637383940>>...1588