| /external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
| D | FieldAccessTest.cs | 2 // Protocol Buffers - Google's data interchange format 4 // https://developers.google.com/protocol-buffers/ 20 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 51 var fields = TestProtos.TestAllTypes.Descriptor.Fields; in GetValue() 52 …ssage.SingleBool, fields[TestProtos.TestAllTypes.SingleBoolFieldNumber].Accessor.GetValue(message)… in GetValue() 53 …age.SingleBytes, fields[TestProtos.TestAllTypes.SingleBytesFieldNumber].Accessor.GetValue(message)… in GetValue() 54 …e.SingleDouble, fields[TestProtos.TestAllTypes.SingleDoubleFieldNumber].Accessor.GetValue(message)… in GetValue() 55 …SingleFixed32, fields[TestProtos.TestAllTypes.SingleFixed32FieldNumber].Accessor.GetValue(message)… in GetValue() 56 …SingleFixed64, fields[TestProtos.TestAllTypes.SingleFixed64FieldNumber].Accessor.GetValue(message)… in GetValue() [all …]
|
| /external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
| D | FieldAccessTest.cs | 2 // Protocol Buffers - Google's data interchange format 4 // https://developers.google.com/protocol-buffers/ 20 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 51 var fields = TestProtos.TestAllTypes.Descriptor.Fields; in GetValue() 52 …ssage.SingleBool, fields[TestProtos.TestAllTypes.SingleBoolFieldNumber].Accessor.GetValue(message)… in GetValue() 53 …age.SingleBytes, fields[TestProtos.TestAllTypes.SingleBytesFieldNumber].Accessor.GetValue(message)… in GetValue() 54 …e.SingleDouble, fields[TestProtos.TestAllTypes.SingleDoubleFieldNumber].Accessor.GetValue(message)… in GetValue() 55 …SingleFixed32, fields[TestProtos.TestAllTypes.SingleFixed32FieldNumber].Accessor.GetValue(message)… in GetValue() 56 …SingleFixed64, fields[TestProtos.TestAllTypes.SingleFixed64FieldNumber].Accessor.GetValue(message)… in GetValue() [all …]
|
| /external/cronet/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/ |
| D | FieldAccessTest.cs | 2 // Protocol Buffers - Google's data interchange format 4 // https://developers.google.com/protocol-buffers/ 20 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 47 var fields = TestAllTypes.Descriptor.Fields; in GetValue() 48 …Assert.AreEqual(message.SingleBool, fields[TestAllTypes.SingleBoolFieldNumber].Accessor.GetValue(m… in GetValue() 49 …eEqual(message.SingleBytes, fields[TestAllTypes.SingleBytesFieldNumber].Accessor.GetValue(message)… in GetValue() 50 …qual(message.SingleDouble, fields[TestAllTypes.SingleDoubleFieldNumber].Accessor.GetValue(message)… in GetValue() 51 …al(message.SingleFixed32, fields[TestAllTypes.SingleFixed32FieldNumber].Accessor.GetValue(message)… in GetValue() 52 …al(message.SingleFixed64, fields[TestAllTypes.SingleFixed64FieldNumber].Accessor.GetValue(message)… in GetValue() [all …]
|
| /external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/ |
| D | FieldAccessTest.cs | 2 // Protocol Buffers - Google's data interchange format 4 // https://developers.google.com/protocol-buffers/ 20 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 47 var fields = TestAllTypes.Descriptor.Fields; in GetValue() 48 …Assert.AreEqual(message.SingleBool, fields[TestAllTypes.SingleBoolFieldNumber].Accessor.GetValue(m… in GetValue() 49 …eEqual(message.SingleBytes, fields[TestAllTypes.SingleBytesFieldNumber].Accessor.GetValue(message)… in GetValue() 50 …qual(message.SingleDouble, fields[TestAllTypes.SingleDoubleFieldNumber].Accessor.GetValue(message)… in GetValue() 51 …al(message.SingleFixed32, fields[TestAllTypes.SingleFixed32FieldNumber].Accessor.GetValue(message)… in GetValue() 52 …al(message.SingleFixed64, fields[TestAllTypes.SingleFixed64FieldNumber].Accessor.GetValue(message)… in GetValue() [all …]
|
| /external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/ |
| D | FieldMaskTree.cs | 2 // Protocol Buffers - Google's data interchange format 4 // https://developers.google.com/protocol-buffers/ 20 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 47 /// [root] -+- foo -+- bar 49 /// | +- baz 51 /// +- bar --- baz 92 /// specified field as well as all its sub-fields. For example, a field path 94 /// a field path to the tree, redundant sub-paths will be removed. That is, 97 /// Likewise, if the field path to add is a sub-path of an existing leaf node, [all …]
|
| D | JsonFormatter.cs | 2 // Protocol Buffers - Google's data interchange format 4 // https://developers.google.com/protocol-buffers/ 20 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 48 /// Reflection-based converter from messages to JSON. 52 /// Instances of this class are thread-safe, with no mutable state. 55 /// This is a simple start to get JSON formatting working. As it's reflection-based, 56 /// it's not as quick as baking calls into generated messages - but is a simpler implementation. 57 /// (This code is generally not heavily optimized.) 163 if (message.Descriptor.IsWellKnownType) in Format() [all …]
|
| D | JsonParser.cs | 2 // Protocol Buffers - Google's data interchange format 4 // https://developers.google.com/protocol-buffers/ 20 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 47 /// Reflection-based converter from JSON to messages. 51 /// Instances of this class are thread-safe, with no mutable state. 54 /// This is a simple start to get JSON parsing working. As it's reflection-based, 55 /// it's not as quick as baking calls into generated messages - but is a simpler implementation. 56 /// (This code is generally not heavily optimized.) 61 // Note: using 0-9 instead of \d to ensure no non-ASCII digits. [all …]
|
| /external/protobuf/csharp/src/Google.Protobuf/ |
| D | FieldMaskTree.cs | 2 // Protocol Buffers - Google's data interchange format 4 // https://developers.google.com/protocol-buffers/ 20 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 47 /// [root] -+- foo -+- bar 49 /// | +- baz 51 /// +- bar --- baz 92 /// specified field as well as all its sub-fields. For example, a field path 94 /// a field path to the tree, redundant sub-paths will be removed. That is, 97 /// Likewise, if the field path to add is a sub-path of an existing leaf node, [all …]
|
| D | JsonFormatter.cs | 2 // Protocol Buffers - Google's data interchange format 4 // https://developers.google.com/protocol-buffers/ 20 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 48 /// Reflection-based converter from messages to JSON. 52 /// Instances of this class are thread-safe, with no mutable state. 55 /// This is a simple start to get JSON formatting working. As it's reflection-based, 56 /// it's not as quick as baking calls into generated messages - but is a simpler implementation. 57 /// (This code is generally not heavily optimized.) 163 if (message.Descriptor.IsWellKnownType) in Format() [all …]
|
| D | JsonParser.cs | 2 // Protocol Buffers - Google's data interchange format 4 // https://developers.google.com/protocol-buffers/ 20 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 47 /// Reflection-based converter from JSON to messages. 51 /// Instances of this class are thread-safe, with no mutable state. 54 /// This is a simple start to get JSON parsing working. As it's reflection-based, 55 /// it's not as quick as baking calls into generated messages - but is a simpler implementation. 56 /// (This code is generally not heavily optimized.) 61 // Note: using 0-9 instead of \d to ensure no non-ASCII digits. [all …]
|
| /external/ComputeLibrary/arm_compute/graph/ |
| D | Utils.h | 2 * Copyright (c) 2018-2021 Arm Limited. 4 * SPDX-License-Identifier: MIT 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * sell copies of the Software, and to permit persons to whom the Software is 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 40 return utility_node_types.find(node->type()) != utility_node_types.end(); in is_utility_node() 43 /** Returns the tensor descriptor of a given tensor 48 * @return Tensor descriptor if tensor was found else empty descriptor 53 return (tensor != nullptr) ? tensor->desc() : TensorDescriptor(); in get_tensor_descriptor() 55 /** Sets an accessor on a given tensor [all …]
|
| D | Tensor.h | 2 * Copyright (c) 2018-2019 Arm Limited. 4 * SPDX-License-Identifier: MIT 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * sell copies of the Software, and to permit persons to whom the Software is 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 50 /** Tensor ID accessor 55 /** TensorInfo metadata accessor 57 * @return Tensor descriptor metadata 60 /** TensorInfo metadata accessor 62 * @return Tensor descriptor metadata [all …]
|
| /external/rust/crates/protobuf/2.27.1/src/reflect/ |
| D | field.rs | 1 use crate::descriptor::FieldDescriptorProto; 2 use crate::descriptor::FieldDescriptorProto_Label; 5 use crate::reflect::acc::Accessor; 23 /// Field descriptor. 28 accessor: FieldAccessor, field 34 accessor: FieldAccessor, in new() 36 ) -> FieldDescriptor { in new() 37 assert_eq!(proto.get_name(), accessor.name); in new() 45 accessor, in new() 46 // probably could be lazy-init in new() [all …]
|
| /external/ComputeLibrary/arm_compute/graph/nodes/ |
| D | FusedConvolutionBatchNormalizationWithPostOpsNode.h | 4 * SPDX-License-Identifier: MIT 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * sell copies of the Software, and to permit persons to whom the Software is 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 50 /** Epsilon parameter accessor 56 /** Computes convolution output descriptor 58 * @param[in] input_descriptor Input descriptor 59 * @param[in] weights_descriptor Weights descriptor 62 * @return Output descriptor 74 /** Number of groups in convolution accessor [all …]
|
| D | FusedConvolutionBatchNormalizationNode.h | 4 * SPDX-License-Identifier: MIT 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * sell copies of the Software, and to permit persons to whom the Software is 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 52 /** Epsilon parameter accessor 70 /** Computes convolution output descriptor 72 * @param[in] input_descriptor Input descriptor 73 * @param[in] weights_descriptor Weights descriptor 76 * @return Output descriptor 88 /** Number of groups in convolution accessor [all …]
|
| D | EltwiseLayerNode.h | 2 * Copyright (c) 2018-2020 Arm Limited. 4 * SPDX-License-Identifier: MIT 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * sell copies of the Software, and to permit persons to whom the Software is 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 39 …* @param[in] descriptor Containing information for the node described in @ref descriptors::Eltwise… 41 EltwiseLayerNode(const descriptors::EltwiseLayerDescriptor &descriptor); 42 /** Eltwise operation accessor 44 * @return Eltwise operation that is to be performed by the node 48 /** Convert policy accessor [all …]
|
| D | FusedDepthwiseConvolutionBatchNormalizationNode.h | 4 * SPDX-License-Identifier: MIT 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * sell copies of the Software, and to permit persons to whom the Software is 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 57 /** Depthwise convolution layer method accessor 59 * @note This is an indication on which depthwise convolution layer implementation to use, 66 /** Epsilon parameter accessor 84 /** Computes convolution output descriptor 86 * @param[in] input_descriptor Input descriptor 87 * @param[in] weights_descriptor Weights descriptor [all …]
|
| D | ConvolutionLayerNode.h | 2 * Copyright (c) 2018-2019, 2021 Arm Limited. 4 * SPDX-License-Identifier: MIT 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * sell copies of the Software, and to permit persons to whom the Software is 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 55 /** Convolution layer method accessor 57 * @note This is an indication on which convolution layer implementation to use, 68 /** Fast math hint accessor 73 /** Convolution metadata accessor 78 /** Number of groups in convolution accessor [all …]
|
| D | FusedConvolutionWithPostOpNode.h | 4 * SPDX-License-Identifier: MIT 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * sell copies of the Software, and to permit persons to whom the Software is 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 57 /** Convolution layer method accessor 59 * @note This is an indication on which convolution layer implementation to use, 70 /** Fast math hint accessor 75 /** Convolution metadata accessor 80 /** Number of groups in convolution accessor 100 /** Computes convolution output descriptor [all …]
|
| /external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
| D | OneofDescriptor.cs | 2 // Protocol Buffers - Google's data interchange format 4 // https://developers.google.com/protocol-buffers/ 20 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 50 private readonly OneofAccessor accessor; field in Google.Protobuf.Reflection.OneofDescriptor 59 …// It's useful to determine whether or not this is a synthetic oneof before cross-linking. That me… in OneofDescriptor() 64 accessor = CreateAccessor(clrName); in OneofDescriptor() 68 /// The brief name of the descriptor's target. 77 … /// Note that a copy is taken every time this method is called, so clients using it frequently 80 /// <returns>A protobuf representation of this oneof descriptor.</returns> [all …]
|
| D | SingleFieldAccessor.cs | 2 // Protocol Buffers - Google's data interchange format 4 // https://developers.google.com/protocol-buffers/ 20 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 42 /// Accessor for single fields. 46 … // All the work here is actually done in the constructor - it creates the appropriate delegates. 48 …// and proto2 vs proto3 for non-message types, as proto3 doesn't support "full" presence detection… 57 … Type messageType, PropertyInfo property, FieldDescriptor descriptor) : base(property, descriptor) in SingleFieldAccessor() argument 65 …: this looks worrying in that we access the containing oneof, which isn't valid until cross-linking in SingleFieldAccessor() 66 // is complete... but field accessors aren't created until after cross-linking. in SingleFieldAccessor() [all …]
|
| /external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
| D | OneofDescriptor.cs | 2 // Protocol Buffers - Google's data interchange format 4 // https://developers.google.com/protocol-buffers/ 20 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 50 private readonly OneofAccessor accessor; field in Google.Protobuf.Reflection.OneofDescriptor 59 …// It's useful to determine whether or not this is a synthetic oneof before cross-linking. That me… in OneofDescriptor() 64 accessor = CreateAccessor(clrName); in OneofDescriptor() 68 /// The brief name of the descriptor's target. 77 … /// Note that a copy is taken every time this method is called, so clients using it frequently 80 /// <returns>A protobuf representation of this oneof descriptor.</returns> [all …]
|
| D | SingleFieldAccessor.cs | 2 // Protocol Buffers - Google's data interchange format 4 // https://developers.google.com/protocol-buffers/ 20 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 42 /// Accessor for single fields. 46 … // All the work here is actually done in the constructor - it creates the appropriate delegates. 48 …// and proto2 vs proto3 for non-message types, as proto3 doesn't support "full" presence detection… 57 … Type messageType, PropertyInfo property, FieldDescriptor descriptor) : base(property, descriptor) in SingleFieldAccessor() argument 65 …: this looks worrying in that we access the containing oneof, which isn't valid until cross-linking in SingleFieldAccessor() 66 // is complete... but field accessors aren't created until after cross-linking. in SingleFieldAccessor() [all …]
|
| D | FieldDescriptor.cs | 2 // Protocol Buffers - Google's data interchange format 4 // https://developers.google.com/protocol-buffers/ 20 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 40 /// Descriptor for a field or extension within a message in a .proto file. 48 private IFieldAccessor accessor; field in Google.Protobuf.Reflection.FieldDescriptor 51 …/// Get the field's containing message type, or <c>null</c> if it is a field defined at the top le… 56 /// Returns the oneof containing this field, or <c>null</c> if it is not part of a oneof. 62 /// field is not part of a oneof, or the oneof is synthetic. 67 …/// The effective JSON name for this field. This is usually the lower-camel-cased form of the fiel… [all …]
|
| /external/ksp/compiler-plugin/src/main/kotlin/com/google/devtools/ksp/processing/impl/ |
| D | ResolverImpl.kt | 3 * Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors. in <lambda>() 9 * http://www.apache.org/licenses/LICENSE-2.0 in <lambda>() 12 * distributed under the License is distributed on an "AS IS" BASIS, in <lambda>() 139 * Checking as member of is an expensive operation, hence we cache result values in this map. in <lambda>() 193 // Import aliases are file-scoped. `aliasingNamesByFile` could be faster in <lambda>() 208 typeAlias.qualifiedName?.asString()?.let { fqn -> in <lambda>() 241 is KtClassOrObject -> KSClassDeclarationImpl.getCached(psi) in <lambda>() 242 is PsiClass -> KSClassDeclarationJavaImpl.getCached(psi) in <lambda>() 243 else -> throw IllegalStateException("unexpected psi: ${psi.javaClass}") in <lambda>() 304 // If annotationName is a typealias, resolve to underlying type. in <lambda>() [all …]
|