Home
last modified time | relevance | path

Searched refs:path (Results 1901 - 1925 of 8433) sorted by relevance

1...<<71727374757677787980>>...338

/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A Dgetchar_unlocked.c20 const char *path = "/data/readtest.txt"; variable
30 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in getchar_unlocked_0100()
39 FILE *fp = freopen(path, "r", stdin); in getchar_unlocked_0100()
51 remove(path); in getchar_unlocked_0100()
H A Dgetchar.c20 const char *path = "/data/readtest.txt"; variable
30 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in getchar_0100()
39 FILE *fp = freopen(path, "r", stdin); in getchar_0100()
50 remove(path); in getchar_0100()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dfsync.c20 const char *path = "/data/test.txt"; variable
29 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in fsync_0100()
36 fd = open(path, O_RDONLY); in fsync_0100()
41 remove(path); in fsync_0100()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/unistd_gtest/
H A Dunistd_readlink_test.cpp30 * @tc.desc: Verify the correctness of the readlink function for symbolic link files in a specific path.
35 char path[PATH_MAX]; in HWTEST_F() local
36 size_t length = readlink("/dev/fd", path, sizeof(path)); in HWTEST_F()
38 EXPECT_EQ("/proc/self/fd", std::string(path, length)); in HWTEST_F()
/third_party/rust/crates/link-cplusplus/
H A Dbuild.rs3 use std::path::PathBuf;
29 let path = PathBuf::from(out_dir).join("dummy.cc"); in main()
30 fs::write(&path, "int rust_link_cplusplus;\n").unwrap(); in main()
31 cc::Build::new().cpp(true).file(&path).compile("link-cplusplus"); in main()
/third_party/vk-gl-cts/external/amber/src/tools/
H A Dcheck_language_test.py23 sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
/third_party/skia/third_party/externals/swiftshader/tests/regres/util/
H A Dutil.go22 // IsFile returns true if path is a file.
23 func IsFile(path string) bool {
24 s, err := os.Stat(path)
31 // IsDir returns true if path is a directory.
32 func IsDir(path string) bool {
33 s, err := os.Stat(path)
/third_party/skia/third_party/externals/angle2/tools/flex-bison/
H A Dupdate_flex_bison_binaries.py20 sys.path.append('tools/')
38 files = [os.path.join(sys.path[0], subdir, f) for f in files]
57 print('These binaries were updated using %s.' % os.path.basename(__file__))
/third_party/python/Mac/IDLE/IDLE.app/Contents/Resources/
H A Didlemain.py8 os.chdir(os.path.expanduser('~/Documents'))
47 # Reset sys.executable to its normal value, the actual path of
51 sys.executable = os.path.join(sys.prefix, 'bin', 'python%d.%d'%(sys.version_info[:2]))
53 # Remove any sys.path entries for the Resources dir in the IDLE.app bundle.
56 sys.path = [value for value in sys.path if
/third_party/python/Lib/lib2to3/
H A Dpygram.py15 _GRAMMAR_FILE = os.path.join(os.path.dirname(__file__), "Grammar.txt")
16 _PATTERN_GRAMMAR_FILE = os.path.join(os.path.dirname(__file__),
/third_party/skia/docs/examples/
H A DPath_ArcSize.cpp12 SkPath path; in REG_FIDDLE() local
13 path.moveTo({120, 50}); in REG_FIDDLE()
14 path.arcTo(70, 40, 30, arcSize, sweep, 156, 100); in REG_FIDDLE()
19 canvas->drawPath(path, paint); in REG_FIDDLE()
H A DPath_readFromMemory.cpp7 SkPath path, copy; in REG_FIDDLE() local
8 path.lineTo(6.f / 7, 2.f / 3); in REG_FIDDLE()
9 size_t size = path.writeToMemory(nullptr); in REG_FIDDLE()
12 path.writeToMemory(storage.begin()); in REG_FIDDLE()
H A DPath_addRect_2.cpp19 SkPath path; in REG_FIDDLE() local
20 path.addRect(rect, direction, start); in REG_FIDDLE()
21 canvas->drawPath(path, rectPaint); in REG_FIDDLE()
22 canvas->drawPath(path, arrowPaint); in REG_FIDDLE()
H A DPath_arcTo_2_c.cpp7 SkPath path; in REG_FIDDLE() local
8 path.moveTo({156, 20}); in REG_FIDDLE()
9 path.arcTo(200, 20, 170, 50, 50); in REG_FIDDLE()
10 SkPath::Iter iter(path, false); in REG_FIDDLE()
H A DPath_arcTo_3.cpp7 SkPath path; in REG_FIDDLE() local
8 path.moveTo({156, 20}); in REG_FIDDLE()
9 path.arcTo({200, 20}, {170, 20}, 50); in REG_FIDDLE()
10 SkPath::Iter iter(path, false); in REG_FIDDLE()
H A DSkParsePath_ToSVGString.cpp7 SkPath path; in REG_FIDDLE() local
8 path.moveTo(sk_float_round(C + R), sk_float_round(C)); in REG_FIDDLE()
11 path.lineTo(sk_float_round(C + R * cos(a)), sk_float_round(C + R * sin(a))); in REG_FIDDLE()
13 return path; in REG_FIDDLE()
H A Dstroke_closed_degenerate_path.cpp6 SkPath path; in REG_FIDDLE() local
7 path.addRect({50.f, 50.f, 50.f, 50.f}); in REG_FIDDLE()
14 canvas->drawPath(path, joinStroke); in REG_FIDDLE()
23 canvas->drawPath(path, capStroke); in REG_FIDDLE()
H A DQuad_b.cpp17 SkPath path; in REG_FIDDLE() local
18 path.moveTo(quadPts[0]); in REG_FIDDLE()
19 path.quadTo(quadPts[1], quadPts[2]); in REG_FIDDLE()
22 canvas->drawPath(path, paint); in REG_FIDDLE()
H A DPath_rCubicTo.cpp10 SkPath path; in REG_FIDDLE() local
11 path.moveTo(24, 108); in REG_FIDDLE()
15 path.rCubicTo(40 * sx, 4 * sy, 4 * sx, 40 * sy, 40 * sx, 40 * sy); in REG_FIDDLE()
17 canvas->drawPath(path, paint); in REG_FIDDLE()
H A Ddrawarcs.cpp11 SkPath path; in REG_FIDDLE() local
18 path.rewind(); in REG_FIDDLE()
19 path.addArc(SkRect::MakeXYWH(x, y, 70, 70), rand.nextUScalar1() * 360, in REG_FIDDLE()
22 canvas->drawPath(path, paint); in REG_FIDDLE()
H A DPath_conicTo.cpp17 SkPath path; in REG_FIDDLE() local
18 path.moveTo(conicPts[0]); in REG_FIDDLE()
19 path.conicTo(conicPts[1], conicPts[2], weight); in REG_FIDDLE()
21 canvas->drawPath(path, paint); in REG_FIDDLE()
H A DPath_conservativelyContainsRect.cpp7 SkPath path; in REG_FIDDLE() local
8 path.addRoundRect({10, 20, 54, 120}, 10, 20); in REG_FIDDLE()
18 canvas->drawPath(path, paint); in REG_FIDDLE()
19 bool rectInPath = path.conservativelyContainsRect(tests[i]); in REG_FIDDLE()
H A DPath_close.cpp10 SkPath path; in REG_FIDDLE() local
12 path.addPoly(points, SK_ARRAY_COUNT(points), false); in REG_FIDDLE()
17 canvas->drawPath(path, paint); in REG_FIDDLE()
20 path.close(); in REG_FIDDLE()
/third_party/skia/gn/
H A Ddehydrate_sksl.py18 noExt, _ = os.path.splitext(inc)
19 head, tail = os.path.split(noExt)
20 if not os.path.isdir(targetDir):
22 target = os.path.join(targetDir, tail)
/third_party/skia/modules/skottie/src/
H A DPath.cpp30 SkPath path = fShape; variable
33 path.setFillType(path_node->getFillType());
34 path.setIsVolatile(!this->isStatic());
36 path_node->setPath(path);

Completed in 7 milliseconds

1...<<71727374757677787980>>...338