Home
last modified time | relevance | path

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

12345678910>>...42

/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/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 …]
Dos.py4 - all functions from posix or nt, e.g. unlink, stat, etc.
5 - os.path is either posixpath or ntpath
6 - os.name is either 'posix' or 'nt'
7 - os.curdir is a string representing the current directory (always '.')
8 - os.pardir is a string representing the parent directory (always '..')
9 - os.sep is the (or a most common) pathname separator ('/' or '\\')
10 - os.extsep is the extension separator (always '.')
11 - os.altsep is the alternate pathname separator (None or '/')
12 - os.pathsep is the component separator used in $PATH etc
13 - os.linesep is the line separator in text files ('\r' or '\n' or '\r\n')
[all …]
/third_party/typescript/src/services/
DdocumentRegistry.ts12 * and re-hydrate them when needed.
46 path: Path,
48 key: DocumentRegistryBucketKey,
57 * and compilationSettings. The update will in-turn call updateLanguageServiceSourceFile
81 path: Path,
83 key: DocumentRegistryBucketKey,
114 …ormat: SourceFile["impliedNodeFormat"]): void; // eslint-disable-line @typescript-eslint/unified-s…
117 … releaseDocumentWithKey(path: Path, key: DocumentRegistryBucketKey, scriptKind?: ScriptKind): void;
118path: Path, key: DocumentRegistryBucketKey, scriptKind: ScriptKind, impliedNodeFormat: SourceFile[…
121 … getLanguageServiceRefCounts(path: Path, scriptKind: ScriptKind): [string, number | undefined][];
[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/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/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/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/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/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 …]
Dnghttpx.1.rst10 --------
15 -----------
22 Set path to server's private key. Required unless
23 "no-tls" parameter is used in :option:`--frontend` option.
27 Set path to server's certificate. Required unless
28 "no-tls" parameter is used in :option:`--frontend` option. To
29 make OCSP stapling work, this must be an absolute path.
33 -------
40 .. option:: -b, --backend=(<HOST>,<PORT>|unix:<PATH>)[;[<PATTERN>[:...]][[;<PARAM>]...]
45 domain socket can be specified by prefixing path name
[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/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/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/python/Doc/library/
Dzoneinfo.rst1 :mod:`zoneinfo` --- IANA time zone support
14 --------------
20 first-party `tzdata`_ package available on PyPI.
29 First-party package maintained by the CPython core developers to supply
32 .. include:: ../includes/wasm-notavail.rst
35 ------------------
47 2020-10-31 12:00:00-07:00
58 2020-11-01 12:00:00-08:00
71 2020-11-01 01:00:00-07:00
74 2020-11-01 01:00:00-08:00
[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 …]
/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/skia/src/utils/
DSkShadowUtils.cpp4 * Use of this source code is governed by a BSD-style license that can be
41 * Gaussian color filter -- produces a Gaussian ramp based on the color's B value,
58 rec.fPipeline->append(SkRasterPipeline::gauss_a_to_rgba); in onAppendStages()
64 // x = 1 - x; in onProgram()
65 // exp(-x * x * 4) - 0.018f; in onProgram()
68 skvm::F32 x = p->splat(-2.26661229133605957031f); in onProgram()
93 half factor = 1 - inColor.a; in asFragmentProcessor()
94 factor = exp(-factor * factor * 4) - 0.018; in asFragmentProcessor()
130 sk_sp<SkVertices> makeVertices(const SkPath& path, const SkMatrix& ctm, in makeVertices()
140 return SkShadowTessellator::MakeAmbient(path, noTrans, zParams, fTransparent); in makeVertices()
[all …]
/third_party/python/Lib/test/
Dtest_http_cookies.py18 'output': 'Set-Cookie: chips=ahoy\nSet-Cookie: vienna=finger'},
23 'output': 'Set-Cookie: keebler="E=mc2; L=\\"Loves\\"; fudge=\\012;"'},
29 'output': 'Set-Cookie: keebler=E=mc2'},
34 {'data': 'key:term=value:term',
35 'dict': {'key:term' : 'value:term'},
36 'repr': "<SimpleCookie: key:term='value:term'>",
37 'output': 'Set-Cookie: key:term=value:term'},
39 # issue22931 - Adding '[' and ']' as valid characters in cookie
46 'Set-Cookie: a=b',
47 'Set-Cookie: c=[',
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DICUResourceBundle.java6 * Copyright (C) 2005-2016, International Business Machines Corporation and
77 * Hides low-level details.
107 … * @param isAvailable If non-null, 1-element array of fillin parameter that indicates whether the
111 * 'de_DE\@collation=standard' -> 'de_DE'
243 return fullBase; // Keyword value is default - no keyword needed in locale in getFunctionalEquivalent()
250 …* Given a tree path and keyword, return a string enumeration of all possible values for that keywo…
270 if (!DEFAULT_TAG.equals(s) && !s.startsWith("private-")) { in getKeywordValues()
276 //System.err.println("Error in - " + new Integer(i).toString() in getKeywordValues()
277 // + " - " + t.toString()); in getKeywordValues()
278 // ignore the err - just skip that resource in getKeywordValues()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/dataset/include/dataset/
Ddata_helper.h2 * Copyright 2021-2023 Huawei Technologies Co., Ltd
8 * http://www.apache.org/licenses/LICENSE-2.0
51 /// \brief Create an Album dataset while taking in a path to a image folder
62 /// \param key Key of field to write to
64 /// \param out_file Optional input for output file path, will write to input file if not specified
66 …Status UpdateArray(const std::string &in_file, const std::string &key, const std::vector<std::stri…
68 …return UpdateArrayIF(StringToChar(in_file), StringToChar(key), VectorStringToChar(value), StringTo…
73 /// \param key Key of field to write to
75 …/// \param out_file Optional parameter for output file path, will write to input file if not speci…
77 …Status UpdateArray(const std::string &in_file, const std::string &key, const std::vector<bool> &va…
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUResourceBundle.java5 * Copyright (C) 2005-2016, International Business Machines Corporation and
74 * Hides low-level details.
104 … * @param isAvailable If non-null, 1-element array of fillin parameter that indicates whether the
108 * 'de_DE\@collation=standard' -> 'de_DE'
240 return fullBase; // Keyword value is default - no keyword needed in locale in getFunctionalEquivalent()
247 …* Given a tree path and keyword, return a string enumeration of all possible values for that keywo…
267 if (!DEFAULT_TAG.equals(s) && !s.startsWith("private-")) { in getKeywordValues()
273 //System.err.println("Error in - " + new Integer(i).toString() in getKeywordValues()
274 // + " - " + t.toString()); in getKeywordValues()
275 // ignore the err - just skip that resource in getKeywordValues()
[all …]
/third_party/python/Lib/test/test_zoneinfo/data/
Dupdate_test_data.py38 TEST_DATA_LOC = pathlib.Path(__file__).parent
42 def get_zoneinfo_path() -> pathlib.Path:
44 key = "UTC"
45 for path in map(pathlib.Path, zoneinfo.TZPATH):
46 if (path / key).exists():
47 return path
52 def get_zoneinfo_metadata() -> typing.Dict[str, str]:
53 path = get_zoneinfo_path()
55 tzdata_zi = path / "tzdata.zi"
79 def get_zoneinfo(key: str) -> bytes:
[all …]

12345678910>>...42