/external/harfbuzz_ng/src/ |
D | hb-ot-shaper-vowel-constraints.cc | 24 _output_dotted_circle (hb_buffer_t *buffer) in _output_dotted_circle() argument 26 (void) buffer->output_glyph (0x25CCu); in _output_dotted_circle() 27 _hb_glyph_info_reset_continuation (&buffer->prev()); in _output_dotted_circle() 31 _output_with_dotted_circle (hb_buffer_t *buffer) in _output_with_dotted_circle() argument 33 _output_dotted_circle (buffer); in _output_with_dotted_circle() 34 (void) buffer->next_glyph (); in _output_with_dotted_circle() 39 hb_buffer_t *buffer, in _hb_preprocess_text_vowel_constraints() argument 45 if (buffer->flags & HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE) in _hb_preprocess_text_vowel_constraints() 54 buffer->clear_output (); in _hb_preprocess_text_vowel_constraints() 55 unsigned int count = buffer->len; in _hb_preprocess_text_vowel_constraints() [all …]
|
D | hb-ot-shape-normalize.cc | 102 output_char (hb_buffer_t *buffer, hb_codepoint_t unichar, hb_codepoint_t glyph) in output_char() argument 105 buffer->cur().glyph_index() = glyph; in output_char() 106 (void) buffer->output_glyph (unichar); in output_char() 107 _hb_glyph_info_set_unicode_props (&buffer->prev(), buffer); in output_char() 111 next_char (hb_buffer_t *buffer, hb_codepoint_t glyph) in next_char() argument 113 buffer->cur().glyph_index() = glyph; in next_char() 114 (void) buffer->next_glyph (); in next_char() 118 skip_char (hb_buffer_t *buffer) in skip_char() argument 120 buffer->skip_glyph (); in skip_char() 128 hb_buffer_t * const buffer = c->buffer; in decompose() local [all …]
|
/external/webrtc/modules/audio_processing/agc2/ |
D | speech_probability_buffer_unittest.cc | 28 SpeechProbabilityBuffer buffer(kLowProbabilityThreshold); in TEST() local 30 EXPECT_EQ(buffer.GetSumProbabilities(), 0.0f); in TEST() 34 SpeechProbabilityBuffer buffer(kLowProbabilityThreshold); in TEST() local 36 buffer.Update(0.7f); in TEST() 38 EXPECT_NEAR(buffer.GetSumProbabilities(), 0.7f, kAbsError); in TEST() 40 buffer.Update(0.6f); in TEST() 42 EXPECT_NEAR(buffer.GetSumProbabilities(), 1.3f, kAbsError); in TEST() 45 buffer.Update(1.0f); in TEST() 48 EXPECT_NEAR(buffer.GetSumProbabilities(), 99.6f, kAbsError); in TEST() 52 SpeechProbabilityBuffer buffer(kLowProbabilityThreshold); in TEST() local [all …]
|
/external/pdfium/core/fxcodec/jpx/ |
D | jpx_unittest.cpp | 27 uint8_t buffer[16]; in TEST() local 31 EXPECT_EQ(kReadError, opj_read_from_memory(buffer, sizeof(buffer), ptr)); in TEST() 38 uint8_t buffer[16]; in TEST() local 41 memset(buffer, 0xbd, sizeof(buffer)); in TEST() 42 EXPECT_EQ(kReadError, opj_read_from_memory(buffer, 0, &dd)); in TEST() 43 EXPECT_EQ(0xbd, buffer[0]); in TEST() 46 memset(buffer, 0xbd, sizeof(buffer)); in TEST() 47 EXPECT_EQ(kReadError, opj_read_from_memory(buffer, sizeof(buffer), &dd)); in TEST() 48 EXPECT_EQ(0xbd, buffer[0]); in TEST() 65 uint8_t buffer[16]; in TEST() local [all …]
|
/external/double-conversion/test/cctest/ |
D | test-fixed-dtoa.cc | 43 Vector<char> buffer(buffer_container, kBufferSize); in TEST() local 47 CHECK(FastFixedDtoa(1.0, 1, buffer, &length, &point)); in TEST() 48 CHECK_EQ("1", buffer.start()); in TEST() 51 CHECK(FastFixedDtoa(1.0, 15, buffer, &length, &point)); in TEST() 52 CHECK_EQ("1", buffer.start()); in TEST() 55 CHECK(FastFixedDtoa(1.0, 0, buffer, &length, &point)); in TEST() 56 CHECK_EQ("1", buffer.start()); in TEST() 59 CHECK(FastFixedDtoa(0xFFFFFFFF, 5, buffer, &length, &point)); in TEST() 60 CHECK_EQ("4294967295", buffer.start()); in TEST() 63 CHECK(FastFixedDtoa(4294967296.0, 5, buffer, &length, &point)); in TEST() [all …]
|
D | test-bignum.cc | 54 char buffer[kBufferSize]; in TEST() local 58 CHECK(bignum.ToHexString(buffer, kBufferSize)); in TEST() 59 CHECK_EQ("0", buffer); in TEST() 61 CHECK(bignum.ToHexString(buffer, kBufferSize)); in TEST() 62 CHECK_EQ("A", buffer); in TEST() 64 CHECK(bignum.ToHexString(buffer, kBufferSize)); in TEST() 65 CHECK_EQ("20", buffer); in TEST() 69 CHECK(bignum.ToHexString(buffer, kBufferSize)); in TEST() 70 CHECK_EQ("0", buffer); in TEST() 72 CHECK(bignum.ToHexString(buffer, kBufferSize)); in TEST() [all …]
|
D | test-bignum-dtoa.cc | 60 Vector<char> buffer(buffer_container, kBufferSize); in TEST() local 64 BignumDtoa(1.0, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point); in TEST() 65 CHECK_EQ("1", buffer.start()); in TEST() 68 BignumDtoa(1.0, BIGNUM_DTOA_FIXED, 3, buffer, &length, &point); in TEST() 70 TrimRepresentation(buffer); in TEST() 71 CHECK_EQ("1", buffer.start()); in TEST() 74 BignumDtoa(1.0, BIGNUM_DTOA_PRECISION, 3, buffer, &length, &point); in TEST() 76 TrimRepresentation(buffer); in TEST() 77 CHECK_EQ("1", buffer.start()); in TEST() 80 BignumDtoa(1.5, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point); in TEST() [all …]
|
D | test-dtoa.cc | 51 Vector<char> buffer, bool* sign, int* length, in DoubleToAscii() argument 63 buffer.start(), buffer.length(), in DoubleToAscii() 83 Vector<char> buffer(buffer_container, kBufferSize); in TEST() local 88 DoubleToAscii(0.0, SHORTEST, 0, buffer, &sign, &length, &point); in TEST() 89 CHECK_EQ("0", buffer.start()); in TEST() 92 DoubleToAscii(0.0f, SHORTEST_SINGLE, 0, buffer, &sign, &length, &point); in TEST() 93 CHECK_EQ("0", buffer.start()); in TEST() 96 DoubleToAscii(0.0, FIXED, 2, buffer, &sign, &length, &point); in TEST() 98 CHECK_EQ("0", buffer.start()); in TEST() 101 DoubleToAscii(0.0, PRECISION, 3, buffer, &sign, &length, &point); in TEST() [all …]
|
/external/libcxx/src/ |
D | charconv.cpp | 36 append1(char* buffer, T i) in append1() argument 38 *buffer = '0' + static_cast<char>(i); in append1() 39 return buffer + 1; in append1() 44 append2(char* buffer, T i) in append2() argument 46 memcpy(buffer, &cDigitsLut[(i)*2], 2); in append2() 47 return buffer + 2; in append2() 52 append3(char* buffer, T i) in append3() argument 54 return append2(append1(buffer, (i) / 100), (i) % 100); in append3() 59 append4(char* buffer, T i) in append4() argument 61 return append2(append2(buffer, (i) / 100), (i) % 100); in append4() [all …]
|
/external/cronet/net/third_party/quiche/src/quiche/balsa/ |
D | simple_buffer_test.cc | 33 static char* storage(SimpleBuffer& buffer) { return buffer.storage_; } in storage() argument 34 static int write_idx(SimpleBuffer& buffer) { return buffer.write_idx_; } in write_idx() argument 35 static int read_idx(SimpleBuffer& buffer) { return buffer.read_idx_; } in read_idx() argument 36 static int storage_size(SimpleBuffer& buffer) { return buffer.storage_size_; } in storage_size() argument 51 SimpleBuffer buffer(0); in TEST_F() local 52 EXPECT_EQ(0, storage_size(buffer)); in TEST_F() 53 EXPECT_EQ(4, buffer.Write(ibuf, 4)); in TEST_F() 54 EXPECT_EQ(4, write_idx(buffer)); in TEST_F() 55 EXPECT_EQ(kMinimumSimpleBufferSize, storage_size(buffer)); in TEST_F() 56 EXPECT_EQ(4, buffer.ReadableBytes()); in TEST_F() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/format/format.formatter/format.formatter.spec/ |
D | formatter.floating_point.pass.cpp | 64 std::array<char, 128> buffer; in test() local 65 expected.append(buffer.begin(), std::to_chars(buffer.begin(), buffer.end(), arg).ptr); in test() 88 std::array<char, 25'000> buffer; in test_hex_lower_case_precision() local 89 …char* end = std::to_chars(buffer.begin(), buffer.end(), value, std::chars_format::hex, 20'000).ptr; in test_hex_lower_case_precision() 90 test_termination_condition(STR(".20000a}"), value, std::basic_string<CharT>{buffer.begin(), end}); in test_hex_lower_case_precision() 92 std::size_t size = buffer.end() - end; in test_hex_lower_case_precision() 94 …n_condition(STR("#<25000.20000a}"), value, std::basic_string<CharT>{buffer.begin(), buffer.end()}); in test_hex_lower_case_precision() 95 std::rotate(buffer.begin(), buffer.end() - (size / 2), buffer.end()); in test_hex_lower_case_precision() 96 …n_condition(STR("#^25000.20000a}"), value, std::basic_string<CharT>{buffer.begin(), buffer.end()}); in test_hex_lower_case_precision() 97 std::rotate(buffer.begin(), buffer.end() - ((size + 1) / 2), buffer.end()); in test_hex_lower_case_precision() [all …]
|
/external/pdfium/core/fxcrt/ |
D | binary_buffer_unittest.cpp | 16 BinaryBuffer buffer; in TEST() local 17 EXPECT_TRUE(buffer.IsEmpty()); in TEST() 18 EXPECT_EQ(0u, buffer.GetSize()); in TEST() 19 EXPECT_EQ(0u, buffer.GetLength()); in TEST() 20 EXPECT_TRUE(buffer.GetSpan().empty()); in TEST() 24 BinaryBuffer buffer; in TEST() local 25 buffer.AppendUint8(65u); in TEST() 27 BinaryBuffer buffer2(std::move(buffer)); in TEST() 29 EXPECT_TRUE(buffer.IsEmpty()); in TEST() 30 EXPECT_EQ(0u, buffer.GetSize()); in TEST() [all …]
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/ |
D | TableMarshalDefines.h | 612 #define UINT8_Unmarshal(target, buffer, size) \ argument 613 Unmarshal(UINT8_MARSHAL_REF, (target), (buffer), (size)) 614 #define UINT8_Marshal(source, buffer, size) \ argument 615 Marshal(UINT8_MARSHAL_REF, (source), (buffer), (size)) 616 #define BYTE_Unmarshal(target, buffer, size) \ argument 617 Unmarshal(UINT8_MARSHAL_REF, (target), (buffer), (size)) 618 #define BYTE_Marshal(source, buffer, size) \ argument 619 Marshal(UINT8_MARSHAL_REF, (source), (buffer), (size)) 620 #define INT8_Unmarshal(target, buffer, size) \ argument 621 Unmarshal(INT8_MARSHAL_REF, (target), (buffer), (size)) [all …]
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
D | hmm-tests.c | 126 struct hmm_buffer *buffer, in hmm_dmirror_cmd() argument 133 cmd.addr = (__u64)buffer->ptr; in hmm_dmirror_cmd() 134 cmd.ptr = (__u64)buffer->mirror; in hmm_dmirror_cmd() 145 buffer->cpages = cmd.cpages; in hmm_dmirror_cmd() 146 buffer->faults = cmd.faults; in hmm_dmirror_cmd() 151 static void hmm_buffer_free(struct hmm_buffer *buffer) in hmm_buffer_free() argument 153 if (buffer == NULL) in hmm_buffer_free() 156 if (buffer->ptr) in hmm_buffer_free() 157 munmap(buffer->ptr, buffer->size); in hmm_buffer_free() 158 free(buffer->mirror); in hmm_buffer_free() [all …]
|
/external/cronet/net/server/ |
D | http_connection_unittest.cc | 25 scoped_refptr<HttpConnection::ReadIOBuffer> buffer = in TEST() local 28 buffer->GetCapacity()); in TEST() 30 buffer->RemainingCapacity()); in TEST() 31 EXPECT_EQ(0, buffer->GetSize()); in TEST() 34 buffer->SetCapacity(kNewCapacity); in TEST() 35 EXPECT_EQ(kNewCapacity, buffer->GetCapacity()); in TEST() 36 EXPECT_EQ(kNewCapacity, buffer->RemainingCapacity()); in TEST() 37 EXPECT_EQ(0, buffer->GetSize()); in TEST() 41 scoped_refptr<HttpConnection::ReadIOBuffer> buffer = in TEST() local 44 buffer->GetCapacity()); in TEST() [all …]
|
/external/mbedtls/programs/psa/ |
D | psa_constant_names_generated.c | 90 static int psa_snprint_key_type(char *buffer, size_t buffer_size, in psa_snprint_key_type() argument 95 …case PSA_KEY_TYPE_AES: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_AES", 16); break; in psa_snprint_key_type() 96 …case PSA_KEY_TYPE_ARIA: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_ARIA", 17); bre… in psa_snprint_key_type() 97 …case PSA_KEY_TYPE_CAMELLIA: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CAMELLIA", … in psa_snprint_key_type() 98 …case PSA_KEY_TYPE_CATEGORY_FLAG_PAIR: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_C… in psa_snprint_key_type() 99 …case PSA_KEY_TYPE_CATEGORY_KEY_PAIR: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CA… in psa_snprint_key_type() 100 …case PSA_KEY_TYPE_CATEGORY_PUBLIC_KEY: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_… in psa_snprint_key_type() 101 …case PSA_KEY_TYPE_CATEGORY_RAW: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CATEGOR… in psa_snprint_key_type() 102 …case PSA_KEY_TYPE_CATEGORY_SYMMETRIC: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_C… in psa_snprint_key_type() 103 …case PSA_KEY_TYPE_CHACHA20: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CHACHA20", … in psa_snprint_key_type() [all …]
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/ |
D | Marshal_fp.h | 46 UINT8_Unmarshal(UINT8 *target, BYTE **buffer, INT32 *size); 48 UINT8_Marshal(UINT8 *source, BYTE **buffer, INT32 *size); 53 BYTE_Unmarshal(BYTE *target, BYTE **buffer, INT32 *size); 55 #define BYTE_Unmarshal(target, buffer, size) \ argument 56 UINT8_Unmarshal((UINT8 *)(target), (buffer), (size)) 60 BYTE_Marshal(BYTE *source, BYTE **buffer, INT32 *size); 62 #define BYTE_Marshal(source, buffer, size) \ argument 63 UINT8_Marshal((UINT8 *)(source), (buffer), (size)) 69 INT8_Unmarshal(INT8 *target, BYTE **buffer, INT32 *size); 71 #define INT8_Unmarshal(target, buffer, size) \ argument [all …]
|
/external/openthread/third_party/mbedtls/repo/programs/psa/ |
D | psa_constant_names_generated.c | 92 static int psa_snprint_key_type(char *buffer, size_t buffer_size, in psa_snprint_key_type() argument 97 …case PSA_KEY_TYPE_AES: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_AES", 16); break; in psa_snprint_key_type() 98 …case PSA_KEY_TYPE_ARC4: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_ARC4", 17); bre… in psa_snprint_key_type() 99 …case PSA_KEY_TYPE_ARIA: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_ARIA", 17); bre… in psa_snprint_key_type() 100 …case PSA_KEY_TYPE_CAMELLIA: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CAMELLIA", … in psa_snprint_key_type() 101 …case PSA_KEY_TYPE_CATEGORY_FLAG_PAIR: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_C… in psa_snprint_key_type() 102 …case PSA_KEY_TYPE_CATEGORY_KEY_PAIR: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CA… in psa_snprint_key_type() 103 …case PSA_KEY_TYPE_CATEGORY_PUBLIC_KEY: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_… in psa_snprint_key_type() 104 …case PSA_KEY_TYPE_CATEGORY_RAW: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CATEGOR… in psa_snprint_key_type() 105 …case PSA_KEY_TYPE_CATEGORY_SYMMETRIC: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_C… in psa_snprint_key_type() [all …]
|
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/builder/ |
D | ToStringStyle.java | 360 public void appendSuper(final StringBuffer buffer, final String superToString) { in appendSuper() argument 361 appendToString(buffer, superToString); in appendSuper() 374 public void appendToString(final StringBuffer buffer, final String toString) { in appendToString() argument 380 removeLastFieldSeparator(buffer); in appendToString() 382 buffer.append(toString, pos1, pos2); in appendToString() 383 appendFieldSeparator(buffer); in appendToString() 394 public void appendStart(final StringBuffer buffer, final Object object) { in appendStart() argument 396 appendClassName(buffer, object); in appendStart() 397 appendIdentityHashCode(buffer, object); in appendStart() 398 appendContentStart(buffer); in appendStart() [all …]
|
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | WritingPrimitives.cs | 65 … public static void WriteDouble(ref Span<byte> buffer, ref WriterInternalState state, double value) in WriteDouble() argument 67 … WriteRawLittleEndian64(ref buffer, ref state, (ulong)BitConverter.DoubleToInt64Bits(value)); in WriteDouble() 73 …public static unsafe void WriteFloat(ref Span<byte> buffer, ref WriterInternalState state, float v… in WriteFloat() argument 76 if (buffer.Length - state.position >= length) in WriteFloat() 79 var floatSpan = buffer.Slice(state.position, length); in WriteFloat() 90 WriteFloatSlowPath(ref buffer, ref state, value); in WriteFloat() 95 …private static unsafe void WriteFloatSlowPath(ref Span<byte> buffer, ref WriterInternalState state… in WriteFloatSlowPath() argument 107 WriteRawByte(ref buffer, ref state, floatSpan[0]); in WriteFloatSlowPath() 108 WriteRawByte(ref buffer, ref state, floatSpan[1]); in WriteFloatSlowPath() 109 WriteRawByte(ref buffer, ref state, floatSpan[2]); in WriteFloatSlowPath() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | WritingPrimitives.cs | 65 … public static void WriteDouble(ref Span<byte> buffer, ref WriterInternalState state, double value) in WriteDouble() argument 67 … WriteRawLittleEndian64(ref buffer, ref state, (ulong)BitConverter.DoubleToInt64Bits(value)); in WriteDouble() 73 …public static unsafe void WriteFloat(ref Span<byte> buffer, ref WriterInternalState state, float v… in WriteFloat() argument 76 if (buffer.Length - state.position >= length) in WriteFloat() 79 var floatSpan = buffer.Slice(state.position, length); in WriteFloat() 90 WriteFloatSlowPath(ref buffer, ref state, value); in WriteFloat() 95 …private static unsafe void WriteFloatSlowPath(ref Span<byte> buffer, ref WriterInternalState state… in WriteFloatSlowPath() argument 107 WriteRawByte(ref buffer, ref state, floatSpan[0]); in WriteFloatSlowPath() 108 WriteRawByte(ref buffer, ref state, floatSpan[1]); in WriteFloatSlowPath() 109 WriteRawByte(ref buffer, ref state, floatSpan[2]); in WriteFloatSlowPath() [all …]
|
/external/pigweed/pw_string/ |
D | to_string_test.cc | 43 StatusWithSize ToString(const CustomType&, span<char> buffer) { in ToString() argument 45 std::snprintf(buffer.data(), buffer.size(), CustomType::kToString); in ToString() 49 if (static_cast<size_t>(result) < buffer.size()) { in ToString() 52 return StatusWithSize::ResourceExhausted(buffer.empty() ? 0u in ToString() 53 : buffer.size() - 1); in ToString() 58 char buffer[128] = {}; variable 63 EXPECT_EQ(4u, ToString(b, buffer).size()); in TEST() 64 EXPECT_STREQ("true", buffer); in TEST() 65 EXPECT_EQ(5u, ToString(false, buffer).size()); in TEST() 66 EXPECT_STREQ("false", buffer); in TEST() [all …]
|
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | common_header_unittest.cc | 20 uint8_t buffer[] = {0x80, 0x00, 0x00, 0x00}; in TEST() local 23 EXPECT_FALSE(header.Parse(buffer, 0)); in TEST() 24 EXPECT_FALSE(header.Parse(buffer, 1)); in TEST() 25 EXPECT_FALSE(header.Parse(buffer, 2)); in TEST() 26 EXPECT_FALSE(header.Parse(buffer, 3)); in TEST() 27 EXPECT_TRUE(header.Parse(buffer, 4)); in TEST() 31 uint8_t buffer[] = {0x00, 0x00, 0x00, 0x00}; in TEST() local 34 buffer[0] = 0 << 6; in TEST() 35 EXPECT_FALSE(header.Parse(buffer, sizeof(buffer))); in TEST() 36 buffer[0] = 1 << 6; in TEST() [all …]
|
/external/ImageMagick/coders/ |
D | bytebuffer-private.h | 35 static inline int ReadMagickByteBuffer(MagickByteBuffer *buffer) in ReadMagickByteBuffer() argument 37 if ((buffer->offset == buffer->count) && (buffer->offset > 0)) in ReadMagickByteBuffer() 39 if (buffer->count != (ssize_t) sizeof(buffer->data)-1) in ReadMagickByteBuffer() 41 buffer->offset=0; in ReadMagickByteBuffer() 42 buffer->count=0; in ReadMagickByteBuffer() 44 if ((buffer->offset == 0) && (buffer->count == 0)) in ReadMagickByteBuffer() 46 buffer->count=ReadBlob(buffer->image,sizeof(buffer->data)-1, in ReadMagickByteBuffer() 47 buffer->data); in ReadMagickByteBuffer() 48 if (buffer->count < 1) in ReadMagickByteBuffer() 51 return(buffer->data[buffer->offset++]); in ReadMagickByteBuffer() [all …]
|
/external/webrtc/api/video/ |
D | frame_buffer_unittest.cc | 34 FrameBuffer buffer(/*max_frame_slots=*/10, /*max_decode_history=*/100, in TEST() local 37 EXPECT_FALSE(buffer.InsertFrame( in TEST() 39 EXPECT_THAT(buffer.LastContinuousFrameId(), Eq(absl::nullopt)); in TEST() 42 EXPECT_TRUE(buffer.InsertFrame( in TEST() 44 EXPECT_FALSE(buffer.InsertFrame( in TEST() 46 EXPECT_THAT(buffer.LastContinuousFrameId(), Eq(1)); in TEST() 51 FrameBuffer buffer(/*max_frame_slots=*/10, /*max_decode_history=*/100, in TEST() local 53 EXPECT_THAT(buffer.LastContinuousFrameId(), Eq(absl::nullopt)); in TEST() 54 EXPECT_THAT(buffer.LastContinuousTemporalUnitFrameId(), Eq(absl::nullopt)); in TEST() 57 buffer.InsertFrame(test::FakeFrameBuilder().Time(10).Id(1).Build())); in TEST() [all …]
|