| /third_party/skia/gm/ |
| H A D | crbug_908646.cpp | 16 SkPathBuilder path; in DEF_SIMPLE_GM() local 17 path.setFillType(SkPathFillType::kEvenOdd); in DEF_SIMPLE_GM() 18 path.moveTo(50, 50); in DEF_SIMPLE_GM() 19 path.lineTo(50, 300); in DEF_SIMPLE_GM() 20 path.lineTo(250, 300); in DEF_SIMPLE_GM() 21 path.lineTo(250, 50); in DEF_SIMPLE_GM() 22 path.moveTo(200, 100); in DEF_SIMPLE_GM() 23 path.lineTo(100, 100); in DEF_SIMPLE_GM() 24 path.lineTo(150, 200); in DEF_SIMPLE_GM() 25 path in DEF_SIMPLE_GM() [all...] |
| /foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/v2/ |
| H A D | v2_monitor.ts | 30 public path: string; 32 // properties on the path 38 constructor(path: string, id: number) { 39 this.path = path; 41 this.props = path.split('.'); 79 * observeObjectAccess = get each object on the 'path' to create dependency and add them with Observe.addRef 105 paths.forEach(path => this.values_.push(new MonitorValueV2<unknown>(path, ++MonitorV2.nextWatchId_))); 127 ret.push(monitorValue.path); [all...] |
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_tool/src/ |
| H A D | command_line.cpp | 57 str.append(" send file from path to medialibrary\n"); in ShowUsage() 58 str.append(" command: send path (file path or dir path)\n"); in ShowUsage() 62 str.append(" receive file from medialibrary to path\n"); in ShowUsage() 63 str.append(" command: recv uri path | recv all path\n"); in ShowUsage() 66 str.append(" query path or uri by displayname in medialibrary\n"); in ShowUsage() 71 static inline bool IsDirPath(const std::string path) in IsDirPath() argument 73 if (path in IsDirPath() 92 std::string path; CheckRecvPath() local [all...] |
| /foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
| H A D | rdb_store_manager.cpp | 62 std::shared_ptr<RdbStoreImpl> RdbStoreManager::GetStoreFromCache(const RdbStoreConfig &config, const std::string &path) in GetStoreFromCache() argument 64 if (storeCache_.find(path) != storeCache_.end()) { in GetStoreFromCache() 65 std::shared_ptr<RdbStoreImpl> rdbStore = storeCache_[path].lock(); in GetStoreFromCache() 70 storeCache_.erase(path); in GetStoreFromCache() 73 LOG_INFO("app[%{public}s:%{public}s] path[%{public}s]" in GetStoreFromCache() 76 config.GetBundleName().c_str(), config.GetModuleName().c_str(), SqliteUtils::Anonymous(path).c_str(), in GetStoreFromCache() 92 auto path = config.GetRoleType() == VISITOR ? config.GetVisitorDir() : config.GetPath(); in GetRdbStore() local 94 pool->Schedule(std::chrono::seconds(RETRY_INTERVAL), [path, config, this]() { in GetRdbStore() 95 if (IsConfigInvalidChanged(path, config)) { in GetRdbStore() 99 std::shared_ptr<RdbStoreImpl> rdbStore = GetStoreFromCache(config, path); in GetRdbStore() 134 IsConfigInvalidChanged(const std::string &path, const RdbStoreConfig &config) IsConfigInvalidChanged() argument 211 Remove(const std::string &path) Remove() argument 265 Delete(const std::string &path) Delete() argument [all...] |
| /third_party/eudev/src/shared/ |
| H A D | selinux-util.c | 32 #include "path-util.h" 138 int mac_selinux_fix(const char *path, bool ignore_enoent, bool ignore_erofs) { in mac_selinux_fix() argument 144 assert(path); in mac_selinux_fix() 150 r = lstat(path, &st); in mac_selinux_fix() 154 r = selabel_lookup_raw(label_hnd, &fcon, path, st.st_mode); in mac_selinux_fix() 161 r = lsetfilecon(path, fcon); in mac_selinux_fix() 177 log_enforcing("Unable to fix SELinux security context of %s: %m", path); in mac_selinux_fix() 186 int mac_selinux_apply(const char *path, const char *label) { in mac_selinux_apply() argument 189 assert(path); in mac_selinux_apply() 195 if (setfilecon(path, (security_context_ in mac_selinux_apply() 323 mac_selinux_create_file_prepare(const char *path, mode_t mode) mac_selinux_create_file_prepare() argument 410 mac_selinux_mkdir(const char *path, mode_t mode) mac_selinux_mkdir() argument 467 char *path; mac_selinux_bind() local [all...] |
| /third_party/gn/infra/ |
| H A D | recipes.py | 54 def __init__(self, msg, path): 55 full_message = 'malformed recipes.cfg: %s: %r' % (msg, path) 63 repo_root (str) - native path to the root of the repo we're trying to run 65 recipes_cfg_path (str) - native path to the recipes.cfg file to process. 70 recipes_path (str) - native path to where the recipes live inside of the 108 recipes_path = os.path.join(repo_root, 109 recipes_path.replace('/', os.path.sep)) 123 def _is_executable(path): 124 return os.path.isfile(path) an [all...] |
| /third_party/ltp/testcases/kernel/syscalls/open/ |
| H A D | open11.c | 65 char *path; member 73 .path = T_REG_EMPTY, 80 .path = T_REG_EMPTY, 87 .path = T_REG_EMPTY, 94 .path = T_REG_EMPTY, 101 .path = T_REG_EMPTY, 109 .path = T_DIR, 116 .path = T_DIR, 123 .path = T_REG_EMPTY, 131 .path [all...] |
| /third_party/python/Tools/scripts/ |
| H A D | patchcheck.py | 6 import os.path namespace 16 EXCLUDE_DIRS = [os.path.join('Modules', '_ctypes', 'libffi_osx'), 17 os.path.join('Modules', '_ctypes', 'libffi_msvc'), 18 os.path.join('Modules', '_decimal', 'libmpdec'), 19 os.path.join('Modules', 'expat'), 20 os.path.join('Modules', 'zlib')] 101 if not os.path.exists(os.path.join(SRCDIR, '.git')): 121 if os.path.exists(os.path [all...] |
| /third_party/elfio/doc/images/colorsvg/ |
| H A D | home.svg | 13 <path fill="#660000" d="M30.417,17.563c2.776,2.348,8.258,0.835,7.742,0.434c0-1.2,0-6.9,0-6.9c0-1.2-0.802-2-2-2h-4.802
15 <path fill="#670000" d="M30.422,17.556c2.771,2.343,8.244,0.833,7.729,0.433c0-1.199,0-6.889,0-6.889
17 <path fill="#680000" d="M30.428,17.548c2.768,2.34,8.229,0.832,7.717,0.432c0-1.196,0-6.876,0-6.876
19 <path fill="#690000" d="M30.434,17.541c2.762,2.336,8.215,0.831,7.703,0.432c0-1.194,0-6.865,0-6.865
21 <path fill="#6B0000" d="M30.438,17.533c2.758,2.332,8.203,0.829,7.69,0.431c0-1.192,0-6.853,0-6.853
23 <path fill="#6C0000" d="M30.443,17.525c2.752,2.328,8.188,0.828,7.677,0.43c0-1.19,0-6.841,0-6.841
25 <path fill="#6D0000" d="M30.448,17.518c2.747,2.323,8.174,0.826,7.663,0.429c0-1.188,0-6.829,0-6.829
27 <path fill="#6E0000" d="M30.454,17.51c2.743,2.32,8.159,0.825,7.649,0.429c0-1.187,0-6.818,0-6.818
29 <path fill="#6F0000" d="M30.46,17.503c2.738,2.315,8.146,0.824,7.636,0.427c0-1.184,0-6.806,0-6.806
31 <path fil [all...] |
| /third_party/node/tools/gyp/pylib/gyp/generator/ |
| H A D | ninja.py | 11 import os.path namespace 41 # $! is used for variables that represent a path and that can only appear at 96 """Adds an arch string to an output path.""" 97 output, extension = os.path.splitext(output) 117 For example, when linking B it needs to get the path to the static 136 # Path to the output of the link step, if any. 138 # Path to the file representing the completion of building the bundle, 171 """Return the path, if any, that should be used as a dependency of 178 """Return the path, if any, that should be used as a dependency of 195 # expects to be run from. We call the path fro [all...] |
| /third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
| H A D | ninja.py | 11 import os.path namespace 41 # $! is used for variables that represent a path and that can only appear at 96 """Adds an arch string to an output path.""" 97 output, extension = os.path.splitext(output) 117 For example, when linking B it needs to get the path to the static 136 # Path to the output of the link step, if any. 138 # Path to the file representing the completion of building the bundle, 171 """Return the path, if any, that should be used as a dependency of 178 """Return the path, if any, that should be used as a dependency of 195 # expects to be run from. We call the path fro [all...] |
| /third_party/gn/src/base/files/ |
| H A D | file_path.h | 7 // platform's conventions for pathnames. It supports the following path 24 // For more arcane bits of path trivia, see below. 41 // final path component (BaseName), and appending a relative pathname string 77 // ARCANE BITS OF PATH TRIVIA 93 // like \\server\share\path, by permitting c:\\server\share\path as an 124 // To print path names portably use PRIsFP (based on PRIuS and friends from 126 // base::StringPrintf("Path is %" PRIsFP ".\n", PATH_CSTR(path); 167 // A special path componen [all...] |
| /applications/standard/filepicker/entry/src/main/ets/base/utils/ |
| H A D | FsUtil.ts | 43 public static async access(path: string): Promise<boolean | BusinessError> { 45 return await fs.access(path); 52 public static accessSync(path: string): boolean { 54 return fs.accessSync(path); 61 public static openSync(path: string, mode?: number): fs.File | BusinessError { 63 return fs.openSync(path, mode); 88 public static async mkdir(path: string, recursion: boolean = false): Promise<void | BusinessError> { 90 return await fs.mkdir(path, recursion); 97 public static mkdirSync(path: string, recursion: boolean = false): void | BusinessError { 99 return fs.mkdirSync(path, recursio [all...] |
| /third_party/mesa3d/src/drm-shim/ |
| H A D | drm_shim.c | 95 /* Full path of /dev/dri/renderD* */ 106 const char *path; member 165 char *path; in drm_shim_override_file() local 168 nfvasprintf(&path, path_format, ap); in drm_shim_override_file() 172 override->path = path; in drm_shim_override_file() 255 PUBLIC FILE *fopen(const char *path, const char *mode) in fopen() argument 260 if (strcmp(file_overrides[i].path, path) == 0) { in fopen() 270 return real_fopen(path, mod in fopen() 276 open(const char *path, int flags, ...) open() argument 307 __xstat(int ver, const char *path, struct stat *st) __xstat() argument 341 __xstat64(int ver, const char *path, struct stat64 *st) __xstat64() argument 409 stat(const char* path, struct stat* stat_buf) stat() argument 442 stat64(const char* path, struct stat64* stat_buf) stat64() argument 604 readlink(const char *path, char *buf, size_t size) readlink() argument 636 realpath(const char *path, char *resolved_path) realpath() argument [all...] |
| /third_party/libdrm/tests/amdgpu/ |
| H A D | ras_tests.c | 504 char path[PATH_SIZE]; in amdgpu_ras_lookup_id() local 513 snprintf(path, PATH_SIZE, "/sys/kernel/debug/dri/%d/name", i); in amdgpu_ras_lookup_id() 514 if (get_file_contents(path, str, sizeof(str)) <= 0) in amdgpu_ras_lookup_id() 611 char path[PATH_SIZE]; in amdgpu_ras_invoke() local 614 snprintf(path, sizeof(path), "%s", get_ras_debugfs_root()); in amdgpu_ras_invoke() 615 strncat(path, "ras_ctrl", sizeof(path) - strlen(path)); in amdgpu_ras_invoke() 617 ret = set_file_contents(path, (cha in amdgpu_ras_invoke() 846 char path[PATH_SIZE]; amdgpu_ras_basic_test() local [all...] |
| /third_party/skia/third_party/externals/swiftshader/tests/regres/cov/ |
| H A D | coverage_test.go | 52 tree.Add(cov.Path{"a", "b"}, coverage(fileA, span0, span1)) 64 tree.Add(cov.Path{"a", "b", "d", "i"}, coverage(fileA, span0, span1)) 79 tree.Add(cov.Path{"a", "b", "e"}, coverage(fileA, span0, span1, span2)) 94 tree.Add(cov.Path{"a", "c", "g", "n"}, coverage(fileA, span0, span3)) 109 tree.Add(cov.Path{"a", "c", "g", "o"}, coverage(fileA, span0, span3)) 124 tree.Add(cov.Path{"a", "c", "f"}, coverage(fileA, span1)) 138 tree.Add(cov.Path{"a", "b", "e", "j"}, coverage(fileA, span3)) 152 tree.Add(cov.Path{"a", "b", "e", "k"}, coverage(fileA, span3)) 166 tree.Add(cov.Path{"a", "c", "f", "l", "v"}, coverage(fileA, span1, span2)) 182 tree.Add(cov.Path{" [all...] |
| /third_party/skia/tests/ |
| H A D | AAClipTest.cpp | 158 static void setRgnToPath(SkRegion* rgn, const SkPath& path) { in setRgnToPath() argument 160 path.getBounds().round(&ir); in setRgnToPath() 161 rgn->setPath(path, SkRegion(ir)); in setRgnToPath() 175 SkPath path; in test_rgn() local 176 path.addCircle(0, 0, SkIntToScalar(30)); in test_rgn() 177 setRgnToPath(&rgn, path); in test_rgn() 180 path.reset(); in test_rgn() 181 path.moveTo(0, 0); in test_rgn() 182 path.lineTo(SkIntToScalar(100), 0); in test_rgn() 183 path in test_rgn() 190 imoveTo(SkPath& path, int x, int y) imoveTo() argument 194 icubicTo(SkPath& path, int x0, int y0, int x1, int y1, int x2, int y2) icubicTo() argument 201 SkPath path; test_path_bounds() local 318 SkPath path; test_path_with_hole() local 340 SkPath path; test_really_a_rect() local 420 SkPath path; test_crbug_422693() local [all...] |
| /third_party/node/tools/gyp/pylib/gyp/ |
| H A D | mac_tool.py | 53 extension = os.path.splitext(source)[1].lower() 54 if os.path.isdir(source): 59 if os.path.exists(dest): 69 if os.path.exists(dest): 80 base = os.path.dirname(os.path.realpath(__file__)) 81 if os.path.relpath(source): 82 source = os.path.join(base, source) 83 if os.path.relpath(dest): 84 dest = os.path [all...] |
| /third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
| H A D | mac_tool.py | 53 extension = os.path.splitext(source)[1].lower() 54 if os.path.isdir(source): 59 if os.path.exists(dest): 69 if os.path.exists(dest): 80 base = os.path.dirname(os.path.realpath(__file__)) 81 if os.path.relpath(source): 82 source = os.path.join(base, source) 83 if os.path.relpath(dest): 84 dest = os.path [all...] |
| /third_party/gn/src/base/ |
| H A D | values.cc | 298 Value* Value::FindPath(std::initializer_list<std::string_view> path) { in FindPath() argument 299 return const_cast<Value*>(const_cast<const Value*>(this)->FindPath(path)); in FindPath() 302 Value* Value::FindPath(span<const std::string_view> path) { in FindPath() argument 303 return const_cast<Value*>(const_cast<const Value*>(this)->FindPath(path)); in FindPath() 307 std::initializer_list<std::string_view> path) const { in FindPath() 308 DCHECK_GE(path.size(), 2u) << "Use FindKey() for a path of length 1."; in FindPath() 309 return FindPath(make_span(path.begin(), path.size())); in FindPath() 312 const Value* Value::FindPath(span<const std::string_view> path) cons 321 FindPathOfType(std::initializer_list<std::string_view> path, Type type) FindPathOfType() argument 327 FindPathOfType(span<const std::string_view> path, Type type) FindPathOfType() argument 332 FindPathOfType(std::initializer_list<std::string_view> path, Type type) const FindPathOfType() argument 338 FindPathOfType(span<const std::string_view> path, Type type) const FindPathOfType() argument 346 SetPath(std::initializer_list<std::string_view> path, Value value) SetPath() argument 352 SetPath(span<const std::string_view> path, Value value) SetPath() argument 382 RemovePath(std::initializer_list<std::string_view> path) RemovePath() argument 387 RemovePath(span<const std::string_view> path) RemovePath() argument [all...] |
| /third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/ |
| H A D | node.js | 1 // inventory, path, realpath, root, and parent 6 // node.location is the /-delimited path from the root module to the node. In 8 // this can include some number of /../ path segments. The location of the 13 // node.path is the path to the place where this node lives on disk. It is 16 // node.realpath is the path to where the module actually resides on disk. In 17 // the case of non-link nodes, node.realpath is equivalent to node.path. In 18 // the case of link nodes, it is equivalent to node.target.path. 22 // and setting node.path to parent.path/node_module [all...] |
| /third_party/skia/modules/canvaskit/npm_build/types/ |
| H A D | canvaskit-wasm-tests.ts | 17 Path, 76 function canvasTests(CK: CanvasKit, canvas?: Canvas, paint?: Paint, path?: Path, 80 if (!canvas || !paint || !path || !img || !aImg || !para || !skp || !font || 91 canvas.clipPath(path, CK.ClipOp.Intersect, false); 138 canvas.drawPath(path, paint); 144 canvas.drawShadow(path, [1, 2, 3], [4, 5, 6], 7, someColor, CK.BLUE, 0); 146 canvas.drawShadow(path, mallocedVector3, mallocedVector3, 7, someColor, CK.BLUE, 0); 239 function contourMeasureTests(CK: CanvasKit, path?: Path) { [all...] |
| /third_party/python/Doc/reference/ |
| H A D | import.rst | 144 that package if the path of their parent package (or :data:`sys.path` for a 167 the dotted path to a submodule, e.g. ``foo.bar.baz``. In this case, Python 225 frozen modules. A third default finder searches an :term:`import path` 226 for modules. The :term:`import path` is a list of locations that may 252 single: path hooks 255 pair: hooks; path 259 hooks* and *import path hooks*. 263 This allows meta hooks to override :data:`sys.path` processing, frozen 267 Import path hook [all...] |
| /test/xts/acts/multimedia/media/media_js_standard/httpPlayer/entry/src/ohosTest/ets/test/ |
| H A D | HttpPlayerCompatibilityTest.test.ets | 51 let path = HTTP_PATH + 'h264-aac.mp4'; 52 await playVideoSource(path, 1920, 1080, 247300, PLAY_TIME, done); 64 let path = HTTP_PATH + 'h264-mp3.mp4'; 65 await playVideoSource(path, 1920, 1080, 247300, PLAY_TIME, done); 77 let path = HTTP_PATH + 'h264-aac.ts'; 78 await playVideoSource(path, 1920, 1080, 247300, PLAY_TIME, done); 90 let path = HTTP_PATH + 'h264-mp3.ts'; 91 await playVideoSource(path, 1920, 1080, 247300, PLAY_TIME, done); 103 let path = HTTP_PATH + 'h264-aac.mkv'; 104 await playVideoSource(path, 192 [all...] |
| /third_party/skia/src/gpu/ops/ |
| H A D | TessellationPathRenderer.cpp | 34 const SkPath& path, in make_non_convex_fill_op() 36 SkASSERT(!path.isConvex() || path.isInverseFillType()); in make_non_convex_fill_op() 37 int numVerbs = path.countVerbs(); in make_non_convex_fill_op() 38 if (numVerbs > 0 && !path.isInverseFillType()) { in make_non_convex_fill_op() 39 // Check if the path is large and/or simple enough that we can triangulate the inner fan in make_non_convex_fill_op() 50 path, in make_non_convex_fill_op() 60 path, in make_non_convex_fill_op() 115 SkPath path; in onDrawPath() local 116 args.fShape->asPath(&path); in onDrawPath() 28 make_non_convex_fill_op(GrRecordingContext* rContext, SkArenaAlloc* arena, skgpu::v1::FillPathFlags fillPathFlags, GrAAType aaType, const SkRect& drawBounds, const SkMatrix& viewMatrix, const SkPath& path, GrPaint&& paint) make_non_convex_fill_op() argument 206 SkPath path; onStencilPath() local [all...] |