| /third_party/node/deps/v8/third_party/zlib/google/ |
| H A D | zip_writer.cc | 35 bool ZipWriter::AddFileContent(const base::FilePath& path, base::File file) { in AddFileContent() argument 43 PLOG(ERROR) << "Cannot read file " << Redact(path); in AddFileContent() 51 PLOG(ERROR) << "Cannot write data from file " << Redact(path) in AddFileContent() 62 bool ZipWriter::OpenNewFileEntry(const base::FilePath& path, in OpenNewFileEntry() argument 65 std::string str_path = path.AsUTF8Unsafe(); in OpenNewFileEntry() 76 compression = GetCompressionMethod(path); in OpenNewFileEntry() 87 bool ZipWriter::AddFileEntry(const base::FilePath& path, base::File file) { in AddFileEntry() argument 92 if (!OpenNewFileEntry(path, /*is_directory=*/false, info.last_modified)) in AddFileEntry() 95 if (!AddFileContent(path, std::move(file))) in AddFileEntry() 102 bool ZipWriter::AddDirectoryEntry(const base::FilePath& path) { in AddDirectoryEntry() argument 277 AddDirectoryContents(const base::FilePath& path) AddDirectoryContents() argument [all...] |
| /third_party/node/deps/zlib/google/ |
| H A D | zip_writer.cc | 35 bool ZipWriter::AddFileContent(const base::FilePath& path, base::File file) { in AddFileContent() argument 43 PLOG(ERROR) << "Cannot read file " << Redact(path); in AddFileContent() 51 PLOG(ERROR) << "Cannot write data from file " << Redact(path) in AddFileContent() 62 bool ZipWriter::OpenNewFileEntry(const base::FilePath& path, in OpenNewFileEntry() argument 65 std::string str_path = path.AsUTF8Unsafe(); in OpenNewFileEntry() 76 compression = GetCompressionMethod(path); in OpenNewFileEntry() 87 bool ZipWriter::AddFileEntry(const base::FilePath& path, base::File file) { in AddFileEntry() argument 92 if (!OpenNewFileEntry(path, /*is_directory=*/false, info.last_modified)) in AddFileEntry() 95 if (!AddFileContent(path, std::move(file))) in AddFileEntry() 102 bool ZipWriter::AddDirectoryEntry(const base::FilePath& path) { in AddDirectoryEntry() argument 277 AddDirectoryContents(const base::FilePath& path) AddDirectoryContents() argument [all...] |
| /third_party/node/deps/icu-small/source/tools/genrb/ |
| H A D | filterrb.cpp | 20 ResKeyPath::ResKeyPath(const std::string& path, UErrorCode& status) { in ResKeyPath() argument 21 if (path.empty() || path[0] != '/') { in ResKeyPath() 22 std::cerr << "genrb error: path must start with /: " << path << std::endl; in ResKeyPath() 26 if (path.length() == 1) { in ResKeyPath() 33 j = path.find('/', i); in ResKeyPath() 34 std::string key = path.substr(i, j - i); in ResKeyPath() 36 std::cerr << "genrb error: empty subpaths and trailing slashes are not allowed: " << path << std::endl; in ResKeyPath() 86 ResKeyPath path(ruleLin in addRule() 90 addRule(const ResKeyPath& path, bool inclusionRule, UErrorCode& status) addRule() argument 161 applyRule( const ResKeyPath& path, std::list<std::string>::const_iterator it, bool inclusionRule, UErrorCode& status) applyRule() argument [all...] |
| /third_party/icu/icu4c/source/tools/genrb/ |
| H A D | filterrb.cpp | 20 ResKeyPath::ResKeyPath(const std::string& path, UErrorCode& status) { in ResKeyPath() argument 21 if (path.empty() || path[0] != '/') { in ResKeyPath() 22 std::cerr << "genrb error: path must start with /: " << path << std::endl; in ResKeyPath() 26 if (path.length() == 1) { in ResKeyPath() 33 j = path.find('/', i); in ResKeyPath() 34 std::string key = path.substr(i, j - i); in ResKeyPath() 36 std::cerr << "genrb error: empty subpaths and trailing slashes are not allowed: " << path << std::endl; in ResKeyPath() 86 ResKeyPath path(ruleLin in addRule() 90 addRule(const ResKeyPath& path, bool inclusionRule, UErrorCode& status) addRule() argument 161 applyRule( const ResKeyPath& path, std::list<std::string>::const_iterator it, bool inclusionRule, UErrorCode& status) applyRule() argument [all...] |
| /third_party/skia/third_party/externals/icu/source/tools/genrb/ |
| H A D | filterrb.cpp | 20 ResKeyPath::ResKeyPath(const std::string& path, UErrorCode& status) { in ResKeyPath() argument 21 if (path.empty() || path[0] != '/') { in ResKeyPath() 22 std::cerr << "genrb error: path must start with /: " << path << std::endl; in ResKeyPath() 26 if (path.length() == 1) { in ResKeyPath() 33 j = path.find('/', i); in ResKeyPath() 34 std::string key = path.substr(i, j - i); in ResKeyPath() 36 std::cerr << "genrb error: empty subpaths and trailing slashes are not allowed: " << path << std::endl; in ResKeyPath() 86 ResKeyPath path(ruleLin in addRule() 90 addRule(const ResKeyPath& path, bool inclusionRule, UErrorCode& status) addRule() argument 161 applyRule( const ResKeyPath& path, std::list<std::string>::const_iterator it, bool inclusionRule, UErrorCode& status) applyRule() argument [all...] |
| /third_party/skia/tests/ |
| H A D | ClipCubicTest.cpp | 177 SkPath path; in DEF_TEST() local 178 path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0x00000000)); // 0,0 in DEF_TEST() 179 path.lineTo(SkBits2Float(0x43434343), SkBits2Float(0x43430143)); //195.263f, 195.005f in DEF_TEST() 180 path.lineTo(SkBits2Float(0x43434343), SkBits2Float(0x43434343)); //195.263f, 195.263f in DEF_TEST() 181 path.lineTo(SkBits2Float(0xb5434343), SkBits2Float(0x434300be)); //-7.2741e-07f, 195.003f in DEF_TEST() 183 path.cubicTo(SkBits2Float(0x43434343), SkBits2Float(0x43434341), in DEF_TEST() 187 path.cubicTo(SkBits2Float(0x016037c0), SkBits2Float(0x43434343), in DEF_TEST() 191 path.cubicTo(SkBits2Float(0x43434344), SkBits2Float(0x43434341), in DEF_TEST() 195 path.cubicTo(SkBits2Float(0xcab33535), SkBits2Float(0x34cacaca), in DEF_TEST() 198 path in DEF_TEST() 215 SkPath path; DEF_TEST() local [all...] |
| /third_party/lame/macosx/LAME.xcodeproj/ |
| H A D | project.pbxproj | 78 089C1667FE841158C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; }; 79 32BAE0B70371A74B00C91783 /* LAME_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LAME_Prefix.pch; sourceTree = "<group>"; }; 80 8D07F2C70486CC7A007CD1D0 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; }; 81 8D07F2C80486CC7A007CD1D0 /* LAME.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = LAME.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 82 EA0A6AC20BB84D93003C87B1 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; }; 83 EA498C8C0DE5E37B00250F0E /* config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = config.h; sourceTree = "<group>"; }; 84 EA8CC08709A39A49001379B8 /* lame.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = lame.h; path = ../include/lame.h; sourceTree = "<group>"; }; 85 EA8CC08A09A39A55001379B8 /* common.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = common.c; sourceTree = "<group>"; }; 86 EA8CC08B09A39A55001379B8 /* common.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = common.h; sourceTree = "<group>"; }; 87 EA8CC08C09A39A55001379B8 /* dct64_i386.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path [all...] |
| /third_party/python/Lib/test/ |
| H A D | test_posixpath.py | 18 # An absolute path to a temporary filename for testing. We can't rely on TESTFN 19 # being an absolute path, so we need this. 30 msg = "ABSTFN is not a posix path - tests fail" 76 def splitextTest(self, path, filename, ext): 77 self.assertEqual(posixpath.splitext(path), (filename, ext)) 78 self.assertEqual(posixpath.splitext("/" + path), ("/" + filename, ext)) 79 self.assertEqual(posixpath.splitext("abc/" + path), 81 self.assertEqual(posixpath.splitext("abc.def/" + path), 83 self.assertEqual(posixpath.splitext("/abc.def/" + path), 85 self.assertEqual(posixpath.splitext(path 721 path = posixpath global() variable in PathLikeTests [all...] |
| /third_party/skia/bench/ |
| H A D | PathBench.cpp | 60 SkPath path; variable 61 this->makePath(&path); 64 path.transform(m); 68 canvas->drawPath(path, paint); 83 void makePath(SkPath* path) override { 87 path->moveTo(SkIntToScalar(gCoord[0]), SkIntToScalar(gCoord[1])); 88 path->lineTo(SkIntToScalar(gCoord[2]), SkIntToScalar(gCoord[3])); 89 path->lineTo(SkIntToScalar(gCoord[4]), SkIntToScalar(gCoord[5])); 90 path->close(); 103 void makePath(SkPath* path) overrid 340 makePath(SkPath* path) makePath() argument 732 add_corner_arc(SkPath* path, const SkRect& rect, SkScalar xIn, SkScalar yIn, int startAngle) add_corner_arc() argument 762 make_arb_round_rect(SkPath* path, const SkRect& r, SkScalar xCorner, SkScalar yCorner) make_arb_round_rect() argument 988 SkPath path; global() variable [all...] |
| /test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
| H A D | stdioextndk.cpp | 202 const char *path = "/data/storage/el2/base/files/Fzl.txt";
in DPrintf() local 205 FILE *file = fopen(path, mode);
in DPrintf() 208 backParam = dprintf(SUCCESS, path);
in DPrintf() 216 const char *path = "/data/storage/el2/base/files/Fzl.txt";
in FEof_unlocked() local 219 FILE *stream = fopen(path, mode);
in FEof_unlocked() 230 const char *path = "/data/storage/el2/base/files/Fzl.txt";
in FError_unlocked() local 233 FILE *stream = fopen(path, mode);
in FError_unlocked() 247 const char *path = "/data/storage/el2/base/files/Fzl.txt";
in FFlush_unlocked() local 249 FILE *stream = fopen(path, mode);
in FFlush_unlocked() 261 const char *path in FGetC_unlocked() local 276 const char *path = "/data/storage/el2/base/files/Fzl.txt"; FGetLn() local 295 const char *path = "/data/storage/el2/base/files/Fzl.txt"; FGetS_unlocked() local 314 const char *path = "/data/storage/el2/base/files/Fzl.txt"; FileNo_unlocked() local 329 const char *path = "/data/storage/el2/base/files/Fzl.txt"; FClose() local 344 const char *path = "/data/storage/el2/base/files/Fzl.txt"; FMemOpen() local 364 const char *path = "/data/storage/el2/base/files/Fzl.txt"; FlockFile() local 380 const char *path = "/data/storage/el2/base/files/Fzl.txt"; FileNo() local 394 const char *path = "/data/storage/el2/base/files/Fzl.txt"; FError() local 410 const char *path = "hidumper -s 1201"; FGets() local 428 const char *path = "/data/storage/el2/base/files/Fzl.txt"; FGetPos64() local 443 const char *path = "/data/storage/el2/base/files/Fzl.txt"; FGetPos() local 457 const char *path = "/data/storage/el2/base/files/Fzl.txt"; FGetC() local 473 const char *path = "/data/storage/el2/base/files/Fzl.txt"; FFlush() local 487 const char *path = "/data/storage/el2/base/files/Fzl.txt"; FdOpen() local [all...] |
| /third_party/openSLES/ |
| H A D | OAT.xml | 20 basedir: Root dir, the basedir + project path is the real source file location.
29 5. task project: Projects to be checked, the path field define the source root dir of the project.
34 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilter is optional,the default value is:
35 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/>
37 "compatibility" is used to check license compatibility in the specified path;
38 "license" is used to check source license header in the specified path;
39 "copyright" is used to check source copyright header in the specified path;
40 "import" is used to check source dependency in the specified path, such as import ... ,include ...
41 "filetype" is used to check file type in the specified path, supported file types: archive, binary
42 "filename" is used to check whether the specified file exists in the specified path(suppor [all...] |
| /third_party/skia/docs/examples/ |
| H A D | Path_isLine.cpp | 7 auto debugster = [](const char* prefix, const SkPath& path) -> void { in REG_FIDDLE() 9 if (path.isLine(line)) { in REG_FIDDLE() 16 SkPath path; in REG_FIDDLE() local 17 debugster("empty", path); in REG_FIDDLE() 18 path.lineTo(0, 0); in REG_FIDDLE() 19 debugster("zero line", path); in REG_FIDDLE() 20 path.rewind(); in REG_FIDDLE() 21 path.moveTo(10, 10); in REG_FIDDLE() 22 path.lineTo(20, 20); in REG_FIDDLE() 23 debugster("line", path); in REG_FIDDLE() [all...] |
| H A D | Path_isRect.cpp | 7 auto debugster = [](const char* prefix, const SkPath& path) -> void { in REG_FIDDLE() 11 path.isRect(&rect, &isClosed, &direction) ? in REG_FIDDLE() 17 SkPath path; in REG_FIDDLE() local 18 debugster("empty", path); in REG_FIDDLE() 19 path.addRect({10, 20, 30, 40}); in REG_FIDDLE() 20 debugster("addRect", path); in REG_FIDDLE() 21 path.moveTo(60, 70); in REG_FIDDLE() 22 debugster("moveTo", path); in REG_FIDDLE() 23 path.lineTo(60, 70); in REG_FIDDLE() 24 debugster("lineTo", path); in REG_FIDDLE() [all...] |
| /vendor/hihope/2in1_core_system/hals/audio/ |
| H A D | alsa_paths.json | 8 "name": "Playback Path", 14 "name": "Playback Path", 20 "name": "Capture MIC Path", 30 "name": "Playback Path", 36 "name": "Playback Path", 42 "name": "Capture MIC Path", 52 "name": "Playback Path", 62 "name": "Playback Path", 68 "name": "Playback Path", 74 "name": "Capture MIC Path", [all...] |
| /vendor/hihope/dayu210/hals/audio/ |
| H A D | alsa_paths.json | 8 "name": "Playback Path",
14 "name": "Playback Path",
20 "name": "Capture MIC Path",
30 "name": "Playback Path",
36 "name": "Playback Path",
42 "name": "Capture MIC Path",
52 "name": "Playback Path",
62 "name": "Playback Path",
68 "name": "Playback Path",
74 "name": "Capture MIC Path",
[all...] |
| /vendor/hihope/default_core_system/hals/audio/ |
| H A D | alsa_paths.json | 8 "name": "Playback Path", 14 "name": "Playback Path", 20 "name": "Capture MIC Path", 30 "name": "Playback Path", 36 "name": "Playback Path", 42 "name": "Capture MIC Path", 52 "name": "Playback Path", 62 "name": "Playback Path", 68 "name": "Playback Path", 74 "name": "Capture MIC Path", [all...] |
| /vendor/hihope/ipcamera_core_system/hals/audio/ |
| H A D | alsa_paths.json | 8 "name": "Playback Path", 14 "name": "Playback Path", 20 "name": "Capture MIC Path", 30 "name": "Playback Path", 36 "name": "Playback Path", 42 "name": "Capture MIC Path", 52 "name": "Playback Path", 62 "name": "Playback Path", 68 "name": "Playback Path", 74 "name": "Capture MIC Path", [all...] |
| /vendor/hihope/rk3568/hals/audio/ |
| H A D | alsa_paths.json | 8 "name": "Playback Path",
14 "name": "Playback Path",
20 "name": "Capture MIC Path",
30 "name": "Playback Path",
36 "name": "Playback Path",
42 "name": "Capture MIC Path",
52 "name": "Playback Path",
62 "name": "Playback Path",
68 "name": "Playback Path",
74 "name": "Capture MIC Path",
[all...] |
| /vendor/hihope/tablet_core_system/hals/audio/ |
| H A D | alsa_paths.json | 8 "name": "Playback Path", 14 "name": "Playback Path", 20 "name": "Capture MIC Path", 30 "name": "Playback Path", 36 "name": "Playback Path", 42 "name": "Capture MIC Path", 52 "name": "Playback Path", 62 "name": "Playback Path", 68 "name": "Playback Path", 74 "name": "Capture MIC Path", [all...] |
| /vendor/hihope/wearable/hals/audio/ |
| H A D | alsa_paths.json | 8 "name": "Playback Path", 14 "name": "Playback Path", 20 "name": "Capture MIC Path", 30 "name": "Playback Path", 36 "name": "Playback Path", 42 "name": "Capture MIC Path", 52 "name": "Playback Path", 62 "name": "Playback Path", 68 "name": "Playback Path", 74 "name": "Capture MIC Path", [all...] |
| /vendor/hisilicon/hispark_taurus_standard/hals/audio/ |
| H A D | alsa_paths.json | 8 "name": "Playback Path",
14 "name": "Playback Path",
20 "name": "Capture MIC Path",
30 "name": "Playback Path",
36 "name": "Playback Path",
42 "name": "Capture MIC Path",
52 "name": "Playback Path",
62 "name": "Playback Path",
68 "name": "Playback Path",
74 "name": "Capture MIC Path",
[all...] |
| /third_party/node/deps/npm/node_modules/which/node_modules/isexe/dist/mjs/ |
| H A D | win32.js | 10 * Determine whether a path is executable based on the file extension 13 export const isexe = async (path, options = {}) => { 16 return checkStat(await stat(path), path, options); 26 * Synchronously determine whether a path is executable based on the file 29 export const sync = (path, options = {}) => { 32 return checkStat(statSync(path), path, options); 41 const checkPathExt = (path, options) => { 49 const ext = path [all...] |
| /foundation/filemanagement/file_api/interfaces/kits/js/src/mod_file/class_file/ |
| H A D | file_n_exporter.cpp | 99 bool CheckUri(napi_env env, string &path) in CheckUri() argument 104 string pathOrigin = path; in CheckUri() 107 if (path == "") { in CheckUri() 127 path = abilityContext->GetFilesDir(); in CheckUri() 129 path = abilityContext->GetCacheDir(); in CheckUri() 134 path = path + "/" + uriSplit[i]; in CheckUri() 139 int GetRealPath(string &path) in GetRealPath() argument 142 if (realpath(path.c_str(), absPath.get()) == nullptr) { in GetRealPath() 145 path in GetRealPath() 149 UriToAbsolute(string path) UriToAbsolute() argument 180 GetFileNames(string path, vector<string> &filenames, bool rec, bool isList) GetFileNames() argument 203 Mkdirs(string path) Mkdirs() argument 220 Rmdirs(const string &path) Rmdirs() argument 244 ConvertUri(string path, string originPath, string originUri) ConvertUri() argument 260 string path = asyncCallbackInfo->url; MkdirExec() local 293 string path = asyncCallbackInfo->url; RmdirExec() local 329 string path = asyncCallbackInfo->url; GetExec() local 393 string path = asyncCallbackInfo->url; ListExec() local 523 string path = asyncCallbackInfo->url; CopyExec() local 632 string path = asyncCallbackInfo->url; MoveExec() local 687 string path = asyncCallbackInfo->url; DeleteExec() local 720 string path = asyncCallbackInfo->url; AccessExec() local 753 string path = asyncCallbackInfo->url; WriteTextExec() local 793 string path = asyncCallbackInfo->url; WriteArrayBufferExec() local 838 string path = asyncCallbackInfo->url; ReadTextExec() local 886 string path = asyncCallbackInfo->url; ReadArrayBufferExec() local 963 string path = (uri == nullptr) ? "" : uri.get(); Mkdir() local 1000 string path = (uri == nullptr) ? "" : uri.get(); Rmdir() local 1036 string path = (uri == nullptr) ? "" : uri.get(); Get() local 1072 string path = (uri == nullptr) ? "" : uri.get(); List() local 1180 string path = (uri == nullptr) ? "" : uri.get(); Delete() local 1214 string path = (uri == nullptr) ? "" : uri.get(); Access() local 1252 string path = (uri == nullptr) ? "" : uri.get(); WriteText() local 1314 string path = (uri == nullptr) ? "" : uri.get(); WriteArrayBuffer() local 1355 string path = (uri == nullptr) ? "" : uri.get(); ReadText() local 1402 string path = (uri == nullptr) ? "" : uri.get(); ReadArrayBuffer() local [all...] |
| /third_party/gn/src/base/files/ |
| H A D | file_util_win.cc | 53 // Deletes all files and directories in a path. 56 DWORD DeleteFileRecursive(const FilePath& path, in DeleteFileRecursive() argument 59 FileEnumerator traversal(path, false, in DeleteFileRecursive() 101 DWORD DoDeleteFile(const FilePath& path, bool recursive) { in DoDeleteFile() argument 102 if (path.empty()) in DoDeleteFile() 105 if (path.value().length() >= MAX_PATH) in DoDeleteFile() 108 // Handle any path with wildcards. in DoDeleteFile() 109 if (path.BaseName().value().find_first_of(u"*?") != in DoDeleteFile() 111 return DeleteFileRecursive(path.DirName(), path in DoDeleteFile() 200 DeleteFile(const FilePath& path, bool recursive) RandomDataToGUIDString() argument 213 DeleteFileAfterReboot(const FilePath& path) RandomDataToGUIDString() argument 250 PathExists(const FilePath& path) PathExists() argument 255 PathIsWritable(const FilePath& path) PathIsWritable() argument 267 DirectoryExists(const FilePath& path) DirectoryExists() argument 274 GetTempDir(FilePath* path) GetTempDir() argument 419 NormalizeFilePath(const FilePath& path, FilePath* real_path) NormalizeFilePath() argument 476 NormalizeToNativeFilePath(const FilePath& path, FilePath* nt_path) NormalizeToNativeFilePath() argument 651 GetMaximumPathComponentLength(const FilePath& path) GetMaximumPathComponentLength() argument [all...] |
| /third_party/typescript/src/harness/ |
| H A D | fakesHosts.ts | 48 public readFile(path: string) {
50 const content = this.vfs.readFileSync(path, "utf8");
58 public writeFile(path: string, data: string, writeByteOrderMark?: boolean): void {
59 this.vfs.mkdirpSync(vpath.dirname(path));
60 this.vfs.writeFileSync(path, writeByteOrderMark ? Utils.addUTF8ByteOrderMark(data) : data);
63 public deleteFile(path: string) {
64 this.vfs.unlinkSync(path);
67 public fileExists(path: string) {
68 const stats = this._getStats(path);
72 public directoryExists(path [all...] |