| /third_party/skia/infra/bots/recipe_modules/flavor/ |
| H A D | default.py | 45 resource_dir=self.m.path['start_dir'].join('skia', 'resources'), 46 images_dir=self.m.path['start_dir'].join('skimage'), 47 lotties_dir=self.m.path['start_dir'].join('lottie-samples'), 48 skp_dir=self.m.path['start_dir'].join('skp'), 49 svg_dir=self.m.path['start_dir'].join('svg'), 50 mskp_dir=self.m.path['start_dir'].join('mskp'), 52 texttraces_dir=self.m.path['start_dir'].join('text_blob_traces')) 56 """Like os.path.join(), but for paths on a connected device.""" 57 return self.m.path.join(*args) 89 def create_clean_device_dir(self, path) [all...] |
| /third_party/rust/crates/serde/serde_derive_internals/src/ |
| H A D | receiver.rs | 8 Path, PathArguments, QSelf, ReturnType, Token, Type, TypeParamBound, TypePath, WherePredicate, 31 fn self_to_qself(&self, qself: &mut Option<QSelf>, path: &mut Path) { in self_to_qself() 32 if path.leading_colon.is_some() || path.segments[0].ident != "Self" { in self_to_qself() 36 if path.segments.len() == 1 { in self_to_qself() 37 self.self_to_expr_path(path); in self_to_qself() 41 let span = path.segments[0].ident.span(); in self_to_qself() 44 ty: Box::new(Type::Path(self.self_ty(span))), in self_to_qself() 50 path in self_to_qself() [all...] |
| /third_party/rust/crates/serde/serde_derive/src/internals/ |
| H A D | receiver.rs | 8 Path, PathArguments, QSelf, ReturnType, Token, Type, TypeParamBound, TypePath, WherePredicate, 31 fn self_to_qself(&self, qself: &mut Option<QSelf>, path: &mut Path) { in self_to_qself() 32 if path.leading_colon.is_some() || path.segments[0].ident != "Self" { in self_to_qself() 36 if path.segments.len() == 1 { in self_to_qself() 37 self.self_to_expr_path(path); in self_to_qself() 41 let span = path.segments[0].ident.span(); in self_to_qself() 44 ty: Box::new(Type::Path(self.self_ty(span))), in self_to_qself() 50 path in self_to_qself() [all...] |
| /foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
| H A D | rs_profiler_utils.cpp | 243 std::string Utils::GetRealPath(const std::string& path) in GetRealPath() argument 246 if (!PathToRealPath(path, realPath)) { in GetRealPath() 247 HRPE("PathToRealPath fails on %s !", path.data()); in GetRealPath() 258 std::string Utils::NormalizePath(const std::string& path) in NormalizePath() argument 260 return (path.rfind('/') != path.size() - 1) ? path + "/" : path; in NormalizePath() 263 std::string Utils::GetFileName(const std::string& path) in GetFileName() argument 266 return std::filesystem::path(pat in GetFileName() 277 GetDirectory(const std::string& path) GetDirectory() argument 291 IsDirectory(const std::string& path) IsDirectory() argument 301 IterateDirectory(const std::string& path, std::vector<std::string>& files) IterateDirectory() argument 338 LoadLine(const std::string& path, std::string& line) LoadLine() argument 353 LoadLines(const std::string& path, std::vector<std::string>& lines) LoadLines() argument 371 LoadContent(const std::string& path, std::string& content) LoadContent() argument 391 IsRecordInMemoryFile(const std::string& path) IsRecordInMemoryFile() argument 411 FileExists(const std::string& path) FileExists() argument 424 FileDelete(const std::string& path) FileDelete() argument 439 FileOpen(const std::string& path, const std::string& options) FileOpen() argument [all...] |
| /foundation/filemanagement/app_file_service/utils/src/b_filesystem/ |
| H A D | b_dir.cpp | 41 static bool IsEmptyDirectory(const string &path) in IsEmptyDirectory() argument 43 DIR *dir = opendir(path.c_str()); in IsEmptyDirectory() 60 static tuple<ErrCode, map<string, struct stat>, map<string, size_t>> GetFile(const string &path, off_t size = -1) in GetFile() argument 65 if (stat(path.data(), &sta) == -1) { in GetFile() 68 if (path == "/") { in GetFile() 72 smallFiles.insert(make_pair(path, sta.st_size)); in GetFile() 74 files.try_emplace(path, sta); in GetFile() 79 static uint32_t CheckOverLongPath(const string &path) in CheckOverLongPath() argument 81 uint32_t len = path.length(); in CheckOverLongPath() 83 size_t found = path in CheckOverLongPath() 90 GetDirFilesDetail(const string &path, bool recursion, off_t size = -1) GetDirFilesDetail() argument 148 GetDirFiles(const string &path) GetDirFiles() argument 315 IsNotPath(const string &path, vector<string> &bigFiles, vector<string> &smallFiles, off_t size) IsNotPath() argument 332 GetUser0DirFilesDetail(const string &path, off_t size = -1) GetUser0DirFilesDetail() argument [all...] |
| /third_party/littlefs/tests/ |
| H A D | test_exhaustion.toml | 26 char path[1024]; 27 sprintf(path, "roadrunner/test%d", i); 32 lfs_file_open(&lfs, &file, path, 57 char path[1024]; 58 sprintf(path, "roadrunner/test%d", i); 63 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 83 char path[1024]; 84 sprintf(path, "roadrunner/test%d", i); 86 lfs_stat(&lfs, path, &info) => 0; 116 char path[102 [all...] |
| /third_party/skia/tests/ |
| H A D | PathOpsBuilderTest.cpp | 83 SkPath path; in DEF_TEST() local 84 path.moveTo(200, 170); in DEF_TEST() 85 path.lineTo(220, 170); in DEF_TEST() 86 path.lineTo(220, 230); in DEF_TEST() 87 path.lineTo(240, 230); in DEF_TEST() 88 path.lineTo(240, 210); in DEF_TEST() 89 path.lineTo(180, 210); in DEF_TEST() 90 path.lineTo(180, 190); in DEF_TEST() 91 path.lineTo(260, 190); in DEF_TEST() 92 path in DEF_TEST() 105 SkPath path; DEF_TEST() local 119 SkPath path; DEF_TEST() local 140 SkPath path, pathB; DEF_TEST() local 306 SkPath path; DEF_TEST() local 349 SkPath path; DEF_TEST() local [all...] |
| H A D | PathOpsSimplifyDegenerateThreadedTest.cpp | 34 SkPath path, out; in testSimplifyDegeneratesMain() local 35 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay)); in testSimplifyDegeneratesMain() 36 path.lineTo(SkIntToScalar(bx), SkIntToScalar(by)); in testSimplifyDegeneratesMain() 37 path.lineTo(SkIntToScalar(cx), SkIntToScalar(cy)); in testSimplifyDegeneratesMain() 38 path.close(); in testSimplifyDegeneratesMain() 39 path.moveTo(SkIntToScalar(dx), SkIntToScalar(dy)); in testSimplifyDegeneratesMain() 40 path.lineTo(SkIntToScalar(ex), SkIntToScalar(ey)); in testSimplifyDegeneratesMain() 41 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); in testSimplifyDegeneratesMain() 42 path.close(); in testSimplifyDegeneratesMain() 44 pathStr.appendf(" path in testSimplifyDegeneratesMain() [all...] |
| H A D | PathOpsSimplifyTrianglesThreadedTest.cpp | 37 SkPath path, out; in testSimplifyTrianglesMain() local 38 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay)); in testSimplifyTrianglesMain() 39 path.lineTo(SkIntToScalar(bx), SkIntToScalar(by)); in testSimplifyTrianglesMain() 40 path.lineTo(SkIntToScalar(cx), SkIntToScalar(cy)); in testSimplifyTrianglesMain() 41 path.close(); in testSimplifyTrianglesMain() 42 path.moveTo(SkIntToScalar(dx), SkIntToScalar(dy)); in testSimplifyTrianglesMain() 43 path.lineTo(SkIntToScalar(ex), SkIntToScalar(ey)); in testSimplifyTrianglesMain() 44 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); in testSimplifyTrianglesMain() 45 path.close(); in testSimplifyTrianglesMain() 47 pathStr.appendf(" path in testSimplifyTrianglesMain() [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components/svg/ |
| H A D | rosen_render_svg_circle.cpp | 50 SkPath path; in Paint() local 51 path.addCircle(ConvertDimensionToPx(cx_, LengthType::HORIZONTAL), ConvertDimensionToPx(cy_, LengthType::VERTICAL), in Paint() 57 RSRecordingPath path; in Paint() local 58 path.AddCircle(ConvertDimensionToPx(cx_, LengthType::HORIZONTAL), ConvertDimensionToPx(cy_, LengthType::VERTICAL), in Paint() 65 RosenSvgPainter::SetFillStyle(canvas, path, fillState_, renderInfo); in Paint() 66 RosenSvgPainter::SetStrokeStyle(canvas, path, strokeState_, renderInfo); in Paint() 84 SkPath path; in PaintDirectly() local 85 path.addCircle(ConvertDimensionToPx(cx_, LengthType::HORIZONTAL), ConvertDimensionToPx(cy_, LengthType::VERTICAL), in PaintDirectly() 94 RSRecordingPath path; in PaintDirectly() local 95 path in PaintDirectly() 103 UpdateMotion(const std::string& path, const std::string& rotate, double percent) UpdateMotion() argument 116 SkPath path; GetPaintBounds() local [all...] |
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_common_utils_test/src/ |
| H A D | medialibrary_privacy_manager_test.cpp | 29 string path = ""; in HWTEST_F() local 32 MediaPrivacyManager mediaPrivacyManager(path, mode, fileId); in HWTEST_F() 39 string path = ".Open"; in HWTEST_F() local 42 MediaPrivacyManager mediaPrivacyManager(path, mode, fileId); in HWTEST_F() 49 string path = ".jpeg"; in HWTEST_F() local 52 MediaPrivacyManager mediaPrivacyManager(path, mode, fileId); in HWTEST_F() 59 string path = ".Open"; in HWTEST_F() local 62 MediaPrivacyManager mediaPrivacyManager(path, mode, fileId); in HWTEST_F() 69 string path(4096, 'a'); in HWTEST_F() 72 MediaPrivacyManager mediaPrivacyManager(path, mod in HWTEST_F() 79 string path = "data:image/;base64,Open.jpeg"; HWTEST_F() local 89 string path = "data:image/;base64,Open.jpeg"; HWTEST_F() local 99 string path = "/storage/cloud/files/open.jpeg"; HWTEST_F() local 109 string path = ""; HWTEST_F() local 119 string path = "/storage/cloud/files/"; HWTEST_F() local [all...] |
| /test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/animateMotion/router/ |
| H A D | index.hml | 26 <path fill="none" stroke="blue" stroke-width="3" d="m20,60 c0,-100 120,100 120,0 c0,-100 -120,100 -120,0 z"></path>
27 <path fill="red" d="M-5,-10 L15,0 L-5,10 L0,0 Z">
28 <animateMotion dur="2000" repeatCount="indefinite" rotate="auto" keyPoints="0;0.2;0.4;0.6;0.8;1" path="m20,60 c0,-100 120,100 120,0 c0,-100 -120,100 -120,0 z">
30 </path>>
38 <path fill="none" stroke="blue" stroke-width="3" d="m20,60 c0,-100 120,100 120,0 c0,-100 -120,100 -120,0 z"></path>
39 <path fill="red" d="M-5,-10 L15,0 L-5,10 L0,0 Z">
40 <animateMotion dur="2000" repeatCount="1" rotate="auto" keyPoints="0;0.2;0.4;0.6;0.8;1" path="m20,60 c0,-100 120,100 120,0 c0,-100 -120,100 -120,0 z">
42 </path>
[all...] |
| /test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/MainAbility/pages/animateMotion/router/ |
| H A D | index.hml | 26 <path fill="none" stroke="blue" stroke-width="3" d="m20,60 c0,-100 120,100 120,0 c0,-100 -120,100 -120,0 z"></path>
27 <path fill="red" d="M-5,-10 L15,0 L-5,10 L0,0 Z">
28 <animateMotion dur="2000" repeatCount="indefinite" rotate="auto" keyPoints="0;0.2;0.4;0.6;0.8;1" path="m20,60 c0,-100 120,100 120,0 c0,-100 -120,100 -120,0 z">
30 </path>>
38 <path fill="none" stroke="blue" stroke-width="3" d="m20,60 c0,-100 120,100 120,0 c0,-100 -120,100 -120,0 z"></path>
39 <path fill="red" d="M-5,-10 L15,0 L-5,10 L0,0 Z">
40 <animateMotion dur="2000" repeatCount="1" rotate="auto" keyPoints="0;0.2;0.4;0.6;0.8;1" path="m20,60 c0,-100 120,100 120,0 c0,-100 -120,100 -120,0 z">
42 </path>
[all...] |
| /test/xts/acts/arkui/ace_standard/entry/src/main/js/default/pages/animateMotion/router/ |
| H A D | index.hml | 26 <path fill="none" stroke="blue" stroke-width="3" d="m20,60 c0,-100 120,100 120,0 c0,-100 -120,100 -120,0 z"></path>
27 <path fill="red" d="M-5,-10 L15,0 L-5,10 L0,0 Z">
28 <animateMotion dur="2000" repeatCount="indefinite" rotate="auto" keyPoints="0;0.2;0.4;0.6;0.8;1" path="m20,60 c0,-100 120,100 120,0 c0,-100 -120,100 -120,0 z">
30 </path>>
38 <path fill="none" stroke="blue" stroke-width="3" d="m20,60 c0,-100 120,100 120,0 c0,-100 -120,100 -120,0 z"></path>
39 <path fill="red" d="M-5,-10 L15,0 L-5,10 L0,0 Z">
40 <animateMotion dur="2000" repeatCount="1" rotate="auto" keyPoints="0;0.2;0.4;0.6;0.8;1" path="m20,60 c0,-100 120,100 120,0 c0,-100 -120,100 -120,0 z">
42 </path>
[all...] |
| /test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/animateMotion/router/ |
| H A D | index.hml | 26 <path fill="none" stroke="blue" stroke-width="3" d="m20,60 c0,-100 120,100 120,0 c0,-100 -120,100 -120,0 z"></path>
27 <path fill="red" d="M-5,-10 L15,0 L-5,10 L0,0 Z">
28 <animateMotion dur="2000" repeatCount="indefinite" rotate="auto" keyPoints="0;0.2;0.4;0.6;0.8;1" path="m20,60 c0,-100 120,100 120,0 c0,-100 -120,100 -120,0 z">
30 </path>>
38 <path fill="none" stroke="blue" stroke-width="3" d="m20,60 c0,-100 120,100 120,0 c0,-100 -120,100 -120,0 z"></path>
39 <path fill="red" d="M-5,-10 L15,0 L-5,10 L0,0 Z">
40 <animateMotion dur="2000" repeatCount="1" rotate="auto" keyPoints="0;0.2;0.4;0.6;0.8;1" path="m20,60 c0,-100 120,100 120,0 c0,-100 -120,100 -120,0 z">
42 </path>
[all...] |
| /third_party/icu/icu4c/packaging/ |
| H A D | distrelease.ps1 | 29 $icuDir = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent 30 $icuDir = Resolve-Path -Path '$icuDir\..' 35 New-Item -Path "$icuDir\source\dist" -ErrorAction SilentlyContinue -ItemType "directory" 37 Get-ChildItem -Path $source -ErrorAction SilentlyContinue | Remove-Item -Recurse 38 New-Item -Path $source -ItemType "directory" -ErrorAction SilentlyContinue 43 Copy-Item -Path "$icuDir\lib64" -Destination $source -Recurse 44 Copy-Item -Path "$icuDir\bin64" -Destination $source -Recurse 48 Copy-Item -Path " [all...] |
| /third_party/musl/porting/linux/user/include/fortify/ |
| H A D | fcntl.h | 44 int open(const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags) 49 return __open_chk(path, flags); 51 return __open_real(path, flags); 56 int open(const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags, unsigned modes) 60 return __open_real(path, flags, modes); 64 int openat(int dirfd, const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags) 69 return __openat_chk(dirfd, path, flags); 71 return __openat_real(dirfd, path, flags); 76 int openat(int dirfd, const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags, mode_t modes) 80 return __openat_real(dirfd, path, flag [all...] |
| /third_party/node/deps/npm/node_modules/just-diff-apply/ |
| H A D | index.cjs | 10 { "op": "remove", "path": ['b'] }, 11 { "op": "replace", "path": ['a'], "value": 4 }, 12 { "op": "add", "path": ['c'], "value": 5 } 22 { "op": "remove", "path": '/b' }, 23 { "op": "replace", "path": '/a', "value": 4 } 24 { "op": "add", "path": '/c', "value": 5 } 31 { "op": "replace", "path": ['a'], "value": 3 } 32 { "op": "replace", "path": ['b', 2], "value": 4 } 33 { "op": "add", "path": ['b', 3], "value": 9 } 40 { "op": "replace", "path" [all...] |
| H A D | index.mjs | 5 { "op": "remove", "path": ['b'] }, 6 { "op": "replace", "path": ['a'], "value": 4 }, 7 { "op": "add", "path": ['c'], "value": 5 } 17 { "op": "remove", "path": '/b' }, 18 { "op": "replace", "path": '/a', "value": 4 } 19 { "op": "add", "path": '/c', "value": 5 } 26 { "op": "replace", "path": ['a'], "value": 3 } 27 { "op": "replace", "path": ['b', 2], "value": 4 } 28 { "op": "add", "path": ['b', 3], "value": 9 } 35 { "op": "replace", "path" [all...] |
| /third_party/musl/include/fortify/linux/ |
| H A D | fcntl.h | 44 int open(const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags) 49 return __open_chk(path, flags); 51 return __open_real(path, flags); 56 int open(const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags, unsigned modes) 60 return __open_real(path, flags, modes); 64 int openat(int dirfd, const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags) 69 return __openat_chk(dirfd, path, flags); 71 return __openat_real(dirfd, path, flags); 76 int openat(int dirfd, const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags, mode_t modes) 80 return __openat_real(dirfd, path, flag [all...] |
| /third_party/typescript/src/testRunner/unittests/tsserver/ |
| H A D | documentRegistry.ts | 5 path: `${tscWatch.projectRoot}/index.ts`,
9 path: `${tscWatch.projectRoot}/module1.d.ts`,
13 path: `${tscWatch.projectRoot}/tsconfig.json`,
18 return service.configuredProjects.get(configFile.path)!;
25 checkProjectActualFiles(project, [file.path, libFile.path, configFile.path, ...(moduleIsOrphan ? [] : [moduleFile.path])]);
26 const moduleInfo = service.getScriptInfo(moduleFile.path)!;
30 assert.deepEqual(service.documentRegistry.getLanguageServiceRefCounts(moduleInfo.path, moduleInf [all...] |
| /third_party/node/deps/v8/tools/ |
| H A D | find_depot_tools.py | 4 """Small utility function to find depot_tools and add it to the python path. 15 return os.path.isfile(os.path.join(directory, 'gclient.py')) 19 """Search for depot_tools and add it to sys.path.""" 21 for i in sys.path: 26 # Then look if depot_tools is in PATH, common case. 27 for i in os.environ['PATH'].split(os.pathsep): 30 sys.path.insert(0, i.rstrip(os.sep)) 32 # Rare case, it's not even in PATH, look upward up to root. 33 root_dir = os.path [all...] |
| /third_party/node/test/parallel/ |
| H A D | test-snapshot-typescript.js | 11 const path = require('path'); 15 const blobPath = path.join(tmpdir.path, 'snapshot.blob'); 20 const file = path.join(tmpdir.path, 'snapshot.js'); 21 fs.copyFileSync(fixtures.path('snapshot', 'typescript.js'), file); 23 fs.readFileSync(fixtures.path('snapshot', 'typescript-main.js'))); 32 cwd: tmpdir.path 40 const stats = fs.statSync(path [all...] |
| /third_party/node/deps/npm/node_modules/read-cmd-shim/lib/ |
| H A D | index.js | 6 const extractPath = (path, cmdshimContents) => { 7 if (/[.]cmd$/.test(path)) { 9 } else if (/[.]ps1$/.test(path)) { 34 newError.path = thrown.path 38 const notaShim = (path, er) => { 44 er.message = `Can't read shim path from '${path}', ` + 49 const readCmdShim = path => { 54 return readFile(path) [all...] |
| /third_party/ltp/include/ |
| H A D | tst_safe_file_ops.h | 10 #define FILE_SCANF(path, fmt, ...) \ 11 file_scanf(__FILE__, __LINE__, (path), (fmt), ## __VA_ARGS__) 13 #define SAFE_FILE_SCANF(path, fmt, ...) \ 15 (path), (fmt), ## __VA_ARGS__) 17 #define FILE_LINES_SCANF(path, fmt, ...) \ 19 (path), (fmt), ## __VA_ARGS__) 21 #define SAFE_FILE_LINES_SCANF(path, fmt, ...) \ 23 (path), (fmt), ## __VA_ARGS__) 39 #define FILE_PRINTF(path, fmt, ...) \ 41 (path), (fm [all...] |