| /third_party/skia/tests/ |
| H A D | PathOpsChalkboardTest.cpp | 17 SkPath path; in chalkboard() local 19 path.moveTo(SkBits2Float(0x4470eed9), SkBits2Float(0x439c1ac1)); // 963.732f, 312.209f in chalkboard() 20 if (testlines & (1LL << i++)) path.lineTo(SkBits2Float(0x4470dde3), SkBits2Float(0x439c63d8)); // 963.467f, 312.78f in chalkboard() 21 if (testlines & (1LL << i++)) path.cubicTo(SkBits2Float(0x4470dbd7), SkBits2Float(0x439c3e57), SkBits2Float(0x4470c893), SkBits2Float(0x439c69fd), SkBits2Float(0x4470cfcf), SkBits2Float(0x439c297a)); // 963.435f, 312.487f, 963.134f, 312.828f, 963.247f, 312.324f in chalkboard() 22 if (testlines & (1LL << i++)) path.cubicTo(SkBits2Float(0x4470c46b), SkBits2Float(0x439c8149), SkBits2Float(0x4470b137), SkBits2Float(0x439c2938), SkBits2Float(0x4470b5f4), SkBits2Float(0x439ca99b)); // 963.069f, 313.01f, 962.769f, 312.322f, 962.843f, 313.325f in chalkboard() 23 if (testlines & (1LL << i++)) path.cubicTo(SkBits2Float(0x4470e842), SkBits2Float(0x439c8335), SkBits2Float(0x447125a2), SkBits2Float(0x439cce78), SkBits2Float(0x44715a2d), SkBits2Float(0x439c61ed)); // 963.629f, 313.025f, 964.588f, 313.613f, 965.409f, 312.765f in chalkboard() 24 if (testlines & (1LL << i++)) path.lineTo(SkBits2Float(0x447150d5), SkBits2Float(0x439c945c)); // 965.263f, 313.159f in chalkboard() 25 if (testlines & (1LL << i++)) path.cubicTo(SkBits2Float(0x4471546b), SkBits2Float(0x439c87f2), SkBits2Float(0x4471579e), SkBits2Float(0x439c8085), SkBits2Float(0x44715a8f), SkBits2Float(0x439c7c4c)); // 965.319f, 313.062f, 965.369f, 313.004f, 965.415f, 312.971f in chalkboard() 26 if (testlines & (1LL << i++)) path.lineTo(SkBits2Float(0x44715cbc), SkBits2Float(0x439c79dd)); // 965.449f, 312.952f in chalkboard() 27 if (testlines & (1LL << i++)) path in chalkboard() [all...] |
| /third_party/iptables/ |
| H A D | OAT.xml | 24 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilter is optional,the default value is: 25 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/> 27 "compatibility" is used to check license compatibility in the specified path; 28 "license" is used to check source license header in the specified path; 29 "copyright" is used to check source copyright header in the specified path; 30 "import" is used to check source dependency in the specified path, such as import ... ,include ... 31 "filetype" is used to check file type in the specified path, supported file types: archive, binary 32 "filename" is used to check whether the specified file exists in the specified path(projectroot means the root dir of the project), supported file names: LICENSE, README, README.OpenSource 34 5. policyitem path: This field is used for define the source file scope to apply this policyitem, the "!" prefix means exclude the files. For example, "!.*/lib/.*" means files in lib dir will be exclude while process this policyitem. 38 8. filefilter: Filter rules, the type filename is used to filter file name, the type filepath is used to filter file path [all...] |
| /third_party/python/Lib/test/test_importlib/ |
| H A D | test_util.py | 106 spec = self.machinery.ModuleSpec('test', object(), origin='some/path') 113 spec.cached = 'some/path' 280 module.__path__ = ['<path>'] 407 def find_spec(name, path=None, target=None): return name, path, target 565 # Given the path to a .py file, return the path to its PEP 3147 567 path = os.path.join('foo', 'bar', 'baz', 'qux.py') 568 expect = os.path [all...] |
| /third_party/rust/crates/serde/serde_derive_internals/src/ |
| H A D | attr.rs | 217 remote: Option<syn::Path>, 220 serde_path: Option<syn::Path>, 313 if attr.path() != SERDE { in from_ast() 315 matches!(&attr.meta, syn::Meta::Path(path) if path == NON_EXHAUSTIVE); in from_ast() 326 if meta.path == RENAME { in from_ast() 330 ser_name.set_opt(&meta.path, ser.as_ref().map(syn::LitStr::value)); in from_ast() 331 de_name.set_opt(&meta.path, de.as_ref().map(syn::LitStr::value)); in from_ast() 332 } else if meta.path in from_ast() 1261 let mut path = syn::Path { from_ast() variables 1278 let mut path = syn::Path { from_ast() variables [all...] |
| /third_party/rust/crates/serde/serde_derive/src/internals/ |
| H A D | attr.rs | 217 remote: Option<syn::Path>, 220 serde_path: Option<syn::Path>, 313 if attr.path() != SERDE { in from_ast() 315 matches!(&attr.meta, syn::Meta::Path(path) if path == NON_EXHAUSTIVE); in from_ast() 326 if meta.path == RENAME { in from_ast() 330 ser_name.set_opt(&meta.path, ser.as_ref().map(syn::LitStr::value)); in from_ast() 331 de_name.set_opt(&meta.path, de.as_ref().map(syn::LitStr::value)); in from_ast() 332 } else if meta.path in from_ast() 1261 let mut path = syn::Path { from_ast() variables 1278 let mut path = syn::Path { from_ast() variables [all...] |
| /foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/draw/ |
| H A D | path.h | 72 class DRAWING_API Path { class 74 Path() noexcept; 75 Path(const Path& p) noexcept; 76 Path &operator=(const Path& p) noexcept; 77 virtual ~Path(); 85 * @brief Parses the SVG format string that describes the drawing path, and sets the Path. 87 * @param str A string in SVG format that describes the drawing path [all...] |
| /foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/ndkpath_fuzzer/ |
| H A D | path_fuzzer.cpp | 52 OH_Drawing_Path* path = OH_Drawing_PathCreate(); in NativeDrawingPathTest001() local 54 OH_Drawing_PathMoveTo(path, x, y); in NativeDrawingPathTest001() 56 OH_Drawing_PathRMoveTo(path, x, y); in NativeDrawingPathTest001() 58 OH_Drawing_PathLineTo(path, x, y); in NativeDrawingPathTest001() 60 OH_Drawing_PathRLineTo(path, x, y); in NativeDrawingPathTest001() 62 OH_Drawing_PathClose(path); in NativeDrawingPathTest001() 66 pathCopy = OH_Drawing_PathCopy(path); in NativeDrawingPathTest001() 69 OH_Drawing_PathDestroy(path); in NativeDrawingPathTest001() 137 OH_Drawing_Path* path = OH_Drawing_PathCreate(); in NativeDrawingPathTest003() local 138 OH_Drawing_PathAddRect(path, lef in NativeDrawingPathTest003() 200 OH_Drawing_Path* path = OH_Drawing_PathCreate(); NativeDrawingPathTest004() local 248 OH_Drawing_Path* path = OH_Drawing_PathCreate(); NativeDrawingPathTest005() local 302 OH_Drawing_Path* path = OH_Drawing_PathCreate(); NativeDrawingPathTest006() local 352 OH_Drawing_Path* path = OH_Drawing_PathCreate(); NativeDrawingPathTest007() local 401 OH_Drawing_Path* path = OH_Drawing_PathCreate(); NativeDrawingPathTest008() local 439 OH_Drawing_Path* path = OH_Drawing_PathCreate(); NativeDrawingPathTest009() local [all...] |
| /third_party/gn/src/base/files/ |
| H A D | file_util.h | 42 // Returns an absolute version of a relative path. Returns an empty path on 43 // error. On POSIX, this function fails if the path does not exist. This 48 // If the path does not exist the function returns 0. 54 // Deletes the given path, whether it's a file or a directory. 61 // In posix environment and if |path| is a symbolic link, this deletes only 66 bool DeleteFile(const FilePath& path, bool recursive); 69 // Schedules to delete the given path, whether it's a file or a directory, until 74 bool DeleteFileAfterReboot(const FilePath& path); 87 // Returns true if the given path exist [all...] |
| /third_party/node/lib/internal/fs/ |
| H A D | rimraf.js | 31 const { sep } = require('path'); 44 function rimraf(path, options, callback) { 47 _rimraf(path, options, function CB(err) { 52 return setTimeout(_rimraf, delay, path, options, CB); 65 function _rimraf(path, options, callback) { 68 lstat(path, (err, stats) => { 75 return fixWinEPERM(path, options, err, callback); 77 return _rmdir(path, options, err, callback); 80 unlink(path, (err) => { 85 return _rmdir(path, option [all...] |
| /third_party/rust/crates/syn/tests/ |
| H A D | test_ty.rs | 32 Type::Path { in test_macro_variable_type() 33 path: Path { in test_macro_variable_type() 39 GenericArgument::Type(Type::Path { in test_macro_variable_type() 40 path: Path { in test_macro_variable_type() 67 Type::Path { in test_macro_variable_type() 68 path: Path { in test_macro_variable_type() 75 GenericArgument::Type(Type::Path { in test_macro_variable_type() [all...] |
| /third_party/python/Lib/ |
| H A D | imp.py | 73 def cache_from_source(path, debug_override=None): 76 Given the path to a .py file, return the path to its .pyc file. 78 The .py file does not need to exist; this simply returns the path to the 89 return util.cache_from_source(path, debug_override) 92 def source_from_cache(path): 95 Given the path to a .pyc. file, return the path to its .py file. 97 The .pyc file does not need to exist; this simply returns the path to 98 the .py file calculated to correspond to the .pyc file. If path doe [all...] |
| H A D | pkgutil.py | 9 import os.path namespace 53 def walk_packages(path=None, prefix='', onerror=None): 55 on path, or, if path is None, all accessible modules. 57 'path' should be either None or a list of paths to look for 64 modules!) on the given path, in order to access the __path__ 87 for info in iter_modules(path, prefix): 102 path = getattr(sys.modules[info.name], '__path__', None) or [] 104 # don't traverse path items we've seen before 105 path [all...] |
| /third_party/skia/infra/bots/recipe_modules/flavor/examples/full.expected/ |
| H A D | Perf-Android-Clang-GalaxyS20-GPU-MaliG77-arm64-Release-All-Android_Vulkan.json | 26 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 42 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 51 "\nimport subprocess\nimport sys\n\n# Remove the path.\nadb = sys.argv[1]\npath = sys.argv[2]\nprint('Removing %s' % path)\ncmd = [adb, 'shell', 'rm', '-rf', path]\nprint(' '.join(cmd))\nsubprocess.check_call(cmd)\n\n# Verify that the path was deleted.\nprint('Checking for existence of %s' % path)\ncmd = [adb, 'shell', 'ls', path]\nprin [all...] |
| H A D | Test-Android-Clang-Pixel3a-GPU-Adreno615-arm64-Debug-All-Android_Vulkan.json | 26 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 42 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 51 "\nimport subprocess\nimport sys\n\n# Remove the path.\nadb = sys.argv[1]\npath = sys.argv[2]\nprint('Removing %s' % path)\ncmd = [adb, 'shell', 'rm', '-rf', path]\nprint(' '.join(cmd))\nsubprocess.check_call(cmd)\n\n# Verify that the path was deleted.\nprint('Checking for existence of %s' % path)\ncmd = [adb, 'shell', 'ls', path]\nprin [all...] |
| H A D | Test-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Release-All-Android.json | 26 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 42 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 51 "\nimport subprocess\nimport sys\n\n# Remove the path.\nadb = sys.argv[1]\npath = sys.argv[2]\nprint('Removing %s' % path)\ncmd = [adb, 'shell', 'rm', '-rf', path]\nprint(' '.join(cmd))\nsubprocess.check_call(cmd)\n\n# Verify that the path was deleted.\nprint('Checking for existence of %s' % path)\ncmd = [adb, 'shell', 'ls', path]\nprin [all...] |
| H A D | Perf-Android-Clang-GalaxyS7_G930FD-GPU-MaliT880-arm64-Debug-All-Android.json | 26 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 42 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 51 "\nimport subprocess\nimport sys\n\n# Remove the path.\nadb = sys.argv[1]\npath = sys.argv[2]\nprint('Removing %s' % path)\ncmd = [adb, 'shell', 'rm', '-rf', path]\nprint(' '.join(cmd))\nsubprocess.check_call(cmd)\n\n# Verify that the path was deleted.\nprint('Checking for existence of %s' % path)\ncmd = [adb, 'shell', 'ls', path]\nprin [all...] |
| H A D | Test-Android-Clang-GalaxyS7_G930FD-GPU-MaliT880-arm64-Debug-All-Android.json | 26 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 42 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 51 "\nimport subprocess\nimport sys\n\n# Remove the path.\nadb = sys.argv[1]\npath = sys.argv[2]\nprint('Removing %s' % path)\ncmd = [adb, 'shell', 'rm', '-rf', path]\nprint(' '.join(cmd))\nsubprocess.check_call(cmd)\n\n# Verify that the path was deleted.\nprint('Checking for existence of %s' % path)\ncmd = [adb, 'shell', 'ls', path]\nprin [all...] |
| /foundation/graphic/graphic_3d/lume/LumeEngine/src/io/ |
| H A D | std_filesystem.cpp | 55 std::filesystem::path U8Path(string_view str) in U8Path() 64 auto path = NormalizePath(pathIn); in ValidatePath() local 65 if (!path.empty()) { in ValidatePath() 68 path = basePath_ + path; in ValidatePath() 70 // path must be absolute. in ValidatePath() 71 if (path[0] != '/') { in ValidatePath() 72 CORE_LOG_V("Corrupted path in StdFilesystem::ValidatePath. not absolute"); in ValidatePath() 76 // path must have drive letter, otherwise it is NOT absolute. ie. must conform to "/C:/" style in ValidatePath() 77 if ((path in ValidatePath() 90 auto path = ValidatePath(pathIn); OpenFile() local 99 auto path = ValidatePath(pathIn); CreateFile() local 109 auto path = ValidatePath(pathIn); DeleteFile() local 123 auto path = ValidatePath(pathIn); OpenDirectory() local 133 auto path = ValidatePath(pathIn); CreateDirectory() local 143 auto path = ValidatePath(pathIn); DeleteDirectory() local [all...] |
| /third_party/node/test/es-module/ |
| H A D | test-esm-extension-lookup-deprecation.mjs | 6 import * as path from 'node:path'; 13 it('should handle fully-specified relative path without any warning', async () => { 14 const cwd = path.join(tmpdir.path, Math.random().toString()); 15 const pkgPath = path.join(cwd, './node_modules/pkg/'); 17 await writeFile(path.join(pkgPath, './index.js'), 'console.log("Hello World!")'); 18 await writeFile(path.join(pkgPath, './package.json'), JSON.stringify({ 31 it('should handle fully-specified absolute path without any warning', async () => { 32 const cwd = path [all...] |
| /third_party/skia/modules/pathkit/tests/ |
| H A D | path.spec.js | 1 describe('PathKit\'s Path Behavior', function() { 3 describe('Basic Path Features', function() { 5 let path = PathKit.NewPath(); 6 path.moveTo(0, 0); 7 path.lineTo(10, 0); 8 path.lineTo(10, 10); 9 path.close(); 10 return path; 15 let path = drawSimplePath(); 19 expect(path [all...] |
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/test/unittest/api/ |
| H A D | documentdb_api_test.cpp | 60 std::string path = "./document.db"; in HWTEST_F() local 62 int status = GRD_DBOpen(path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &db); in HWTEST_F() 74 DocumentDBTestUtils::RemoveTestDbFiles(path); in HWTEST_F() 86 std::string path = "./document.db"; in HWTEST_F() local 87 int status = GRD_DBOpen(path.c_str(), nullptr, GRD_DB_OPEN_CREATE, nullptr); in HWTEST_F() 91 status = GRD_DBOpen(path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &db); in HWTEST_F() 98 status = GRD_DBOpen(path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &db); in HWTEST_F() 107 std::string path = "./document.db"; in HWTEST_F() local 109 int status = GRD_DBOpen(path.c_str(), nullptr, GRD_DB_OPEN_CREATE, &db); in HWTEST_F() 115 status = GRD_DBOpen(path in HWTEST_F() 135 std::string path = "./test.txt"; HWTEST_F() local 205 std::string path = "./document.db"; HWTEST_F() local 222 std::string path = "./document.db"; HWTEST_F() local 237 std::string path = "./document.db"; HWTEST_F() local 258 std::string path = "./document.db"; HWTEST_F() local 287 std::string path = "./document.db"; HWTEST_F() local 311 std::string path = "./document.db"; HWTEST_F() local 339 std::string path = "./document.db"; HWTEST_F() local 365 std::string path = "./document.db"; HWTEST_F() local 391 std::string path = "./document.db"; HWTEST_F() local 430 std::string path = "./document.db"; HWTEST_F() local 449 GetDBPageSize(const std::string &path) GetDBPageSize() argument 478 std::string path = "./document.db"; HWTEST_F() local 504 std::string path = "./document.db"; HWTEST_F() local 531 std::string path = "./document.db"; HWTEST_F() local 556 std::string path = "./document.db"; HWTEST_F() local 573 std::string path = "./document.db"; HWTEST_F() local 599 std::string path = "./document.db"; HWTEST_F() local 625 std::string path = "./document.db"; HWTEST_F() local 645 std::string path = "./document.db"; HWTEST_F() local 665 std::string path = "./document.db"; HWTEST_F() local 728 std::string path = "./document.db"; HWTEST_F() local 750 std::string path = "./document.db"; HWTEST_F() local 772 std::string path = "./document.db"; HWTEST_F() local 804 std::string path = "./document.db"; HWTEST_F() local [all...] |
| /third_party/cJSON/tests/json-patch-tests/ |
| H A D | tests.json | 29 "patch": [{"op": "add", "path": "/foo", "value":1}], 34 "patch": [{"op": "add", "path": "/0", "value": "foo"}], 44 "patch": [{"op": "add", "path": "/foo", "value": "1"}], 49 "patch": [{"op": "add", "path": "/foo", "value": 1}], 54 "patch": [{"op": "replace", "path": "", "value": "bar"}], 60 "patch": [{"op": "add", "path": "", "value": []}], 65 "patch": [{"op": "add", "path": "", "value": {}}], 70 "patch": [{"op": "add", "path": "/-", "value": "hi"}], 75 "patch": [ {"op": "add", "path": "/", "value":1 } ], 80 "patch": [ {"op": "add", "path" [all...] |
| /third_party/typescript/src/harness/ |
| H A D | virtualFileSystemWithWatch.ts | 3 path: "/a/lib/lib.d.ts",
18 return combinePaths(getDirectoryPath(libFile.path), "tsc.js");
45 path: string;
51 path: string;
56 path: string;
57 /** Relative path to the real file. */
63 [path: string]: string | Omit<FileOrFolderOrSymLink, "path">;
74 path: Path;
[all...] |
| /third_party/node/deps/npm/node_modules/glob/dist/commonjs/ |
| H A D | processor.d.ts | 2 import { Path } from 'path-scurry'; 6 * A cache of which patterns have been processed for a given Path 12 hasWalked(target: Path, pattern: Pattern): boolean | undefined; 13 storeWalked(target: Path, pattern: Pattern): void; 18 * and whether their absolute or relative path should be returned. 21 store: Map<Path, number>; 22 add(target: Path, absolute: boolean, ifDir: boolean): void; 23 entries(): [Path, boolean, boolean][]; 27 * for a given path [all...] |
| /third_party/node/deps/npm/node_modules/glob/dist/esm/ |
| H A D | processor.d.ts | 2 import { Path } from 'path-scurry'; 6 * A cache of which patterns have been processed for a given Path 12 hasWalked(target: Path, pattern: Pattern): boolean | undefined; 13 storeWalked(target: Path, pattern: Pattern): void; 18 * and whether their absolute or relative path should be returned. 21 store: Map<Path, number>; 22 add(target: Path, absolute: boolean, ifDir: boolean): void; 23 entries(): [Path, boolean, boolean][]; 27 * for a given path [all...] |