Home
last modified time | relevance | path

Searched full:path (Results 3051 - 3075 of 40108) sorted by relevance

1...<<121122123124125126127128129130>>...1605

/third_party/skia/docs/examples/
H A Ddefault3.cpp7 SkPath path; in REG_FIDDLE() local
8 path.moveTo(C + R, C); in REG_FIDDLE()
11 path.lineTo(C + R * cos(a), C + R * sin(a)); in REG_FIDDLE()
13 return path; in REG_FIDDLE()
24 SkPath path(star()); in REG_FIDDLE()
25 canvas->drawPath(path, paint); in REG_FIDDLE()
H A DPath_addRoundRect.cpp11 SkPath path; in REG_FIDDLE() local
12 path.addRoundRect({10, 10, 36, 46}, xradius, yradius); in REG_FIDDLE()
13 paint.setColor(path.isRect(nullptr) ? SK_ColorRED : path.isOval(nullptr) ? in REG_FIDDLE()
14 SK_ColorBLUE : path.isConvex() ? SK_ColorGRAY : SK_ColorGREEN); in REG_FIDDLE()
15 canvas->drawPath(path, paint); in REG_FIDDLE()
H A Dskpaint_sum_path_effect.cpp7 SkPath path; in REG_FIDDLE() local
8 path.moveTo(C + R, C); in REG_FIDDLE()
11 path.lineTo(C + R * cos(a), C + R * sin(a)); in REG_FIDDLE()
13 return path; in REG_FIDDLE()
23 SkPath path(star()); in REG_FIDDLE()
24 canvas->drawPath(path, paint); in REG_FIDDLE()
H A Dsum_path_effect.cpp7 SkPath path; in REG_FIDDLE() local
8 path.moveTo(C + R, C); in REG_FIDDLE()
11 path.lineTo(C + R * cos(a), C + R * sin(a)); in REG_FIDDLE()
13 return path; in REG_FIDDLE()
24 SkPath path(star()); in REG_FIDDLE()
25 canvas->drawPath(path, paint); in REG_FIDDLE()
H A Dstar2.cpp7 SkPath path; in REG_FIDDLE() local
8 path.moveTo(C + R, C); in REG_FIDDLE()
11 path.lineTo(C + R * cos(a), C + R * sin(a)); in REG_FIDDLE()
13 return path; in REG_FIDDLE()
23 SkPath path(star()); in REG_FIDDLE()
24 canvas->drawPath(path, paint); in REG_FIDDLE()
H A Dstar.cpp7 SkPath path; in REG_FIDDLE() local
8 path.moveTo(C + R, C); in REG_FIDDLE()
11 path.lineTo(C + R * cos(a), C + R * sin(a)); in REG_FIDDLE()
13 return path; in REG_FIDDLE()
23 SkPath path(star()); in REG_FIDDLE()
24 canvas->drawPath(path, paint); in REG_FIDDLE()
H A Dskpaint_dash_path_effect.cpp7 SkPath path; in REG_FIDDLE() local
8 path.moveTo(C + R, C); in REG_FIDDLE()
11 path.lineTo(C + R * cos(a), C + R * sin(a)); in REG_FIDDLE()
13 return path; in REG_FIDDLE()
24 SkPath path(star()); in REG_FIDDLE()
25 canvas->drawPath(path, paint); in REG_FIDDLE()
H A Dskpaint_discrete_path_effect.cpp7 SkPath path; in REG_FIDDLE() local
8 path.moveTo(C + R, C); in REG_FIDDLE()
11 path.lineTo(C + R * cos(a), C + R * sin(a)); in REG_FIDDLE()
13 return path; in REG_FIDDLE()
22 SkPath path(star()); in REG_FIDDLE()
23 canvas->drawPath(path, paint); in REG_FIDDLE()
H A DPath_rMoveTo.cpp8 SkPath path; in REG_FIDDLE() local
9 path.addRect({20, 20, 80, 80}, SkPathDirection::kCW, 2); in REG_FIDDLE()
10 path.rMoveTo(25, 2); in REG_FIDDLE()
13 path.rLineTo(arrow[i].fX, arrow[i].fY); in REG_FIDDLE()
16 canvas->drawPath(path, paint); in REG_FIDDLE()
18 path.getLastPt(&lastPt); in REG_FIDDLE()
H A Ddiscrete_path.cpp7 SkPath path; in REG_FIDDLE() local
8 path.moveTo(C + R, C); in REG_FIDDLE()
11 path.lineTo(C + R * cos(a), C + R * sin(a)); in REG_FIDDLE()
13 return path; in REG_FIDDLE()
24 SkPath path(star()); in REG_FIDDLE()
25 canvas->drawPath(path, paint); in REG_FIDDLE()
H A Dissue640176.cpp12 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 DPaint_053.cpp10 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 DCanvas_clipPath_3.cpp9 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 DCanvas_clipPath.cpp9 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/skia/fuzz/
H A DFuzzTriangulation.cpp17 SkPath path; in DEF_FUZZ() local
18 FuzzEvilPath(fuzz, &path, SkPath::Verb::kDone_Verb); in DEF_FUZZ()
21 SkMatrix::I(), path.getBounds()); in DEF_FUZZ()
26 SkRect clipBounds = path.getBounds(); in DEF_FUZZ()
31 int count = GrTriangulator::PathToTriangles(path, tol, clipBounds, &allocator, &isLinear); in DEF_FUZZ()
33 allocator.detachVertexData(); // normally handled by the triangulating path renderer. in DEF_FUZZ()
/third_party/skia/infra/bots/assets/scripts/
H A Dcommon.py15 FILE_DIR = os.path.dirname(os.path.abspath(__file__))
16 INFRA_BOTS_DIR = os.path.realpath(os.path.join(FILE_DIR, os.pardir, os.pardir))
18 sys.path.insert(0, INFRA_BOTS_DIR)
21 ASSET_NAME = os.path.basename(FILE_DIR)
/third_party/skia/infra/bots/recipe_modules/env/examples/
H A Dfull.py19 path = 'mypath:%(PATH)s'
20 with api.context(env={'PATH': path}):
22 with api.env({'PATH': '%(PATH)s:otherpath'}):
/third_party/selinux/libselinux/man/man3/
H A Dselinux_colors_path.33 selinux_colors_path \- Return a path to the active SELinux policy color configuration file
12 returns the path to the active policy color configuration file.
14 The path is built from the path returned by
29 On success, the path to the active policy color configuration file is returned. If a path is not available NULL is returned.
/third_party/vulkan-loader/docs/images/svgs/
H A Dfunction_device_chain.svg28 <path
43 <path
70 <path
85 <path
100 <path
115 <path
130 <path
145 <path
160 <path
175 <path
[all...]
/third_party/libinput/doc/user/svg/
H A Dtap-n-drag.svg72 <path
87 <path
102 <path
118 <path
133 <path
148 <path
163 <path
178 <path
193 <path
209 <path
[all...]
/base/global/resource_management/frameworks/resmgr/src/
H A Dhap_manager.cpp83 char path[MAX_PATH] = { 0 }; in Init() local
84 GetModuleFileName((HMODULE)mbi.AllocationBase, path, MAX_PATH); in Init()
85 std::string tempPath(path); in Init()
259 std::shared_ptr<HapResource::ValueUnderQualifierDir> path = paths[i]; in MatchBestResource() local
260 const auto resConfig = path->GetResConfig(); in MatchBestResource()
317 RESMGR_HILOGE(RESMGR_TAG, "index path format error, %s", indexPath.c_str()); in FindRawFile()
334 RESMGR_HILOGE(RESMGR_TAG, "FindRawFile path to realpath error"); in FindRawFile()
375 bool HapManager::AddResource(const char *path, const uint32_t &selectedTypes) in AddResource() argument
378 return this->AddResourcePath(path, selectedTypes); in AddResource()
381 bool HapManager::AddPatchResource(const char *path, cons argument
387 AddResource(const std::string &path, const std::vector<std::string> &overlayPaths) AddResource() argument
504 AddResourcePath(const char *path, const uint32_t &selectedTypes) AddResourcePath() argument
524 AddPatchResourcePath(const char *path, const char *patchPath) AddPatchResourcePath() argument
980 RemoveResource(const std::string &path, const std::vector<std::string> &overlayPaths) RemoveResource() argument
[all...]
/third_party/python/Lib/test/
H A Dtest_ntpath.py34 def _getshortpathname(path):
38 result_len = GSPN(path, None, 0)
40 raise OSError("failed to get short path name 0x{:08X}"
43 result_len = GSPN(path, result, result_len)
46 def _norm(path):
47 if isinstance(path, (bytes, str, os.PathLike)):
48 return ntpath.normcase(os.fsdecode(path))
49 elif hasattr(path, "__iter__"):
50 return tuple(ntpath.normcase(os.fsdecode(p)) for p in path)
51 return path
901 path = ntpath global() variable in PathLikeTests
[all...]
/third_party/typescript/src/services/
H A DstringCompletions.ts126 const isNewIdentifierLocation = true; // The user may type in a path that doesn't yet exist, creating a "new identifier" with respect to the collection of identifiers the server is aware of.
253 // Get all known external module names or complete a path to a module
374 const scriptPath = sourceFile.path;
394 function getCompletionEntriesForRelativeModules(literalValue: string, scriptDirectory: string, compilerOptions: CompilerOptions, host: LanguageServiceHost, scriptPath: Path, includeExtensions: IncludeExtensionsOption) {
424 * Takes a script path and returns paths for all potential folders that could be merged with its
431 // Determine the path to the directory containing the script relative to the root directory it is contained within
435 // Now find a path for each potential directory that is to be merged with the one containing the script
455 * Given a path ending at a directory, gets the completions for the path, and filters for those entries containing the basename.
472 * Remove the basename from the path
[all...]
/third_party/node/doc/api/
H A Dfs.json16 "desc": "<p>Promise-based operations return a promise that is fulfilled when the\nasynchronous operation is complete.</p>\n<pre><code class=\"language-mjs\">import { unlink } from 'node:fs/promises';\n\ntry {\n await unlink('/tmp/hello');\n console.log('successfully deleted /tmp/hello');\n} catch (error) {\n console.error('there was an error:', error.message);\n}\n</code></pre>\n<pre><code class=\"language-cjs\">const { unlink } = require('node:fs/promises');\n\n(async function(path) {\n try {\n await unlink(path);\n console.log(`successfully deleted ${path}`);\n } catch (error) {\n console.error('there was an error:', error.message);\n }\n})('/tmp/hello');\n</code></pre>",
1202 "textRaw": "`fsPromises.access(path[, mode])`",
1221 "textRaw": "`path` {string|Buffer|URL}",
1222 "name": "path",
1234 "desc": "<p>Tests a user's permissions for the file or directory specified by <code>path</code>.\nThe <code>mode</code> argument is an optional integer that specifies the accessibility\nchecks to be performed. <code>mode</code> should be either the value <code>fs.constants.F_OK</code>\nor a mask consisting of the bitwise OR of any of <code>fs.constants.R_OK</code>,\n<code>fs.constants.W_OK</code>, and <code>fs.constants.X_OK</code> (e.g.\n<code>fs.constants.W_OK | fs.constants.R_OK</code>). Check <a href=\"#file-access-constants\">File access constants</a> for\npossible values of <code>mode</code>.</p>\n<p>If the accessibility check is successful, the promise is resolved with no\nvalue. If any of the accessibility checks fail, the promise is rejected\nwith an <a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error\" class=\"type\">&lt;Error&gt;</a> object. The following example checks if the file\n<code>/etc/passwd</code> can be read and written by the current process.</p>\n<pre><code class=\"language-mjs\">import { access, constants } from 'node:fs/promises';\n\ntry {\n await access('/etc/passwd', constants.R_OK | constants.W_OK);\n console.log('can access');\n} catch {\n console.error('cannot access');\n}\n</code></pre>\n<p>Using <code>fsPromises.access()</code> to check for the accessibility of a file before\ncalling <code>fsPromises.open()</code> is not recommended. Doing so introduces a race\ncondition, since other processes may change the file's state between the two\ncalls. Instead, user code should open/read/write the file directly and handle\nthe error raised if the file is not accessible.</p>"
1237 "textRaw": "`fsPromises.appendFile(path, data[, options])`",
1256 "textRaw": "`path` {string|Buffer|URL|FileHandle} filename or {FileHandle}",
1257 "name": "path",
[all...]
/base/security/security_guard/test/unittest/security_collector/data_collection/src/
H A Ddata_collection_test.cpp44 MOCK_METHOD3(LoadCollector, ErrorCode(int64_t eventId, std::string path, std::shared_ptr<ICollectorFwk> api));
45 MOCK_METHOD2(GetCollectorPath, ErrorCode(int64_t eventId, std::string& path));
161 std::string path; in HWTEST_F() local
163 EXPECT_EQ(myOb.GetCollectorPath(1, path), FAILED); in HWTEST_F()
169 std::string path; in HWTEST_F() local
171 EXPECT_EQ(myOb.GetCollectorPath(0x01C000003, path), SUCCESS); in HWTEST_F()
192 MOCK_METHOD3(LoadCollector, ErrorCode(std::string path, const SecurityEventRuler &ruler,
194 MOCK_METHOD2(GetCollectorPath, ErrorCode(int64_t eventId, std::string& path));
252 std::string path("/system/lib64/chipset-pub-sdk/libeventhandler.z.so"); in HWTEST_F()
267 std::string path("/syste in HWTEST_F()
292 std::string path = "/system/lib64/module/security/libsecurityguard_napi.z.so"; HWTEST_F() local
300 std::string path = "/system/lib64/module/security/libsecurityguard_napi.z.so"; HWTEST_F() local
[all...]

Completed in 17 milliseconds

1...<<121122123124125126127128129130>>...1605