| /third_party/node/test/parallel/ |
| H A D | test-fs-write-stream-double-close.js | 6 const path = require('path'); 12 const s = fs.createWriteStream(path.join(tmpdir.path, 'rw')); 19 const s = fs.createWriteStream(path.join(tmpdir.path, 'rw2')); 40 const s = fs.createWriteStream(path.join(tmpdir.path, 'rw'), {
|
| /third_party/musl/libc-test/src/functionalext/supplement/unistd/unistd_gtest/ |
| H A D | unistd_rmdir_test.cpp | 22 const char* path = "/data/testrmdir"; in HWTEST_F() local 23 if (access(path, F_OK) != 0) { in HWTEST_F() 24 EXPECT_EQ(0, mkdir(path, 0777)); in HWTEST_F() 25 EXPECT_EQ(0, rmdir(path)); in HWTEST_F() 27 remove(path); in HWTEST_F() 28 EXPECT_EQ(0, mkdir(path, 0777)); in HWTEST_F() 29 EXPECT_EQ(0, rmdir(path)); in HWTEST_F() 31 path = nullptr; in HWTEST_F()
|
| /third_party/typescript/tests/baselines/reference/ |
| H A D | doNotemitTripleSlashComments.js | 4 /// <reference path="file1.ts" /> 5 /// <reference path="file2.ts" /> 6 /// <amd-dependency path="/js/libs/hgn.js!app/templates/home" name="compiler"/> 9 /// <reference path="file1.ts" /> 13 /// <reference path="file2.ts" /> 16 /// <reference path="file0.ts" /> 21 /// <reference path="file0.ts" /> 27 /// <reference path="file1.ts" />
|
| H A D | amdDependencyCommentName4.js | 2 ///<amd-dependency path='aliasedModule5' name='n1'/> 3 ///<amd-dependency path='unaliasedModule3'/> 4 ///<amd-dependency path='aliasedModule6' name='n2'/> 5 ///<amd-dependency path='unaliasedModule4'/> 24 ///<amd-dependency path='aliasedModule5' name='n1'/>
25 ///<amd-dependency path='unaliasedModule3'/>
26 ///<amd-dependency path='aliasedModule6' name='n2'/>
27 ///<amd-dependency path='unaliasedModule4'/>
|
| /third_party/typescript/tests/cases/compiler/ |
| H A D | doNotemitTripleSlashComments.ts | 4 /// <reference path="file1.ts" />
5 /// <reference path="file2.ts" />
6 /// <amd-dependency path="/js/libs/hgn.js!app/templates/home" name="compiler"/>
9 /// <reference path="file1.ts" />
13 /// <reference path="file2.ts" />
16 /// <reference path="file0.ts" />
21 /// <reference path="file0.ts" />
27 /// <reference path="file1.ts" />
|
| /third_party/skia/docs/examples/ |
| H A D | Path_FillType_a.cpp | 7 SkPath path; in REG_FIDDLE() local 8 path.addRect({10, 10, 30, 30}, SkPathDirection::kCW); in REG_FIDDLE() 9 path.addRect({20, 20, 40, 40}, SkPathDirection::kCW); in REG_FIDDLE() 10 path.addRect({10, 60, 30, 80}, SkPathDirection::kCW); in REG_FIDDLE() 11 path.addRect({20, 70, 40, 90}, SkPathDirection::kCCW); in REG_FIDDLE() 15 canvas->drawPath(path, strokePaint); in REG_FIDDLE() 22 path.setFillType(fillType); in REG_FIDDLE() 23 canvas->drawPath(path, fillPaint); in REG_FIDDLE()
|
| H A D | bug7573.cpp | 9 SkPath path; in REG_FIDDLE() local 10 path.moveTo(SkBits2Float(0x40a1a3f7), SkBits2Float(0x41b80159)); // 5.05127f, 23.0007f in REG_FIDDLE() 11 path.lineTo(SkBits2Float(0x42f41a3f), SkBits2Float(0x41d00159)); // 122.051f, 26.0007f in REG_FIDDLE() 12 path.lineTo(SkBits2Float(0x42f3e5c1), SkBits2Float(0x41effea7)); // 121.949f, 29.9993f in REG_FIDDLE() 13 path.lineTo(SkBits2Float(0x409e5c09), SkBits2Float(0x41d7fea7)); // 4.94873f, 26.9993f in REG_FIDDLE() 14 path.lineTo(SkBits2Float(0x40a1a3f7), SkBits2Float(0x41b80159)); // 5.05127f, 23.0007f in REG_FIDDLE() 15 path.close(); in REG_FIDDLE() 16 canvas->drawPath(path, p); in REG_FIDDLE()
|
| H A D | crbug_663246.cpp | 12 SkPath path; in REG_FIDDLE() local 13 path.moveTo(488, 182.10368918639688); in REG_FIDDLE() 14 path.cubicTo(572, 182.10368918639688, 572, 97.61817870911423, 655, 97.61817870911423); in REG_FIDDLE() 16 canvas->drawPath(path, p); in REG_FIDDLE() 19 path.reset(); in REG_FIDDLE() 20 path.moveTo(20, 252.30948782740091); in REG_FIDDLE() 21 path.cubicTo(31, 252.30948782740091, 31, 278.79312771879796, 41, 278.79312771879796); in REG_FIDDLE() 23 canvas->drawPath(path, p); in REG_FIDDLE()
|
| H A D | massive_coordinates_svg.cpp | 19 SkPath path; in REG_FIDDLE() local 20 path.moveTo(-1000, 12345678901234567890.f); in REG_FIDDLE() 21 path.lineTo(200, 200); in REG_FIDDLE() 22 canvas->drawPath(path, paint); in REG_FIDDLE() 24 path.reset(); in REG_FIDDLE() 25 path.moveTo(600, 400); in REG_FIDDLE() 26 path.lineTo(1000, -9.8765432109876543210e+19f); in REG_FIDDLE() 27 canvas->drawPath(path, paint); in REG_FIDDLE()
|
| H A D | Path_getBounds.cpp | 7 auto debugster = [](const char* prefix, const SkPath& path) -> void { in REG_FIDDLE() 8 const SkRect& bounds = path.getBounds(); in REG_FIDDLE() 12 SkPath path; in REG_FIDDLE() local 13 debugster("empty", path); in REG_FIDDLE() 14 path.addCircle(50, 45, 25); in REG_FIDDLE() 15 debugster("circle", path); in REG_FIDDLE() 18 path.transform(matrix); in REG_FIDDLE() 19 debugster("rotated circle", path); in REG_FIDDLE()
|
| H A D | Path_quadTo.cpp | 10 SkPath path; in REG_FIDDLE() local 11 path.moveTo(0, -10); in REG_FIDDLE() 13 path.quadTo( 10 + i, -10 - i, 10 + i, 0); in REG_FIDDLE() 14 path.quadTo( 14 + i, 14 + i, 0, 14 + i); in REG_FIDDLE() 15 path.quadTo(-18 - i, 18 + i, -18 - i, 0); in REG_FIDDLE() 16 path.quadTo(-22 - i, -22 - i, 0, -22 - i); in REG_FIDDLE() 18 path.offset(128, 128); in REG_FIDDLE() 19 canvas->drawPath(path, paint); in REG_FIDDLE()
|
| H A D | Path_computeTightBounds.cpp | 7 auto debugster = [](const char* prefix, const SkPath& path) -> void { in REG_FIDDLE() 8 const SkRect& bounds = path.computeTightBounds(); in REG_FIDDLE() 12 SkPath path; in REG_FIDDLE() local 13 debugster("empty", path); in REG_FIDDLE() 14 path.addCircle(50, 45, 25); in REG_FIDDLE() 15 debugster("circle", path); in REG_FIDDLE() 18 path.transform(matrix); in REG_FIDDLE() 19 debugster("rotated circle", path); in REG_FIDDLE()
|
| /test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_scroll/ace_ets_module_scroll_api11/entry/src/main/ets/MainAbility/pages/components/ |
| H A D | Path.ets | 20 console.info('path page show called');
24 console.info('path page build done called');
30 Path()
36 .key('path')
40 Path().width(100).height(100).commands('M150 0 L300 300 L0 300 Z').key('path1')
41 Path().width(100).height(100).commands('M0 0 H300 V300 H0 Z').key('path2')
42 Path().width(100).height(100).commands('M150 0 L0 150 L60 300 L240 300 L300 150 Z').key('path3')
47 Path().width(100).height(100).commands("M0 300 S150 0 300 300 Z").key('path4')
48 Path().width(100).height(100).commands('M0 150 C0 150 150 0 300 150 L150 300 Z').key('path5')
|
| /third_party/node/test/es-module/ |
| H A D | test-esm-preserve-symlinks-main.js | 6 const path = require('path'); 11 const tmpDir = tmpdir.path; 13 fs.mkdirSync(path.join(tmpDir, 'nested')); 14 fs.mkdirSync(path.join(tmpDir, 'nested2')); 16 const entry = path.join(tmpDir, 'nested', 'entry.js'); 17 const entry_link_absolute_path = path.join(tmpDir, 'link.js'); 18 const submodule = path.join(tmpDir, 'nested2', 'submodule.js'); 19 const submodule_link_absolute_path = path.join(tmpDir, 'submodule_link.js');
|
| /third_party/libfuse/test/ |
| H A D | release_unlink_race.c | 31 static int xmp_getattr(const char *path, struct stat *stbuf, in xmp_getattr() argument 36 (void) path; in xmp_getattr() 41 res = lstat(path, stbuf); in xmp_getattr() 48 static int xmp_unlink(const char *path) in xmp_unlink() argument 52 res = unlink(path); in xmp_unlink() 75 static int xmp_create(const char *path, mode_t mode, struct fuse_file_info *fi) in xmp_create() argument 79 fd = open(path, fi->flags, mode); in xmp_create() 87 static int xmp_release(const char *path, struct fuse_file_info *fi) in xmp_release() argument 89 (void) path; in xmp_release()
|
| /third_party/musl/libc-test/src/functionalext/supplement/stat/ |
| H A D | mknodat.c | 31 const char *path = "/data/mknodat_0100"; in mknodat_0100() local 32 int ret = mknodat(-1, path, S_IFIFO | TEST_FIFO_MODE, 0); in mknodat_0100() 34 ret = stat(path, &sb); in mknodat_0100() 37 unlink(path); in mknodat_0100() 48 const char *path = "/data/mknodat_0200"; in mknodat_0200() local 49 int ret = mknodat(-1, path, S_IFIFO | TEST_FIFO_MODE, 0); in mknodat_0200() 51 ret = stat(path, &sb); in mknodat_0200() 54 ret = mknodat(-1, path, S_IFIFO | TEST_FIFO_MODE, 0); in mknodat_0200() 56 unlink(path); in mknodat_0200()
|
| /third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
| H A D | setbuffer.c | 30 char path[PATH_MAX] = {0}; in setbuffer_0100() local 31 FILE_ABSOLUTE_PATH(STR_FILE_TXT, path); in setbuffer_0100() 32 FILE *fp = fopen(path, "w+"); in setbuffer_0100() 44 fp = fopen(path, "r"); in setbuffer_0100() 54 remove(path); in setbuffer_0100() 64 char path[PATH_MAX] = {0}; in setbuffer_0200() local 65 FILE_ABSOLUTE_PATH(STR_FILE_TXT, path); in setbuffer_0200() 66 FILE *f = fopen(path, "w+"); in setbuffer_0200() 75 remove(path); in setbuffer_0200()
|
| H A D | setbuf.c | 32 char path[PATH_MAX] = {0}; in setbuf_0100() local 33 FILE_ABSOLUTE_PATH(STR_FILE_TXT, path); in setbuf_0100() 34 FILE *f = fopen(path, "w+"); in setbuf_0100() 43 f = fopen(path, "r"); in setbuf_0100() 50 remove(path); in setbuf_0100() 60 char path[PATH_MAX] = {0}; in setbuf_0200() local 61 FILE_ABSOLUTE_PATH(STR_FILE_TXT, path); in setbuf_0200() 62 FILE *f = fopen(path, "w+"); in setbuf_0200() 72 remove(path); in setbuf_0200()
|
| /third_party/typescript/src/testRunner/unittests/tsserver/ |
| H A D | duplicatePackages.ts | 7 const aFooIndex: File = { path: "/a/node_modules/foo/index.d.ts", content: packageContent };
8 const aFooPackage: File = { path: "/a/node_modules/foo/package.json", content: packageJsonContent };
9 const bFooIndex: File = { path: "/b/node_modules/foo/index.d.ts", content: packageContent };
10 const bFooPackage: File = { path: "/b/node_modules/foo/package.json", content: packageJsonContent };
13 const aUser: File = { path: "/a/user.ts", content: userContent };
14 const bUser: File = { path: "/b/user.ts", content: userContent };
16 path: "/tsconfig.json",
27 file: user.path,
39 fileName: user.path,
|
| /third_party/skia/bin/ |
| H A D | fetch-clang-format | 15 os.chdir(os.path.join(os.path.dirname(__file__), os.pardir)) 23 if not os.path.exists(sha1_path): 28 def sha1_of_file(path): 30 if os.path.isfile(path): 31 with open(path, 'rb') as f: 44 target_copy_path = os.path.join('bin', os.path.basename(target_path))
|
| /applications/standard/app_samples/code/Solutions/Social/GrapeSquare/product/phone/entry/src/main/resources/base/media/ |
| H A D | ic_gallery_discover_filled.svg | 10 <path d="M5.26445463,2.62145105 C5.32959649,2.9955171 5.10546182,3.35306694 4.75333428,3.46479816 L4.65424729,3.48900335 C4.03143964,3.5974624 3.65381816,3.95186126 3.53717294,4.58171578 L3.53652183,4.59853044 L3.53652183,4.59853044 C3.52364092,4.67249689 3.51385964,4.74871307 3.50712072,4.82708317 C3.48147906,5.15409609 3.51489185,5.54334599 3.60790168,5.99717762 C3.97180574,7.77280885 5.24154772,10.1146376 7.20807441,12.5282732 C8.29285542,13.8596897 9.49381976,15.093685 10.7220688,16.1771021 L11.2498726,16.6320497 C12.2742284,17.4946303 13.3086308,18.2482581 14.3022567,18.8625435 C15.7232695,19.7379581 17.0445997,20.3134595 18.1474918,20.53949 C18.4790939,20.6074497 18.7762169,20.6435916 19.0400529,20.6485534 C19.2194371,20.6492838 19.3893786,20.6359208 19.5488613,20.6081476 L19.5868149,20.6056489 C20.2017691,20.4839436 20.5485843,20.1080434 20.6556661,19.4931444 C20.7267299,19.0850724 21.1151463,18.8118732 21.5232184,18.8829371 C21.9312905,18.9540009 22.2044896,19.3424173 22.1334257,19.7504894 C21.9054686,21.0594946 21.081124,21.8387915 19.8747554,22.069113 C19.8529009,22.0766383 19.8297786,22.0818023 19.8062062,22.0859073 C19.3586641,22.1638447 18.8636864,22.1630664 18.3316013,22.0906199 C18.1729297,22.0700517 18.0112406,22.0427436 17.8463361,22.0089475 C17.2069261,21.8779046 16.5184107,21.6528027 15.7949592,21.3408611 C14.6512811,21.795191 13.4044774,22.0452455 12.0992704,22.0452455 C6.57642294,22.0452455 2.09927044,17.568093 2.09927044,12.0452455 C2.09927044,10.7395271 2.34952086,9.49225789 2.8046758,8.34878366 L2.72222187,8.14883049 L2.72222187,8.14883049 C2.56383498,7.76594031 2.43102255,7.39393119 2.32420107,7.03438643 C2.02463068,6.03114019 1.92396811,5.11521749 2.05876218,4.34118548 C2.06541634,4.30297509 2.07485298,4.26594724 2.08682768,4.23027384 C2.32605526,3.04522541 3.10250156,2.23665757 4.39690232,2.01124371 C4.80497438,1.94017986 5.19339078,2.21337899 5.26445463,2.62145105 Z" id="形状-path" fill="#000000" fill-rule="nonzero"></path>
11 <path d="M3.78622647,10.2647373 C3.6634563,10.8409069 3.59927044,11.4355805 3.59927044,12.0452455 C3.59927044,16.7396659 7.40485007,20.5452455 12.0992704,20.5452455 C12.7088982,20.5452455 13.3035365,20.4810675 13.8767975,20.3590991 C13.5072426,20.1403888 13.132396,19.9043902 12.753871,19.6507216 C11.5252584,18.8291506 10.2767032,17.8351767 9.0742261,16.7130729 C6.89081252,14.6820151 5.0445848,12.4101165 3.78622647,10.2647373 Z" id="形状-path" fill="#000000" fill-rule="nonzero"></path>
12 <path d="M12.0992704,2.04524551 C17.6221179,2.04524551 22.0992704,6.52239801 22.0992704,12.0452455 C22.0992704,15.0681086 20.7580111,17.7777038 18.638151,19.6113726 C18.547158,19.5979471 18.450247,19.5808107 18.3482455,19.5599061 C17.901969,19.4684447 17.4052857,19.3078853 16.8707662,19.0824234 C19.1206771,17.5521927 20.5992704,14.9713911 20.5992704,12.0452455 C20.5992704,7.35082514 16.7936908,3.54524551 12.0992704,3.54524551 C9.17355592,3.54524551 6.59308362,5.02340315 5.06392305,7.27364892 C4.84037223,6.74249886 4.6797263,6.24635691 4.58752317,5.79646152 C4.56617162,5.6922789 4.5488067,5.59367964 4.53528209,5.50075283 C6.3702024,3.38482719 9.07829839,2.04524551 12.0992704,2.04524551 Z" id="形状-path" fill="#000000" fill-rule="nonzero"></path>
13 <path [all...] |
| /test/testfwk/xdevice/src/xdevice/_core/report/ |
| H A D | __main__.py | 37 report_path = input("enter path >>> ") 40 LOG.info(f"report path: {report_path}") 41 if not os.path.exists(report_path): 42 LOG.error("report path does not exist") 55 os.remove(os.path.join(report_path, filename)) 70 data_js = os.path.join(report_path, "static", "data.js") 71 if not os.path.exists(data_js): 73 LOG.info("please check the report path or run command 'tool renew_report -rp xx' first") 75 export_csv = os.path.join(report_path, "export_report.csv") 76 if os.path [all...] |
| /test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_draw/ace_ets_module_draw_api11/entry/src/main/ets/test/pathTest/ |
| H A D | path.test.ets | 25 url:'MainAbility/pages/path/path2', 30 console.info("get path state success " + JSON.stringify(pages)); 32 console.info("get path state success " + JSON.stringify(pages.name)); 35 console.info("push path page success " + JSON.stringify(result)); 38 console.error("push path page error: " + err); 55 let strJson = getInspectorByKey('Path'); 58 expect(JSON.parse(strJson).$type).assertEqual('Path'); 72 let strJson = getInspectorByKey('Path'); 75 expect(JSON.parse(strJson).$type).assertEqual('Path'); 89 let strJson = getInspectorByKey('Path'); [all...] |
| /third_party/elfio/doc/images/ |
| H A D | note.svg | 17 <path style="&st0;" d="M35.7,19.8v18.9H11V8.8h13.9l10.8,11z"/>
18 <path style="&st3;" d="M38.7,30.4L25,16.7l-7.7-3l2.7,8.7l13.3,13.4l5.4-5.4z"/>
19 <path style="&st7;" d="M35.7,8.8H11v29.9h24.7V8.8z"/>
20 <path style="&st4;" d="M35.7,8.8H11v29.9h24.7V8.8z"/>
21 <path style="&st2;" d="M35.7,8.8H11v29.9h24.7V8.8z"/>
24 <path style="&st9;" d="M38.7,30.4L25,16.7l-7.7-3l2.7,8.7l13.3,13.4l5.4-5.4z"/>
25 <path style="&st8;" d="M38.7,30.4L25,16.7l-7.7-3l2.7,8.7l13.3,13.4l5.4-5.4z"/>
26 <path style="&st8;" d="M20.6,14.7l-2.5,2.5L17,13.4l3.6,1.3z"/>
27 <path style="&st1;" d="M19.6,22.2l3-0.3l2.4-2.4l0.4-2.8"/>
28 <path styl [all...] |
| /third_party/gn/build/ |
| H A D | full_test.py | 17 if os.path.isdir(d): 22 bin_path = os.path.join('out', 'gntrial') 23 if not os.path.isdir(bin_path): 25 gn_to_run = os.path.join(bin_path, 'gn' + ('.exe' if IS_WIN else '')) 27 comp_dir = os.path.join('out', 'COMP') 42 subprocess.check_call([sys.executable, os.path.join('build', 'gen.py')]) 44 subprocess.check_call([os.path.join('out', 'gn_unittests')]) 48 our_gn = os.path.join(orig_dir, 'out', 'gn' + ('.exe' if IS_WIN else '')) 56 # - relative path to argv[1] built gn binary in argv[2] 61 dir_a = os.path [all...] |