Home
last modified time | relevance | path

Searched refs:path (Results 1401 - 1425 of 10795) sorted by relevance

1...<<51525354555657585960>>...432

/third_party/ltp/testcases/kernel/syscalls/chroot/
H A Dchroot02.c23 static char *path; variable
30 TST_EXP_PASS(chroot(path), "chroot(%s)", path); in verify_chroot() local
40 path = tst_get_tmpdir(); in setup()
46 free(path); in cleanup()
/third_party/vixl/
H A D.ycm_extra_conf.py8 repo_root = os.path.dirname(os.path.abspath(__file__))
12 def AbsolutePath(path):
13 return os.path.join(repo_root, path)
/third_party/skia/docs/examples/
H A DPath_isConvex.cpp11 SkPath path; in REG_FIDDLE() local
13 path.addPoly(quad, SK_ARRAY_COUNT(quad), true); in REG_FIDDLE()
14 path.setConvexity(SkPath::kConvex_Convexity); in REG_FIDDLE()
15 canvas->drawPath(path, paint); in REG_FIDDLE()
16 canvas->drawString(path.isConvex() ? "convex" : "not convex", 30, 100, paint); in REG_FIDDLE()
H A Dbezier_curves.cpp15 SkPath path; in REG_FIDDLE() local
16 path.moveTo(10, 10); in REG_FIDDLE()
17 path.quadTo(256, 64, 128, 128); in REG_FIDDLE()
18 path.quadTo(10, 192, 250, 250); in REG_FIDDLE()
19 canvas->drawPath(path, paint); in REG_FIDDLE()
H A DPath_Iter_isClosedContour.cpp8 SkPath path; in REG_FIDDLE() local
9 path.conicTo(1, 2, 3, 4, .5f); in REG_FIDDLE()
10 SkPath::Iter iter(path, forceClose); in REG_FIDDLE()
13 path.close(); in REG_FIDDLE()
14 iter.setPath(path, forceClose); in REG_FIDDLE()
H A DPath_moveTo_2.cpp9 SkPath path; in REG_FIDDLE() local
11 path.moveTo(data[i][0]); in REG_FIDDLE()
12 path.lineTo(data[i][1]); in REG_FIDDLE()
13 path.lineTo(data[i][2]); in REG_FIDDLE()
17 canvas->drawPath(path, paint); in REG_FIDDLE()
H A DPaint_setStrokeCap_b.cpp10 SkPath path; in REG_FIDDLE() local
11 path.moveTo(30, 20); in REG_FIDDLE()
12 path.lineTo(40, 40); in REG_FIDDLE()
13 path.conicTo(70, 20, 100, 20, .707f); in REG_FIDDLE()
16 canvas->drawPath(path, paint); in REG_FIDDLE()
H A DPath_writeToMemory.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()
14 SkDebugf("path is " "%s" "equal to copy\n", path == copy ? "" : "not "); in REG_FIDDLE()
H A DPath_toggleInverseFillType.cpp8 SkPath path; in REG_FIDDLE() local
12 paint.getTextPath("ABC", 3, 20, 80, &path); in REG_FIDDLE()
13 canvas->drawPath(path, paint); in REG_FIDDLE()
14 path.toggleInverseFillType(); in REG_FIDDLE()
16 canvas->drawPath(path, paint); in REG_FIDDLE()
H A DPath_transform_2.cpp7 SkPath path; in REG_FIDDLE() local
8 path.moveTo(100, 100); in REG_FIDDLE()
9 path.quadTo(100, 20, 20, 100); in REG_FIDDLE()
15 path.transform(matrix); in REG_FIDDLE()
16 canvas->drawPath(path, paint); in REG_FIDDLE()
H A DPaint_getPosTextPath.cpp10 SkPath path, path2; in REG_FIDDLE() local
12 paint.getPosTextPath("ABC", 3, pos, &path); in REG_FIDDLE()
13 Simplify(path, &path); in REG_FIDDLE()
15 canvas->drawPath(path, paint); in REG_FIDDLE()
/third_party/skia/fuzz/
H A DFuzzTriangulation.cpp17 SkPath path; in DEF_FUZZ() local
18 FuzzEvilPath(fuzz, &path, SkPath::Verb::kDone_Verb); in DEF_FUZZ()
21 SkMatrix::I(), path.getBounds()); in DEF_FUZZ()
26 SkRect clipBounds = path.getBounds(); in DEF_FUZZ()
31 int count = GrTriangulator::PathToTriangles(path, tol, clipBounds, &allocator, &isLinear); in DEF_FUZZ()
33 allocator.detachVertexData(); // normally handled by the triangulating path renderer. in DEF_FUZZ()
/foundation/ability/idl_tool/idl_tool_2/util/
H A Dfile.h27 File(const std::string &path, unsigned int mode);
31 void OpenByRead(const std::string &path);
71 static bool CreateParentDir(const std::string &path);
75 static std::string AdapterPath(const std::string &path);
77 static std::string AdapterRealPath(const std::string &path);
79 static std::string RealPath(const std::string &path);
81 static bool CheckValid(const std::string &path);
/foundation/ability/ability_runtime/services/common/src/
H A Djson_utils.cpp27 bool JsonUtils::LoadConfiguration(const std::string& path, nlohmann::json& jsonBuf, in LoadConfiguration() argument
30 std::string configPath = GetConfigPath(path, defaultPath); in LoadConfiguration()
31 TAG_LOGD(AAFwkTag::ABILITYMGR, "config path is: %{public}s", configPath.c_str()); in LoadConfiguration()
38 std::string JsonUtils::GetConfigPath(const std::string& path, const std::string& defaultPath) in GetConfigPath() argument
41 char *configPath = GetOneCfgFile(path.c_str(), buf, MAX_PATH_LEN); in GetConfigPath()
60 char path[PATH_MAX] = {0}; in ReadFileInfoJson() local
61 if (realpath(filePath.c_str(), path) == nullptr) { in ReadFileInfoJson()
69 in.open(path, std::ios_base::in); in ReadFileInfoJson()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/
H A Dmemory_filesystem.h44 IDirectory::Entry GetEntry(BASE_NS::string_view path) override;
45 IFile::Ptr OpenFile(BASE_NS::string_view path) override;
46 IFile::Ptr CreateFile(BASE_NS::string_view path) override;
47 bool DeleteFile(BASE_NS::string_view path) override;
49 IDirectory::Ptr OpenDirectory(BASE_NS::string_view path) override;
50 IDirectory::Ptr CreateDirectory(BASE_NS::string_view path) override;
51 bool DeleteDirectory(BASE_NS::string_view path) override;
H A Dstd_filesystem.h34 // base path must be absolute, start with a "/" and on windows contain the drive letter "c:".
43 IFile::Ptr OpenFile(BASE_NS::string_view path) override;
44 IFile::Ptr CreateFile(BASE_NS::string_view path) override;
45 bool DeleteFile(BASE_NS::string_view path) override;
47 IDirectory::Ptr OpenDirectory(BASE_NS::string_view path) override;
48 IDirectory::Ptr CreateDirectory(BASE_NS::string_view path) override;
49 bool DeleteDirectory(BASE_NS::string_view path) override;
56 BASE_NS::string ValidatePath(BASE_NS::string_view path) const;
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/ohos/
H A Dohos_filesystem.h48 IDirectory::Entry GetEntry(BASE_NS::string_view path) override;
49 IFile::Ptr CreateFile(BASE_NS::string_view path) override;
50 bool DeleteFile(BASE_NS::string_view path) override;
51 IDirectory::Ptr OpenDirectory(BASE_NS::string_view path) override;
52 IDirectory::Ptr CreateDirectory(BASE_NS::string_view path) override;
53 bool DeleteDirectory(BASE_NS::string_view path) override;
56 IFile::Ptr OpenFile(BASE_NS::string_view path) override;
/foundation/filemanagement/app_file_service/interfaces/common/src/
H A Dcommon_func.cpp98 static void NormalizePath(string &path) in NormalizePath() argument
100 if (path.size() == 0) { in NormalizePath()
104 if (path[0] != BACKFLASH) { in NormalizePath()
105 path.insert(0, 1, BACKFLASH); in NormalizePath()
109 string CommonFunc::GetUriFromPath(const string &path) in GetUriFromPath() argument
111 string realPath = path; in GetUriFromPath()
120 string packageName = (path.find(FILE_MANAGER_URI_HEAD) == 0) ? FILE_MANAGER_AUTHORITY : g_bundleName; in GetUriFromPath()
/third_party/node/deps/v8/tools/unittests/
H A Dcompare_torque_output_test.py13 TOOLS_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
14 COMPARE_SCRIPT = os.path.join(TOOLS_DIR, 'compare_torque_output.py')
15 TEST_DATA = os.path.join(TOOLS_DIR, 'unittests', 'testdata', 'compare_torque')
24 file1 = os.path.join(TEST_DATA, test_folder, 'f1')
25 file2 = os.path.join(TEST_DATA, test_folder, 'f2')
/third_party/node/test/parallel/
H A Dtest-errors-systemerror.js24 path: '/str',
45 path: Buffer.from('/buf'),
65 path: Buffer.from('/buf'),
86 path: Buffer.from('a'),
99 assert.strictEqual(err.path, 'a');
106 err.path = 'path';
107 err.dest = 'path';
111 assert.strictEqual(err.path, 'path');
23 path: '/str', global() property
44 path: Buffer.from('/buf'), global() property
64 path: Buffer.from('/buf'), global() property
85 path: Buffer.from('a'), global() property
[all...]
/third_party/node/deps/v8/tools/testrunner/testproc/
H A Dfilter.py67 path = '/'.join(argpath[1:]) or '*'
68 if '*' in path:
69 self._globs[suitename].append(path)
71 self._exact_matches[suitename][path] = True
81 if fnmatch.fnmatch(test.path, g):
84 if test.path in exact_matches: return False
86 unix_path = test.path.replace(os.sep, '/')
/third_party/node/test/common/
H A Dtmpdir.js4 const path = require('path');
13 fs.realpathSync(process.env.NODE_TEST_DIR) : path.resolve(__dirname, '..');
19 const tmpPath = path.join(testRoot, tmpdirName);
60 return path.resolve(tmpPath, ...paths);
70 const fullPath = path.resolve(tmpPath + path.sep, ...paths);
78 path: tmpPath,
/third_party/libjpeg-turbo/
H A Dinstall.py43 neon_compat_src_path = os.path.join(src_path, "neon-compat.h")
44 neon_compat_dst_path = os.path.join(dst_path, "simd/arm/neon-compat.h")
47 src_file = os.path.join(src_path, file)
48 dst_file = os.path.join(dst_path, file)
54 if not os.path.exists(target_dir):
77 freetype_path.add_argument('--gen-dir', help='generate path of log', required=True)
78 freetype_path.add_argument('--source-dir', help='generate path of log', required=True)
80 tar_file_path = os.path.join(args.source_dir, "libjpeg-turbo-2.1.1.tar.gz")
81 target_dir = os.path.join(args.gen_dir, "libjpeg-turbo-2.1.1")
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A Dftell.c22 const char *path = "test.txt"; variable
31 FILE *fptr = fopen(path, "w+"); in ftell_0100()
52 remove(path); in ftell_0100()
62 FILE *fptr = fopen(path, "w+"); in ftell_0200()
83 remove(path); in ftell_0200()
93 FILE *fptr = fopen(path, "w+"); in ftell_0300()
113 remove(path); in ftell_0300()
H A Dfwrite.c21 const char *path = "/data/test.txt"; variable
30 FILE *fptr = fopen(path, "w+"); in fwrite_0100()
38 remove(path); in fwrite_0100()
48 FILE *fptr = fopen(path, "w+"); in fwrite_0200()
56 remove(path); in fwrite_0200()
66 FILE *fptr = fopen(path, "w+"); in fwrite_0300()
74 remove(path); in fwrite_0300()

Completed in 11 milliseconds

1...<<51525354555657585960>>...432