/test/xts/acts/graphic/acts_drawing_native/ |
H A D | DrawingNativeRegionTest.cpp | 368 OH_Drawing_Path *path = OH_Drawing_PathCreate(); in HWTEST_F() local 373 OH_Drawing_PathAddRect(path, 100.0f, 100.0f, 256.0f, 256.0f, OH_Drawing_PathDirection::PATH_DIRECTION_CW); in HWTEST_F() 375 // 1. OH_Drawing_RegionSetPath takes correct region, path, and clip object pointers as input in HWTEST_F() 376 EXPECT_TRUE(OH_Drawing_RegionSetPath(region, path, clip)); in HWTEST_F() 378 OH_Drawing_PathDestroy(path); in HWTEST_F() 393 OH_Drawing_Path *path = OH_Drawing_PathCreate(); in HWTEST_F() local 399 // 1. OH_Drawing_RegionSetPath takes correct path and clip object pointers as input, region is nullptr in HWTEST_F() 400 OH_Drawing_RegionSetPath(nullptr, path, clip); in HWTEST_F() 403 OH_Drawing_PathDestroy(path); in HWTEST_F() 418 OH_Drawing_Path *path in HWTEST_F() local 443 OH_Drawing_Path *path = OH_Drawing_PathCreate(); HWTEST_F() local 468 OH_Drawing_Path *path = OH_Drawing_PathCreate(); HWTEST_F() local [all...] |
/third_party/gn/src/gn/ |
H A D | command_path.cc | 54 // Stores targets that have a path to the destination, and whether that 55 // path is public, private, or data. 60 // classification of the elided last part of path. 61 DepType ClassifyPath(const PathVector& path, DepType implicit_last_dep) { in ClassifyPath() argument 69 for (size_t i = 1; i < path.size(); i++) { in ClassifyPath() 71 // to find the worst link in the path). in ClassifyPath() 72 if (path[i].second == DepType::PRIVATE) { in ClassifyPath() 75 } else if (path[i].second == DepType::DATA) { in ClassifyPath() 97 // Prints the given path. If the implicit_last_dep is not "none", the last 99 void PrintPath(const PathVector& path, DepTyp argument 130 InsertTargetsIntoFoundPaths(const PathVector& path, DepType implicit_last_dep, Stats* stats) InsertTargetsIntoFoundPaths() argument [all...] |
/third_party/node/test/pummel/ |
H A D | test-policy-integrity-worker-commonjs.js | 22 const path = require('path'); 64 const path = require('path'); 78 const w = new Worker(path.resolve(process.env.PARENT_FILE)); 87 common.requireNoPackageJSONAbove(tmpdir.path); 112 const configDirPath = path.join( 113 tmpdir.path, 116 const tmpPolicyPath = path.join( 117 tmpdir.path, [all...] |
H A D | test-policy-integrity-worker-module.js | 22 const path = require('path'); 64 const path = require('path'); 78 const w = new Worker(path.resolve(process.env.PARENT_FILE)); 87 common.requireNoPackageJSONAbove(tmpdir.path); 112 const configDirPath = path.join( 113 tmpdir.path, 116 const tmpPolicyPath = path.join( 117 tmpdir.path, [all...] |
H A D | test-policy-integrity-worker-no-package-json.js | 22 const path = require('path'); 64 const path = require('path'); 78 const w = new Worker(path.resolve(process.env.PARENT_FILE)); 87 common.requireNoPackageJSONAbove(tmpdir.path); 112 const configDirPath = path.join( 113 tmpdir.path, 116 const tmpPolicyPath = path.join( 117 tmpdir.path, [all...] |
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | win_tool.py | 21 BASE_DIR = os.path.dirname(os.path.abspath(__file__)) 88 def ExecStamp(self, path): 90 open(path, "w").close() 94 if os.path.exists(dest): 95 if os.path.isdir(dest): 97 def _on_error(fn, path, excinfo): 100 if not os.access(path, os.W_OK): 101 os.chmod(path, stat.S_IWRITE) 102 fn(path) [all...] |
/third_party/node/tools/icu/ |
H A D | icutrim.py | 40 parser.add_option("-P","--tool-path", 72 help="outfile (NOT a full path)", 99 if (os.path.isdir(options.tmpdir) and options.deltmpdir): 104 if not (os.path.isdir(options.tmpdir)): 117 if not os.path.isdir(options.tmpdir): 121 if not os.path.isfile(options.filterfile): 125 if not os.path.isfile(options.datfile): 133 outfile = os.path.join(options.tmpdir, options.outfile) 135 if os.path.isfile(outfile): 149 cmd = os.path [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | win_tool.py | 21 BASE_DIR = os.path.dirname(os.path.abspath(__file__)) 88 def ExecStamp(self, path): 90 open(path, "w").close() 94 if os.path.exists(dest): 95 if os.path.isdir(dest): 97 def _on_error(fn, path, excinfo): 100 if not os.access(path, os.W_OK): 101 os.chmod(path, stat.S_IWRITE) 102 fn(path) [all...] |
/third_party/node/deps/undici/src/lib/mock/ |
H A D | mock-utils.js | 94 function safeUrl (path) { 95 if (typeof path !== 'string') { 96 return path 99 const pathSegments = path.split('?') 102 return path 110 function matchKey (mockDispatch, { path, method, body, headers }) { 111 const pathMatch = matchValue(mockDispatch.path, path) 129 const basePath = key.query ? buildURL(key.path, key.query) : key.path [all...] |
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/regex/ |
H A D | EdgeWriter.java | 155 * edges is an "any path" if all edges accept any digit. Composite edges already enforce the 167 return Optional.ofNullable(visitor.path); in extractAnyPath() 172 private AnyPath path = AnyPath.EMPTY; field in EdgeWriter.AnyPathVisitor 176 checkState(path != null, "path should never be null at start of recursion"); in visit() 178 path = path.join(edge.isOptional() ? AnyPath.OPTIONAL : AnyPath.SINGLE); in visit() 180 path = null; in visit() 186 checkState(path != null, "path shoul in visitSequence() [all...] |
/third_party/vk-gl-cts/external/amber/src/tests/ |
H A D | run_tests.py | 190 base = os.path.basename(self.input_path) 289 base_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) 294 default=os.path.join(base_path, 'out', 'Debug'), 295 help='path to build directory') 297 default=os.path.join(os.path.dirname(__file__), 'cases'), 298 help='path to directory containing test files') 299 parser.add_option('--test-prog-path', defaul [all...] |
/third_party/skia/src/utils/ |
H A D | SkParsePath.cpp | 92 SkPath path; in FromSVGString() local 129 path.moveTo(points[0]); in FromSVGString() 136 path.lineTo(points[0]); in FromSVGString() 142 path.lineTo(x, c.fY); in FromSVGString() 148 path.lineTo(c.fX, y); in FromSVGString() 162 path.cubicTo(points[0], points[1], points[2]); in FromSVGString() 177 path.quadTo(points[0], points[1]); in FromSVGString() 194 path.arcTo(radii, angle, (SkPath::ArcSize) largeArc, in FromSVGString() 196 path.getLastPt(&c); in FromSVGString() 200 path in FromSVGString() 239 ToSVGString(const SkPath& path, SkString* str, PathEncoding encoding) ToSVGString() argument [all...] |
/third_party/openssl/test/ |
H A D | http_test.c | 20 #define RPATH "/path/result.crt" 37 const char *req, *path; in mock_http_server() local 43 /* first line should contain "<GET or POST> <path> HTTP/1.x" */ in mock_http_server() 51 path = hdr; in mock_http_server() 68 if (strncmp(path, RPATH, strlen(RPATH)) != 0) { in mock_http_server() 206 char *user, *host, *port, *path, *query, *frag; in test_http_url_ok() local 213 &path, &query, &frag)) in test_http_url_ok() 217 && TEST_str_eq(path, exp_path) in test_http_url_ok() 228 OPENSSL_free(path); in test_http_url_ok() 236 char *host, *path; in test_http_url_path_query_ok() local 277 char *host = "1", *port = "1", *path = "1"; test_http_url_invalid() local [all...] |
/third_party/skia/gm/ |
H A D | dashcircle.cpp | 252 SkPathBuilder path; in DEF_SIMPLE_GM() local 253 path.moveTo(800, 400); in DEF_SIMPLE_GM() 254 path.quadTo(1000, 400, 1000, 600); in DEF_SIMPLE_GM() 255 path.quadTo(1000, 800, 800, 800); in DEF_SIMPLE_GM() 256 path.quadTo(600, 800, 600, 600); in DEF_SIMPLE_GM() 257 path.quadTo(600, 400, 800, 400); in DEF_SIMPLE_GM() 258 path.close(); in DEF_SIMPLE_GM() 261 canvas->drawPath(path.detach(), p); in DEF_SIMPLE_GM() 263 path.moveTo(800, 400); in DEF_SIMPLE_GM() 264 path in DEF_SIMPLE_GM() [all...] |
/third_party/selinux/libselinux/src/ |
H A D | label_backends_android.c | 50 static int nodups_specs(struct saved_data *data, const char *path) in nodups_specs() argument 68 path, curr_spec->property_key, in nodups_specs() 75 path, curr_spec->property_key); in nodups_specs() 84 const char *path, char *line_buf, in process_line() 98 "%s: line %u error due to: %s\n", path, in process_line() 102 "%s: line %u error due to: %m\n", path, in process_line() 113 "%s: line %u is missing fields\n", path, in process_line() 132 path, lineno, spec_arr[nspec].lr.ctx_raw); in process_line() 147 const char *path = NULL; in init() local 158 path in init() 83 process_line(struct selabel_handle *rec, const char *path, char *line_buf, int pass, unsigned lineno) process_line() argument [all...] |
H A D | load_policy.c | 28 char path[PATH_MAX]; in security_load_policy() local 36 snprintf(path, sizeof path, "%s/load", selinux_mnt); in security_load_policy() 37 fd = open(path, O_RDWR | O_CLOEXEC); in security_load_policy() 57 char path[PATH_MAX]; in selinux_mkload_policy() local 128 snprintf(path, sizeof(path), "%s.%d", in selinux_mkload_policy() 130 fd = open(path, O_RDONLY | O_CLOEXEC); in selinux_mkload_policy() 134 snprintf(path, sizeof(path), " in selinux_mkload_policy() [all...] |
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | export.c | 80 /* client fsidtype fsid expiry [path] */ in expkey_parse() 158 dprintk("Found the path %s\n", buf); in expkey_parse() 185 seq_puts(m, "#domain fsidtype fsid [path]\n"); in expkey_show() 326 kfree(locations[i].path); in nfsd4_fslocs_free() 370 /* client path */ in svc_export_request() 389 static int check_export(struct path *path, int *flags, unsigned char *uuid) in check_export() argument 391 struct inode *inode = d_inode(path->dentry); in check_export() 430 if (is_idmapped_mnt(path->mnt)) { in check_export() 481 /* slash separated path componen in fsloc_parse() 946 exp_get_by_name(struct cache_detail *cd, struct auth_domain *clp, const struct path *path, struct cache_req *reqp) exp_get_by_name() argument 974 exp_parent(struct cache_detail *cd, struct auth_domain *clp, struct path *path) exp_parent() argument 1002 struct path path; exp_rootfh() local 1120 rqst_exp_get_by_name(struct svc_rqst *rqstp, struct path *path) rqst_exp_get_by_name() argument 1184 rqst_exp_parent(struct svc_rqst *rqstp, struct path *path) rqst_exp_parent() argument [all...] |
/third_party/skia/tests/ |
H A D | ClipStackTest.cpp | 40 // Build up a clip stack with a path, an empty clip, and a rect. in test_assign_and_comparison() 90 // Test that version constructed with rect-path rather than a rect is still considered equal. in test_assign_and_comparison() 375 SkPath path; 376 path.addRect(rect); 377 path.toggleInverseFillType(); 379 stack.clipPath(path, SkMatrix::I(), SkClipOp::kIntersect, false); 463 // Simplified path-based version of test_rect_replace. 465 auto replacePath = [](SkClipStack* stack, const SkPath& path, bool doAA) { 468 stack->clipPath(path, SkMatrix::I(), SkClipOp::kIntersect, doAA); 471 SkPath path; local 700 SkPath path; test_quickContains() local 709 SkPath path; test_quickContains() local 718 SkPath path; test_quickContains() local 727 SkPath path; test_quickContains() local 737 SkPath path = outsideCircle; test_quickContains() local 745 SkPath path = insideCircle; test_quickContains() local 753 SkPath path = intersectingCircle; test_quickContains() local 761 SkPath path = nonIntersectingCircle; test_quickContains() local 774 SkPath path; set_region_to_stack() local 795 SkPath path; test_invfill_diff_bug() local [all...] |
/third_party/python/Lib/ |
H A D | zipfile.py | 527 filename should be the path to a file or directory on the filesystem. 531 leading path separators removed). 546 arcname = os.path.normpath(os.path.splitdrive(arcname)[1]) 1228 file: Either the path to the file, or a file-like object. 1229 If it is a path, the file will be opened and closed by ZipFile. 1666 def extract(self, member, path=None, pwd=None): 1670 specify a different directory using `path'. 1672 if path is None: 1673 path [all...] |
/kernel/uniproton/build/uniproton_ci_lib/ |
H A D | globle.py | 23 build_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 24 home_path = os.path.dirname(build_dir) 25 config_dir = os.path.join(home_path,'config.xml')
|
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/testutils/ |
H A D | TestFont.java | 39 private String path; field in TestFont.TestFontNames 41 private TestFontNames(String path) { in TestFontNames() argument 42 this.path = path; in TestFontNames() 46 return new File(TESTDATA_PATH + path); in getFile()
|
/third_party/skia/docs/examples/ |
H A D | Path_getLastPt.cpp | 7 SkPath path; in REG_FIDDLE() local 8 path.moveTo(100, 100); in REG_FIDDLE() 9 path.quadTo(100, 20, 20, 100); in REG_FIDDLE() 12 path.transform(matrix); in REG_FIDDLE() 14 path.getLastPt(&last); in REG_FIDDLE()
|
/third_party/vulkan-loader/scripts/ |
H A D | common_codegen.py | 77 def repo_relative(path): 78 return os.path.abspath(os.path.join(os.path.dirname(__file__), '..', path))
|
/third_party/icu/icu4c/source/tools/gencnval/ |
H A D | gencnval.c | 152 * path to convrtrs.txt 154 const char *path; variable 254 "\t-d or --destdir destination directory, followed by the path\n" in main() 255 "\t-s or --sourcedir source directory, followed by the path\n", in main() 269 path = argv[1]; in main() 271 path = "convrtrs.txt"; in main() 282 uprv_strcpy(end, path); in main() 283 path = pathBuf; in main() 294 in=T_FileStream_open(path, "r"); in main() 296 fprintf(stderr, "gencnval: unable to open input file %s\n", path); in main() [all...] |
/third_party/skia/third_party/externals/icu/source/tools/gencnval/ |
H A D | gencnval.c | 151 * path to convrtrs.txt 153 const char *path; variable 253 "\t-d or --destdir destination directory, followed by the path\n" in main() 254 "\t-s or --sourcedir source directory, followed by the path\n", in main() 268 path = argv[1]; in main() 270 path = "convrtrs.txt"; in main() 281 uprv_strcpy(end, path); in main() 282 path = pathBuf; in main() 293 in=T_FileStream_open(path, "r"); in main() 295 fprintf(stderr, "gencnval: unable to open input file %s\n", path); in main() [all...] |