Home
last modified time | relevance | path

Searched +full:path +full:- +full:key (Results 1 – 25 of 1064) sorted by relevance

12345678910>>...43

/third_party/gn/examples/ios/build/toolchain/apple/
Dswiftc.py23 'object': os.path.join(settings.object_dir, module + '.o'),
24 'dependencies': os.path.join(tmpdir, module + '.d'),
28 name, _ = os.path.splitext(os.path.basename(source))
30 'object': os.path.join(settings.object_dir, name + '.o'),
31 'dependencies': os.path.join(tmpdir, name + '.d'),
34 for key in ('module_path', 'header_path', 'depfile'):
35 path = getattr(settings, key)
36 if os.path.exists(path):
37 os.unlink(path)
38 if key == 'module_path':
[all …]
/third_party/toybox/toys/other/
Dsysctl.c1 /* sysctl.c - A utility to read and manipulate the sysctl parameters.
14 usage: sysctl [-aAeNnqw] [-p [FILE] | KEY[=VALUE]...]
18 -a,A Show all values
19 -e Don't warn about unknown keys
20 -N Don't print key values
21 -n Don't print key names
22 -p Read values from FILE (default /etc/sysctl.conf)
23 -q Don't show value after write
24 -w Only write values (object to reading)
30 static char *split_key(char *key) in split_key() argument
[all …]
/third_party/skia/m133/src/gpu/graphite/geom/
DShape.cpp4 * Use of this source code is governed by a BSD-style license that can be
22 // Keys for paths may be extracted from the path data for small paths, to maximize matches
24 // matches vs. key size.
32 case Type::kEmpty: this->reset(); break; in operator =()
33 case Type::kLine: this->setLine(shape.p0(), shape.p1()); break; in operator =()
34 case Type::kRect: this->setRect(shape.rect()); break; in operator =()
35 case Type::kRRect: this->setRRect(shape.rrect()); break; in operator =()
36 case Type::kArc: this->setArc(shape.arc()); break; in operator =()
37 case Type::kPath: this->setPath(shape.path()); break; in operator =()
50 case Type::kPath: // We need to ensure the path is non-inverted. in conservativeContains()
[all …]
/third_party/skia/m133/infra/bots/task_drivers/bazel_test_precompiled/
Dbazel_test_precompiled_test.go3 // Use of this source code is governed by a BSD-style license that can be
34 commandPath: "/path/to/command",
35 commandWorkDir: "/path/to/workdir",
46 testutils.AssertStepNames(t, res, "/path/to/command")
48 assert.Equal(t, "/path/to/workdir", commandCollector.Commands()[0].Dir)
49 …exec_testutils.AssertCommandsMatch(t, [][]string{{"/path/to/command"}}, commandCollector.Commands(…
100 …"/path/to/command --device-specific-bazel-config Pixel5 --key arch arm64 model Pixel5 os Android -…
106 "/path/to/goldctl auth --work-dir "+goldctlWorkDir+" --luci",
108path/to/goldctl imgtest add --work-dir "+goldctlWorkDir+" --test-name alfa --png-file "+tdArgs.und…
109path/to/goldctl imgtest add --work-dir "+goldctlWorkDir+" --test-name beta --png-file "+tdArgs.und…
[all …]
/third_party/python/Lib/
Dmailbox.py37 def __init__(self, path, factory=None, create=True): argument
39 self._path = os.path.abspath(os.path.expanduser(path))
43 """Add message and return assigned key."""
46 def remove(self, key): argument
50 def __delitem__(self, key): argument
51 self.remove(key)
53 def discard(self, key): argument
56 self.remove(key)
60 def __setitem__(self, key, message): argument
64 def get(self, key, default=None): argument
[all …]
/third_party/skia/third_party/externals/icu/source/tools/genrb/
Dfilterrb.cpp20 ResKeyPath::ResKeyPath(const std::string& path, UErrorCode& status) { in ResKeyPath() argument
21 if (path.empty() || path[0] != '/') { in ResKeyPath()
22 std::cerr << "genrb error: path must start with /: " << path << std::endl; in ResKeyPath()
26 if (path.length() == 1) { in ResKeyPath()
33 j = path.find('/', i); in ResKeyPath()
34 std::string key = path.substr(i, j - i); in ResKeyPath() local
35 if (key.empty()) { in ResKeyPath()
36 …:cerr << "genrb error: empty subpaths and trailing slashes are not allowed: " << path << std::endl; in ResKeyPath()
40 push(key); in ResKeyPath()
47 void ResKeyPath::push(const std::string& key) { in push() argument
[all …]
/third_party/icu/icu4c/source/tools/genrb/
Dfilterrb.cpp20 ResKeyPath::ResKeyPath(const std::string& path, UErrorCode& status) { in ResKeyPath() argument
21 if (path.empty() || path[0] != '/') { in ResKeyPath()
22 std::cerr << "genrb error: path must start with /: " << path << std::endl; in ResKeyPath()
26 if (path.length() == 1) { in ResKeyPath()
33 j = path.find('/', i); in ResKeyPath()
34 std::string key = path.substr(i, j - i); in ResKeyPath() local
35 if (key.empty()) { in ResKeyPath()
36 …:cerr << "genrb error: empty subpaths and trailing slashes are not allowed: " << path << std::endl; in ResKeyPath()
40 push(key); in ResKeyPath()
47 void ResKeyPath::push(const std::string& key) { in push() argument
[all …]
/third_party/skia/m133/third_party/externals/icu/source/tools/genrb/
Dfilterrb.cpp20 ResKeyPath::ResKeyPath(const std::string& path, UErrorCode& status) { in ResKeyPath() argument
21 if (path.empty() || path[0] != '/') { in ResKeyPath()
22 std::cerr << "genrb error: path must start with /: " << path << std::endl; in ResKeyPath()
26 if (path.length() == 1) { in ResKeyPath()
33 j = path.find('/', i); in ResKeyPath()
34 std::string key = path.substr(i, j - i); in ResKeyPath() local
35 if (key.empty()) { in ResKeyPath()
36 …:cerr << "genrb error: empty subpaths and trailing slashes are not allowed: " << path << std::endl; in ResKeyPath()
40 push(key); in ResKeyPath()
47 void ResKeyPath::push(const std::string& key) { in push() argument
[all …]
/third_party/typescript/src/services/
DdocumentRegistry.ts5 …IScriptSnapshot, isDeclarationFileName, map, Map, MinimalResolutionCacheHost, ModuleKind, Path, Sc…
19 * and re-hydrate them when needed.
53 path: Path,
55 key: DocumentRegistryBucketKey,
64 * and compilationSettings. The update will in-turn call updateLanguageServiceSourceFile
88 path: Path,
90 key: DocumentRegistryBucketKey,
122 …ormat: SourceFile["impliedNodeFormat"]): void; // eslint-disable-line @typescript-eslint/unified-s…
125 … releaseDocumentWithKey(path: Path, key: DocumentRegistryBucketKey, scriptKind?: ScriptKind): void;
126path: Path, key: DocumentRegistryBucketKey, scriptKind: ScriptKind, impliedNodeFormat: SourceFile[…
[all …]
/third_party/python/Lib/zoneinfo/
D_tzpath.py16 if not all(map(os.path.isabs, tzpaths)):
36 new_tzpath = tuple(filter(os.path.isabs, raw_tzpath))
54 invalid_paths = (path for path in tzpaths if not os.path.isabs(path))
65 def find_tzfile(key): argument
66 """Retrieve the path to a TZif file from a key."""
67 _validate_tzfile_path(key)
69 filepath = os.path.join(search_path, key)
70 if os.path.isfile(filepath):
76 _TEST_PATH = os.path.normpath(os.path.join("_", "_"))[:-1]
79 def _validate_tzfile_path(path, _base=_TEST_PATH): argument
[all …]
/third_party/skia/m133/src/gpu/ganesh/geometry/
DGrStyledShape.cpp4 * Use of this source code is governed by a BSD-style license that can be
60 // key. Otherwise, we wipe it out below since the style change invalidates it. in MakeFilled()
74 // Going from a non-filled style to fill may allow additional simplifications (e.g. in MakeFilled()
87 // We don't copy the inherited key since it can contain path effect information that we just in MakeFilled()
93 if (this->isEmpty() && !fStyle.hasNonDashPathEffect()) { in styledBounds()
98 fStyle.adjustBounds(&bounds, this->bounds()); in styledBounds()
102 // If the path is small enough to be keyed from its data this returns key length, otherwise -1.
103 static int path_key_from_data_size(const SkPath& path) { in path_key_from_data_size() argument
104 const int verbCnt = path.countVerbs(); in path_key_from_data_size()
106 return -1; in path_key_from_data_size()
[all …]
/third_party/skia/m133/infra/bots/task_drivers/bazel_test_gm/
Dbazel_test_gm_test.go3 // Use of this source code is governed by a BSD-style license that can be
11 "path/filepath"
31 …outputsZIP := filepath.Join(tdArgs.checkoutDir, "bazel-testlogs", "some", "test", "target", "test.…
81 …"bazelisk test //some/test:target --config=linux_rbe --config=GCE_Debian10_AVX512 --test_output=er…
93 "/path/to/goldctl auth --work-dir "+goldctlWorkDir+" --luci",
95path/to/goldctl imgtest add --work-dir "+goldctlWorkDir+" --test-name alfa --png-file "+outputsZIP…
96path/to/goldctl imgtest add --work-dir "+goldctlWorkDir+" --test-name beta --png-file "+outputsZIP…
97 "/path/to/goldctl imgtest finalize --work-dir "+goldctlWorkDir,
111 "--config=linux_rbe",
112 "--config=GCE_Debian10_AVX512",
[all …]
/third_party/gn/src/base/
Dvalues.cc2 // Use of this source code is governed by a BSD-style license that can be
37 // expects |node| to always be non-NULL.
57 copy->SetWithoutPathExpansion(it.key(), std::move(child_copy)); in CopyDictionaryWithoutEmptyChildren()
157 std::make_unique<Value>(it.second->Clone())); in Value()
243 Value* Value::FindKey(std::string_view key) { in FindKey() argument
244 return const_cast<Value*>(static_cast<const Value*>(this)->FindKey(key)); in FindKey()
247 const Value* Value::FindKey(std::string_view key) const { in FindKey()
249 auto found = dict_.find(key); in FindKey()
252 return found->second.get(); in FindKey()
255 Value* Value::FindKeyOfType(std::string_view key, Type type) { in FindKeyOfType() argument
[all …]
Dvalues.h2 // Use of this source code is governed by a BSD-style license that can be
47 // See the file-level comment above for more information.
61 // dict->SetString("mykey", foo);
91 // Note: Do not add more types. See the file-level comment above for why.
164 // |FindKey| looks up |key| in the underlying dictionary. If found, it returns
172 Value* FindKey(std::string_view key);
173 const Value* FindKey(std::string_view key) const;
184 Value* FindKeyOfType(std::string_view key, Type type);
185 const Value* FindKeyOfType(std::string_view key, Type type) const;
187 // |SetKey| looks up |key| in the underlying dictionary and sets the mapped
[all …]
/third_party/skia/src/gpu/geometry/
DGrStyledShape.cpp4 * Use of this source code is governed by a BSD-style license that can be
49 // key. Otherwise, we wipe it out below since the style change invalidates it. in MakeFilled()
63 // Going from a non-filled style to fill may allow additional simplifications (e.g. in MakeFilled()
76 // We don't copy the inherited key since it can contain path effect information that we just in MakeFilled()
82 if (this->isEmpty() && !fStyle.hasNonDashPathEffect()) { in styledBounds()
87 fStyle.adjustBounds(&bounds, this->bounds()); in styledBounds()
91 // If the path is small enough to be keyed from its data this returns key length, otherwise -1.
92 static int path_key_from_data_size(const SkPath& path) { in path_key_from_data_size() argument
93 const int verbCnt = path.countVerbs(); in path_key_from_data_size()
95 return -1; in path_key_from_data_size()
[all …]
/third_party/ncurses/ncurses/tinfo/
Dhashed_db.c3 * Copyright 2006-2011,2013 Free Software Foundation, Inc. *
31 * Author: Thomas E. Dickey 2006-on *
49 char *path; member
59 _nc_db_close(connections->db); in cleanup()
64 find_connection(const char *path, bool modify) in find_connection() argument
69 for (p = connections; p != 0; p = p->next) { in find_connection()
70 if (!strcmp(p->path, path) && p->modify == modify) { in find_connection()
71 result = p->db; in find_connection()
84 for (p = connections, q = 0; p != 0; q = p, p = p->next) { in drop_connection()
85 if (p->db == db) { in drop_connection()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops_generate/
Dtemplate.py7 # http://www.apache.org/licenses/LICENSE-2.0
42 def find(key: str):
43 if key in kwargs:
44 return kwargs[key]
45 raise TypeError(f"{key} should be in kwargs!")
50 def extract_variable(key): argument
53 if key[0] == "{":
54 key = key[1:-1]
55 if key[0] == ",":
57 key = key[1:]
[all …]
/third_party/python/Modules/
Dgetpath.c1 /* Return the initial module search path. */
18 # include <mach-o/dyld.h>
62 wchar_t *path; in getpath_abspath() local
67 path = PyUnicode_AsWideCharString(pathobj, &len); in getpath_abspath()
68 if (path) { in getpath_abspath()
70 if (_Py_abspath((const wchar_t *)_Py_normpath(path, -1), &abs) == 0 && abs) { in getpath_abspath()
71 r = PyUnicode_FromWideChar(abs, -1); in getpath_abspath()
74 PyErr_SetString(PyExc_OSError, "failed to make path absolute"); in getpath_abspath()
76 PyMem_Free((void *)path); in getpath_abspath()
85 PyObject *path; in getpath_basename() local
[all …]
/third_party/nghttp2/doc/
Dnghttpx.14 .nr rst2man-indent-level 0
7 \\$1 \\n[an-margin]
8 level \\n[rst2man-indent-level]
9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
10 -
11 \\n[rst2man-indent0]
12 \\n[rst2man-indent1]
13 \\n[rst2man-indent2]
18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
19 . nr rst2man-indent-level +1
[all …]
/third_party/skia/m133/src/utils/
DSkShadowUtils.cpp4 * Use of this source code is governed by a BSD-style license that can be
81 sk_sp<SkVertices> makeVertices(const SkPath& path, const SkMatrix& ctm, in makeVertices()
91 return SkShadowTessellator::MakeAmbient(path, noTrans, zParams, fTransparent); in makeVertices()
134 translate->set(0, 0); in isCompatible()
140 *translate = that.fOffset - fOffset; in isCompatible()
146 sk_sp<SkVertices> makeVertices(const SkPath& path, const SkMatrix& ctm, in makeVertices()
154 translate->set(0, 0); in makeVertices()
155 return SkShadowTessellator::MakeSpot(path, ctm, zParams, fDevLightPos, fLightRadius, in makeVertices()
158 translate->set(0, 0); in makeVertices()
159 return SkShadowTessellator::MakeSpot(path, ctm, zParams, fDevLightPos, fLightRadius, in makeVertices()
[all …]
/third_party/libwebsockets/READMEs/
DREADME.plugin-acme.md1 lws-acme-client Plugin
6 lws-acme-client is a protcol plugin for libwebsockets that implements an
10 It implements `tls-sni-01` challenge, and is able to provision tls certificates
12 re-requesting the certificate when it only has two weeks left to run.
20 - Provide name resolution to the IP with your server, ie, myserver.com needs to
23 - Enable port forwarding / external firewall access to your port, usually 443
25 - Enable the "lws-acme-client" plugin on the vhosts you want it to manage
28 - Add per-vhost options describing what should be in the certificate
38 "host-ssl-cert": "/etc/lwsws/acme/home.warmcat.com.crt.pem",
39 "host-ssl-key": "/etc/lwsws/acme/home.warmcat.com.key.pem",
[all …]
/third_party/skia/gn/
Dcodesign_ios.py5 # Use of this source code is governed by a BSD-style license that can be
10 import os.path
18 # pkg path to application directory, e.g. out/Debug/dm.app
21 # profile path or name of provisioning profile
26 for line in subprocess.check_output(['security', 'find-identity']).split('\n'):
32 print("Please verify by running 'security find-identity' or checking your keychain.")
37 if os.path.isfile(profile):
40 for p in glob.glob(os.path.join(os.environ['HOME'], 'Library', 'MobileDevice',
43 if re.search(r'''<key>Name</key>
48 …s installed in '${HOME}/Library/MobileDevice/Provisioning Profiles' or specify the path directly.")
[all …]
/third_party/rust/rust/library/std/src/
Denv.rs20 use crate::path::{Path, PathBuf};
26 /// # Platform-specific behavior
31 /// [currently]: crate::io#platform-specific-behavior
46 /// fn main() -> std::io::Result<()> {
47 /// let path = env::current_dir()?;
48 /// println!("The current directory is {}", path.display());
56 pub fn current_dir() -> io::Result<PathBuf> { in current_dir()
60 /// Changes the current working directory to the specified path.
62 /// # Platform-specific behavior
69 /// [currently]: crate::io#platform-specific-behavior
[all …]
/third_party/skia/m133/infra/bots/task_drivers/common/
Dgoldctl_steps_test.go3 // Use of this source code is governed by a BSD-style license that can be
11 "path/filepath"
31 …err := UploadToGold(ctx, utgArgs, "/path/to/skia/bazel-testlogs/some/test/target/test.outputs/outp…
47 test("post-submit task", UploadToGoldArgs{
51 GoldctlPath: "/path/to/goldctl",
59 GoldctlPath: "/path/to/goldctl",
64 ChangelistID: "changelist-id",
66 TryjobID: "tryjob-id",
75 "image-with-invalid-json-file.png": "fake PNG",
76 "image-with-invalid-json-file.json": `{
[all …]
/third_party/selinux/libselinux/src/
Dlabel_media.c24 char *key; /* key string */ member
33 static int process_line(const char *path, char *line_buf, int pass, in process_line() argument
36 struct saved_data *data = (struct saved_data *)rec->data; in process_line()
39 char *key, *context; in process_line() local
47 items = sscanf(line_buf, "%ms %ms ", &key, &context); in process_line()
50 "%s: line %u is missing fields, skipping\n", path, in process_line()
53 free(key); in process_line()
58 data->spec_arr[data->nspec].key = key; in process_line()
59 data->spec_arr[data->nspec].lr.ctx_raw = context; in process_line()
62 data->nspec++; in process_line()
[all …]

12345678910>>...43