/third_party/skia/docs/examples/ |
H A D | issue640176.cpp | 12 SkPath path; in REG_FIDDLE() local 13 path.moveTo(0, 0); in REG_FIDDLE() 14 path.lineTo(radius * cos(startAngle), radius * sin(startAngle)); in REG_FIDDLE() 16 path.arcTo(oval, startAngle * 180 / 3.14159265359, in REG_FIDDLE() 18 canvas->drawPath(path, p); in REG_FIDDLE() 22 canvas->drawPath(path, p); in REG_FIDDLE()
|
H A D | Paint_053.cpp | 10 SkPath path; in REG_FIDDLE() local 11 path.moveTo(30, 30); in REG_FIDDLE() 12 path.lineTo(30, 30); in REG_FIDDLE() 13 path.moveTo(70, 30); in REG_FIDDLE() 14 path.lineTo(90, 40); in REG_FIDDLE() 17 canvas->drawPath(path, paint); in REG_FIDDLE()
|
H A D | Canvas_clipPath_3.cpp | 9 SkPath path; in REG_FIDDLE() local 12 path.addPoly(poly, SK_ARRAY_COUNT(poly), true); in REG_FIDDLE() 13 path.setFillType(SkPathFillType::kWinding); in REG_FIDDLE() 15 canvas->clipPath(path, SkClipOp::kIntersect); in REG_FIDDLE() 19 path.setFillType(SkPathFillType::kEvenOdd); in REG_FIDDLE() 20 canvas->clipPath(path, SkClipOp::kIntersect); in REG_FIDDLE()
|
H A D | Canvas_clipPath.cpp | 9 SkPath path; in REG_FIDDLE() local 10 path.addRect({20, 30, 100, 110}); in REG_FIDDLE() 11 path.setFillType(SkPathFillType::kInverseWinding); in REG_FIDDLE() 13 canvas->clipPath(path, SkClipOp::kDifference, false); in REG_FIDDLE() 17 path.setFillType(SkPathFillType::kWinding); in REG_FIDDLE() 18 canvas->clipPath(path, SkClipOp::kIntersect, false); in REG_FIDDLE()
|
/third_party/rust/crates/rustix/src/fs/ |
H A D | openat2.rs | 2 use crate::{backend, io, path}; 6 /// `openat2(dirfd, path, OpenHow { oflags, mode, resolve }, sizeof(OpenHow))` 13 pub fn openat2<Fd: AsFd, P: path::Arg>( in openat2() 15 path: P, in openat2() 20 path.into_with_c_str(|path| { in openat2() 21 backend::fs::syscalls::openat2(dirfd.as_fd(), path, oflags, mode, resolve) in openat2()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
H A D | drawing_painter.cpp | 24 RSRecordingPath path; in DrawPath() local 25 bool ret = path.BuildFromSVGString(commands); in DrawPath() 32 canvas.DrawPath(path); in DrawPath() 36 canvas.DrawPath(path); in DrawPath() 45 // The path will be stroked once 'drawPath' has been called even if the strokeWidth is zero. in SetPen() 134 RSRecordingPath path; in DrawPath() local 135 if (!path.BuildFromSVGString(commands)) { in DrawPath() 136 LOGE("Invalid path value."); in DrawPath() 140 path.Offset(offset.GetX(), offset.GetY()); in DrawPath() 141 canvas.DrawPath(path); in DrawPath() 146 RSRecordingPath path; GetPathSize() local [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/serializable/ |
H A D | SerializableChecker.java | 43 private String path = null; field in SerializableChecker 47 public SerializableChecker(String path) in SerializableChecker() argument 49 this.path = path; in SerializableChecker() 51 if (path != null) { in SerializableChecker() 52 File dir = new File(path); in SerializableChecker() 72 File file = new File(path + File.separator + className + ".dat"); in writeFile() 134 if (path != null) { in visit() 179 String path = null; in main() 186 path in main() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
H A D | SerializableChecker.java | 40 private String path = null; field in SerializableChecker 44 public SerializableChecker(String path) in SerializableChecker() argument 46 this.path = path; in SerializableChecker() 48 if (path != null) { in SerializableChecker() 49 File dir = new File(path); in SerializableChecker() 69 File file = new File(path + File.separator + className + ".dat"); in writeFile() 131 if (path != null) { in visit() 176 String path = null; in main() 183 path in main() [all...] |
/third_party/lzma/CPP/Common/ |
H A D | Wildcard.h | 15 void SplitPathToParts(const UString &path, UStringVector &pathParts);
16 void SplitPathToParts_2(const UString &path, UString &dirPrefix, UString &name);
17 void SplitPathToParts_Smart(const UString &path, UString &dirPrefix, UString &name); // ignores dir delimiter at the end of (path)
19 UString ExtractDirPrefixFromPath(const UString &path);
20 UString ExtractFileNameFromPath(const UString &path);
22 bool DoesNameContainWildcard(const UString &path);
113 int FindSubNode(const UString &path) const;
116 // void AddItem(bool include, const UString &path, const CCensorPathProps &props);
135 CheckPathVect() doesn't check path i 211 AddPreItem_NoWildcard(const UString &path) AddPreItem_NoWildcard() argument [all...] |
/third_party/mesa3d/src/hgl/ |
H A D | GLRendererRoster.cpp | 122 BPath path; in AddDefaultPaths() local 123 status_t status = find_directory(paths[i], &path, true); in AddDefaultPaths() 124 if (status == B_OK && path.Append("opengl") == B_OK) in AddDefaultPaths() 125 AddPath(path.Path()); in AddDefaultPaths() 131 GLRendererRoster::AddPath(const char* path) in AddPath() argument 133 BDirectory directory(path); in AddPath() 206 BPath path(&ref); in CreateRenderer() 207 printf("OpenGL load add-on: %s\n", path.Path()); in CreateRenderer() 209 image_id image = load_add_on(path.Path()); in CreateRenderer() 225 printf("OpenGL add-on registered: %s\n", path in CreateRenderer() [all...] |
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/ |
H A D | script_mutator.js | 12 const path = require('path'); 54 this.mutateDb = new db.MutateDb(db_path || path.join(process.cwd(), 'db')); 79 while (path.dirname(mjsunitPath) != mjsunitPath && 80 path.basename(mjsunitPath) != 'mjsunit') { 81 mjsunitPath = path.dirname(mjsunitPath); 84 if (path.basename(mjsunitPath) == 'mjsunit') { 85 mjsunitPath = path.join(mjsunitPath, 'mjsunit.js'); 97 let currentDir = path.dirname(input.absPath); 99 while (path [all...] |
/third_party/node/test/parallel/ |
H A D | test-runner-coverage.js | 19 return readdirSync(tmpdir.path).find((file) => { 73 const fixture = fixtures.path('test-runner', 'coverage.js'); 86 const fixture = fixtures.path('test-runner', 'coverage.js'); 88 const options = { env: { ...process.env, NODE_V8_COVERAGE: tmpdir.path } }; 99 const fixture = fixtures.path('test-runner', 'coverage.js'); 113 const fixture = fixtures.path('test-runner', 'coverage.js'); 115 const options = { env: { ...process.env, NODE_V8_COVERAGE: tmpdir.path } }; 126 const fixture = fixtures.path('test-runner', 'coverage.js'); 139 const fixture = fixtures.path('test-runner', 'coverage.js'); 172 const fixture = fixtures.path('v [all...] |
/third_party/node/deps/v8/tools/ |
H A D | run-wasm-api-tests.py | 35 CHECKOUT_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 36 WASM_PATH = os.path.join(CHECKOUT_PATH, "third_party", "wasm-api") 37 CLANG_PATH = os.path.join(CHECKOUT_PATH, "third_party", "llvm-build", 46 "c": os.path.join(CLANG_PATH, "clang"), 47 "cc": os.path.join(CLANG_PATH, "clang++"), 80 self.src_file_basename = os.path.join(WASM_PATH, "example", name) 81 self.dst_file_basename = os.path.join(tempdir, name) 82 self.lib_file = os.path [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/lib/ |
H A D | process-release.js | 7 const path = require('path') 112 libPath: normalizePath(path.relative(url.parse(baseUrl).path, url.parse(libUrl32).path)) 116 libPath: normalizePath(path.relative(url.parse(baseUrl).path, url.parse(libUrl64).path)) 120 libPath: normalizePath(path.relative(url.parse(baseUrl).path, ur [all...] |
/third_party/python/Tools/freeze/ |
H A D | checkextensions_win32.py | 60 defaultMapName = os.path.join( os.path.split(sys.argv[0])[0], "extensions_win32.ini") 61 if not os.path.isfile(defaultMapName): 91 # If the path to the .DSP file is not absolute, assume it is relative 93 if not os.path.isabs(dsp): 94 dsp = os.path.join( os.path.split(mapFileName)[0], dsp) 101 # Put the path to the DSP into the environment so entries can reference it. 102 os.environ['dsp_path'] = os.path.split(dsp)[0] 103 os.environ['ini_path'] = os.path [all...] |
/third_party/skia/third_party/externals/tint/tools/src/glob/ |
H A D | glob.go | 24 "path/filepath" 34 err := filepath.Walk(root, func(path string, info os.FileInfo, err error) error { 35 rel, err := filepath.Rel(root, path) 37 rel = path 44 if !cfg.shouldExamine(root, path) { 66 // "excludes" key to an array of path patterns. 67 // Each path pattern is considered in turn to either include or exclude the 68 // file path for license scanning. Pattern use forward-slashes '/' for 90 // LoadConfig loads a config file at path. 91 func LoadConfig(path strin [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | typeGuardOfFormThisMember.js | 16 constructor(public path: string) {} 20 constructor(path: string, public content: string) { super(path); } 105 function FileSystemObject(path) {
106 this.path = path;
130 function File(path, content) {
131 var _this = _super.call(this, path) || this;
181 path: string;
187 constructor(path [all...] |
/third_party/skia/gn/ |
H A D | gn_meta_sln.py | 14 def ensureExists(path): 16 os.makedirs(path) 21 ensureExists(os.path.dirname(fileName)) 44 gnFile = os.path.join("out", outDir, "build.ninja.d") 45 if os.path.exists(gnFile): 46 slnFile = os.path.join("out", outDir, "all.sln") 47 configs.append((outDir, os.path.exists(slnFile))) 124 srcProjPath = os.path.join("out", projConfigs[0][0], projConfigs[0][1]) 125 dstProjPath = os.path.join("out", "sln", projConfigs[0][1]) 130 ensureExists(os.path [all...] |
/third_party/skia/gm/ |
H A D | dashcubics.cpp | 30 static void flower(SkCanvas* canvas, const SkPath& path, SkScalar intervals[2], in flower() argument 37 canvas->drawPath(path, paint); in flower() 42 canvas->drawPath(path, paint); in flower() 47 canvas->drawPath(path, paint); in flower() 51 SkPath path; in DEF_SIMPLE_GM() local 62 SkParsePath::FromSVGString(d, &path); in DEF_SIMPLE_GM() 69 flower(canvas, path, intervals, y ? SkPaint::kDefault_Join : SkPaint::kRound_Join); in DEF_SIMPLE_GM() 154 for (const auto& path : fPaths) { 155 canvas->drawPath(path, normalPaint); 156 canvas->drawPath(path, invertedPain [all...] |
/third_party/rust/crates/rustix/tests/net/ |
H A D | unix.rs | 22 use rustix::path::DecInt; 23 use std::path::Path; 30 fn server(ready: Arc<(Mutex<bool>, Condvar)>, path: &Path) { in server() 38 let name = SocketAddrUnix::new(path).unwrap(); in server() 69 unlinkat(cwd(), path, AtFlags::empty()).unwrap(); 72 fn client(ready: Arc<(Mutex<bool>, Condvar)>, path: &Path, runs: &[(&[&str], i32)]) { in client() 81 let addr = SocketAddrUnix::new(path).unwrap(); in client() 121 let path = tmp.path().join("soccer"); in test_unix() 122 let send_path = path in test_unix() [all...] |
/third_party/vk-gl-cts/scripts/ |
H A D | build_caselists.py | 50 DEFAULT_BUILD_DIR = os.path.join(tempfile.gettempdir(), "deqp-caselists", "{targetName}-{buildType}") 68 return os.path.join(buildCfg.getBuildDir(), "modules") 75 fullPath = os.path.join(modulesDir, module.dirName) 76 if os.path.exists(fullPath) and os.path.isdir(fullPath): 85 return os.path.join(getModulesPath(buildCfg), module.dirName, getCaseListFileName(module, caseListType)) 88 workDir = os.path.join(getModulesPath(buildCfg), module.dirName) 93 binPath = generator.getBinaryPath(buildCfg.getBuildType(), os.path.join(".", module.binName)) 101 dstPath = os.path.join(dstDir, caseListFile) 103 if os.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/node/tools/gyp/pylib/gyp/ |
H A D | xcodeproj_file.py | 176 """Given input_path, returns a tuple with sourceTree and path values. 180 '$(VAR)/path' ('VAR', 'path') 182 'path' (None, 'path') 948 # TODO(mark): Do name and path belong here? Probably so. 949 # If path is set and name is not, name may have a default value. Name will 950 # be set to the basename of path, if the basename of path is different from 951 # the full value of path [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | xcodeproj_file.py | 176 """Given input_path, returns a tuple with sourceTree and path values. 180 '$(VAR)/path' ('VAR', 'path') 182 'path' (None, 'path') 948 # TODO(mark): Do name and path belong here? Probably so. 949 # If path is set and name is not, name may have a default value. Name will 950 # be set to the basename of path, if the basename of path is different from 951 # the full value of path [all...] |
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | test_shaders.py | 20 import os.path namespace 42 def remove_file(path): 43 #print('Removing file:', path) 44 os.remove(path) 47 f, path = tempfile.mkstemp(suffix = suff) 49 #print('Creating temporary:', path) 50 return path 70 _, ext = os.path.splitext(shader) 87 path = create_temporary() 91 remove_file(path) [all...] |