| /third_party/libuv/test/ |
| H A D | test-fs-readdir.c | 99 const char* path; in TEST_IMPL() local 106 path = "./empty_dir/"; in TEST_IMPL() 107 uv_fs_mkdir(uv_default_loop(), &mkdir_req, path, 0777, NULL); in TEST_IMPL() local 116 path, in TEST_IMPL() 149 r = uv_fs_opendir(uv_default_loop(), &opendir_req, path, empty_opendir_cb); in TEST_IMPL() 157 uv_fs_rmdir(uv_default_loop(), &rmdir_req, path, NULL); in TEST_IMPL() local 181 const char* path; in TEST_IMPL() local 184 path = "./non-existing-dir/"; in TEST_IMPL() 190 r = uv_fs_opendir(uv_default_loop(), &opendir_req, path, NULL); in TEST_IMPL() 203 path, in TEST_IMPL() 233 const char* path; TEST_IMPL() local [all...] |
| /third_party/jerryscript/tools/runners/ |
| H A D | run-test-suite.py | 63 tests.extend([os.path.join(root, test_file) for test_file in files if test_file.endswith('.js')]) 66 dirname = os.path.dirname(test_list) 69 tests.append(os.path.normpath(os.path.join(dirname, test.rstrip()))) 126 summary_list = [os.path.relpath(args.engine)] 130 summary_list.append(os.path.relpath(args.test_dir)) 132 summary_list.append(os.path.relpath(args.test_list)) 149 test_path = os.path.relpath(test) 150 is_expected_to_fail = os.path.join(os.path [all...] |
| /third_party/json/tools/amalgamate/ |
| H A D | amalgamate.py | 47 if not os.path.isabs(file_path): 48 file_path = os.path.join(self.source_path, file_path) 59 search_path = os.path.join(search_dir, file_path) 60 if os.path.isfile(self.actual_path(search_path)): 129 r'#\s*include\s+(<|")(?P<path>.*?)("|>)', re.S) 222 include_path = include_match.group("path") 256 self.file_dir = os.path.dirname(file_path) 263 if not os.path.isfile(actual_path): 275 "-c path/to/config.json", 276 "-s path/t [all...] |
| /third_party/mesa3d/src/compiler/nir/ |
| H A D | nir_lower_const_arrays_to_uniforms.c | 188 nir_deref_path path; in lower_const_array_to_uniform() local 189 nir_deref_path_init(&path, deref, NULL); in lower_const_array_to_uniform() 190 assert(path.path[0]->deref_type == nir_deref_type_var); in lower_const_array_to_uniform() 192 nir_deref_instr **p = &path.path[1]; in lower_const_array_to_uniform() 196 nir_deref_path_finish(&path); in lower_const_array_to_uniform() 387 nir_deref_path path; in nir_lower_const_arrays_to_uniforms() local 388 nir_deref_path_init(&path, deref, NULL); in nir_lower_const_arrays_to_uniforms() 389 assert(path in nir_lower_const_arrays_to_uniforms() [all...] |
| /third_party/node/deps/npm/node_modules/cacache/lib/ |
| H A D | entry-index.js | 13 const path = require('path') 17 const contentPath = require('./content/path') 70 const target = uniqueFilename(path.join(cache, 'tmp'), opts.tmpPrefix) 71 await mkdir(path.dirname(target), { recursive: true }) 86 await mkdir(path.dirname(bucket), { recursive: true }) 122 await mkdir(path.dirname(bucket), { recursive: true }) 186 const bucketPath = path.join(indexDir, bucket) 189 const subbucketPath = path.join(bucketPath, subbucket) 194 const entryPath = path [all...] |
| /third_party/node/deps/npm/node_modules/mkdirp/ |
| H A D | readme.markdown | 61 `opts.fs`. Your implementation should have `opts.fs.mkdir(path, opts, cb)` 62 and `opts.fs.stat(path, cb)`. 81 `opts.fs`. Your implementation should have `opts.fs.mkdirSync(path, mode)` 82 and `opts.fs.statSync(path)`. 108 - If the path is a root directory, then pass it to the underlying 111 - Walk up the path statting each directory, to find the first path that 113 - Call `fs.mkdir(path, { recursive: true })` (or `fs.mkdirSync`) 121 - If path is a root directory, raise to the caller and do not handle it 123 - stat(path) [all...] |
| /third_party/node/deps/npm/test/lib/commands/ |
| H A D | exec.js | 3 const path = require('path') 47 '1.0.0': path.join(npm.prefix, 'npm-exec-test'), 51 const exists = await fs.stat(path.join(npm.prefix, 'npm-exec-test-success')) 84 '1.0.0': path.join(npm.prefix, 'npm-exec-test'), 88 const exists = await fs.stat(path.join(npm.prefix, 'npm-exec-test-success')) 92 t.test('runs in workspace path', async t => { 127 '1.0.0': path.join(npm.prefix, 'npm-exec-test'), 131 const exists = await fs.stat(path.join(npm.prefix, 'workspace-a', 'npm-exec-test-success')) 161 const exists = await fs.stat(path [all...] |
| /third_party/python/Doc/library/ |
| H A D | runpy.rst | 103 command line, the supplied path may refer to a Python source file, a 104 compiled bytecode file or a valid sys.path entry containing a ``__main__`` 108 module namespace. For a valid sys.path entry (typically a zipfile or 109 directory), the entry is first added to the beginning of ``sys.path``. The 111 updated path. Note that there is no special protection against invoking 112 an existing :mod:`__main__` entry located elsewhere on ``sys.path`` if 130 If the supplied path directly references a script file (whether as source 132 supplied path, and ``__spec__``, ``__cached__``, ``__loader__`` and 135 If the supplied path is a reference to a valid sys.path entr [all...] |
| /third_party/skia/site/docs/user/api/ |
| H A D | SkPath_Overview.md | 8 <a href='https://api.skia.org/classSkPath.html'>Path</a> contains 14 <a href='https://api.skia.org/classSkPath.html'>Path</a> may contain zero, one, 24 <a href='https://api.skia.org/classSkPath.html'>Path</a> containing two 35 <a href='https://api.skia.org/classSkPath.html'>Path</a> components 45 <a href='https://api.skia.org/classSkPath.html'>Path</a>, these components may 47 <a href='https://api.skia.org/classSkPath.html'>Path</a> can be inspected to 55 <div><fiddle-embed name="93887af0c1dac49521972698cf04069c"><div><a href='https://api.skia.org/classSkPath.html'>Path</a> contains three <a href='#Contour'>Contours</a>: <a href='undocumented#Line'>Line</a>, <a href='undocumented#Circle'>Circle</a>, and <a href='https://api.skia.org/classSkPath.html#ad75d5a934476ac6543d6d7ddd8dbb90a'>Quad</a>. <a href='undocumented#Line'>Line</a> is stroked but 60 <a href='https://api.skia.org/classSkPath.html'>Path</a> contains a 69 <div><fiddle-embed name="36a995442c081ee779ecab2962d36e69"><div><a href='https://api.skia.org/classSkPath.html'>Path</a> is drawn filled, then stroked, then stroked and filled. 72 <a href='https://api.skia.org/classSkPath.html'>Path</ [all...] |
| /third_party/skia/src/utils/ |
| H A D | SkCustomTypeface.cpp | 111 void SkCustomTypefaceBuilder::setGlyph(SkGlyphID index, float advance, const SkPath& path) { in setGlyph() argument 118 fPaths[index] = path; in setGlyph() 133 for (const auto& path : tf->fPaths) { in detach() 134 if (!path.isEmpty()) { in detach() 135 bounds.join(path.getBounds()); in detach() 220 void generateImage(const SkGlyph&) override { SK_ABORT("Should have generated from path."); } 222 bool generatePath(SkGlyphID glyph, SkPath* path) override { 223 this->userTF()->fPaths[glyph].transform(fMatrix, path); 260 static void compress_write(SkWStream* stream, const SkPath& path, int upem) { in compress_write() argument 263 for (auto [v, p, w] : SkPathPriv::Iterate(path)) { in compress_write() 420 SkPath path; Deserialize() local [all...] |
| /third_party/python/Lib/test/ |
| H A D | test_modulefinder.py | 25 # Modulefinder searches in a path that contains test_dir, plus 290 def open_file(path): 291 dirname = os.path.dirname(path) 297 return open(path, 'wb') 313 ofi = open_file(os.path.join(test_dir, line.strip())) 321 self.test_path = [self.test_dir, os.path.dirname(tempfile.__file__)] 329 mf = modulefinder_class(path=self.test_path, debug=debug, 335 ## opath = sys.path[:] 336 ## sys.path [all...] |
| /third_party/skia/third_party/externals/tint/src/ |
| H A D | source.h | 45 /// File describes a source file, including path and content. 48 /// Constructs the File with the given file path and content. 49 /// @param p the path for this file 52 : path(p), content(c) {} in File() 56 /// file path (optional) 57 const std::string path; member in tint::Source::File 149 : range(rng), file_path(file->path), file_content(&file->content) {} in Source() 151 /// Constructs the Source with the Range `rng`, file path `path` and content 154 /// @param path th 156 Source(const Range& rng, const std::string& path, const FileContent* content = nullptr) Source() argument [all...] |
| /third_party/selinux/libsepol/cil/src/ |
| H A D | cil_parser.c | 96 static int add_hll_linemark(struct cil_tree_node **current, uint32_t *hll_offset, uint32_t *hll_expand, struct cil_stack *stack, char *path) in add_hll_linemark() argument 189 cil_log(CIL_ERR, "Problem with high-level line mark at line %u of %s\n", tok.line, path); in add_hll_linemark() 193 static void add_cil_path(struct cil_tree_node **current, char *path) in add_cil_path() argument 210 create_node(&node, *current, 0, 0, path); in add_cil_path() 222 char *path = cil_strpool_add(_path); in cil_parser() local 236 add_cil_path(¤t, path); in cil_parser() 242 rc = add_hll_linemark(¤t, &hll_offset, &hll_expand, stack, path); in cil_parser() 250 cil_log(CIL_ERR, "Number of open parenthesis exceeds limit of %d at line %d of %s\n", CIL_PARSER_MAX_EXPR_DEPTH, tok.line, path); in cil_parser() 260 cil_log(CIL_ERR, "Close parenthesis without matching open at line %d of %s\n", tok.line, path); in cil_parser() 271 cil_log(CIL_ERR, "Symbol not inside parenthesis at line %d of %s\n", tok.line, path); in cil_parser() [all...] |
| /third_party/vulkan-loader/tests/framework/shim/ |
| H A D | unix_shim.cpp | 138 auto real_path_name = platform_shim.get_real_path_from_fake_path(fs::path(path_name)); in OPENDIR_FUNC_NAME() 218 fs::path path{in_pathname}; in ACCESS_FUNC_NAME() 219 if (!path.has_parent_path()) { in ACCESS_FUNC_NAME() 223 if (platform_shim.is_fake_path(path.parent_path())) { in ACCESS_FUNC_NAME() 224 fs::path real_path = platform_shim.get_real_path_from_fake_path(path.parent_path()); in ACCESS_FUNC_NAME() 225 real_path /= path.filename(); in ACCESS_FUNC_NAME() 235 fs::path path{in_filenam in FOPEN_FUNC_NAME() [all...] |
| /applications/standard/app_samples/code/BasicFeature/Media/Image/photomodify/src/main/ets/components/util/ |
| H A D | SvgUtil.ets | 46 const path = new Path2D(svaPath.path); 48 offContext.fill(path); 76 } else if (element.name === 'path') { 77 const path: SvgPath = new SvgPath(); 78 path.path = element._attributes.d; 79 path.fillColor = element._attributes.fill; 80 svgClass.paths.push(path); 136 path [all...] |
| /applications/standard/dlp_manager/ |
| H A D | OAT.xml | 23 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilter is optional,the default value is: 24 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/> 26 "compatibility" is used to check license compatibility in the specified path; 27 "license" is used to check source license header in the specified path; 28 "copyright" is used to check source copyright header in the specified path; 29 "import" is used to check source dependency in the specified path, such as import ... ,include ... 30 "filetype" is used to check file type in the specified path, supported file types: archive, binary 31 "filename" is used to check whether the specified file exists in the specified path(projectroot means the root dir of the project), supported file names: LICENSE, README, README.OpenSource 33 5. policyitem path: This field is used for define the source file scope to apply this policyitem, the "!" prefix means exclude the files. For example, "!.*/lib/.*" means files in lib dir will be exclude while process this policyitem. 37 8. filefilter: Filter rules, the type filename is used to filter file name, the type filepath is used to filter file path [all...] |
| /applications/standard/photos/ |
| H A D | OAT.xml | 24 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilter is optional,the default value is: 25 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/> 27 "compatibility" is used to check license compatibility in the specified path; 28 "license" is used to check source license header in the specified path; 29 "copyright" is used to check source copyright header in the specified path; 30 "import" is used to check source dependency in the specified path, such as import ... ,include ... 31 "filetype" is used to check file type in the specified path, supported file types: archive, binary 32 "filename" is used to check whether the specified file exists in the specified path(projectroot means the root dir of the project), supported file names: LICENSE, README, README.OpenSource 34 5. policyitem path: This field is used for define the source file scope to apply this policyitem, the "!" prefix means exclude the files. For example, "!.*/lib/.*" means files in lib dir will be exclude while process this policyitem. 38 8. filefilter: Filter rules, the type filename is used to filter file name, the type filepath is used to filter file path [all...] |
| /applications/standard/photos/common/src/main/resources/base/media/ |
| H A D | picker_checkbox_selected_dark.svg | 5 <path d="M7.39890806,14.1258588 C6.84500549,14.1258588 6.39597873,13.681994 6.39597873,13.1258588 C6.39597873,12.5735741 6.83386008,12.1258588 7.39890806,12.1258588 L11.3949787,12.1248588 L11.3959787,3.87422128 C11.3959787,3.36222524 11.7786989,2.94024606 12.2786462,2.88257555 L12.3959787,2.87585883 C12.9482635,2.87585883 13.3959787,3.33080574 13.3959787,3.87422128 L13.3949787,13.1078588 L13.3959787,13.1258588 C13.3959787,13.5597968 13.125654,13.9291792 12.7357194,14.0675602 L12.6264819,14.0994914 C12.5895326,14.1081141 12.5517688,14.1147059 12.5133113,14.1191421 L12.3959787,14.1258588 L7.39890806,14.1258588 Z" id="path-1"></path> 19 <path d="M0,3.99922997 C0,1.79051625 1.79246765,0 3.99922997,0 L16.00077,0 C18.2094838,0 20,1.79246765 20,3.99922997 L20,16.00077 C20,18.2094838 18.2075324,20 16.00077,20 L3.99922997,20 C1.79051625,20 0,18.2075324 0,16.00077 L0,3.99922997 Z" id="Rectangle-2375-Copy" fill="#317AF7"></path> 21 <use fill="black" fill-opacity="1" filter="url(#filter-2)" xlink:href="#path-1"></use> 22 <path stroke-opacity="0.05" stroke="#000000" stroke-width="1" d="M12.2213495,2.3858693 C12.7408886,2.37791379 13.1280723,2.5385 13.4054151,2.78464501 C13.7172926,3.06143997 13.8959787,3.45025349 13.8959787,3.87427543 L13.8959787,3.87427543 L13.8949741,13.1057121 C13.8964634,13.4525707 13.7946224,13.7476578 13.6247709,13.9899101 C13.4325308,14.2640945 13.150092,14.470541 12.8158673,14.5667149 L12.8158673,14.5667149 L7.39890806,14.6258588 C6.9833939,14.6258588 6.60758401,14.4585797 6.33574892,14.1875386 C6.06427252,13.9168551 5.89597873,13.5424653 5.89597873,13.1258588 C5.89597873,12.7095825 6.06286716,12.3335313 6.33521039,12.0619835 C6.60448462,11.7934958 6.97764429,11.6258588 7.39878294,11.6258588 L7.39878294,11.6258588 L10.8950393,11.6249839 L10.8959787,3.87422128 C10.8959787,3.49149085 11.0388074,3.14245917 11.2744893,2.87767894 C11.5121551,2.61066974 11.8445605,2.42933312 12.2213495,2.3858693 Z"></path> 24 <path d="M7.39890806,14.1258588 C6.84500549,14.1258588 6.39597873,13.681994 6.39597873,13.1258588 C6.39597873,12.5735741 6.83386008,12.1258588 7.39890806,12.1258588 L11.3949787,12.1248588 L11.3959787,3.87422128 C11.3959787,3.36222524 11.7786989,2.94024606 12.2786462,2.88257555 L12.3959787,2.87585883 C12.9482635,2.87585883 13.3959787,3.33080574 13.3959787,3.87422128 L13.3949787,13.1078588 L13.3959787,13.1258588 C13.3959787,13.5597968 13.125654,13.9291792 12.7357194,14.0675602 L12.6264819,14.0994914 C12.5895326,14.1081141 12.5517688,14.1147059 12.5133113,14.1191421 L12.3959787,14.1258588 L7.39890806,14.1258588 Z" id="Rectangle-62" fill="#FFFFFF" transform="translate(9.895979, 8.500859) rotate(43.000000) translate(-9.895979, -8.500859) "></path> [all...] |
| /applications/standard/security_privacy_center/ |
| H A D | OAT.xml | 24 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilter is optional,the default value is: 25 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/> 27 "compatibility" is used to check license compatibility in the specified path; 28 "license" is used to check source license header in the specified path; 29 "copyright" is used to check source copyright header in the specified path; 30 "import" is used to check source dependency in the specified path, such as import ... ,include ... 31 "filetype" is used to check file type in the specified path, supported file types: archive, binary 32 "filename" is used to check whether the specified file exists in the specified path(projectroot means the root dir of the project), supported file names: LICENSE, README, README.OpenSource 34 5. policyitem path: This field is used for define the source file scope to apply this policyitem, the "!" prefix means exclude the files. For example, "!.*/lib/.*" means files in lib dir will be exclude while process this policyitem. 38 8. filefilter: Filter rules, the type filename is used to filter file name, the type filepath is used to filter file path [all...] |
| /base/hiviewdfx/hilog/services/hilogd/ |
| H A D | main.cpp | 81 int ret = WaitingToDo(WAITING_DATA_MS, filePath, [](const string &path) { in WriteStringToFile() 83 if (!access(path.c_str(), W_OK)) { in WriteStringToFile() 84 fd = open(path.c_str(), O_WRONLY | O_CLOEXEC); in WriteStringToFile() 110 int ret = WaitingToDo(WAITING_DATA_MS, HILOG_FILE_DIR, [](const string &path) { in RedirectStdStreamToLogFile() 112 if (stat(path.c_str(), &s) != -1) { in RedirectStdStreamToLogFile() 118 const char *path = HILOG_FILE_DIR"hilogd_debug.txt"; in RedirectStdStreamToLogFile() local 121 if (stat(path, &st) == -1) { in RedirectStdStreamToLogFile() 124 int fd = open(path, mask, S_IWUSR | S_IWGRP); in RedirectStdStreamToLogFile() 173 int ret = WaitingToDo(WAITING_DATA_MS, HILOG_FILE_DIR, [](const string &path) { in HilogdEntry() 175 if (stat(path in HilogdEntry() [all...] |
| /base/hiviewdfx/hiview/framework/native/unified_collection/collector/ |
| H A D | common_util.cpp | 61 void CommonUtil::GetDirRegexFiles(const std::string& path, const std::string& pattern,
in GetDirRegexFiles() argument 64 DIR* dir = opendir(path.c_str());
in GetDirRegexFiles() 66 HIVIEW_LOGE("failed to open dir=%{public}s", path.c_str());
in GetDirRegexFiles() 74 files.push_back(FileUtil::IncludeTrailingPathDelimiter(path) + std::string(ptr->d_name));
in GetDirRegexFiles() 99 std::string CommonUtil::CreateExportFile(const std::string& path, int32_t maxFileNum, const std::string& prefix,
in CreateExportFile() argument 102 if (!FileUtil::IsDirectory(path) && !FileUtil::ForceCreateDirectory(path)) {
in CreateExportFile() 103 HIVIEW_LOGE("failed to create dir=%{public}s", path.c_str());
in CreateExportFile() 108 GetDirRegexFiles(path, prefix + EXPORT_FILE_REGEX, files);
in CreateExportFile() 119 fileName.append(path) in CreateExportFile() [all...] |
| /base/hiviewdfx/hiview/plugins/usage_event_report/service/ |
| H A D | usage_event_report_service.cpp | 42 void UsageEventReportService::InitWorkPath(const char* path)
in InitWorkPath() argument 44 if (path == nullptr) {
in InitWorkPath() 45 HIVIEW_LOGE("invalid path, path is nullptr");
in InitWorkPath() 49 if (strlen(path) >= PATH_MAX || realpath(path, realPath) == nullptr) {
in InitWorkPath() 50 HIVIEW_LOGE("invalid path, path does not exist");
in InitWorkPath() 54 HIVIEW_LOGE("invalid path, path shoul in InitWorkPath() [all...] |
| /base/hiviewdfx/hitrace/ |
| H A D | OAT.xml | 23 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilter is optional,the default value is:
24 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/>
26 "compatibility" is used to check license compatibility in the specified path;
27 "license" is used to check source license header in the specified path;
28 "copyright" is used to check source copyright header in the specified path;
29 "import" is used to check source dependency in the specified path, such as import ... ,include ...
30 "filetype" is used to check file type in the specified path, supported file types: archive, binary
31 "filename" is used to check whether the specified file exists in the specified path(projectroot means the root dir of the project), supported file names: LICENSE, README, README.OpenSource
33 5. policyitem path: This field is used for define the source file scope to apply this policyitem, the "!" prefix means exclude the files. For example, "!.*/lib/.*" means files in lib dir will be exclude while process this policyitem.
37 8. filefilter: Filter rules, the type filename is used to filter file name, the type filepath is used to filter file path [all...] |
| /base/customization/enterprise_device_management/ |
| H A D | OAT.xml | 24 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilter is optional,the default value is: 25 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/> 27 "compatibility" is used to check license compatibility in the specified path; 28 "license" is used to check source license header in the specified path; 29 "copyright" is used to check source copyright header in the specified path; 30 "import" is used to check source dependency in the specified path, such as import ... ,include ... 31 "filetype" is used to check file type in the specified path, supported file types: archive, binary 32 "filename" is used to check whether the specified file exists in the specified path(projectroot means the root dir of the project), supported file names: LICENSE, README, README.OpenSource 34 5. policyitem path: This field is used for define the source file scope to apply this policyitem, the "!" prefix means exclude the files. For example, "!.*/lib/.*" means files in lib dir will be exclude while process this policyitem. 38 8. filefilter: Filter rules, the type filename is used to filter file name, the type filepath is used to filter file path [all...] |
| /base/customization/config_policy/ |
| H A D | OAT.xml | 23 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilter is optional,the default value is: 24 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/> 26 "compatibility" is used to check license compatibility in the specified path; 27 "license" is used to check source license header in the specified path; 28 "copyright" is used to check source copyright header in the specified path; 29 "import" is used to check source dependency in the specified path, such as import ... ,include ... 30 "filetype" is used to check file type in the specified path, supported file types: archive, binary 31 "filename" is used to check whether the specified file exists in the specified path(projectroot means the root dir of the project), supported file names: LICENSE, README, README.OpenSource 33 5. policyitem path: This field is used for define the source file scope to apply this policyitem, the "!" prefix means exclude the files. For example, "!.*/lib/.*" means files in lib dir will be exclude while process this policyitem. 37 8. filefilter: Filter rules, the type filename is used to filter file name, the type filepath is used to filter file path [all...] |