Home
last modified time | relevance | path

Searched full:path (Results 2376 - 2400 of 40500) sorted by relevance

1...<<919293949596979899100>>...1620

/third_party/node/deps/npm/node_modules/@npmcli/run-script/lib/
H A Dmake-spawn-args.js2 const setPATH = require('./set-path.js')
3 const { resolve } = require('path')
9 path,
19 const spawnEnv = setPATH(path, binPaths, {
20 // we need to at least save the PATH environment var
23 npm_package_json: resolve(path, 'package.json'),
33 cwd: path,
/third_party/node/deps/npm/test/fixtures/
H A Dtmock.js1 const path = require('path')
3 const ROOT = path.resolve(__dirname, '../..')
4 const BIN = path.join(ROOT, 'bin')
5 const LIB = path.join(ROOT, 'lib')
8 // correct path to mock something with tap since the directory will change
10 // the absolute path to those directories
/third_party/rust/crates/cxx/tests/ui/
H A Dinclude.stderr4 4 | include!("path/to" what);
10 5 | include!(<path/to> what);
16 6 | include!(<path/to);
19 error: unexpected token in include path
22 7 | include!(<path[to]>);
25 error: expected "quoted/path/to" or <bracketed/path/to>
/third_party/protobuf/csharp/
H A DGoogle.Protobuf.Tools.targets3 <protoc_tools>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)/../tools/'))</protoc_tools>
4 <protoc_linux64>$([System.IO.Path]::GetFullPath('$(protoc_tools)/linux_x64/protoc'))</protoc_linux64>
5 <protoc_linux86>$([System.IO.Path]::GetFullPath('$(protoc_tools)/linux_x86/protoc'))</protoc_linux86>
6 <protoc_macosx64>$([System.IO.Path]::GetFullPath('$(protoc_tools)/macosx_x64/protoc'))</protoc_macosx64>
7 <protoc_macosx86>$([System.IO.Path]::GetFullPath('$(protoc_tools)/macosx_x86/protoc'))</protoc_macosx86>
8 <protoc_windows64>$([System.IO.Path]::GetFullPath('$(protoc_tools)/windows_x64/protoc.exe'))</protoc_windows64>
9 <protoc_windows86>$([System.IO.Path]::GetFullPath('$(protoc_tools)/windows_x86/protoc.exe'))</protoc_windows86>
/third_party/python/Mac/IDLE/IDLE.app/Contents/MacOS/
H A DIDLE4 execdir = os.path.dirname(sys.argv[0])
5 executable = os.path.join(execdir, "Python")
6 resdir = os.path.join(os.path.dirname(execdir), "Resources")
7 libdir = os.path.join(os.path.dirname(execdir), "Frameworks")
8 mainprogram = os.path.join(resdir, "idlemain.py")
/third_party/python/PC/
H A Dtestpy.py21 for dir in sys.path:
22 file = os.path.join(dir, "os.py")
23 if os.path.isfile(file):
24 test = os.path.join(dir, "test")
25 if os.path.isdir(test):
27 sys.path = sys.path + [test]
/third_party/skia/docs/examples/
H A DPath_interpolate.cpp10 SkPath path, path2; in REG_FIDDLE() local
11 path.moveTo(20, 20); in REG_FIDDLE()
12 path.lineTo(40, 40); in REG_FIDDLE()
13 path.lineTo(20, 40); in REG_FIDDLE()
14 path.lineTo(40, 20); in REG_FIDDLE()
15 path.close(); in REG_FIDDLE()
19 path.interpolate(path2, i, &interp); in REG_FIDDLE()
H A DPath_Verb.cpp7 SkPath path; in REG_FIDDLE() local
8 path.lineTo(20, 20); in REG_FIDDLE()
9 path.quadTo(-10, -10, 30, 30); in REG_FIDDLE()
10 path.close(); in REG_FIDDLE()
11 path.cubicTo(1, 2, 3, 4, 5, 6); in REG_FIDDLE()
12 path.conicTo(0, 0, 0, 0, 2); in REG_FIDDLE()
14 int count = path.getVerbs(verbs, (int) SK_ARRAY_COUNT(verbs)); in REG_FIDDLE()
H A Dskpaint_corner_path_effects.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 path.close(); in REG_FIDDLE()
14 return path; in REG_FIDDLE()
22 SkPath path(star()); in REG_FIDDLE()
23 canvas->drawPath(path, paint); in REG_FIDDLE()
H A DPath_rQuadTo.cpp9 SkPath path; in REG_FIDDLE() local
10 path.moveTo(128, 20); in REG_FIDDLE()
11 path.rQuadTo(-6, 10, -7, 10); in REG_FIDDLE()
13 path.rQuadTo(10 + i, 10 + i, 10 + i * 4, 10); in REG_FIDDLE()
14 path.rQuadTo(-10 - i, 10 + i, -10 - (i + 2) * 4, 10); in REG_FIDDLE()
16 path.quadTo(92, 220, 128, 215); in REG_FIDDLE()
17 canvas->drawPath(path, paint); in REG_FIDDLE()
H A DPath_rConicTo.cpp10 SkPath path; in REG_FIDDLE() local
11 path.moveTo(20, 80); in REG_FIDDLE()
12 path.rConicTo( 60, 0, 60, 60, 0.707107f); in REG_FIDDLE()
13 path.rConicTo( 0, -60, 60, -60, 0.707107f); in REG_FIDDLE()
14 path.rConicTo(-60, 0, -60, -60, 0.707107f); in REG_FIDDLE()
15 path.rConicTo( 0, 60, -60, 60, 0.707107f); in REG_FIDDLE()
16 canvas->drawPath(path, paint); in REG_FIDDLE()
H A DPaint_057.cpp7 SkPath path; in REG_FIDDLE() local
8 path.moveTo(10, 50); in REG_FIDDLE()
9 path.quadTo(35, 110, 60, 210); in REG_FIDDLE()
10 path.quadTo(105, 110, 130, 10); in REG_FIDDLE()
15 canvas->drawPath(path, paint); in REG_FIDDLE()
18 canvas->drawPath(path, paint); in REG_FIDDLE()
21 canvas->drawPath(path, paint); in REG_FIDDLE()
H A DCanvas_clipPath_2.cpp9 SkPath path; in REG_FIDDLE() local
10 path.addRect({20, 15, 100, 95}); in REG_FIDDLE()
11 path.addRect({50, 65, 130, 135}); in REG_FIDDLE()
12 path.setFillType(SkPathFillType::kWinding); in REG_FIDDLE()
14 canvas->clipPath(path, SkClipOp::kIntersect); in REG_FIDDLE()
18 path.setFillType(SkPathFillType::kEvenOdd); in REG_FIDDLE()
19 canvas->clipPath(path, SkClipOp::kIntersect); in REG_FIDDLE()
H A DPaint_getTextPath.cpp10 SkPath path, path2; in REG_FIDDLE() local
11 paint.getTextPath("ABC", 3, 20, 80, &path); in REG_FIDDLE()
12 path.offset(20, 20, &path2); in REG_FIDDLE()
13 Op(path, path2, SkPathOp::kDifference_SkPathOp, &path); in REG_FIDDLE()
14 path.addPath(path2); in REG_FIDDLE()
16 canvas->drawPath(path, paint); in REG_FIDDLE()
/third_party/skia/include/effects/
H A DSk1DPathEffect.h23 /** Dash by replicating the specified path.
24 @param path The path to replicate (dash)
25 @param advance The space between instances of path
26 @param phase distance (mod advance) along path for its initial position
27 @param style how to transform path at each point (based on the current
30 static sk_sp<SkPathEffect> Make(const SkPath& path, SkScalar advance, SkScalar phase, Style);
/third_party/skia/gm/
H A Dcrbug_913349.cpp20 SkPathBuilder path; in DEF_SIMPLE_GM() local
21 path.moveTo( 349.5, 225.75); in DEF_SIMPLE_GM()
22 path.lineTo( 96.5, 74); in DEF_SIMPLE_GM()
23 path.lineTo( 500.50, 226); in DEF_SIMPLE_GM()
24 path.lineTo( 350, 226); in DEF_SIMPLE_GM()
25 path.lineTo( 350, 224); in DEF_SIMPLE_GM()
27 canvas->drawPath(path.detach(), paint); in DEF_SIMPLE_GM()
/third_party/skia/infra/bots/recipe_modules/env/
H A Dapi.py12 # If PATH is defined in both, merge them together, merging default_env into
13 # path by replacing %(PATH)s
14 upstream_path = env.get('PATH', '')
16 my_path = env_dict.get('PATH', '')
18 env['PATH'] = upstream_path.replace(r'%(PATH)s', my_path)
/third_party/rust/crates/which-rs/src/
H A Dhelper.rs1 use std::path::Path;
3 /// Check if given path has extension which in the given vector.
4 pub fn has_executable_extension<T: AsRef<Path>, S: AsRef<str>>(path: T, pathext: &[S]) -> bool { in has_executable_extension()
5 let ext = path.as_ref().extension().and_then(|e| e.to_str()); in has_executable_extension()
17 use std::path::PathBuf;
/third_party/rust/crates/rustix/src/fs/
H A Dopenat2.rs2 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()
/third_party/rust/crates/nom/benchmarks/
H A DCargo.toml11 nom = { path = "../" }
18 path = "benches/arithmetic.rs"
23 path = "benches/number.rs"
28 path = "benches/http.rs"
33 path = "benches/ini.rs"
38 path = "benches/ini_str.rs"
43 path = "benches/json.rs"
/third_party/rust/crates/syn/codegen/src/
H A Dfile.rs6 use std::path::Path;
8 pub fn write(relative_to_workspace_root: impl AsRef<Path>, content: TokenStream) -> Result<()> { in write()
21 let path = workspace_path::get(relative_to_workspace_root); in write()
22 if path.is_file() && fs::read(&path)? == formatted { in write()
26 fs::write(path, formatted)?; in write()
/third_party/gn/build/
H A Dgen.py24 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
25 REPO_ROOT = os.path.dirname(SCRIPT_DIR)
181 args_list.add('--out-path', type=str,
182 default=os.path.join(REPO_ROOT, 'out'),
183 help='The path to generate the build files in.')
195 'LINK_LIB must be the path to a static or shared ' +
207 help=('Specify the path of ZOSLIB directory, to link ' +
221 out_dir = options.out_path or os.path.join(REPO_ROOT, 'out')
222 if not os.path
[all...]
/third_party/cJSON/
H A DcJSON_Utils.c119 /* Compare the next path element of two JSON pointers, two NULL pointers are considered unequal: */
234 sprintf((char*)full_pointer, "/%lu%s", (unsigned long)child_index, target_pointer); /* /<array_index><path> */ in cJSONUtils_FindPointerFromObjectTo()
310 /* follow path of the pointer */ in get_item_from_pointer()
338 /* skip to the next path token or end of string */ in get_item_from_pointer()
429 /* detach an item at the given path */
430 static cJSON *detach_path(cJSON *object, const unsigned char *path, const cJSON_bool case_sensitive) in detach_path() argument
437 /* copy path and split it in parent and child */ in detach_path()
438 parent_pointer = cJSONUtils_strdup(path); in detach_path()
826 cJSON *path = NULL; in apply_patch() local
834 path in apply_patch()
1113 compose_patch(cJSON * const patches, const unsigned char * const operation, const unsigned char * const path, const unsigned char *suffix, const cJSON * const value) compose_patch() argument
1153 cJSONUtils_AddPatchToArray(cJSON * const array, const char * const operation, const char * const path, const cJSON * const value) cJSONUtils_AddPatchToArray() argument
1158 create_patches(cJSON * const patches, const unsigned char * const path, cJSON * const from, cJSON * const to, const cJSON_bool case_sensitive) create_patches() argument
[all...]
/base/security/selinux_adapter/sepolicy/ohos_policy/web/webview/system/
H A Disolated_render.te19 # avc: denied { getattr } for pid=5103 comm="ei.hmos.browser" path="/data/storage/el1/bundle/arkwebcore" dev="sdd78" ino=1840 scontext=u:r:isolated_render:s0 tcontext=u:object_r:data_app_el1_file:s0 tclass=dir permissive=1
22 # avc: denied { open } for pid=5103 comm="ei.hmos.browser" path="/dev/ashmem" dev="tmpfs" ino=490 scontext=u:r:isolated_render:s0 tcontext=u:object_r:dev_ashmem_file:s0 tclass=chr_file permissive=1
36 # avc: denied { use } for pid=5103 comm="ei.hmos.browser" path="socket:[33368]" dev="sockfs" ino=33368 scontext=u:r:isolated_render:s0 tcontext=u:r:nwebspawn:s0 tclass=fd permissive=1
39 # avc: denied { write } for pid=5103 comm="ei.hmos.browser" path="pipe:[45491]" dev="pipefs" ino=45491 scontext=u:r:isolated_render:s0 tcontext=u:r:nwebspawn:s0 tclass=fifo_file permissive=1
42 # avc: denied { write } for pid=5103 comm="CompositorTileW" path="socket:[33368]" dev="sockfs" ino=33368 scontext=u:r:isolated_render:s0 tcontext=u:r:nwebspawn:s0 tclass=unix_dgram_socket permissive=1
45 # avc: denied { map } for pid=5103 comm="ei.hmos.browser" path="/dev/__parameters__/u:object_r:ohos_boot_param:s0" dev="tmpfs" ino=89 scontext=u:r:isolated_render:s0 tcontext=u:object_r:ohos_boot_param:s0 tclass=file permissive=1
46 # avc: denied { open } for pid=5103 comm="ei.hmos.browser" path="/dev/__parameters__/u:object_r:ohos_boot_param:s0" dev="tmpfs" ino=89 scontext=u:r:isolated_render:s0 tcontext=u:object_r:ohos_boot_param:s0 tclass=file permissive=1
50 # avc: denied { map } for pid=5103 comm="ei.hmos.browser" path="/dev/__parameters__/u:object_r:persist_param:s0" dev="tmpfs" ino=107 scontext=u:r:isolated_render:s0 tcontext=u:object_r:persist_param:s0 tclass=file permissive=1
51 # avc: denied { open } for pid=5103 comm="ei.hmos.browser" path="/dev/__parameters__/u:object_r:persist_param:s0" dev="tmpfs" ino=107 scontext=u:r:isolated_render:s0 tcontext=u:object_r:persist_param:s0 tclass=file permissive=1
55 # avc: denied { map } for pid=4445 comm="e.simplewebview" path
[all...]
/foundation/arkui/ace_engine/adapter/ohos/entrance/window/
H A Ddrag_window_ohos.cpp338 RSRecordingPath path; in DrawText() local
340 path.MoveTo(renderText->GetStartOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText()
342 path.LineTo(renderText->GetEndOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText()
344 path.LineTo(renderText->GetEndOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText()
346 path.LineTo(renderText->GetStartOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText()
348 path.LineTo(renderText->GetStartOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText()
351 path.MoveTo(renderText->GetStartOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText()
353 path.LineTo(renderText->GetStartOffset().GetX() - renderText->GetGlobalOffset().GetX(), in DrawText()
355 path.LineTo(renderText->GetPaintRect().Right() - renderText->GetGlobalOffset().GetX(), in DrawText()
357 path in DrawText()
405 RSRecordingPath path; DrawTextNG() local
[all...]

Completed in 11 milliseconds

1...<<919293949596979899100>>...1620