| /test/testfwk/xdevice/src/xdevice/_core/ |
| H A D | variables.py | 27 SRC_DIR = os.path.abspath(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))) 28 MODULES_DIR = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) 29 TOP_DIR = os.path.abspath( 30 os.path.dirname(os.path [all...] |
| /third_party/node/deps/npm/node_modules/@npmcli/package-json/lib/ |
| H A D | index.js | 2 const { resolve } = require('path') 69 // create a new empty package.json, so we can save at the given path even 71 static async create (path, opts = {}) { 73 await p.create(path) 80 // Loads a package.json at given path and JSON parses 81 static async load (path, opts = {}) { 85 return p.load(path) 89 return await p.load(path) 94 return await p.create(path) 99 static async fix (path, opt [all...] |
| /third_party/typescript/src/testRunner/unittests/tsserver/ |
| H A D | typeOnlyImportChains.ts | 5 path: "/a.ts",
9 path: "/b.ts",
13 path: "/c.ts",
22 path: "/a.ts",
26 path: "/b.ts",
30 path: "/c.ts",
39 path: "/a.ts",
43 path: "/b.ts",
47 path: "/c.ts",
56 path [all...] |
| /third_party/python/Lib/zoneinfo/ |
| H A D | _tzpath.py | 16 if not all(map(os.path.isabs, tzpaths)): 36 new_tzpath = tuple(filter(os.path.isabs, raw_tzpath)) 54 invalid_paths = (path for path in tzpaths if not os.path.isabs(path)) 66 """Retrieve the path to a TZif file from a key.""" 69 filepath = os.path.join(search_path, key) 70 if os.path.isfile(filepath): 76 _TEST_PATH = os.path [all...] |
| /third_party/elfio/doc/images/colorsvg/ |
| H A D | note.svg | 11 <path fill="#1F60A9" d="M25.5,12.7c0,7-5.7,12.7-12.7,12.7C5.7,25.5,0,19.8,0,12.7C0,5.6,5.7,0,12.7,0s12.7,5.7,12.7,12.7H25.5z"
13 <path fill="#2060AA" d="M25.473,12.7c0,6.983-5.688,12.671-12.672,12.671C5.718,25.471,0.03,19.783,0.03,12.7
15 <path fill="#2160AB" d="M25.443,12.7c0,6.968-5.674,12.642-12.643,12.642C5.734,25.439,0.061,19.768,0.061,12.7
17 <path fill="#2160AC" d="M25.415,12.7c0,6.95-5.661,12.612-12.612,12.612C5.752,25.412,0.091,19.751,0.091,12.7
19 <path fill="#2260AD" d="M25.387,12.7c0,6.936-5.648,12.583-12.583,12.583C5.769,25.383,0.121,19.734,0.121,12.7
21 <path fill="#2360AE" d="M25.357,12.701c0,6.919-5.635,12.554-12.553,12.554C5.787,25.354,0.152,19.719,0.152,12.701
23 <path fill="#2460AF" d="M25.33,12.7c0,6.903-5.622,12.524-12.525,12.524C5.803,25.323,0.181,19.702,0.181,12.7
25 <path fill="#2560B0" d="M25.302,12.701c0,6.887-5.608,12.496-12.496,12.496C5.82,25.294,0.212,19.686,0.212,12.701
27 <path fill="#2661B1" d="M25.273,12.7c0,6.87-5.597,12.467-12.467,12.467C5.837,25.266,0.242,19.67,0.242,12.7
29 <path fil [all...] |
| /device/soc/hisilicon/hi3861v100/sdk_liteos/ |
| H A D | SConstruct | 29 sys.path.insert(0,os.path.join(os.getcwd(), 'build')) 51 if not os.path.exists(os.path.dirname(env_cfg.log_path)) or not os.path.exists(env_cfg.log_path): 53 log_file = os.path.join(env_cfg.log_path,'scons_trace.log') 60 env = Environment(ENV={'PATH':os.environ['PATH']}, 68 libs = [env.SConscript(os.path.join(env_cfg.get_module_dir(module), 'SConscript'), {'env':env, 'env_cfg':env_cfg, 'module':module}, 69 variant_dir=os.path [all...] |
| /device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/ |
| H A D | SConstruct | 29 sys.path.append(os.path.join(os.getcwd(), 'build')) 51 if not os.path.exists(os.path.dirname(env_cfg.log_path)) or not os.path.exists(env_cfg.log_path): 53 log_file = os.path.join(env_cfg.log_path,'scons_trace.log') 60 env = Environment(ENV={'PATH':os.environ['PATH']}, 68 libs = [env.SConscript(os.path.join(env_cfg.get_module_dir(module), 'SConscript'), {'env':env, 'env_cfg':env_cfg, 'module':module}, 69 variant_dir=os.path [all...] |
| /third_party/node/lib/internal/fs/ |
| H A D | utils.js | 61 const pathModule = require('path'); 164 constructor(name, type, path, filepath = path && join(path, name)) { 166 this.parentPath = path; 167 this.path = filepath; 201 constructor(name, stats, path, filepath) { 202 super(name, null, path, filepath); 225 function join(path, name) { 226 if ((typeof path [all...] |
| /third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
| H A D | FieldMaskTree.java | 48 * a field path in the FieldMask. 93 * Adds a field path to the tree. In a FieldMask, every field path matches the specified field as 94 * well as all its sub-fields. For example, a field path "foo.bar" matches field "foo.bar" and 95 * also "foo.bar.baz", etc. When adding a field path to the tree, redundant sub-paths will be 97 * exists, which will turn the tree node for "foo.bar" to a leaf node. Likewise, if the field path 98 * to add is a sub-path of an existing leaf node, nothing will be changed in the tree. 102 FieldMaskTree addFieldPath(String path) { in addFieldPath() argument 103 String[] parts = path.split(FIELD_PATH_SEPARATOR_REGEX); in addFieldPath() 111 // Check whether the path matche in addFieldPath() 147 removeFieldPath(String path) removeFieldPath() argument 193 getFieldPaths(Node node, String path, List<String> paths) getFieldPaths() argument 207 intersectFieldPath(String path, FieldMaskTree output) intersectFieldPath() argument 253 merge( Node node, String path, Message source, Message.Builder destination, FieldMaskUtil.MergeOptions options) merge() argument [all...] |
| /third_party/skia/gm/ |
| H A D | cubicpaths.cpp | 33 SkPath path; variable 34 path.moveTo(0, 0); 35 path.cubicTo(140, 150, 40, 10, 170, 150); 38 SkRect bounds = path.getBounds(); 46 canvas->drawPath(path, paint); 86 void drawOne(SkCanvas* canvas, const SkPath& path, const SkRect& clip) { in drawOne() argument 90 canvas->drawPath(path, framePaint); in drawOne() 93 canvas->drawPath(path, fillPaint); in drawOne() 126 void drawPath(SkPath& path,SkCanvas* canvas,SkColor color, in drawPath() argument 130 path in drawPath() 177 PathAndName path; global() variable 245 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPathFillType fill, SkScalar strokeWidth) drawPath() argument 296 PathAndName path; global() variable 368 SkPath path; DEF_SIMPLE_GM() local 381 SkPath path; DEF_SIMPLE_GM() local [all...] |
| /third_party/node/deps/npm/node_modules/mkdirp/lib/ |
| H A D | mkdirp-manual.js | 1 const {dirname} = require('path') 3 const mkdirpManual = (path, opts, made) => { 5 const parent = dirname(path) 6 if (parent === path) { 7 return opts.mkdirAsync(path, opts).catch(er => { 15 return opts.mkdirAsync(path, opts).then(() => made || path, er => { 18 .then(made => mkdirpManual(path, opts, made)) 21 return opts.statAsync(path).then(st => { 30 const mkdirpManualSync = (path, opt [all...] |
| /base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
| H A D | cert_manager_file_operator.c | 32 static int32_t GetFileName(const char *path, const char *fileName, char *fullFileName, uint32_t fullFileNameLen) in GetFileName() argument 34 if (path != NULL && strlen(path) > 0) { in GetFileName() 35 if (strncpy_s(fullFileName, fullFileNameLen, path, strlen(path)) != EOK) { in GetFileName() 39 if (path[strlen(path) - 1] != '/') { in GetFileName() 56 static int32_t GetFullFileName(const char *path, const char *fileName, char **fullFileName) in GetFullFileName() argument 65 int32_t ret = GetFileName(path, fileName, tmpFileName, nameLen); in GetFullFileName() 85 int32_t CmIsDirExist(const char *path) in CmIsDirExist() argument 206 CmFileRemove(const char *path, const char *fileName) CmFileRemove() argument 223 CmMakeDir(const char *path) CmMakeDir() argument 240 CmUserBakupMakeDir(const char *path, const mode_t *mode) CmUserBakupMakeDir() argument 262 CmOpenDir(const char *path) CmOpenDir() argument 294 CmFileRead(const char *path, const char *fileName, uint32_t offset, uint8_t *buf, uint32_t len) CmFileRead() argument 311 CmFileWrite(const char *path, const char *fileName, uint32_t offset, const uint8_t *buf, uint32_t len) CmFileWrite() argument 328 CmUserBackupFileWrite(const char *path, const char *fileName, uint32_t offset, const uint8_t *buf, uint32_t len) CmUserBackupFileWrite() argument 345 CmFileSize(const char *path, const char *fileName) CmFileSize() argument 389 CmUidLayerGetFileCountAndNames(const char *path, struct CmBlob *fileNames, const uint32_t arraySize, uint32_t *fileCount) CmUidLayerGetFileCountAndNames() argument 439 CmUserIdLayerGetFileCountAndNames(const char *path, struct CmBlob *fileNames, const uint32_t arraySize, uint32_t *fileCount) CmUserIdLayerGetFileCountAndNames() argument 488 CmIsFileExist(const char *path, const char *fileName) CmIsFileExist() argument 530 DirRemove(const char *path) DirRemove() argument 567 CmDirRemove(const char *path) CmDirRemove() argument [all...] |
| /test/xts/tools/build/ |
| H A D | suite.py | 40 raise ValueError('Illegal xts project path ' + project_path) 49 raise ValueError('Illegal xts project path ' + project_path) 57 return os.path.join(xts_root, resource_reldir) 79 ohos_dir = os.path.join(self.args.source_dir, 'plugins', 'ohos') 80 devicetest_dir = os.path.join(self.args.source_dir, 'plugins', 'devicetest') 81 gen_dir0 = os.path.join(self.args.source_dir, 'dist') 82 gen_dir1 = os.path.join(ohos_dir, 'dist') 83 gen_dir2 = os.path.join(devicetest_dir, 'dist') 98 [os.path.join(self.args.source_dir, "run.bat"), 99 os.path [all...] |
| /third_party/vk-gl-cts/external/ |
| H A D | fetch_sources.py | 35 scriptPath = os.path.join(os.path.dirname(__file__), "..", "scripts") 36 sys.path.insert(0, scriptPath) 40 EXTERNAL_DIR = os.path.realpath(os.path.normpath(os.path.dirname(__file__))) 47 def onReadonlyRemoveError (func, path, exc_info): 48 os.chmod(path, stat.S_IWRITE) 49 os.unlink(path) 57 fullDstPath = os.path [all...] |
| /third_party/python/Lib/test/ |
| H A D | test_getpath.py | 12 SOURCE = (pathlib.Path(__file__).absolute().parent.parent.parent / "Modules/getpath.py").read_bytes() 298 contains the relative path from the executable's directory to the 299 platstdlib path. 391 "Test a venv created from non-installed python has correct zip path.""" 397 ns.add_known_xfile("/path/to/non-installed/bin/python") 400 "/path/to/non-installed/bin/python") 401 ns.add_known_file("/path/to/non-installed/lib/python9.8/os.py") 402 ns.add_known_dir("/path/to/non-installed/lib/python9.8/lib-dynload") 404 r"home = /path/to/non-installed" 408 prefix="/path/t [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
| H A D | VirtualFileSystem.h | 26 #include "llvm/Support/Path.h" 128 std::string Path; member in llvm::vfs::directory_entry 133 directory_entry(std::string Path, llvm::sys::fs::file_type Type) in directory_entry() argument 134 : Path(std::move(Path)), Type(Type) {} in directory_entry() 136 llvm::StringRef path() const { return Path; } in path() function in llvm::vfs::directory_entry 156 /// An input iterator over the entries in a virtual path, similar to 165 if (Impl->CurrentEntry.path().empty()) in directory_iterator() 176 if (Impl->CurrentEntry.path() in increment() [all...] |
| /foundation/arkui/ui_lite/frameworks/imgdecode/ |
| H A D | cache_manager.cpp | 56 UIFree(const_cast<char*>(dsc_.path)); in ClearSrc() 58 dsc_.path = nullptr; in ClearSrc() 61 RetCode CacheEntry::SetSrc(const char* path) in SetSrc() argument 65 size_t strLen = strlen(path); in SetSrc() 73 if (memcpy_s(newStr, strLen + 1, path, strLen) != EOK) { in SetSrc() 79 dsc_.path = newStr; in SetSrc() 81 dsc_.path = path; in SetSrc() 119 RetCode CacheManager::Open(const char* path, const Style& style, CacheEntry& entry) in Open() argument 121 if ((path in Open() 152 Close(const char* path) Close() argument 178 GetImageHeader(const char* path, ImageHeader& header) GetImageHeader() argument 229 GetIndex(const char* path, uint16_t& hittedIndex) GetIndex() argument 269 TryDecode(const char* path, const Style& style, CacheEntry& entry) TryDecode() argument [all...] |
| /third_party/ffmpeg/libavutil/ |
| H A D | wchar_filename.h | 100 * Checks for extended path prefixes for which normalization needs to be skipped. 104 static inline int path_is_extended(const wchar_t *path) in path_is_extended() argument 106 if (path[0] == L'\\' && (path[1] == L'\\' || path[1] == L'?') && path[2] == L'?' && path[3] == L'\\') in path_is_extended() 113 * Checks for a device path prefix. 118 static inline int path_is_device_path(const wchar_t *path) in path_is_device_path() argument 120 if (path[ in path_is_device_path() 244 get_extended_win32_path(const char *path, wchar_t **ppath_w) get_extended_win32_path() argument [all...] |
| /third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ |
| H A D | RbPath.java | 22 * A resource bundle path, used to identify entries in ICU data. 58 * Returns a path with the specified segments in (possibly empty). Note that unlike 59 * {@link #parse(String)}, {@code '/'} is not treated specially and can be present in a path 67 * Returns a path with the specified segments in (possibly empty). Note that unlike 68 * {@link #parse(String)}, {@code '/'} is not treated specially and can be present in a path 75 /** Parses the given path string, assuming {@code '/'} as a path separator. */ 76 public static RbPath parse(String path) { in parse() argument 77 checkArgument(!path.isEmpty(), "cannot parse an empty path strin in parse() 158 contains(RbPath path) contains() argument 169 matchesSublist(RbPath path, int offset) matchesSublist() argument [all...] |
| /third_party/node/test/parallel/ |
| H A D | test-path-parse-format.js | 25 const path = require('path'); 28 // [path, root] 29 ['C:\\path\\dir\\index.html', 'C:\\'], 47 ['\\\\server two\\shared folder\\file path.zip', 69 // [path, root] 114 checkParseFormat(path.win32, winPaths); 115 checkParseFormat(path.posix, unixPaths); 116 checkSpecialCaseParseFormat(path.win32, winSpecialCaseParseTests); 117 checkErrors(path [all...] |
| /third_party/protobuf/objectivec/ProtocolBuffers_iOS.xcodeproj/ |
| H A D | project.pbxproj | 119 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 120 5102DABB1891A052002037B6 /* GPBConcurrencyTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = GPBConcurrencyTests.m; sourceTree = "<group>"; }; 121 51457B5F18D0B7AF00CCC606 /* GPBCodedInputStream_PackagePrivate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPBCodedInputStream_PackagePrivate.h; sourceTree = "<group>"; }; 122 515B840C18B7DEE30031753B /* GPBDescriptor_PackagePrivate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPBDescriptor_PackagePrivate.h; sourceTree = "<group>"; }; 123 5196A06918CE16B000B759E2 /* GPBMessage_PackagePrivate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPBMessage_PackagePrivate.h; sourceTree = "<group>"; }; 124 7401C1A90F950347006D8281 /* UnitTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "UnitTests-Info.plist"; sourceTree = "<group>"; }; 125 7461B48D0F94F99000A0C422 /* GPBBootstrap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPBBootstrap.h; sourceTree = "<group>"; }; 126 7461B48E0F94F99000A0C422 /* GPBCodedInputStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPBCodedInputStream.h; sourceTree = "<group>"; }; 127 7461B48F0F94F99000A0C422 /* GPBCodedInputStream.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = GPBCodedInputStream.m; sourceTree = "<group>"; }; 128 7461B4900F94F99000A0C422 /* GPBCodedOutputStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path [all...] |
| /third_party/protobuf/objectivec/ProtocolBuffers_tvOS.xcodeproj/ |
| H A D | project.pbxproj | 119 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 120 5102DABB1891A052002037B6 /* GPBConcurrencyTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = GPBConcurrencyTests.m; sourceTree = "<group>"; }; 121 51457B5F18D0B7AF00CCC606 /* GPBCodedInputStream_PackagePrivate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPBCodedInputStream_PackagePrivate.h; sourceTree = "<group>"; }; 122 515B840C18B7DEE30031753B /* GPBDescriptor_PackagePrivate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPBDescriptor_PackagePrivate.h; sourceTree = "<group>"; }; 123 5196A06918CE16B000B759E2 /* GPBMessage_PackagePrivate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPBMessage_PackagePrivate.h; sourceTree = "<group>"; }; 124 7401C1A90F950347006D8281 /* UnitTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "UnitTests-Info.plist"; sourceTree = "<group>"; }; 125 7461B48D0F94F99000A0C422 /* GPBBootstrap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPBBootstrap.h; sourceTree = "<group>"; }; 126 7461B48E0F94F99000A0C422 /* GPBCodedInputStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPBCodedInputStream.h; sourceTree = "<group>"; }; 127 7461B48F0F94F99000A0C422 /* GPBCodedInputStream.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = GPBCodedInputStream.m; sourceTree = "<group>"; }; 128 7461B4900F94F99000A0C422 /* GPBCodedOutputStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path [all...] |
| /third_party/gn/src/base/files/ |
| H A D | file_util_posix.cc | 55 extern "C" char* mkdtemp(char* path); 65 int CallStat(const char* path, stat_wrapper_t* sb) { in CallStat() argument 66 return stat(path, sb); in CallStat() 68 int CallLstat(const char* path, stat_wrapper_t* sb) { in CallLstat() argument 69 return lstat(path, sb); in CallLstat() 72 int CallStat(const char* path, stat_wrapper_t* sb) { 73 return stat64(path, sb); 75 int CallLstat(const char* path, stat_wrapper_t* sb) { 76 return lstat64(path, sb); 81 bool VerifySpecificPathControlledByUser(const FilePath& path, in VerifySpecificPathControlledByUser() argument 173 DeleteFile(const FilePath& path, bool recursive) DeleteFile() argument 262 PathExists(const FilePath& path) PathExists() argument 266 PathIsWritable(const FilePath& path) PathIsWritable() argument 270 DirectoryExists(const FilePath& path) DirectoryExists() argument 277 CreateAndOpenFdForTemporaryFileInDir(const FilePath& directory, FilePath* path) CreateAndOpenFdForTemporaryFileInDir() argument 311 GetPosixFilePermissions(const FilePath& path, int* mode) GetPosixFilePermissions() argument 324 SetPosixFilePermissions(const FilePath& path, int mode) SetPosixFilePermissions() argument 344 std::string path; ExecutableExistsInPath() local 363 GetTempDir(FilePath* path) GetTempDir() argument 478 NormalizeFilePath(const FilePath& path, FilePath* normalized_path) NormalizeFilePath() argument 610 SetCurrentDirectory(const FilePath& path) SetCurrentDirectory() argument 614 VerifyPathControlledByUser(const FilePath& base, const FilePath& path, uid_t owner_uid, const std::set<gid_t>& group_gids) VerifyPathControlledByUser() argument 654 VerifyPathControlledByAdmin(const FilePath& path) VerifyPathControlledByAdmin() argument 678 GetMaximumPathComponentLength(const FilePath& path) GetMaximumPathComponentLength() argument [all...] |
| /third_party/skia/infra/bots/recipes/skpbench.expected/ |
| H A D | Perf-Android-Clang-Pixel2XL-GPU-Adreno540-arm64-Release-All-Android_Skpbench_Mskp.json | 8 "/path/to/tmp/json", 42 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 53 "/path/to/tmp/json", 56 "/path/to/tmp/" 71 "/path/to/tmp/json", 94 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 103 "\nimport subprocess\nimport sys\n\n# Remove the path.\nadb = sys.argv[1]\npath = sys.argv[2]\nprint('Removing %s' % path)\ncm [all...] |
| H A D | trybot.json | 8 "/path/to/tmp/json", 42 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 53 "/path/to/tmp/json", 56 "/path/to/tmp/" 71 "/path/to/tmp/json", 94 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 103 "\nimport subprocess\nimport sys\n\n# Remove the path.\nadb = sys.argv[1]\npath = sys.argv[2]\nprint('Removing %s' % path)\ncm [all...] |