/aosp_15_r20/external/flatbuffers/rust/flexbuffers/src/reader/ |
H A D | de.rs | 7 // https://www.apache.org/licenses/LICENSE-2.0 19 VariantAccess, Visitor, 31 fn fmt(&self, f: &mut std::fmt::Formatter) -> Result<(), std::fmt::Error> { in fmt() 40 fn custom<T>(msg: T) -> Self in custom() 49 fn from(e: super::Error) -> Self { in from() 60 ) -> Result<Option<<T as DeserializeSeed<'de>>::Value>, Self::Error> in next_element_seed() 71 fn size_hint(&self) -> Option<usize> { in size_hint() 85 fn variant_seed<V>(self, seed: V) -> Result<(V::Value, Self::Variant), Self::Error> in variant_seed() 95 keys: ReaderIterator<&'de [u8]>, field 102 fn next_key_seed<K>(&mut self, seed: K) -> Result<Option<K::Value>, Self::Error> in next_key_seed() [all …]
|
/aosp_15_r20/external/flatbuffers/ |
H A D | yarn.lock | 5 "@babel/code-[email protected]": 7 …resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db93… 8 …integrity sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH… 12 "@babel/helper-validator-identifier@^7.16.7": 14 …solved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identif… 15 …integrity sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/… 19 …resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.16.10.tgz#744f2eb81579d6eea7… 20 …integrity sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfT… 22 "@babel/helper-validator-identifier" "^7.16.7" 24 js-tokens "^4.0.0" [all …]
|
/aosp_15_r20/external/guice/extensions/grapher/test/com/google/inject/grapher/ |
H A D | TransitiveDependencyVisitorTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 48 private TransitiveDependencyVisitor visitor; field in TransitiveDependencyVisitorTest 54 visitor = new TransitiveDependencyVisitor(); in setUp() 59 Collection<Key<?>> dependencies = visitor.visit((ConstructorBinding<?>) binding); in testVisitConstructor() 68 Collection<Key<?>> dependencies = visitor.visit((ConvertedConstantBinding<?>) binding); in testVisitConvertedConstant() 75 Collection<Key<?>> dependencies = visitor.visit((InstanceBinding<?>) binding); in testVisitInstance() 77 // Dependencies will only be on the field- and method-injected classes. in testVisitInstance() 83 Collection<Key<?>> dependencies = visitor.visit((InstanceBinding<?>) binding); in testVisitInstance_instanceHasDependencies() 92 Collection<Key<?>> dependencies = visitor.visit((LinkedKeyBinding<?>) binding); in testVisitLinkedKey() 100 Collection<Key<?>> dependencies = visitor.visit((ProviderBinding<?>) binding); in testVisitProviderBinding() [all …]
|
/aosp_15_r20/external/fonttools/Lib/fontTools/misc/ |
H A D | visitor.py | 1 """Generic visitor pattern implementation for Python objects.""" 6 class Visitor(object): class 11 assert celf != Visitor, "Subclass Visitor instead." 26 "Oops, class '%s' has visitor function for '%s' defined already." 71 """Called to visit an object. This function loops over all non-private 72 attributes of the objects and calls any user-registered (via 75 If there is no user-registered visit function, of if there is and it 77 visitor.defaultStop is False (default), then the visitor will proceed 80 keys = sorted(vars(obj).keys()) 83 for key in keys: [all …]
|
/aosp_15_r20/external/executorch/backends/xnnpack/operators/ |
H A D | node_visitor.py | 4 # This source code is licensed under the BSD-style license found in the 69 def get_tensor_value(xvalue: XValue) -> XNNTensorValue: 81 Node visitor pattern for visiting nodes in an edge IR graph and 90 ) -> None: 96 def external_ids(self) -> Dict: 100 def exported_program(self) -> ExportedProgram: 103 def is_graph_input(self, tensor: torch.fx.Node) -> bool: 114 def is_graph_output(self, tensor: torch.fx.Node) -> bool: 122 for user in tensor.users.keys(): 132 ) -> Tuple[int, int, int]: [all …]
|
/aosp_15_r20/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/flow/ |
H A D | MethodProbesVisitor.java | 5 * http://www.eclipse.org/legal/epl-2.0 7 * SPDX-License-Identifier: EPL-2.0 10 * Marc R. Hoffmann - initial API and implementation 27 * New visitor instance without delegate visitor. 34 * New visitor instance that delegates to the given visitor. 37 * optional next visitor in chain 135 * @param keys 136 * the values of the keys. 140 * <code>keys[i]</code> key. 149 final int[] keys, final Label[] labels, final IFrame frame) { in visitLookupSwitchInsnWithProbes() argument [all …]
|
/aosp_15_r20/external/skia/experimental/tskit/ |
H A D | package-lock.json | 9 "license": "BSD-3-Clause", 11 "@typescript-eslint/eslint-plugin": "^4.21.0", 12 "@typescript-eslint/parser": "^4.21.0", 14 "eslint-config-airbnb-typescript": "^12.3.1", 15 "eslint-plugin-import": "^2.22.1", 19 "node_modules/@babel/code-frame": { 21 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", 22 …"integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETG… 28 "node_modules/@babel/helper-validator-identifier": { 30 …solved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identif… [all …]
|
/aosp_15_r20/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
H A D | ElemForEach.java | 10 * http://www.apache.org/licenses/LICENSE-2.0 19 * $Id: ElemForEach.java 468643 2006-10-28 06:56:03Z minchau $ 42 * Implement xsl:for-each. 44 * <!ELEMENT xsl:for-each 47 * %result-elements; 51 * <!ATTLIST xsl:for-each 53 * %space-att; 56 * @see <a href="http://www.w3.org/TR/xslt#for-each">for-each in XSLT Specification</a> 66 * This is set by an "xalan-doc-cache-off" pi, or the old "xalan:doc-cache-off" pi. 71 * construction. Note that this feature applies _only_ to xsl:for-each [all …]
|
/aosp_15_r20/external/ow2-asm/asm/src/main/java/org/objectweb/asm/ |
H A D | MethodVisitor.java | 2 // Copyright (c) 2000-2011 INRIA, France Telecom 31 * A visitor to visit a Java method. The methods of this class must be called in the following 54 * The ASM API version implemented by this visitor. The value of this field must be one of the 60 * The method visitor to which this visitor must delegate method calls. May be {@literal null}. 67 * @param api the ASM API version implemented by this visitor. Must be one of the {@code 77 * @param api the ASM API version implemented by this visitor. Must be one of the {@code 79 * @param methodVisitor the method visitor to which this visitor must delegate method calls. May 100 * The method visitor to which this visitor must delegate method calls. May be {@literal null}. 102 * @return the method visitor to which this visitor must delegate method calls, or {@literal 109 // ----------------------------------------------------------------------------------------------- [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/toml/src/ |
D | map.rs | 3 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or 4 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license 5 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your 12 //! feature of toml-rs to use [`IndexMap`] instead. 14 //! [`BTreeMap`]: https://doc.rust-lang.org/std/collections/struct.BTreeMap.html 44 pub fn new() -> Self { in new() 53 pub fn with_capacity(capacity: usize) -> Self { in with_capacity() 64 pub fn with_capacity(capacity: usize) -> Self { in with_capacity() 81 pub fn get<Q: ?Sized>(&self, key: &Q) -> Option<&Value> in get() 94 pub fn contains_key<Q: ?Sized>(&self, key: &Q) -> bool in contains_key() [all …]
|
D | table.rs | 12 /// [lexicographic order](https://doc.rust-lang.org/std/primitive.str.html#impl-Ord-for-str) 13 /// of the keys. Enable the `preserve_order` feature to store entries in the order they appear in 21 /// fail, or if `T` contains a map with non-string keys. 22 pub fn try_from<T>(value: T) -> Result<Self, crate::ser::Error> in try_from() 36 pub fn try_into<'de, T>(self) -> Result<T, crate::de::Error> in try_into() 46 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 56 fn from_str(s: &str) -> Result<Self, Self::Err> { in from_str() 64 fn deserialize_any<V>(self, visitor: V) -> Result<V::Value, crate::de::Error> in deserialize_any() 66 V: de::Visitor<'de>, in deserialize_any() 68 Value::Table(self).deserialize_any(visitor) in deserialize_any() [all …]
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/serde_json_lenient-0.2.1/src/ |
H A D | raw.rs | 10 Visitor, 23 /// and will not be minified or pretty-printed. 54 /// // keys into a single "info" key holding an array of code and payload. 60 /// fn rearrange(input: &str) -> Result<String> { 70 /// fn main() -> Result<()> { 122 fn from_borrowed(json: &str) -> &Self { in from_borrowed() 126 fn from_owned(json: Box<str>) -> Box<Self> { in from_owned() 130 fn into_owned(raw_value: Box<Self>) -> Box<str> { in into_owned() 136 fn clone(&self) -> Self { in clone() 144 fn to_owned(&self) -> Self::Owned { in to_owned() [all …]
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/serde_json-1.0.115/src/ |
H A D | raw.rs | 10 Visitor, 23 /// and will not be minified or pretty-printed. 54 /// // keys into a single "info" key holding an array of code and payload. 60 /// fn rearrange(input: &str) -> Result<String> { 70 /// fn main() -> Result<()> { 122 fn from_borrowed(json: &str) -> &Self { in from_borrowed() 126 fn from_owned(json: Box<str>) -> Box<Self> { in from_owned() 130 fn into_owned(raw_value: Box<Self>) -> Box<str> { in into_owned() 136 fn clone(&self) -> Self { in clone() 144 fn to_owned(&self) -> Self::Owned { in to_owned() [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/tools/api/tests/ |
H A D | api_compatibility_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 22 "--update_goldens" flag set to "True" to update goldens when making changes to 45 # pylint: disable=g-import-not-at-top,unused-import 51 # pylint: enable=g-import-not-at-top,unused-import 65 test. Therefore, do not error out on API changes in non-core TF code 125 return '-%s' % (match.lower()) 127 case_insensitive_key = re.sub('([A-Z]{1})', _ReplaceCapsWithDash, key) 149 api_object_key = re.sub('((-[a-z]){1})', _ReplaceDashWithCaps, 155 """A Visitor that crashes on subclasses of generated proto classes.""" 169 """Filter out non-core API pbtxt files.""" [all …]
|
/aosp_15_r20/external/fonttools/Lib/fontTools/ttLib/ |
H A D | scaleUpem.py | 1 """Change the units-per-EM of a font. 4 are de-subroutinized.""" 93 def visit(visitor, obj, attr, value): argument 94 setattr(obj, attr, visitor.scale(value)) 100 def visit(visitor, obj, attr, metrics): argument 103 metrics[g] = visitor.scale(advance), visitor.scale(lsb) 107 def visit(visitor, obj, attr, VOriginRecords): argument 109 VOriginRecords[g] = visitor.scale(VOriginRecords[g]) 113 def visit(visitor, obj, attr, glyphs): argument 118 setattr(g, attr, visitor.scale(v)) [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/serde_json/src/ |
D | raw.rs | 10 Visitor, 23 /// and will not be minified or pretty-printed. 54 /// // keys into a single "info" key holding an array of code and payload. 60 /// fn rearrange(input: &str) -> Result<String> { 70 /// fn main() -> Result<()> { 122 fn from_borrowed(json: &str) -> &Self { in from_borrowed() 126 fn from_owned(json: Box<str>) -> Box<Self> { in from_owned() 130 fn into_owned(raw_value: Box<Self>) -> Box<str> { in into_owned() 136 fn clone(&self) -> Self { in clone() 144 fn to_owned(&self) -> Self::Owned { in to_owned() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/toml_edit/src/de/ |
D | mod.rs | 31 pub(crate) fn custom<T>(msg: T, span: Option<std::ops::Range<usize>>) -> Self in custom() 46 pub fn message(&self) -> &str { in message() 51 pub fn span(&self) -> Option<std::ops::Range<usize>> { in span() 61 fn custom<T>(msg: T) -> Self in custom() 70 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { in fmt() 76 fn from(e: crate::TomlError) -> Error { in from() 82 fn from(e: Error) -> crate::TomlError { in from() 91 pub fn from_str<T>(s: &'_ str) -> Result<T, Error> in from_str() 101 pub fn from_slice<T>(s: &'_ [u8]) -> Result<T, Error> in from_slice() 110 pub fn from_document<T>(d: crate::Document) -> Result<T, Error> in from_document() [all …]
|
/aosp_15_r20/external/pytorch/torch/distributed/ |
H A D | _state_dict_utils.py | 1 # mypy: allow-untyped-defs 39 ) -> torch.Tensor: 47 ) -> torch.Tensor: 53 tensor_numel = sharded_tensor.size().numel() # type: ignore[union-attr] 62 num_padding = chunk_size - local_tensor.numel() 98 ) -> Dict[str, Any]: 118 non_blocking (bool): whether to use non-blocking copy when copying to the companion object. 136 or set(companion_obj.keys()) != set(iter_object.keys()) 141 else f"{set(companion_obj.keys())=} {set(iter_object.keys())=}" 214 ) -> Dict[str, Any]: [all …]
|
/aosp_15_r20/external/aws-sdk-java-v2/core/sdk-core/src/main/java/software/amazon/awssdk/core/document/internal/ |
H A D | MapDocument.java | 53 * {@link Document} by directly allowing user to put String Keys 64 * @return Returns the Map with Keys as String and Values as {@code Map<Object>}. 69 …value.entrySet().forEach(mapEntry -> unwrappedMap.put(mapEntry.getKey(), mapEntry.getValue().unwra… in unwrap() 123 * Accepts a visitor with the Document. 124 * @param <R> visitor return type. 125 * @param visitor Visitor to dispatch to. 126 * @return Returns the accepted result by calling visitMap of visitor. 129 public <R> R accept(DocumentVisitor<? extends R> visitor) { in accept() argument 130 return visitor.visitMap(Collections.unmodifiableMap(this.asMap())); in accept() 134 * Accepts a visitor with the Document. Calls visitMap of visitor. [all …]
|
/aosp_15_r20/external/pigweed/pw_web/log-viewer/ |
H A D | package-lock.json | 2 "name": "log-viewer", 8 "name": "log-viewer", 12 "@codemirror/lang-python": "^6.1.6", 14 "@codemirror/theme-one-dark": "^6.1.2", 15 "@lit-labs/virtualizer": "^2.0.7", 17 "@shoelace-style/shoelace": "^2.15.0", 20 "prettier-plugin-jsdoc": "^0.4.2" 23 "@open-wc/testing": "^3.0.0-next.5", 24 "@remcovaes/web-test-runner-vite-plugin": "^1.2.1", 26 "@typescript-eslint/eslint-plugin": "^5.59.7", [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/ |
D | ast.py | 16 using the built-in `compile()` function. 44 major, minor = feature_version # Should be a 2-tuple. 48 feature_version = -1 82 return - operand 97 if len(node.keys) != len(node.values): 99 return dict(zip(map(_convert, node.keys), 108 return left - right 121 include_attributes can be set to true. If indent is a non-negative 122 integer or string, then the tree will be pretty-printed with that indent 349 If *padded* is `True`, the first line of a multi-line statement will [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/ |
D | ast.py | 16 using the built-in `compile()` function. 44 major, minor = feature_version # Should be a 2-tuple. 48 feature_version = -1 82 return - operand 97 if len(node.keys) != len(node.values): 99 return dict(zip(map(_convert, node.keys), 108 return left - right 121 include_attributes can be set to true. If indent is a non-negative 122 integer or string, then the tree will be pretty-printed with that indent 349 If *padded* is `True`, the first line of a multi-line statement will [all …]
|
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/ |
H A D | ast.py | 16 using the built-in `compile()` function. 44 major, minor = feature_version # Should be a 2-tuple. 48 feature_version = -1 82 return - operand 97 if len(node.keys) != len(node.values): 99 return dict(zip(map(_convert, node.keys), 108 return left - right 121 include_attributes can be set to true. If indent is a non-negative 122 integer or string, then the tree will be pretty-printed with that indent 349 If *padded* is `True`, the first line of a multi-line statement will [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/ |
D | ast.py | 16 using the built-in `compile()` function. 44 major, minor = feature_version # Should be a 2-tuple. 48 feature_version = -1 82 return - operand 97 if len(node.keys) != len(node.values): 99 return dict(zip(map(_convert, node.keys), 108 return left - right 121 include_attributes can be set to true. If indent is a non-negative 122 integer or string, then the tree will be pretty-printed with that indent 349 If *padded* is `True`, the first line of a multi-line statement will [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/ |
D | ast.py | 16 using the built-in `compile()` function. 44 major, minor = feature_version # Should be a 2-tuple. 48 feature_version = -1 82 return - operand 97 if len(node.keys) != len(node.values): 99 return dict(zip(map(_convert, node.keys), 108 return left - right 121 include_attributes can be set to true. If indent is a non-negative 122 integer or string, then the tree will be pretty-printed with that indent 349 If *padded* is `True`, the first line of a multi-line statement will [all …]
|