| /third_party/skia/gm/ |
| H A D | arcto.cpp | 37 <path d="M 50,100 A50,50, 0,0,1, 150,200" style="stroke:#660000; fill:none; stroke-width:2" /> 38 <path d="M100,100 A50,100, 0,0,1, 200,200" style="stroke:#660000; fill:none; stroke-width:2" /> 39 <path d="M150,100 A50,50, 45,0,1, 250,200" style="stroke:#660000; fill:none; stroke-width:2" /> 40 <path d="M200,100 A50,100, 45,0,1, 300,200" style="stroke:#660000; fill:none; stroke-width:2" /> 42 <path d="M150,200 A50,50, 0,1,0, 150,300" style="stroke:#660000; fill:none; stroke-width:2" /> 43 <path d="M200,200 A50,100, 0,1,0, 200,300" style="stroke:#660000; fill:none; stroke-width:2" /> 44 <path d="M250,200 A50,50, 45,1,0, 250,300" style="stroke:#660000; fill:none; stroke-width:2" /> 45 <path d="M300,200 A50,100, 45,1,0, 300,300" style="stroke:#660000; fill:none; stroke-width:2" /> 47 <path d="M250,400 A120,80 0 0,0 250,500" 50 <path 106 SkPath path; DEF_SIMPLE_GM() local 114 SkPathBuilder path; DEF_SIMPLE_GM() local 156 SkPath path; DEF_SIMPLE_GM() local 223 SkPath path; DEF_SIMPLE_GM() local [all...] |
| /third_party/skia/infra/bots/recipe_modules/build/examples/full.expected/ |
| H A D | Build-Mac-Clang-x86_64-Debug-ASAN.json | 46 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 64 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 83 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 101 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 118 "PATH": "<PATH> [all...] |
| /base/global/system_resources/systemres/main/resources/base/media/ |
| H A D | ohos_ic_normal_white_grid_zip.svg | 5 <path d="M16.4285714,0 L196.612403,0 L196.612403,0 L196.468677,65.674268 C196.446576,75.773165 204.615433,83.9778551 214.71433,83.9999562 C214.727669,83.9999854 214.741008,84 214.754347,84 L280.428571,84 L280.428571,84 L280.428571,304 C280.428571,312.836556 273.265127,320 264.428571,320 L16.4285714,320 C7.59201543,320 0.428571429,312.836556 0.428571429,304 L0.428571429,16 C0.428571429,7.163444 7.59201543,-1.53107837e-16 16.4285714,0 Z" id="矩形备份-100" fill="#61A4FF"></path> 6 <path d="M196.428571,0 L280.428571,84 L214.714286,84 C204.615365,84 196.428571,75.8132069 196.428571,65.7142857 L196.428571,0 L196.428571,0 Z" id="矩形备份-101" fill="#A2C9FF"></path> 8 <path d="M82.1470588,30.1764706 L98.0172917,30.1764706 C106.650618,30.1764706 113.649312,23.4564435 113.649312,15.16687 C113.649312,6.8772965 106.650618,-4.52657519e-13 98.0172917,-4.52657519e-13 L82.1470588,-4.52657519e-13 L82.1470588,51.6751318" id="路径" stroke-linejoin="round"></path> 13 <path d="M16,64 L41,64 C42.6568542,64 44,65.3431458 44,67 L44,77 C44,78.6568542 42.6568542,80 41,80 L16,80 L16,80 L16,64 Z" id="Rectangle-16-Copy-2"></path> 14 <path d="M16,96 L41,96 C42.6568542,96 44,97.3431458 44,99 L44,112 L44,112 L16,112 L16,96 Z" id="Rectangle-16-Copy-4"></path> [all...] |
| /base/security/code_signature/interfaces/innerkits/code_sign_utils/include/ |
| H A D | code_sign_utils.h | 46 * @param entryPath map from entryname in hap to real path on disk
47 * @param signatureFile signature file path
55 * @param path hap real path on disk
56 * @param entryPath map from entryname in hap to real path on disk
60 int32_t EnforceCodeSignForApp(const std::string &path, const EntryMap &entryPathMap, FileType type);
65 * @param path hap real path on disk
66 * @param entryPath map from entryname in hap to real path on disk
70 int32_t EnforceCodeSignForAppWithOwnerId(const std::string &ownerId, const std::string &path,
[all...] |
| /base/security/selinux_adapter/framework/policycoreutils/src/ |
| H A D | selinux_restorecon.c | 67 int RestoreconCommon(const char *path, unsigned int flag, unsigned int nthreads) in RestoreconCommon() argument 74 return selinux_restorecon_parallel(path, flag, nthreads); in RestoreconCommon() 85 static int RestoreconSb(const char *path, char *newSecontext) in RestoreconSb() argument 88 if (lgetfilecon(path, &oldSecontext) < 0) { in RestoreconSb() 89 selinux_log(SELINUX_ERROR, "Get current secontext failed on: %s, errno: %s\n", path, strerror(errno)); in RestoreconSb() 94 if (lsetfilecon(path, newSecontext) < 0) { in RestoreconSb() 95 selinux_log(SELINUX_ERROR, "Set selinux context failed on: %s, errno: %s\n", path, strerror(errno)); in RestoreconSb() 158 int Restorecon(const char *path) in Restorecon() argument 160 return RestoreconCommon(path, SELINUX_RESTORECON_REALPATH, 1); in Restorecon() 163 int RestoreconRecurse(const char *path) in RestoreconRecurse() argument 168 RestoreconRecurseParallel(const char *path, unsigned int nthreads) RestoreconRecurseParallel() argument 173 RestoreconRecurseForce(const char *path) RestoreconRecurseForce() argument 180 RestoreconFromParentDir(const char *path) RestoreconFromParentDir() argument [all...] |
| /base/update/updater/interfaces/kits/misc_info/ |
| H A D | misc_info.cpp | 24 bool WriteUpdaterMessage(const std::string &path, const UpdateMessage &boot)
in WriteUpdaterMessage() argument 26 char *realPath = realpath(path.c_str(), NULL);
in WriteUpdaterMessage() 56 bool ReadUpdaterMessage(const std::string &path, UpdateMessage &boot)
in ReadUpdaterMessage() argument 58 char *realPath = realpath(path.c_str(), NULL);
in ReadUpdaterMessage() 92 auto path = GetBlockDeviceByMountPoint(MISC_PATH);
in WriteUpdaterMiscMsg() local 93 if (path.empty()) {
in WriteUpdaterMiscMsg() 95 path = MISC_FILE;
in WriteUpdaterMiscMsg() 97 LOG(INFO) << "WriteUpdaterMiscMsg::misc path : " << path;
in WriteUpdaterMiscMsg() 98 return WriteUpdaterMessage(path, boo in WriteUpdaterMiscMsg() 103 auto path = GetBlockDeviceByMountPoint(MISC_PATH); ReadUpdaterMiscMsg() local 113 auto path = GetBlockDeviceByMountPoint(MISC_PATH); WriteUpdaterParaMisc() local 155 auto path = GetBlockDeviceByMountPoint(MISC_PATH); ReadUpdaterParaMisc() local [all...] |
| /foundation/ability/ability_runtime/frameworks/native/ability/native/ |
| H A D | data_uri_utils.cpp | 47 * @brief Attaches the given ID to the end of the path component of the given URI. 54 // 1. get Path in AttachId() 55 string path = const_cast<Uri &>(dataUri).GetPath(); in AttachId() local 56 if (path.empty()) { in AttachId() 75 // new path string (lastPath+SEPARATOR+number) in AttachId() 89 * @brief Obtains the ID attached to the end of the path component of the given URI. 95 // 1. get Path in GetId() 96 string path = const_cast<Uri &>(dataUri).GetPath(); in GetId() local 97 if (path.empty()) { in GetId() 113 * @brief Deletes the ID from the end of the path componen 150 string path = const_cast<Uri &>(dataUri).GetPath(); IsAttachedId() local 190 string path = const_cast<Uri &>(dataUri).GetPath(); UriUpateLastPath() local [all...] |
| /foundation/multimodalinput/input/service/libinput_adapter/src/ |
| H A D | libinput_adapter.cpp | 100 .open_restricted = [](const char *path, int32_t flags, void *user_data)->int32_t { 101 if (path == nullptr) { 102 MMI_HILOGWK("Input device path is nullptr"); 106 if (realpath(path, realPath) == nullptr) { 108 MMI_HILOGWK("The error path is %{public}s", path); 121 std::string str_path(path); 159 return hotplugDetector_.Init([this](std::string path) { OnDeviceAdded(std::move(path)); }, in Init() 160 [this](std::string path) { OnDeviceRemove in Init() 223 OnDeviceAdded(std::string path) OnDeviceAdded() argument 248 OnDeviceRemoved(std::string path) OnDeviceRemoved() argument [all...] |
| /third_party/lzma/CPP/Common/ |
| H A D | Wildcard.h | 15 void SplitPathToParts(const UString &path, UStringVector &pathParts);
16 void SplitPathToParts_2(const UString &path, UString &dirPrefix, UString &name);
17 void SplitPathToParts_Smart(const UString &path, UString &dirPrefix, UString &name); // ignores dir delimiter at the end of (path)
19 UString ExtractDirPrefixFromPath(const UString &path);
20 UString ExtractFileNameFromPath(const UString &path);
22 bool DoesNameContainWildcard(const UString &path);
113 int FindSubNode(const UString &path) const;
116 // void AddItem(bool include, const UString &path, const CCensorPathProps &props);
135 CheckPathVect() doesn't check path i 175 UString Path; global() member 211 AddPreItem_NoWildcard(const UString &path) AddPreItem_NoWildcard() argument [all...] |
| /third_party/skia/tools/perf-canvaskit-puppeteer/ |
| H A D | path-transform.html | 2 moving a complex path. May be related to caching an alpha mask of the path at 8 - snap: Round all path translations to the nearest integer. This means subpixel coordinate. 10 - opacity: Use a transparent color to fill the path. If this option is 12 - translate: The path will be randomly translated every frame. 13 - rotate: The path will be randomly rotated every frame. 18 <title>Complex Path translation Perf</title> 32 #complex-path { 47 <canvas id=complex-path width=1000 height=1000></canvas> 84 // Path i [all...] |
| /third_party/typescript/src/harness/ |
| H A D | vpathUtil.ts | 51 /** Path must be a valid directory root */
54 /** Path must be a absolute */
57 /** Path may be relative or absolute */
60 /** Path may only be a filename */
103 export function validate(path: string, flags: ValidationFlags = ValidationFlags.RelativeOrAbsolute) {
104 const components = parse(path);
105 const trailing = hasTrailingSeparator(path);
110 export function isDeclaration(path: string) {
111 return ts.isDeclarationFileName(path);
114 export function isSourceMap(path [all...] |
| /third_party/typescript/src/testRunner/unittests/tsserver/ |
| H A D | reload.ts | 5 path: "/a/b/app.ts",
9 path: "/a/b/app.tmp",
20 arguments: { file: f1.path }
28 arguments: { file: f1.path, tmpfile: tmp.path }
33 const snap1 = projectServiice.getScriptInfo(f1.path)!.getSnapshot();
41 arguments: { file: f1.path }
45 const snap2 = projectServiice.getScriptInfo(f1.path)!.getSnapshot();
52 path: "/a/b/app.ts",
56 path [all...] |
| H A D | symLinks.ts | 7 path: `${folderA}/a.ts`,
11 path: `${folderA}/tsconfig.json`,
15 path: `${folderA}/c`,
22 path: `${folderB}/b.ts`,
26 path: `${folderB}/tsconfig.json`,
30 path: `${folderB}/c`,
37 path: `${folderC}/fc.ts`,
65 path: `${recognizersDateTime}/src/datetime/baseDate.ts`,
71 path: recognizerDateTimeTsconfigPath,
77 path [all...] |
| /third_party/vk-gl-cts/external/vulkancts/scripts/ |
| H A D | gen_framework_c.py | 28 scriptPath = os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts") 29 sys.path.insert(0, scriptPath) 34 VULKAN_HEADERS_INCLUDE_DIR = os.path.join(os.path.dirname(__file__), "..", "..", "vulkan-docs", "src", "include") 35 VULKAN_H = { "" : [ os.path.join(VULKAN_HEADERS_INCLUDE_DIR, "vk_video", "vulkan_video_codecs_common.h"), 36 os.path.join(VULKAN_HEADERS_INCLUDE_DIR, "vk_video", "vulkan_video_codec_h264std.h"), 37 os.path.join(VULKAN_HEADERS_INCLUDE_DIR, "vk_video", "vulkan_video_codec_h264std_encode.h"), 38 os.path.join(VULKAN_HEADERS_INCLUDE_DIR, "vk_video", "vulkan_video_codec_h265std.h"), 39 os.path [all...] |
| H A D | ohos_gen_framework_c.py | 29 sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts")) 34 VULKAN_HEADERS_INCLUDE_DIR = os.path.join(os.path.dirname(__file__), "..", "..", "vulkan-docs", "src", "include") 35 VULKAN_H = { "" : [ os.path.join(VULKAN_HEADERS_INCLUDE_DIR, "vk_video", "vulkan_video_codecs_common.h"), 36 os.path.join(VULKAN_HEADERS_INCLUDE_DIR, "vk_video", "vulkan_video_codec_h264std.h"), 37 os.path.join(VULKAN_HEADERS_INCLUDE_DIR, "vk_video", "vulkan_video_codec_h264std_encode.h"), 38 os.path.join(VULKAN_HEADERS_INCLUDE_DIR, "vk_video", "vulkan_video_codec_h265std.h"), 39 os.path [all...] |
| /test/testfwk/developer_test/local_coverage/resident_service/ |
| H A D | init_gcov.py | 34 sys.localcoverage_path = os.path.join(current_path, "..") 35 sys.path.insert(0, sys.localcoverage_path) 42 recv_path = os.path.join(developer_path, "local_coverage/resident_service/resources") 45 recv_restores_path = os.path.join(recv_path, "restores_environment") 46 if not os.path.exists(recv_restores_path): 48 recv_restores_name = os.path.join(recv_restores_path, "init.cfg") 49 if not os.path.exists(recv_restores_name): 54 cfg_file_path = os.path.join(recv_path, "init.cfg") 55 if os.path.exists(cfg_file_path): 68 if os.path [all...] |
| /third_party/lzma/CPP/Windows/ |
| H A D | FileLink.cpp | 60 1) there is NUL wchar after path
62 Substitute Path
63 Print Path
67 1) there is no NUL wchar after path
69 Print Path
70 Substitute Path
117 static void WriteString(Byte *dest, const wchar_t *path)
in WriteString() argument 121 wchar_t c = *path++;
in WriteString() 129 bool FillLinkData(CByteBuffer &dest, const wchar_t *path, bool isSymLink, bool isWSL)
in FillLinkData() argument 131 bool isAbs = IsAbsolutePath(path);
in FillLinkData() 450 GetReparseData(CFSTR path, CByteBuffer &reparseData, BY_HANDLE_FILE_INFORMATION *fileInfo) GetReparseData() argument 469 CreatePrefixDirOfFile(CFSTR path) CreatePrefixDirOfFile() argument 484 OutIoReparseData(DWORD controlCode, CFSTR path, void *data, DWORD size) OutIoReparseData() argument 499 SetReparseData(CFSTR path, bool isDir, const void *data, DWORD size) SetReparseData() argument 530 DeleteReparseData(CFSTR path) DeleteReparseData() argument 559 GetReparseData(CFSTR path, CByteBuffer &reparseData) GetReparseData() argument [all...] |
| /third_party/node/tools/ |
| H A D | install.py | 19 path = os.path.join(*args) 20 return os.path.abspath(path) 26 def try_unlink(path): 28 os.unlink(path) 35 try_mkdir_r(os.path.dirname(link_path)) 38 def try_mkdir_r(path): 40 os.makedirs(path) 44 def try_rmdir_r(path) [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/subzero/bloat/ |
| H A D | bloat.py | 56 Yields: (symbol name, symbol type, symbol size, source file path). 57 Path may be None if nm couldn't figure out the source file. 79 path = match.group(4) 80 yield sym, type, size, path 209 for sym, type, size, path in symbols: 210 if path: 211 path = os.path.normpath(path) 212 if strip_prefix and path 424 path = '' global() variable [all...] |
| /third_party/python/Lib/test/ |
| H A D | test_glob.py | 15 return os.path.normpath(os.path.join(self.tempdir, *parts)) 18 return [os.path.join(self.tempdir, *parts) for parts in tuples] 22 base, file = os.path.split(filename) 23 if not os.path.exists(base): 42 os.symlink(os.path.join('a', 'bcd'), self.norm('sym3')) 57 pattern = os.path.join(*parts) 58 p = os.path.join(self.tempdir, pattern) 70 self.assertFalse(os.path.isabs(x), x) 75 self.assertCountEqual([os.path [all...] |
| /third_party/skia/infra/bots/recipe_modules/flavor/examples/full.expected/ |
| H A D | Perf-Android-Clang-Pixel2XL-GPU-Adreno540-arm64-Release-All-Android_Skpbench_Mskp.json | 26 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 42 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 51 "\nimport subprocess\nimport sys\n\n# Remove the path.\nadb = sys.argv[1]\npath = sys.argv[2]\nprint('Removing %s' % path)\ncmd = [adb, 'shell', 'rm', '-rf', path]\nprint(' '.join(cmd))\nsubprocess.check_call(cmd)\n\n# Verify that the path was deleted.\nprint('Checking for existence of %s' % path)\ncmd = [adb, 'shell', 'ls', path]\nprin [all...] |
| /foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/ |
| H A D | thumbnail_source_loading.cpp | 92 std::string GetLocalThumbnailPath(const std::string &path, const std::string &key)
in GetLocalThumbnailPath() argument 94 if (path.length() < ROOT_MEDIA_DIR.length()) {
in GetLocalThumbnailPath() 98 return LOCAL_MEDIA_PATH + ((key == "") ? "" : ".thumbs/") + path.substr(ROOT_MEDIA_DIR.length()) + suffix;
in GetLocalThumbnailPath() 101 std::string GetLocalKeyFrameThumbnailPath(const std::string &path, const std::string &key, const std::string &timeStamp)
in GetLocalKeyFrameThumbnailPath() argument 103 if (path.length() < ROOT_MEDIA_DIR.length()) {
in GetLocalKeyFrameThumbnailPath() 107 return LOCAL_MEDIA_PATH + ((key == "") ? "" : ".thumbs/") + path.substr(ROOT_MEDIA_DIR.length()) +
in GetLocalKeyFrameThumbnailPath() 111 std::string GetLcdExPath(const std::string &path)
in GetLcdExPath() argument 113 if (path.length() < ROOT_MEDIA_DIR.length()) {
in GetLcdExPath() 117 return ROOT_MEDIA_DIR + ".thumbs/" + path.substr(ROOT_MEDIA_DIR.length()) + suffix;
in GetLcdExPath() 120 bool IsLocalSourceAvailable(const std::string& path)
in IsLocalSourceAvailable() argument 144 IsCloudSourceAvailable(const std::string& path) IsCloudSourceAvailable() argument [all...] |
| /third_party/ltp/include/ |
| H A D | tst_safe_macros.h | 29 #define SAFE_ACCESS(path, mode) \ 30 safe_access(__FILE__, __LINE__, (path), (mode)) 32 #define SAFE_BASENAME(path) \ 33 safe_basename(__FILE__, __LINE__, NULL, (path)) 35 #define SAFE_CHDIR(path) \ 36 safe_chdir(__FILE__, __LINE__, NULL, (path)) 46 #define SAFE_CHROOT(path) \ 47 safe_chroot(__FILE__, __LINE__, (path)) 48 int safe_chroot(const char *file, const int lineno, const char *path); 50 #define SAFE_DIRNAME(path) \ 321 safe_truncate(const char *file, const int lineno, const char *path, off_t length) safe_truncate() argument 342 safe_stat(const char *file, const int lineno, const char *path, struct stat *buf) safe_stat() argument 383 safe_lstat(const char *file, const int lineno, const char *path, struct stat *buf) safe_lstat() argument 404 safe_statfs(const char *file, const int lineno, const char *path, struct statfs *buf) safe_statfs() argument [all...] |
| /third_party/pcre2/ |
| H A D | OAT.xml | 25 <policyitem type="copyright" name="University of Cambridge" path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/> 26 <policyitem type="copyright" name="北京万里红科技有限公司" path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/> 27 <policyitem type="copyright" name="Huawei Device Co., Ltd." path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/> 28 <policyitem type="copyright" name="Steven G. Johnson <stevenj@alum.mit.edu>" path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/> 29 <policyitem type="copyright" name="Daniel Richard G. <skunk@iSKUNK.ORG>" path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/> 30 <policyitem type="copyright" name="X Consortium" path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/> 31 <policyitem type="copyright" name="Free Software Foundation, Inc" path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/> 32 <policyitem type="copyright" name=" Free Software" path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/> 33 <policyitem type="compatibility" name="GPLStyleLicense" path="pcre2/missing" desc="协议为 Autoconf/Libtool exception to GPL 2.0 or later,满足该协议的约束,不受GPL协议影响。"/> 34 <policyitem type="license" name="GPLStyleLicense" path [all...] |
| /third_party/typescript/src/testRunner/unittests/ |
| H A D | paths.ts | 6 assert.strictEqual(ts.normalizeSlashes("\\\\server\\path"), "//server/path");
11 assert.strictEqual(ts.getRootLength("/path"), 1);
21 assert.strictEqual(ts.getRootLength("file:///path"), 8);
24 assert.strictEqual(ts.getRootLength("file:///c:/path"), 11);
27 assert.strictEqual(ts.getRootLength("file:///c%3a/path"), 13);
30 assert.strictEqual(ts.getRootLength("file:///c%3A/path"), 13);
33 assert.strictEqual(ts.getRootLength("file://localhost/path"), 17);
36 assert.strictEqual(ts.getRootLength("file://localhost/c:/path"), 20);
39 assert.strictEqual(ts.getRootLength("file://localhost/c%3a/path"), 2 [all...] |