Home
last modified time | relevance | path

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

/external/webrtc/modules/
Dmodule_common_types_unittest.cc117 SequenceNumberUnwrapper unwrapper; in TEST() local
119 EXPECT_EQ(0, unwrapper.Unwrap(0)); in TEST()
120 EXPECT_EQ(0x8000, unwrapper.Unwrap(0x8000)); in TEST()
122 EXPECT_EQ(0, unwrapper.Unwrap(0)); in TEST()
124 EXPECT_EQ(0x8000, unwrapper.Unwrap(0x8000)); in TEST()
125 EXPECT_EQ(0xFFFF, unwrapper.Unwrap(0xFFFF)); in TEST()
126 EXPECT_EQ(0x10000, unwrapper.Unwrap(0)); in TEST()
127 EXPECT_EQ(0xFFFF, unwrapper.Unwrap(0xFFFF)); in TEST()
128 EXPECT_EQ(0x8000, unwrapper.Unwrap(0x8000)); in TEST()
129 EXPECT_EQ(0, unwrapper.Unwrap(0)); in TEST()
[all …]
/external/webrtc/rtc_base/numerics/
Dsequence_number_util_unittest.cc216 SeqNumUnwrapper<uint8_t> unwrapper; in TEST() local
217 EXPECT_EQ(123, unwrapper.Unwrap(123)); in TEST()
221 SeqNumUnwrapper<uint8_t> unwrapper; in TEST() local
222 EXPECT_EQ(255, unwrapper.Unwrap(255)); in TEST()
223 EXPECT_EQ(256, unwrapper.Unwrap(0)); in TEST()
227 SeqNumUnwrapper<uint8_t, 33> unwrapper; in TEST() local
228 EXPECT_EQ(30, unwrapper.Unwrap(30)); in TEST()
229 EXPECT_EQ(36, unwrapper.Unwrap(3)); in TEST()
233 SeqNumUnwrapper<uint8_t> unwrapper; in TEST() local
234 EXPECT_EQ(0, unwrapper.Unwrap(0)); in TEST()
[all …]
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DBufUnwrapperTest.java38 BufUnwrapper unwrapper = new BufUnwrapper(); in closeEmptiesBuffers() local
41 ByteBuffer[] readableBufs = unwrapper.readableNioBuffers(buf); in closeEmptiesBuffers()
42 ByteBuffer[] writableBufs = unwrapper.writableNioBuffers(buf); in closeEmptiesBuffers()
48 unwrapper.close(); in closeEmptiesBuffers()
60 try (BufUnwrapper unwrapper = new BufUnwrapper()) { in readableNioBuffers_worksWithNormal() argument
61 ByteBuffer[] internalBufs = unwrapper.readableNioBuffers(buf); in readableNioBuffers_worksWithNormal()
74 try (BufUnwrapper unwrapper = new BufUnwrapper()) { in readableNioBuffers_worksWithComposite() argument
75 ByteBuffer[] internalBufs = unwrapper.readableNioBuffers(buf); in readableNioBuffers_worksWithComposite()
90 try (BufUnwrapper unwrapper = new BufUnwrapper()) { in writableNioBuffers_indexesPreserved() argument
91 ByteBuffer[] internalBufs = unwrapper.writableNioBuffers(buf); in writableNioBuffers_indexesPreserved()
[all …]
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DNettyTsiHandshaker.java32 private BufUnwrapper unwrapper = new BufUnwrapper(); field in NettyTsiHandshaker
46 checkState(unwrapper != null, "protector already created"); in getBytesToSendToPeer()
47 try (BufUnwrapper unwrapper = this.unwrapper) { in getBytesToSendToPeer() argument
50 for (ByteBuffer nioBuffer : unwrapper.writableNioBuffers(out)) { in getBytesToSendToPeer()
78 checkState(unwrapper != null, "protector already created"); in processBytesFromPeer()
79 try (BufUnwrapper unwrapper = this.unwrapper) { in processBytesFromPeer() argument
82 for (ByteBuffer nioBuffer : unwrapper.readableNioBuffers(data)) { in processBytesFromPeer()
138 unwrapper = null; in createFrameProtector()
149 unwrapper = null; in createFrameProtector()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DAtomicReferenceSerializer.java29 NameTransformer unwrapper, in AtomicReferenceSerializer() argument
32 super(base, property, vts, valueSer, unwrapper, in AtomicReferenceSerializer()
39 NameTransformer unwrapper) in withResolved() argument
41 return new AtomicReferenceSerializer(this, prop, vts, valueSer, unwrapper, in withResolved()
DReferenceTypeSerializer.java114 NameTransformer unwrapper, in ReferenceTypeSerializer() argument
124 _unwrapper = unwrapper; in ReferenceTypeSerializer()
140 NameTransformer unwrapper = (_unwrapper == null) ? transformer in unwrappingSerializer() local
142 if ((_valueSerializer == valueSer) && (_unwrapper == unwrapper)) { in unwrappingSerializer()
145 return withResolved(_property, _valueTypeSerializer, valueSer, unwrapper); in unwrappingSerializer()
165 NameTransformer unwrapper); in withResolved() argument
DBeanSerializerBase.java302 protected BeanSerializerBase(BeanSerializerBase src, NameTransformer unwrapper) { in BeanSerializerBase() argument
303 this(src, rename(src._props, unwrapper), rename(src._filteredProps, unwrapper)); in BeanSerializerBase()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DThrowableDeserializer.java38 protected ThrowableDeserializer(BeanDeserializer src, NameTransformer unwrapper) { in ThrowableDeserializer() argument
39 super(src, unwrapper); in ThrowableDeserializer()
43 public JsonDeserializer<Object> unwrappingDeserializer(NameTransformer unwrapper) { in unwrappingDeserializer() argument
51 return new ThrowableDeserializer(this, unwrapper); in unwrappingDeserializer()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/
DBeanSerializer.java104 public JsonSerializer<Object> unwrappingSerializer(NameTransformer unwrapper) { in unwrappingSerializer() argument
105 return new UnwrappingBeanSerializer(this, unwrapper); in unwrappingSerializer()
DPropertyBuilder.java239 NameTransformer unwrapper = _annotationIntrospector.findUnwrappingNameTransformer(am); in buildWriter() local
240 if (unwrapper != null) { in buildWriter()
241 bpw = bpw.unwrappingWriter(unwrapper); in buildWriter()
DBeanPropertyWriter.java419 public BeanPropertyWriter unwrappingWriter(NameTransformer unwrapper) { in unwrappingWriter() argument
420 return new UnwrappingBeanPropertyWriter(this, unwrapper); in unwrappingWriter()
/external/yapf/yapf/yapflib/
Dpytree_unwrapper.py50 unwrapper = PyTreeUnwrapper()
51 unwrapper.Visit(tree)
52 uwlines = unwrapper.GetUnwrappedLines()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/
DUnwrappingBeanPropertyWriter.java42 public UnwrappingBeanPropertyWriter(BeanPropertyWriter base, NameTransformer unwrapper) { in UnwrappingBeanPropertyWriter() argument
44 _nameTransformer = unwrapper; in UnwrappingBeanPropertyWriter()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DBeanDeserializerBase.java286 protected BeanDeserializerBase(BeanDeserializerBase src, NameTransformer unwrapper) in BeanDeserializerBase() argument
298 _ignoreAllUnknown = (unwrapper != null) || src._ignoreAllUnknown; in BeanDeserializerBase()
307 if (unwrapper != null) { in BeanDeserializerBase()
310 uph = uph.renameAll(unwrapper); in BeanDeserializerBase()
313 _beanProperties = src._beanProperties.renameAll(unwrapper); in BeanDeserializerBase()
432 public abstract JsonDeserializer<Object> unwrappingDeserializer(NameTransformer unwrapper); in unwrappingDeserializer() argument
912 … NameTransformer unwrapper = ctxt.getAnnotationIntrospector().findUnwrappingNameTransformer(am); in _findPropertyUnwrapper() local
913 if (unwrapper != null) { in _findPropertyUnwrapper()
921 return unwrapper; in _findPropertyUnwrapper()
DBuilderBasedDeserializer.java109 protected BuilderBasedDeserializer(BuilderBasedDeserializer src, NameTransformer unwrapper) { in BuilderBasedDeserializer() argument
110 super(src, unwrapper); in BuilderBasedDeserializer()
138 public JsonDeserializer<Object> unwrappingDeserializer(NameTransformer unwrapper) in unwrappingDeserializer() argument
144 return new BuilderBasedDeserializer(this, unwrapper); in unwrappingDeserializer()
DBasicDeserializerFactory.java475 NameTransformer unwrapper = intr.findUnwrappingNameTransformer(param); in _addDeserializerConstructors() local
476 if (unwrapper != null) { in _addDeserializerConstructors()
617 … NameTransformer unwrapper = ctxt.getAnnotationIntrospector().findUnwrappingNameTransformer(param); in _addExplicitPropertyCreator() local
618 if (unwrapper != null) { in _addExplicitPropertyCreator()
865 NameTransformer unwrapper = intr.findUnwrappingNameTransformer(param); in _addDeserializerFactoryMethods() local
866 if (unwrapper != null) { in _addDeserializerFactoryMethods()
DBeanDeserializer.java99 protected BeanDeserializer(BeanDeserializerBase src, NameTransformer unwrapper) { in BeanDeserializer() argument
100 super(src, unwrapper); in BeanDeserializer()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/impl/
DBeanAsArrayBuilderDeserializer.java64 public JsonDeserializer<Object> unwrappingDeserializer(NameTransformer unwrapper) in unwrappingDeserializer() argument
70 return _delegate.unwrappingDeserializer(unwrapper); in unwrappingDeserializer()
DBeanAsArrayDeserializer.java54 public JsonDeserializer<Object> unwrappingDeserializer(NameTransformer unwrapper) in unwrappingDeserializer() argument
60 return _delegate.unwrappingDeserializer(unwrapper); in unwrappingDeserializer()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DJsonSerializer.java76 public JsonSerializer<T> unwrappingSerializer(NameTransformer unwrapper) { in unwrappingSerializer() argument
DJsonDeserializer.java186 public JsonDeserializer<T> unwrappingDeserializer(NameTransformer unwrapper) { in unwrappingDeserializer() argument
/external/webrtc/modules/audio_coding/neteq/tools/
Dneteq_delay_analyzer.cc147 TimestampUnwrapper unwrapper; in CreateGraphs() local
152 static_cast<double>(unwrapper.Unwrap(d.first)) / in CreateGraphs()
/external/rust/crates/structopt-derive/src/
Dlib.rs275 let unwrapper = match **ty { in gen_constructor() localVariable
282 #unwrapper in gen_constructor()
/external/webrtc/modules/video_coding/
Dpacket_buffer_unittest.cc365 SeqNumUnwrapper<uint16_t> unwrapper; in TEST_F() local
366 while (unwrapper.Unwrap(seq_num) < std::numeric_limits<uint16_t>::max()) { in TEST_F()
/external/webrtc/rtc_tools/rtc_event_log_visualizer/
Danalyzer.cc125 SeqNumUnwrapper<uint32_t> unwrapper; in EstimateRtpClockFrequency() local
127 unwrapper.Unwrap(packets[0].rtp.header.timestamp); in EstimateRtpClockFrequency()
134 last_rtp_timestamp = unwrapper.Unwrap(packets[i].rtp.header.timestamp); in EstimateRtpClockFrequency()