| /third_party/typescript/src/testRunner/unittests/tsserver/ |
| H A D | plugins.ts | 34 const aTs: File = { path: "/a.ts", content: `class c { prop = "hello"; foo() { return this.prop; } }` };
36 path: "/tsconfig.json",
48 service.openClientFile(aTs.path);
55 const aTs: File = { path: "/a.ts", content: `class c { prop = "hello"; foo() { return this.prop; } }` };
57 path: "/tsconfig.json",
62 service.openClientFile(aTs.path);
69 const aTs: File = { path: "/a.ts", content: `class c { prop = "hello"; foo() { return this.prop; } }` };
71 path: "/tsconfig.json",
85 service.openClientFile(aTs.path);
105 const aTs: File = { path [all...] |
| H A D | textStorage.ts | 4 path: "/a/app.ts",
21 const ts1 = new server.TextStorage(host, getDummyScriptInfo(server.asNormalizedPath(f.path)));
22 const ts2 = new server.TextStorage(host, getDummyScriptInfo(server.asNormalizedPath(f.path)));
31 const end = line === lineMap.length - 1 ? f.path.length : lineMap[line + 1];
56 const ts1 = new server.TextStorage(host, getDummyScriptInfo(server.asNormalizedPath(f.path)));
74 const ts1 = new server.TextStorage(host, getDummyScriptInfo(server.asNormalizedPath(f.path)));
82 const ts1 = new server.TextStorage(host, getDummyScriptInfo(server.asNormalizedPath(f.path)));
93 const ts1 = new server.TextStorage(host, getDummyScriptInfo(server.asNormalizedPath(f.path)));
103 path: "/a/large.js",
111 projectService.openClientFile(largeFile.path);
[all...] |
| /third_party/rust/crates/bindgen/ |
| H A D | OAT.xml | 19 basedir: Root dir|the basedir + project path is the real source file location.
28 5. task project: Projects to be checked|the path field define the source root dir of the project.
33 2. policyitem: The fields type|name|path|desc is required|and the fields rule|group|filefilter is optional,the default value is:
34 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/>
36 "compatibility" is used to check license compatibility in the specified path;
37 "license" is used to check source license header in the specified path;
38 "copyright" is used to check source copyright header in the specified path;
39 "import" is used to check source dependency in the specified path|such as import ... ,include ...
40 "filetype" is used to check file type in the specified path|supported file types: archive|binary
41 "filename" is used to check whether the specified file exists in the specified path(suppor [all...] |
| /third_party/rust/crates/io-lifetimes/ |
| H A D | OAT.xml | 19 basedir: Root dir|the basedir + project path is the real source file location.
28 5. task project: Projects to be checked|the path field define the source root dir of the project.
33 2. policyitem: The fields type|name|path|desc is required|and the fields rule|group|filefilter is optional,the default value is:
34 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/>
36 "compatibility" is used to check license compatibility in the specified path;
37 "license" is used to check source license header in the specified path;
38 "copyright" is used to check source copyright header in the specified path;
39 "import" is used to check source dependency in the specified path|such as import ... ,include ...
40 "filetype" is used to check file type in the specified path|supported file types: archive|binary
41 "filename" is used to check whether the specified file exists in the specified path(suppor [all...] |
| /third_party/rust/crates/syn/tests/ |
| H A D | test_round_trip.rs | 40 use std::path::Path; 64 repo::for_each_rust_file(|path| test(path, &failed, abort_after)); in test_round_trip() 72 fn test(path: &Path, failed: &AtomicUsize, abort_after: usize) { in test() 73 let content = fs::read_to_string(path).unwrap(); in test() 79 errorf!("=== {}: syn failed to parse\n{:?}\n", path.display(), msg); in test() 88 let edition = repo::edition(path).parse().unwrap(); in test() 100 path in test() [all...] |
| /third_party/rust/crates/regex/ |
| H A D | OAT.xml | 19 basedir: Root dir|the basedir + project path is the real source file location.
28 5. task project: Projects to be checked|the path field define the source root dir of the project.
33 2. policyitem: The fields type|name|path|desc is required|and the fields rule|group|filefilter is optional,the default value is:
34 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/>
36 "compatibility" is used to check license compatibility in the specified path;
37 "license" is used to check source license header in the specified path;
38 "copyright" is used to check source copyright header in the specified path;
39 "import" is used to check source dependency in the specified path|such as import ... ,include ...
40 "filetype" is used to check file type in the specified path|supported file types: archive|binary
41 "filename" is used to check whether the specified file exists in the specified path(suppor [all...] |
| /third_party/rust/crates/nix/ |
| H A D | OAT.xml | 19 basedir: Root dir|the basedir + project path is the real source file location.
28 5. task project: Projects to be checked|the path field define the source root dir of the project.
33 2. policyitem: The fields type|name|path|desc is required|and the fields rule|group|filefilter is optional,the default value is:
34 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/>
36 "compatibility" is used to check license compatibility in the specified path;
37 "license" is used to check source license header in the specified path;
38 "copyright" is used to check source copyright header in the specified path;
39 "import" is used to check source dependency in the specified path|such as import ... ,include ...
40 "filetype" is used to check file type in the specified path|supported file types: archive|binary
41 "filename" is used to check whether the specified file exists in the specified path(suppor [all...] |
| /third_party/rust/crates/unicode-ident/ |
| H A D | OAT.xml | 19 basedir: Root dir|the basedir + project path is the real source file location.
28 5. task project: Projects to be checked|the path field define the source root dir of the project.
33 2. policyitem: The fields type|name|path|desc is required|and the fields rule|group|filefilter is optional,the default value is:
34 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/>
36 "compatibility" is used to check license compatibility in the specified path;
37 "license" is used to check source license header in the specified path;
38 "copyright" is used to check source copyright header in the specified path;
39 "import" is used to check source dependency in the specified path|such as import ... ,include ...
40 "filetype" is used to check file type in the specified path|supported file types: archive|binary
41 "filename" is used to check whether the specified file exists in the specified path(suppor [all...] |
| /third_party/vk-gl-cts/scripts/khr_util/ |
| H A D | registry_cache.py | 29 scriptPath = os.path.join(os.path.dirname(__file__), "..") 30 sys.path.insert(0, scriptPath) 50 return os.path.basename(self.filename) 79 if not os.path.exists(fullDstPath): 101 fullDstPath = os.path.join(cacheDir, "git") 104 f = open(os.path.join(fullDstPath, filename), "rt") 118 if not os.path.exists(os.path.dirname(dstPath)): 119 os.makedirs(os.path [all...] |
| /third_party/skia/docs/examples/ |
| H A D | bugoftheday.cpp | 7 SkPath path; in REG_FIDDLE() local 8 path.moveTo(10, 10); in REG_FIDDLE() 9 path.moveTo(75, 75); in REG_FIDDLE() 10 path.lineTo(150, 75); in REG_FIDDLE() 11 path.lineTo(150, 150); in REG_FIDDLE() 12 path.lineTo(75, 150); in REG_FIDDLE() 13 canvas->drawPath(path, p); in REG_FIDDLE()
|
| /base/update/packaging_tools/ |
| H A D | utils.py | 34 operation_path = os.path.dirname(os.path.realpath(__file__))
47 SO_PATH = os.path.join(operation_path, 'lib/libpackage.so')
48 SO_PATH_L1 = os.path.join(operation_path, 'lib/libpackageL1.so')
49 DIFF_EXE_PATH = os.path.join(operation_path, 'lib/diff')
50 E2FSDROID_PATH = os.path.join(operation_path, 'lib/e2fsdroid')
224 :param package_path: zip package path
237 os.mkdir(os.path.join(tmp_dir, name))
239 ext_filename = os.path.join(
246 "Unzip package failed! path [all...] |
| /foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/ |
| H A D | bundle_installer_proxy.cpp | 387 for (const auto &path : realPaths) { in StreamInstall() 388 res = WriteHapFileToStream(streamInstaller, path); in StreamInstall() 423 for (const auto &path : realPaths) { in StreamInstall() 424 res = WriteSharedFileToStream(streamInstaller, path, i); in StreamInstall() 444 ErrCode BundleInstallerProxy::WriteFile(const std::string &path, int32_t outputFd) in WriteFile() argument 448 if (!PathToRealPath(path, realPath)) { in WriteFile() 449 LOG_E(BMS_TAG_INSTALLER, "file is not real path, file path: %{private}s", path.c_str()); in WriteFile() 492 const std::string &path) in WriteHapFileToStream() 491 WriteHapFileToStream(sptr<IBundleStreamInstaller> &streamInstaller, const std::string &path) WriteHapFileToStream() argument 519 WriteSignatureFileToStream(sptr<IBundleStreamInstaller> &streamInstaller, const std::string &path, const std::string &moduleName) WriteSignatureFileToStream() argument 547 WriteSharedFileToStream(sptr<IBundleStreamInstaller> &streamInstaller, const std::string &path, uint32_t index) WriteSharedFileToStream() argument 576 WritePgoFileToStream(sptr<IBundleStreamInstaller> &streamInstaller, const std::string &path, const std::string &moduleName) WritePgoFileToStream() argument [all...] |
| /foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
| H A D | image_source_exif_test.cpp | 140 * @tc.desc: test ModifyImageProperty const std::string &path jpeg 180 * @tc.desc: test ModifyImageProperty path 222 std::string path = IMAGE_INPUT_EXIF_JPEG_PATH; in HWTEST_F() local 223 std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(path, opts, errorCode); in HWTEST_F() 238 std::unique_ptr<ImageSource> imageSourceOut = ImageSource::CreateImageSource(path, opts, errorCode); in HWTEST_F() 326 std::string path =IMAGE_REMOVE_EXIF_JPEG_PATH; in HWTEST_F() local 327 const int fd = open(path.c_str(), O_RDWR | S_IRUSR | S_IWUSR); in HWTEST_F() 340 std::unique_ptr<ImageSource> imageSourceNew = ImageSource::CreateImageSource(path, opts, errorCode); in HWTEST_F() 354 std::string path = IMAGE_REMOVE_EXIF_PNG_PATH; in HWTEST_F() local 356 std::unique_ptr<ImageSource> imageSource = ImageSource::CreateImageSource(path, opt in HWTEST_F() 377 std::string path = IMAGE_REMOVE_EXIF_WEBP_PATH; HWTEST_F() local 402 std::string path = IMAGE_REMOVE_HW_EXIF_PATH; HWTEST_F() local 426 std::string path = IMAGE_REMOVE_EXIF_HEIF_PATH; HWTEST_F() local 451 std::string path = IMAGE_REMOVE_NO_EXIF_JPEG_PATH; HWTEST_F() local 467 std::string path = IMAGE_REMOVE_EXIF_JPEG_PATH; HWTEST_F() local 496 std::string path = IMAGE_REMOVE_EXIF_PNG_PATH; HWTEST_F() local 524 std::string path = IMAGE_REMOVE_EXIF_WEBP_PATH; HWTEST_F() local 553 std::string path = IMAGE_REMOVE_EXIF_HEIF_PATH; HWTEST_F() local 582 std::string path = IMAGE_REMOVE_EXIF_DNG_PATH; HWTEST_F() local [all...] |
| /test/xts/acts/ai/nncore/common/ |
| H A D | nncore_utils.cpp | 362 PathType CheckPath(const std::string &path) in CheckPath() argument 364 if (path.empty()) { in CheckPath() 365 LOGI("CheckPath: path is null"); in CheckPath() 369 if (stat(path.c_str(), &buf) == 0) { in CheckPath() 378 LOGI("%s not found", path.c_str()); in CheckPath() 382 bool DeleteFile(const std::string &path) in DeleteFile() argument 384 if (path.empty()) { in DeleteFile() 385 LOGI("DeleteFile: path is null"); in DeleteFile() 388 if (CheckPath(path) == PathType::NOT_FOUND) { in DeleteFile() 389 LOGI("not found: %s", path in DeleteFile() 426 DeleteFolder(const std::string &path) DeleteFolder() argument 462 CreateFolder(const std::string &path) CreateFolder() argument [all...] |
| /test/xts/acts/commonlibrary/thirdparty/musl/entry/src/ohosTest/ets/test/ |
| H A D | StatNdk.test.ets | 65 let path = filesDir + '/fstat64.txt';
66 let result: number = stat.fstat64(path);
85 let path = filesDir + '/fstatat.txt';
86 let result: number = stat.fstatat(path);
106 let path = filesDir + '/fstatat64.txt';
107 let result: number = stat.fstatat64(path);
169 let path = filesDir + '/test.txt';
172 let result: number = stat.mkNodAt(dirFp, path, mode);
192 let path = filesDir + '/test.txt';
195 let result: number = stat.mkNodAt(dirFp, path, mod [all...] |
| /third_party/vk-gl-cts/external/vulkan-docs/src/images/ |
| H A D | primitive_topology_line_strip_with_adjacency.svg | 21 <inkscape:path-effect 23 id="path-effect11628" 31 <inkscape:path-effect 33 id="path-effect11624" 41 <inkscape:path-effect 49 id="path-effect11620" 51 <inkscape:path-effect 59 id="path-effect11616" 69 <path 75 <inkscape:path [all...] |
| H A D | primitive_topology_line_strip_with_adjacency_last.svg | 21 <inkscape:path-effect 23 id="path-effect11628" 31 <inkscape:path-effect 33 id="path-effect11624" 41 <inkscape:path-effect 49 id="path-effect11620" 51 <inkscape:path-effect 59 id="path-effect11616" 69 <path 75 <inkscape:path [all...] |
| /third_party/parse5/test/data/parser-feedback/ |
| H A D | tests10.test | 1551 "description": "<svg></path>", 1552 "input": "<svg></path>", 1561 "path" 1592 "description": "<div><svg><path></div>a", 1593 "input": "<div><svg><path></div>a", 1607 "path", 1622 "description": "<div><svg><path></svg><path>", 1623 "input": "<div><svg><path></svg><path>", [all...] |
| /third_party/rust/crates/syn/codegen/src/ |
| H A D | parse.rs | 7 use std::path::{Path, PathBuf}; 135 syn::Type::Path(TypePath { qself: None, path }) => { in introspect_type() 136 let last = path.segments.last().unwrap(); in introspect_type() 185 if mac.path.segments.last().unwrap().ident == "Token" => in introspect_type() 200 if !attr.path().is_ident("cfg") { in introspect_features() 228 if attr.path().is_ident("non_exhaustive") { in is_non_exhaustive() 237 if attr.path().is_ident("doc") && attr.parse_args::<parsing::kw::hidden>().is_ok() { in is_doc_hidden() 284 Path, Toke [all...] |
| /device/soc/rockchip/common/sdk_linux/scripts/ |
| H A D | resource_tool.c | 593 char path[MAX_INDEX_ENTRY_PATH_LEN]; member 614 char path[MAX_INDEX_ENTRY_PATH_LEN]; member 643 static const char *fix_path(const char *path) in fix_path() argument 645 if (!memcmp(path, "./", 2)) { in fix_path() 646 return path + 2; in fix_path() 648 return path; in fix_path() 800 static void tests_dump_file(const char *path, void *data, int len) in tests_dump_file() argument 802 FILE *file = fopen(path, "wb"); in tests_dump_file() 825 tests_dump_file(content->path, content->load_addr, content->content_size); in load_content() 834 tests_dump_file(content->path, dat in load_content_data() 1220 mkdirs(char *path) mkdirs() argument 1247 char path[MAX_INDEX_ENTRY_PATH_LEN * 2 + 1]; dump_file() local 1378 get_file_size(const char *path) get_file_size() argument 1488 const char *path = files[i]; write_index_tbl() local [all...] |
| /device/soc/rockchip/rk3588/kernel/scripts/ |
| H A D | resource_tool.c | 610 char path[MAX_INDEX_ENTRY_PATH_LEN]; member 631 char path[MAX_INDEX_ENTRY_PATH_LEN]; member 660 static const char *fix_path(const char *path) in fix_path() argument 662 if (!memcmp(path, "./", 2)) { in fix_path() 663 return path + 2; in fix_path() 665 return path; in fix_path() 811 static void tests_dump_file(const char *path, void *data, int len) in tests_dump_file() argument 813 FILE *file = fopen(path, "wb"); in tests_dump_file() 834 tests_dump_file(content->path, content->load_addr, content->content_size); in load_content() 845 tests_dump_file(content->path, dat in load_content_data() 1240 mkdirs(char *path) mkdirs() argument 1267 char path[MAX_INDEX_ENTRY_PATH_LEN * 2 + 1]; dump_file() local 1397 get_file_size(const char *path) get_file_size() argument 1504 const char *path = files[i]; write_index_tbl() local [all...] |
| /third_party/toybox/lib/ |
| H A D | xwrap.c | 206 // with a path isn't a builtin, so /bin/sh won't match the builtin sh. 358 void xaccess(char *path, int flags) in xaccess() argument 360 if (access(path, flags)) perror_exit("Can't access '%s'", path); in xaccess() 364 void xunlink(char *path) in xunlink() argument 366 if (unlink(path)) perror_exit("unlink '%s'", path); in xunlink() 372 int xcreate_stdio(char *path, int flags, int mode) in xcreate_stdio() argument 374 int fd = open(path, (flags^O_CLOEXEC)&~WARN_ONLY, mode); in xcreate_stdio() 376 if (fd == -1) ((mode&WARN_ONLY) ? perror_msg_raw : perror_exit_raw)(path); in xcreate_stdio() 381 xopen_stdio(char *path, int flags) xopen_stdio() argument 438 xcreate(char *path, int flags, int mode) xcreate() argument 444 xopen(char *path, int flags) xopen() argument 450 openro(char *path, int flags) openro() argument 458 xopenro(char *path) xopenro() argument 473 xfopen(char *path, char *mode) xfopen() argument 521 xstat(char *path, struct stat *st) xstat() argument 529 xabspath(char *path, int exact) xabspath() argument 651 xchdir(char *path) xchdir() argument 656 xchroot(char *path) xchroot() argument [all...] |
| /third_party/eudev/src/libudev/ |
| H A D | libudev-device.c | 49 * by their syspath, every device has exactly one path in the kernel sys 489 char path[UTIL_PATH_SIZE]; in udev_device_add_property_from_string_parse() local 491 strscpyl(path, sizeof(path), "/sys", &property[8], NULL); in udev_device_add_property_from_string_parse() 492 udev_device_set_syspath(udev_device, path); in udev_device_add_property_from_string_parse() 748 * @syspath: sys device path including sys directory 752 * path to the device, including the sys mount point. 762 char path[UTIL_PATH_SIZE]; in udev_device_new_from_syspath() local 777 /* path starts in sys */ in udev_device_new_from_syspath() 784 /* path i in udev_device_new_from_syspath() 842 char path[UTIL_PATH_SIZE]; udev_device_new_from_devnum() local 958 char path[UTIL_PATH_SIZE]; udev_device_new_from_subsystem_sysname() local 1062 char path[UTIL_PATH_SIZE]; device_new_from_parent() local 1465 char path[UTIL_PATH_SIZE]; udev_device_get_sysattr_value() local 1549 char path[UTIL_PATH_SIZE]; udev_device_set_sysattr_value() local 1637 char path[UTIL_PATH_SIZE]; udev_device_sysattr_list_read() local [all...] |
| /foundation/bundlemanager/bundle_framework/common/utils/src/ |
| H A D | bundle_file_util.cpp | 51 APP_LOGE("bundle file path invalid"); in CheckFilePath() 64 APP_LOGE("file is not real path"); in CheckFilePath() 68 APP_LOGE("access failed path: %{public}s errno %{public}d", realPath.c_str(), errno); in CheckFilePath() 84 APP_LOGD("check file path"); in CheckFilePath() 96 APP_LOGD("path is a file"); in CheckFilePath() 114 APP_LOGD("finish check file path"); in CheckFilePath() 120 APP_LOGD("path is %{public}s, support suffix is %{public}s", fileName.c_str(), extensionName.c_str()); in CheckFileType() 142 APP_LOGE("path length %{public}zu too long", fileName.size()); in CheckFileName() 164 APP_LOGD("GetHapFilesFromBundlePath with path is %{public}s", currentBundlePath.c_str()); in GetHapFilesFromBundlePath() 188 APP_LOGE("invalid hap path in GetHapFilesFromBundlePath() 205 DeleteDir(const std::string &path) DeleteDir() argument [all...] |
| /foundation/filemanagement/user_file_service/utils/ |
| H A D | file_util.h | 84 static int CheckFsStatByPath(const string &path, uv_fs_t* req)
in CheckFsStatByPath() argument 86 int ret = uv_fs_stat(nullptr, req, path.c_str(), nullptr);
in CheckFsStatByPath() 88 HILOG_ERROR("Failed to stat file with path");
in CheckFsStatByPath() 94 static bool GetStat(const string &path, StatEntity &statEntity)
in GetStat() argument 102 auto err = CheckFsStatByPath(path, stat_req.get());
in GetStat() 110 static bool CheckDir(const string &path)
in CheckDir() argument 113 if (stat(path.c_str(), &fileInformation) == 0 && (fileInformation.st_mode & S_IFDIR)) {
in CheckDir() 121 static tuple<bool, int> Access(const string &path)
in Access() argument 128 int ret = uv_fs_access(nullptr, access_req.get(), path.c_str(), 0, nullptr);
in Access() 130 HILOG_ERROR("Failed to access file by path");
in Access() 137 Mkdir(const string &path) Mkdir() argument 270 ScanDir(const string &path) ScanDir() argument [all...] |