Home
last modified time | relevance | path

Searched refs:Metadata (Results 1 – 25 of 861) sorted by relevance

12345678910>>...35

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DHttp2ClientStreamTransportStateTest.java31 import io.grpc.Metadata;
50 private final Metadata.Key<String> testStatusMashaller =
51 InternalMetadata.keyOf(":status", Metadata.ASCII_STRING_MARSHALLER);
77 Metadata headers = new Metadata(); in transportHeadersReceived_notifiesListener()
79 headers.put(Metadata.Key.of("content-type", Metadata.ASCII_STRING_MARSHALLER), in transportHeadersReceived_notifiesListener()
83 verify(mockListener, never()).closed(any(Status.class), same(PROCESSED), any(Metadata.class)); in transportHeadersReceived_notifiesListener()
91 Metadata headers = new Metadata(); in transportHeadersReceived_doesntRequire200()
93 headers.put(Metadata.Key.of("content-type", Metadata.ASCII_STRING_MARSHALLER), in transportHeadersReceived_doesntRequire200()
97 verify(mockListener, never()).closed(any(Status.class), same(PROCESSED), any(Metadata.class)); in transportHeadersReceived_doesntRequire200()
105 Metadata headers = new Metadata(); in transportHeadersReceived_noHttpStatus()
[all …]
DClientCallImplTest.java52 import io.grpc.Metadata;
133 any(MethodDescriptor.class), any(Metadata.class), any(CallOptions.class))) in setUp()
154 call.start(callListener, new Metadata()); in statusPropagatedFromStreamToCallListener()
157 streamListener.headersRead(new Metadata()); in statusPropagatedFromStreamToCallListener()
159 streamListener.closed(status , new Metadata()); in statusPropagatedFromStreamToCallListener()
162 verify(callListener).onClose(same(status), Matchers.isA(Metadata.class)); in statusPropagatedFromStreamToCallListener()
176 call.start(callListener, new Metadata()); in exceptionInOnMessageTakesPrecedenceOverServer()
179 streamListener.headersRead(new Metadata()); in exceptionInOnMessageTakesPrecedenceOverServer()
192 streamListener.closed(Status.OK, new Metadata()); in exceptionInOnMessageTakesPrecedenceOverServer()
195 verify(callListener).onClose(statusArgumentCaptor.capture(), Matchers.isA(Metadata.class)); in exceptionInOnMessageTakesPrecedenceOverServer()
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DMetadataTest.java30 import io.grpc.Metadata.Key;
49 private static final Metadata.BinaryMarshaller<Fish> FISH_MARSHALLER =
50 new Metadata.BinaryMarshaller<Fish>() {
64 private static final Metadata.Key<Fish> KEY = Metadata.Key.of("test-bin", FISH_MARSHALLER);
71 Metadata.Key.of(":test-bin", FISH_MARSHALLER); in noPseudoHeaders()
78 Metadata metadata = new Metadata(); in testMutations()
109 Metadata metadata = new Metadata(); in discardAll()
119 Metadata metadata = new Metadata(); in discardAll_empty()
128 Metadata metadata = new Metadata(); in testGetAllNoRemove()
140 Metadata metadata = new Metadata(); in testWriteParsed()
[all …]
/external/llvm/bindings/go/llvm/
Ddibuilder.go124 func (d *DIBuilder) CreateCompileUnit(cu DICompileUnit) Metadata {
142 return Metadata{C: result}
146 func (d *DIBuilder) CreateFile(filename, dir string) Metadata {
152 return Metadata{C: result}
157 File Metadata
163 func (d *DIBuilder) CreateLexicalBlock(diScope Metadata, b DILexicalBlock) Metadata {
171 return Metadata{C: result}
174 …nc (d *DIBuilder) CreateLexicalBlockFile(diScope Metadata, diFile Metadata, discriminator int) Met…
177 return Metadata{C: result}
184 File Metadata
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/go/llvm/
Ddibuilder.go124 func (d *DIBuilder) CreateCompileUnit(cu DICompileUnit) Metadata {
147 return Metadata{C: result}
151 func (d *DIBuilder) CreateFile(filename, dir string) Metadata {
159 return Metadata{C: result}
164 File Metadata
170 func (d *DIBuilder) CreateLexicalBlock(diScope Metadata, b DILexicalBlock) Metadata {
178 return Metadata{C: result}
181 …nc (d *DIBuilder) CreateLexicalBlockFile(diScope Metadata, diFile Metadata, discriminator int) Met…
184 return Metadata{C: result}
191 File Metadata
[all …]
/external/llvm/lib/IR/
DDebugInfoMetadata.cpp23 unsigned Column, ArrayRef<Metadata *> MDs) in DILocation()
42 unsigned Column, Metadata *Scope, in getImpl()
43 Metadata *InlinedAt, StorageType Storage, in getImpl()
59 SmallVector<Metadata *, 2> Ops; in getImpl()
163 ArrayRef<Metadata *> DwarfOps, in getImpl()
179 Metadata *PreOps[] = {Header}; in getImpl()
226 Metadata *Ops[] = {Name}; in getImpl()
237 Metadata *Ops[] = {nullptr, nullptr, Name}; in getImpl()
243 LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *File, in getImpl()
244 unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, in getImpl()
[all …]
DLLVMContextImpl.h173 ArrayRef<Metadata *> RawOps;
179 MDNodeOpsKey(ArrayRef<Metadata *> Ops) in MDNodeOpsKey()
206 static unsigned calculateHash(ArrayRef<Metadata *> Ops);
231 MDNodeKeyImpl(ArrayRef<Metadata *> Ops) : MDNodeOpsKey(Ops) {}
247 Metadata *Scope;
248 Metadata *InlinedAt;
250 MDNodeKeyImpl(unsigned Line, unsigned Column, Metadata *Scope,
251 Metadata *InlinedAt)
271 MDNodeKeyImpl(unsigned Tag, MDString *Header, ArrayRef<Metadata *> DwarfOps)
346 Metadata *File;
[all …]
/external/llvm/include/llvm/IR/
DDebugInfoMetadata.h56 const Metadata *MD = nullptr;
63 explicit TypedDINodeRef(const Metadata *MD) : MD(MD) { in TypedDINodeRef()
74 operator Metadata *() const { return const_cast<Metadata *>(MD); }
141 ArrayRef<Metadata *> Ops1, ArrayRef<Metadata *> Ops2 = None)
192 static bool classof(const Metadata *MD) { in classof()
222 typedef Metadata *SimpleType;
243 unsigned Tag, ArrayRef<Metadata *> Ops1,
244 ArrayRef<Metadata *> Ops2)
254 StringRef Header, ArrayRef<Metadata *> DwarfOps,
261 MDString *Header, ArrayRef<Metadata *> DwarfOps,
[all …]
DMetadata.h44 class Metadata {
68 Metadata(unsigned ID, StorageType Storage) in Metadata() function
72 ~Metadata() = default;
78 void handleChangedOperand(void *, Metadata *) { in handleChangedOperand() argument
130 template <> struct isa_impl<CLASS, Metadata> { \
131 static inline bool doit(const Metadata &MD) { \
132 return MD.getMetadataID() == Metadata::CLASS##Kind; \
137 inline raw_ostream &operator<<(raw_ostream &OS, const Metadata &MD) {
153 Metadata *MD;
155 MetadataAsValue(Type *Ty, Metadata *MD);
[all …]
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/metadata/
DMetadata.java29 public final class Metadata implements Parcelable { class
58 public Metadata(Entry... entries) { in Metadata() method in Metadata
65 public Metadata(List<? extends Entry> entries) { in Metadata() method in Metadata
70 /* package */ Metadata(Parcel in) { in Metadata() method in Metadata
71 entries = new Metadata.Entry[in.readInt()]; in Metadata()
90 public Metadata.Entry get(int index) { in get()
102 public Metadata copyWithAppendedEntriesFrom(@Nullable Metadata other) { in copyWithAppendedEntriesFrom()
115 public Metadata copyWithAppendedEntries(Entry... entriesToAppend) { in copyWithAppendedEntries()
119 return new Metadata(Util.nullSafeArrayConcatenation(entries, entriesToAppend)); in copyWithAppendedEntries()
130 Metadata other = (Metadata) obj; in equals()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DDebugInfoMetadata.cpp26 unsigned Column, ArrayRef<Metadata *> MDs) in DILocation()
45 unsigned Column, Metadata *Scope, in getImpl()
46 Metadata *InlinedAt, StorageType Storage, in getImpl()
62 SmallVector<Metadata *, 2> Ops; in getImpl()
194 ArrayRef<Metadata *> DwarfOps, in getImpl()
210 Metadata *PreOps[] = {Header}; in getImpl()
257 DISubrange *DISubrange::getImpl(LLVMContext &Context, Metadata *CountNode, in getImpl()
261 Metadata *Ops[] = { CountNode }; in getImpl()
270 Metadata *Ops[] = {Name}; in getImpl()
281 Metadata *Ops[] = {nullptr, nullptr, Name}; in getImpl()
[all …]
DLLVMContextImpl.h207 ArrayRef<Metadata *> RawOps;
212 MDNodeOpsKey(ArrayRef<Metadata *> Ops) in MDNodeOpsKey()
239 static unsigned calculateHash(ArrayRef<Metadata *> Ops);
265 MDNodeKeyImpl(ArrayRef<Metadata *> Ops) : MDNodeOpsKey(Ops) {}
281 Metadata *Scope;
282 Metadata *InlinedAt;
284 MDNodeKeyImpl(unsigned Line, unsigned Column, Metadata *Scope,
285 Metadata *InlinedAt)
306 MDNodeKeyImpl(unsigned Tag, MDString *Header, ArrayRef<Metadata *> DwarfOps)
324 Metadata *CountNode;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DDebugInfoMetadata.h72 const Metadata *MD = nullptr;
79 explicit TypedDINodeRef(const Metadata *MD) : MD(MD) { in TypedDINodeRef()
90 operator Metadata *() const { return const_cast<Metadata *>(MD); }
161 ArrayRef<Metadata *> Ops1, ArrayRef<Metadata *> Ops2 = None)
214 static bool classof(const Metadata *MD) { in classof()
245 using SimpleType = Metadata *;
267 unsigned Tag, ArrayRef<Metadata *> Ops1,
268 ArrayRef<Metadata *> Ops2)
278 StringRef Header, ArrayRef<Metadata *> DwarfOps,
285 MDString *Header, ArrayRef<Metadata *> DwarfOps,
[all …]
DMetadata.h58 class Metadata {
82 Metadata(unsigned ID, StorageType Storage) in Metadata() function
87 ~Metadata() = default;
93 void handleChangedOperand(void *, Metadata *) { in handleChangedOperand() argument
140 DEFINE_ISA_CONVERSION_FUNCTIONS(Metadata, LLVMMetadataRef) in DEFINE_ISA_CONVERSION_FUNCTIONS() argument
143 inline Metadata **unwrap(LLVMMetadataRef *MDs) { in DEFINE_ISA_CONVERSION_FUNCTIONS()
144 return reinterpret_cast<Metadata**>(MDs); in DEFINE_ISA_CONVERSION_FUNCTIONS()
153 template <> struct isa_impl<CLASS, Metadata> { \
154 static inline bool doit(const Metadata &MD) { \
155 return MD.getMetadataID() == Metadata::CLASS##Kind; \
[all …]
/external/gwp_asan/gwp_asan/tests/
Dcrash_handler_api.cpp31 Metadata[Slot].Addr = Addr; in metadata()
32 Metadata[Slot].Size = Size; in metadata()
33 Metadata[Slot].IsDeallocated = IsDeallocated; in metadata()
34 Metadata[Slot].AllocationTrace.ThreadID = 123; in metadata()
35 Metadata[Slot].DeallocationTrace.ThreadID = 321; in metadata()
36 setupBacktraces(&Metadata[Slot]); in metadata()
80 __gwp_asan_get_metadata(&State, Metadata, ErrorPtr); in checkMetadata()
82 EXPECT_EQ(Metadata[Index].Addr, __gwp_asan_get_allocation_address(Meta)); in checkMetadata()
83 EXPECT_EQ(Metadata[Index].Size, __gwp_asan_get_allocation_size(Meta)); in checkMetadata()
84 EXPECT_EQ(Metadata[Index].AllocationTrace.ThreadID, in checkMetadata()
[all …]
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DMetadataTest.cs36 var entry = new Metadata.Entry("ABC", "XYZ"); in AsciiEntry()
42 Assert.Throws(typeof(ArgumentException), () => new Metadata.Entry("abc-bin", "xyz")); in AsciiEntry()
51 var entry = new Metadata.Entry("ABC-BIN", bytes); in BinaryEntry()
57 Assert.Throws(typeof(ArgumentException), () => new Metadata.Entry("abc", bytes)); in BinaryEntry()
65 new Metadata.Entry("ABC", "XYZ"); in AsciiEntry_KeyValidity()
66 new Metadata.Entry("0123456789abc", "XYZ"); in AsciiEntry_KeyValidity()
67 new Metadata.Entry("-abc", "XYZ"); in AsciiEntry_KeyValidity()
68 new Metadata.Entry("a_bc_", "XYZ"); in AsciiEntry_KeyValidity()
69 new Metadata.Entry("abc.xyz", "XYZ"); in AsciiEntry_KeyValidity()
70 new Metadata.Entry("abc.xyz-bin", new byte[] {1, 2, 3}); in AsciiEntry_KeyValidity()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DAMDGPUMetadata.h120 struct Metadata final {
132 Metadata() = default;
185 struct Metadata final {
216 Metadata() = default;
254 struct Metadata final {
288 Metadata() = default;
326 struct Metadata final {
345 Metadata() = default;
382 struct Metadata final {
392 Attrs::Metadata mAttrs = Attrs::Metadata();
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DMetadata.h55 class Metadata {
79 Metadata(unsigned ID, StorageType Storage) in Metadata() function
84 ~Metadata() = default;
90 void handleChangedOperand(void *, Metadata *) { in handleChangedOperand() argument
142 template <> struct isa_impl<CLASS, Metadata> { \
143 static inline bool doit(const Metadata &MD) { \
144 return MD.getMetadataID() == Metadata::CLASS##Kind; \
149 inline raw_ostream &operator<<(raw_ostream &OS, const Metadata &MD) {
165 Metadata *MD;
167 MetadataAsValue(Type *Ty, Metadata *MD);
[all …]
/external/grpc-grpc-java/stub/src/main/java/io/grpc/stub/
DMetadataUtils.java28 import io.grpc.Metadata;
48 public static <T extends AbstractStub<T>> T attachHeaders(T stub, Metadata extraHeaders) { in attachHeaders()
58 public static ClientInterceptor newAttachHeadersInterceptor(Metadata extraHeaders) { in newAttachHeadersInterceptor()
64 private final Metadata extraHeaders;
67 HeaderAttachingClientInterceptor(Metadata extraHeaders) { in HeaderAttachingClientInterceptor()
86 public void start(Listener<RespT> responseListener, Metadata headers) { in start()
105 AtomicReference<Metadata> headersCapture, in captureMetadata()
106 AtomicReference<Metadata> trailersCapture) { in captureMetadata()
119 AtomicReference<Metadata> headersCapture, AtomicReference<Metadata> trailersCapture) { in newCaptureMetadataInterceptor()
125 final AtomicReference<Metadata> headersCapture;
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DInternalMetadata.java19 import io.grpc.Metadata.AsciiMarshaller;
20 import io.grpc.Metadata.Key;
38 public interface TrustedAsciiMarshaller<T> extends Metadata.TrustedAsciiMarshaller<T> {}
49 return Metadata.Key.of(name, isPseudo, marshaller); in keyOf()
55 return Metadata.Key.of(name, isPseudo, marshaller); in keyOf()
59 public static Metadata newMetadata(byte[]... binaryValues) { in newMetadata()
60 return new Metadata(binaryValues); in newMetadata()
64 public static Metadata newMetadata(int usedNames, byte[]... binaryValues) { in newMetadata()
65 return new Metadata(usedNames, binaryValues); in newMetadata()
69 public static byte[][] serialize(Metadata md) { in serialize()
[all …]
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DUtil.java20 import io.grpc.Metadata;
30 public static final Metadata.Key<Messages.SimpleContext> METADATA_KEY =
31 Metadata.Key.of(
32 "grpc.testing.SimpleContext" + Metadata.BINARY_HEADER_SUFFIX,
34 public static final Metadata.Key<String> ECHO_INITIAL_METADATA_KEY
35 = Metadata.Key.of("x-grpc-test-echo-initial", Metadata.ASCII_STRING_MARSHALLER);
36 public static final Metadata.Key<byte[]> ECHO_TRAILING_METADATA_KEY
37 = Metadata.Key.of("x-grpc-test-echo-trailing-bin", Metadata.BINARY_BYTE_MARSHALLER);
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/binarylog/v1alpha/
DMetadata.java24 public final class Metadata extends class
30 private Metadata(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { in Metadata() method in Metadata
33 private Metadata() { in Metadata() method in Metadata
42 private Metadata( in Metadata() method in Metadata
101 … io.grpc.binarylog.v1alpha.Metadata.class, io.grpc.binarylog.v1alpha.Metadata.Builder.class); in internalGetFieldAccessorTable()
176 if (!(obj instanceof io.grpc.binarylog.v1alpha.Metadata)) { in equals()
179 io.grpc.binarylog.v1alpha.Metadata other = (io.grpc.binarylog.v1alpha.Metadata) obj; in equals()
204 public static io.grpc.binarylog.v1alpha.Metadata parseFrom( in parseFrom()
209 public static io.grpc.binarylog.v1alpha.Metadata parseFrom( in parseFrom()
215 public static io.grpc.binarylog.v1alpha.Metadata parseFrom( in parseFrom()
[all …]
/external/grpc-grpc/src/csharp/Grpc.Core/
DMetadata.cs37 public sealed class Metadata : IList<Metadata.Entry> class
47 public static readonly Metadata Empty = new Metadata().Freeze();
62 public Metadata() in Metadata() method in Grpc.Core.Metadata
71 internal Metadata Freeze() in Freeze()
85 public int IndexOf(Metadata.Entry item) in IndexOf()
93 public void Insert(int index, Metadata.Entry item) in Insert()
112 public Metadata.Entry this[int index]
130 public void Add(Metadata.Entry item) in Add()
165 public bool Contains(Metadata.Entry item) in Contains()
173 public void CopyTo(Metadata.Entry[] array, int arrayIndex) in CopyTo()
[all …]
DServerCallContext.cs36 private readonly Metadata requestHeaders;
38 private readonly Metadata responseTrailers = new Metadata();
39 private readonly Func<Metadata, Task> writeHeadersFunc;
48 …llSafeHandle callHandle, string method, string host, DateTime deadline, Metadata requestHeaders, C… in ServerCallContext()
49 Func<Metadata, Task> writeHeadersFunc, IHasWriteOptions writeOptionsHolder) in ServerCallContext() argument
55 …llSafeHandle callHandle, string method, string host, DateTime deadline, Metadata requestHeaders, C… in ServerCallContext()
56 Func<Metadata, Task> writeHeadersFunc, IHasWriteOptions writeOptionsHolder, in ServerCallContext() argument
80 public Task WriteResponseHeadersAsync(Metadata responseHeaders) in WriteResponseHeadersAsync()
141 public Metadata RequestHeaders
159 public Metadata ResponseTrailers
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DValueMapper.cpp157 Metadata *mapMetadata(const Metadata *MD);
185 Optional<Metadata *> mapSimpleMetadata(const Metadata *MD);
187 Metadata *mapToMetadata(const Metadata *Key, Metadata *Val);
188 Metadata *mapToSelf(const Metadata *MD);
203 SmallDenseMap<const Metadata *, Data, 32> Info; // Node properties.
213 Metadata &getFwdReference(MDNode &Op);
220 SmallDenseMap<const Metadata *, Data, 32> InfoStorage;
244 Metadata *map(const MDNode &N);
266 Metadata *mapTopLevelUniquedNode(const MDNode &FirstN);
276 Optional<Metadata *> tryToMapOperand(const Metadata *Op);
[all …]

12345678910>>...35