| /foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/include/ |
| H A D | mtpfs_fuse.h | 62 int GetAttr(const char *path, struct stat *buf, struct fuse_file_info *fi); 63 int MkNod(const char *path, mode_t mode, dev_t dev); 64 int MkDir(const char *path, mode_t mode); 65 int UnLink(const char *path); 66 int RmDir(const char *path); 67 int ReName(const char *path, const char *newpath, unsigned int flags); 68 int ChMods(const char *path, mode_t mode, struct fuse_file_info *fi); 69 int Chown(const char *path, uid_t uid, gid_t gid, struct fuse_file_info *fi); 70 int UTimens(const char *path, const struct timespec tv[2], struct fuse_file_info *fi); 71 int Open(const char *path, struc [all...] |
| /third_party/node/deps/v8/tools/vim/ |
| H A D | ninja_output.py | 31 os.path.isdir(os.path.join(v8_root, name_value[1]))): 36 return os.path.join(os.path.join(v8_root, output_dir), configuration) 41 if os.path.isdir(os.path.join(v8_root, f)): 46 out_path = os.path.join(v8_root, out_dir) 48 path = os.path.join(out_path, config) 49 if os.path [all...] |
| /third_party/typescript/src/testRunner/unittests/tsserver/ |
| H A D | projectReferences.ts | 26 const host = createHostWithSolutionBuild(files, [containerConfig.path]);
33 rootFiles: files.map(f => ({ fileName: f.path })),
38 file: f.path,
39 projectFileName: endsWith(f.path, "tsconfig.json") ? f.path : undefined
50 const containerProject = service.configuredProjects.get(containerConfig.path)!;
59 const host = createHostWithSolutionBuild(files, [containerConfig.path]);
65 arguments: { file: containerCompositeExec[1].path, ...myConstStart }
73 path: `/user/username/projects/temp/temp.ts`,
76 const host = createHostWithSolutionBuild(files.concat([tempFile]), [containerConfig.path]);
[all...] |
| /test/testfwk/developer_test/local_coverage/ |
| H A D | coverage_tools.py | 35 all_system_info_path = os.path.join( 38 system_info_path = os.path.join( 41 if os.path.exists(all_system_info_path): 52 if os.path.exists(system_info_path): 62 coverage_path = os.path.join(developer_path, "reports/coverage") 63 code_path = os.path.join( 66 if os.path.exists(code_path): 73 gcda_dir_path = os.path.join(developer_path, "local_coverage/code_coverage/results/coverage/data/cxx") 74 if os.path.exists(gcda_dir_path): 76 remove_out = os.path [all...] |
| /third_party/jsframework/runtime/main/extend/i18n/ |
| H A D | I18n.ts | 52 * @param {string} path - The path of language resources which to be translated. 56 public $t(path: string, params?: any): any { 57 if (typeof path !== 'string') { 58 Log.warn(`Invalid parameter type: The type of 'path' should be string, not ${typeof path}.`); 62 return path; 64 let value = this._getMessage(this.messages, path); 66 return path; 72 value = this._translate(path, valu [all...] |
| /third_party/musl/libc-test/src/functionalext/supplement/misc/ |
| H A D | nftw.c | 59 void remove_directory(const char *path) in remove_directory() argument 65 if (!(dir = opendir(path))) { in remove_directory() 75 int result = snprintf(filepath, sizeof(filepath), "%s/%s", path, entry->d_name); in remove_directory() 81 int result = snprintf(filepath, sizeof(filepath), "%s/%s", path, entry->d_name); in remove_directory() 94 if (rmdir(path) == -1) { in remove_directory() 95 t_error("%s error in rmdir test nftw path! \n", __func__); in remove_directory() 99 void nftw_build_testfile(const char *path) in nftw_build_testfile() argument 102 if (mkdir(path, 0755) == -1) { in nftw_build_testfile() 103 t_error("%s error in mkdir test nftw path! %s \n", __func__, path); in nftw_build_testfile() 182 char path[PATH_MAX]; nftw_build_testDir() local 229 char path[PATH_MAX * TEST_DIGIT_TWO]; nftw_0300() local [all...] |
| /third_party/typescript/src/testRunner/unittests/tsbuildWatch/ |
| H A D | moduleResolution.ts | 8 { path: `${projectRoot}/project1/index.ts`, content: `import { foo } from "file";` },
9 { path: `${projectRoot}/project1/node_modules/file/index.d.ts`, content: "export const foo = 10;" },
11 path: `${projectRoot}/project1/tsconfig.json`,
17 { path: `${projectRoot}/project2/index.ts`, content: `import { foo } from "file";` },
18 { path: `${projectRoot}/project2/file.d.ts`, content: "export const foo = 10;" },
20 path: `${projectRoot}/project2/tsconfig.json`,
26 { path: `${projectRoot}/node_modules/@types/foo/index.d.ts`, content: "export const foo = 10;" },
27 { path: `${projectRoot}/node_modules/@types/bar/index.d.ts`, content: "export const bar = 10;" },
29 path: `${projectRoot}/tsconfig.json`,
33 { path [all...] |
| /third_party/skia/gm/ |
| H A D | aaa.cpp | 47 // The following path is empty but it'll reveal bug chrome:662914 in DEF_SIMPLE_GM() 48 SkPathBuilder path; in DEF_SIMPLE_GM() local 49 path.moveTo(SkBits2Float(0x429b9d5c), SkBits2Float(0x4367a041)); // 77.8073f, 231.626f in DEF_SIMPLE_GM() 51 path.cubicTo(SkBits2Float(0x429b9d71), SkBits2Float(0x4367a022), in DEF_SIMPLE_GM() 54 path.lineTo(SkBits2Float(0x429b9d5c), SkBits2Float(0x4367a041)); // 77.8073f, 231.626f in DEF_SIMPLE_GM() 55 path.close(); in DEF_SIMPLE_GM() 56 canvas->drawPath(path.detach(), p); in DEF_SIMPLE_GM() 58 // The following path reveals a subtle SkAnalyticQuadraticEdge::updateQuadratic bug: in DEF_SIMPLE_GM() 61 path.moveTo(SkBits2Float(0x434ba71e), SkBits2Float(0x438a06d0)); // 203.653f, 276.053f in DEF_SIMPLE_GM() 62 path in DEF_SIMPLE_GM() 108 SkPath path = builder.detach(); DEF_SIMPLE_GM() local 142 SkPath path = SkPath::Circle(100, 100, 30); DEF_SIMPLE_GM() local [all...] |
| /third_party/python/Tools/scripts/ |
| H A D | win_add2path.py | 1 """Add Python to the search path on Windows 3 This is a simple script to add Python to the Windows search path. It 17 PATH = "PATH" variable 18 DEFAULT = "%PATH%" 21 pythonpath = os.path.dirname(os.path.normpath(sys.executable)) 22 scripts = os.path.join(pythonpath, "Scripts") 26 userpath = os.path.dirname(usersite) 27 userscripts = os.path [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/ |
| H A D | slider_tip_modifier.cpp | 136 void SliderTipModifier::PaintHorizontalBubble(float vertexOffsetFromBlock, RSPath& path) in PaintHorizontalBubble() argument 147 path.MoveTo(vertex_.GetX(), vertex_.GetY()); in PaintHorizontalBubble() 148 path.ArcTo(arrowRadius, arrowRadius, 0.0f, RSPathDirection::CW_DIRECTION, vertex_.GetX() + arrowHorizonOffset, in PaintHorizontalBubble() 150 path.LineTo(vertex_.GetX() + arrowSizeWidth * HALF, vertex_.GetY() + arrowSizeHeight); in PaintHorizontalBubble() 151 path.ArcTo(circularRadius, circularRadius, 0.0f, RSPathDirection::CW_DIRECTION, in PaintHorizontalBubble() 153 path.LineTo(vertex_.GetX() - arrowSizeWidth * HALF, vertex_.GetY() + bubbleSize_.Height()); in PaintHorizontalBubble() 154 path.ArcTo(circularRadius, circularRadius, 0.0f, RSPathDirection::CW_DIRECTION, in PaintHorizontalBubble() 156 path.LineTo(vertex_.GetX() - arrowHorizonOffset * HALF, vertex_.GetY() + arrowVerticalOffset); in PaintHorizontalBubble() 159 path.MoveTo(vertex_.GetX(), vertex_.GetY()); in PaintHorizontalBubble() 160 path in PaintHorizontalBubble() 173 PaintVerticalBubble(float vertexOffsetFromBlock, RSPath& path) PaintVerticalBubble() argument 222 PaintHorizontalBubbleSuitableAging(float vertexOffsetFromBlock, RSPath& path) PaintHorizontalBubbleSuitableAging() argument 283 PaintVerticalBubbleSuitableAging(float vertexOffsetFromBlock, RSPath& path) PaintVerticalBubbleSuitableAging() argument 343 RSPath path; PaintBubble() local [all...] |
| /foundation/filemanagement/file_api/interfaces/kits/js/src/mod_statfs/ |
| H A D | statfs_n_exporter.cpp | 35 std::unique_ptr<char[]> path; in GetFrSizeSync() local 36 tie(succ, path, std::ignore) = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in GetFrSizeSync() 38 NError(EINVAL).ThrowErr(env, "Invalid path"); in GetFrSizeSync() 43 int ret = statvfs(path.get(), &diskInfo); in GetFrSizeSync() 62 std::unique_ptr<char []> path; in GetFrSize() local 63 tie(succ, path, std::ignore) = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in GetFrSize() 65 NError(EINVAL).ThrowErr(env, "Invalid path"); in GetFrSize() 70 std::string pathString(path.get()); in GetFrSize() 107 std::unique_ptr<char[]> path; in GetBSizeSync() local 108 tie(succ, path, st in GetBSizeSync() 132 std::unique_ptr<char []> path; GetBSize() local 176 std::unique_ptr<char[]> path; GetBAvailSync() local 201 std::unique_ptr<char []> path; GetBAvail() local 245 std::unique_ptr<char[]> path; GetBlocksSync() local 270 std::unique_ptr<char []> path; GetBlocks() local 314 std::unique_ptr<char[]> path; GetBFreeSync() local 339 std::unique_ptr<char []> path; GetBFree() local 383 std::unique_ptr<char[]> path; GetFreeBytesSync() local 410 std::unique_ptr<char []> path; GetFreeBytes() local 455 std::unique_ptr<char[]> path; GetTotalBytesSync() local 482 std::unique_ptr<char []> path; GetTotalBytes() local [all...] |
| /third_party/node/tools/inspector_protocol/jinja2/ |
| H A D | loaders.py | 15 from os import path namespace 23 """Split a path into segments and perform a sanity check. If it detects 24 '..' in the path it will raise a `TemplateNotFound` error. 28 if path.sep in piece \ 29 or (path.altsep and path.altsep in piece) or \ 30 piece == path.pardir: 47 from os.path import join, exists, getmtime 51 def __init__(self, path): 52 self.path [all...] |
| /foundation/multimedia/ringtone_library/test/unittest/ringtone_scanner_test/src/ |
| H A D | ringtone_scanner_utils_test.cpp | 54 const string path = "ringtonelib_IsExists_test_001"; in HWTEST_F() local 55 ret = RingtoneScannerUtils::IsExists(path); in HWTEST_F() 67 string path = "ringtonelib_GetFileNameFromUri_test_001/test"; in HWTEST_F() local 68 ret = RingtoneScannerUtils::GetFileNameFromUri(path); in HWTEST_F() 70 path = "ringtonelib_GetFileNameFromUri_test_001"; in HWTEST_F() 71 ret = RingtoneScannerUtils::GetFileNameFromUri(path); in HWTEST_F() 79 string path = "ringtonelib_GetFileExtension_test_001.test"; in HWTEST_F() local 80 ret = RingtoneScannerUtils::GetFileExtension(path); in HWTEST_F() 82 path = "ringtonelib_GetFileExtension_test_001"; in HWTEST_F() 83 ret = RingtoneScannerUtils::GetFileExtension(path); in HWTEST_F() 91 const string path = "ringtonelib_IsFileHidden_test_001/.test"; HWTEST_F() local 100 const string path = "ringtonelib_GetParentPath_test_001/test"; HWTEST_F() local 107 const string path = "ringtonelib_GetFileTitle_test_001"; HWTEST_F() local 114 const string path = "ringtonelib_IsDirHidden_test_001/.test"; HWTEST_F() local 123 const string path = "ringtonelib_IsDirHiddenRecursive_test_001/.test"; HWTEST_F() local 134 const string path = "ringtonelib_IsDirectory_test_001"; HWTEST_F() local 146 string path = "ringtonelib_IsRegularFile_test_001"; HWTEST_F() local [all...] |
| /test/testfwk/developer_test/src/main/ |
| H A D | _init_global_config.py | 24 # insert src path for loading xdevice modules 27 sys.framework_src_dir = os.path.abspath(os.path.dirname( 28 os.path.dirname(__file__))) 30 # 将目录存放到sys.path模块中,新添加的目录会优先于其他目录被import检查 0代表最高优先级 31 sys.path.insert(0, sys.framework_src_dir) 35 sys.framework_root_dir = os.path.abspath(os.path.dirname( 36 os.path.dirname(os.path [all...] |
| /third_party/skia/infra/bots/assets/valgrind/ |
| H A D | create.py | 23 FILE_DIR = os.path.dirname(os.path.abspath(__file__)) 24 INFRA_BOTS_DIR = os.path.realpath(os.path.join(FILE_DIR, os.pardir, os.pardir)) 25 sys.path.insert(0, INFRA_BOTS_DIR) 32 TEMP_DIR = os.path.join(tempfile.gettempdir(), 'skia-%s' % VALGRIND) 33 INSTALL_DIR = os.path.join(TEMP_DIR, 'valgrind_install') 38 if os.path.isfile(TARBALL): 46 if os.path.isdir(VALGRIND): 52 if os.path [all...] |
| /third_party/skia/modules/sksg/src/ |
| H A D | SkSGGeometryEffect.cpp | 63 SkPath path = child->asPath(); in onRevalidateEffect() local 68 SkAssertResult(trim->filterPath(&path, path, &rec, nullptr)); in onRevalidateEffect() 71 return path; in onRevalidateEffect() 89 SkPath path = child->asPath(); in onRevalidateEffect() local 90 path.transform(m); in onRevalidateEffect() 92 return path; in onRevalidateEffect() 121 SkPath path = child->asPath(); in onRevalidateEffect() local 126 dash_patheffect->filterPath(&path, path, in onRevalidateEffect() 133 SkPath path = child->asPath(); onRevalidateEffect() local 145 SkPath path = child->asPath(); onRevalidateEffect() local [all...] |
| /third_party/node/tools/gyp/pylib/gyp/ |
| H A D | MSVSVersion.py | 16 return os.path.normpath(os.path.join(*args)) 30 path, 41 self.path = path 74 def Path(self): member in VisualStudioVersion 75 """Returns the path to Visual Studio installation.""" 76 return self.path 79 """Returns the path to a given compiler tool. """ 80 return os.path [all...] |
| H A D | common.py | 7 import os.path namespace 91 # If a relative path, parsed_build_file is relative to the directory 93 # parsed_build_file is not a usable path as-is. Resolve it by 95 # absolute, it is usable as a path regardless of the current directory, 96 # and os.path.join will return it as-is. 97 build_file = os.path.normpath( 98 os.path.join(os.path.dirname(build_file), parsed_build_file) 101 if not os.path.isabs(build_file): 129 # /path/t [all...] |
| /third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
| H A D | MSVSVersion.py | 16 return os.path.normpath(os.path.join(*args)) 30 path, 41 self.path = path 74 def Path(self): member in VisualStudioVersion 75 """Returns the path to Visual Studio installation.""" 76 return self.path 79 """Returns the path to a given compiler tool. """ 80 return os.path [all...] |
| /third_party/ninja/src/ |
| H A D | disk_interface.cc | 41 string DirName(const string& path) {
in DirName() argument 49 string::size_type slash_pos = path.find_last_of(kPathSeparators);
in DirName() 53 std::find(kPathSeparators, kEnd, path[slash_pos - 1]) != kEnd)
in DirName() 55 return path.substr(0, slash_pos);
in DirName() 58 int MakeDir(const string& path) {
in MakeDir() argument 60 return _mkdir(path.c_str());
in MakeDir() 62 return mkdir(path.c_str(), 0777);
in MakeDir() 77 TimeStamp StatSingleFile(const string& path, string* err) {
in StatSingleFile() argument 79 if (!GetFileAttributesExA(path.c_str(), GetFileExInfoStandard, &attrs)) {
in StatSingleFile() 83 *err = "GetFileAttributesEx(" + path in StatSingleFile() 140 MakeDirs(const string& path) MakeDirs() argument 181 Stat(const string& path, string* err) const global() argument 250 WriteFile(const string& path, const string& contents) global() argument 274 MakeDir(const string& path) global() argument 285 ReadFile(const string& path, string* contents, string* err) global() argument 295 RemoveFile(const string& path) global() argument [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
| H A D | FileCollector.cpp | 12 #include "llvm/Support/Path.h" 17 static bool isCaseSensitivePath(StringRef Path) { in isCaseSensitivePath() argument 18 SmallString<256> TmpDest = Path, UpperDest, RealDest; in isCaseSensitivePath() 21 if (!sys::fs::real_path(Path, TmpDest)) in isCaseSensitivePath() 23 Path = TmpDest; in isCaseSensitivePath() 25 // Change path to all upper case and ask for its real path, if the latter in isCaseSensitivePath() 26 // exists and is equal to path, it's not case sensitive. Default to case in isCaseSensitivePath() 29 UpperDest = Path.upper(); in isCaseSensitivePath() 30 if (sys::fs::real_path(UpperDest, RealDest) && Path in isCaseSensitivePath() [all...] |
| /third_party/node/doc/api/ |
| H A D | path.html | 7 <title>Path | Node.js v18.20.1 Documentation</title> 11 <link rel="canonical" href="https://nodejs.org/api/path.html"> 15 <body class="alt apidoc" id="api-section-path"> 62 <li><a href="path.html" class="nav-path active">Path</a></li> 96 <div id="column1" data-id="path" class="interior"> 102 <path fill="none" d="M0 0h24v24H0z" /> 103 <path d="M11.1 12.08c-2.33-4.51-.5-8.48.53-10.07C6.27 2.2 1.98 6.59 1.98 12c0 .14.02.28.02.42.62-.27 1.29-.42 2-.42 1.66 0 3.18.83 4.1 2.15A4.01 4.01 0 0111 18c0 1.52-.87 2.83-2.12 3.51.98.32 2.03.5 3.11.5 3.5 0 6.58-1.8 8.37-4.52-2.36.23-6.98-.97-9.26-5.41z"/> 104 <path [all...] |
| /third_party/python/Mac/BuildScript/ |
| H A D | build-installer.py | 26 - deprecate use of explicit SDK (--sdk-path=) since all but the oldest 62 def writePlist(path, plist): 64 dump(path, fp) 92 os.path.join(SRCDIR, 'configure'), 'PACKAGE_VERSION') 104 fn = os.path.join(SRCDIR, 'Include', 'patchlevel.h') 120 DEPSRC = os.path.join(WORKDIR, 'third-party') 121 DEPSRC = os.path.expanduser('~/Universal/other-sources') 148 SRCDIR = os.path.dirname( 149 os.path.dirname( 150 os.path [all...] |
| /third_party/typescript/src/testRunner/unittests/tscWatch/ |
| H A D | resolutionCache.ts | 6 path: "/a/d/f0.ts",
10 path: "/a/f1.ts",
16 rootFiles: [root.path],
28 commandLineArgs: ["--w", root.path],
39 sys.writeFile(root.path, `import {x} from "f1"
55 sys.writeFile(root.path, `import {x} from "f2"`);
74 sys.writeFile(root.path, `import {x} from "f1"`);
88 path: `/a/foo.ts`,
93 path: `/a/bar.d.ts`,
99 rootFiles: [root.path],
[all...] |
| /third_party/littlefs/tests/ |
| H A D | test_dirs.toml | 29 char path[1024]; 30 sprintf(path, "dir%03d", i); 31 lfs_mkdir(&lfs, path) => 0; 46 char path[1024]; 47 sprintf(path, "dir%03d", i); 50 assert(strcmp(info.name, path) == 0); 66 char path[1024]; 67 sprintf(path, "removeme%03d", i); 68 lfs_mkdir(&lfs, path) => 0; 83 char path[102 [all...] |