Searched refs:expected_size (Results 1 - 25 of 37) sorted by relevance

12

/external/v8/test/unittests/heap/
H A Dscavenge-job-unittest.cc31 size_t expected_size = ScavengeJob::kInitialScavengeSpeedInBytesPerMs * local
34 EXPECT_FALSE(ScavengeJob::ReachedIdleAllocationLimit(0, expected_size - 1,
36 EXPECT_TRUE(ScavengeJob::ReachedIdleAllocationLimit(0, expected_size,
51 size_t expected_size = local
58 kScavengeSpeedInBytesPerMs, expected_size - 1, kNewSpaceCapacity));
60 kScavengeSpeedInBytesPerMs, expected_size, kNewSpaceCapacity));
66 size_t expected_size = local
72 scavenge_speed, expected_size - 1, kNewSpaceCapacity));
74 scavenge_speed, expected_size, kNewSpaceCapacity));
/external/pdfium/core/src/fpdfapi/fpdf_parser/
H A Dfpdf_parser_decode_embeddertest.cpp30 unsigned int expected_size; member in struct:FlateEncodeCase
54 EXPECT_EQ(std::string((const char*)ptr->expected, ptr->expected_size),
66 unsigned int expected_size; member in struct:FlateDecodeCase
91 EXPECT_EQ(std::string((const char*)ptr->expected, ptr->expected_size),
/external/minijail/test/
H A Dlibminijail_test.cpp66 bool check_groups(size_t expected_size, gid_t *expected_list) { argument
72 if (expected_size != actual_size) {
74 << expected_size << ", actual " << actual_size;
78 for (size_t i = 0; i < expected_size; i++) {
/external/opencv3/3rdparty/libwebp/utils/
H A Dbit_writer.h38 // Initialize the object. Allocates some initial memory based on expected_size.
39 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size);
96 int VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size);
H A Dbit_writer.c159 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size) { argument
168 return (expected_size > 0) ? BitWriterResize(bw, expected_size) : 1;
227 int VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size) { argument
229 return VP8LBitWriterResize(bw, expected_size);
/external/curl/lib/
H A Dfile.c428 curl_off_t expected_size=0; local
454 expected_size = statbuf.st_size;
472 "Content-Length: %" CURL_FORMAT_CURL_OFF_T "\r\n", expected_size);
505 Curl_pgrsSetDownloadSize(data, expected_size);
523 if(data->state.resume_from <= expected_size)
524 expected_size -= data->state.resume_from;
532 expected_size = data->req.maxdownload;
534 if(fstated && (expected_size == 0))
542 Curl_pgrsSetDownloadSize(data, expected_size);
555 (expected_size < CURL_OFF_T_
[all...]
/external/webrtc/talk/media/base/
H A Dvideoframe.cc305 size_t expected_size = (w * expected_bpp + 7) / 8 * h; local
309 expected_size = ((w + 15) / 16) * ((h + 15) / 16) * 4 / 8;
316 << " expected: " << expected_size
325 if (sample_size < expected_size) {
331 << " expected: " << expected_size
344 << " expected: " << 2 * expected_size
354 size_t large_expected_size = expected_size * 2;
381 << " expected: " << expected_size
/external/google-breakpad/src/google_breakpad/processor/
H A Dminidump.h145 // expected_size should be set to the stream's length as contained in
147 // that implements MinidumpStream can compare expected_size to a
149 virtual bool Read(uint32_t expected_size) = 0;
174 bool Read(uint32_t expected_size);
513 bool Read(uint32_t expected_size);
568 bool Read(uint32_t expected_size);
621 bool Read(uint32_t expected_size);
659 bool Read(uint32_t expected_size);
714 bool Read(uint32_t expected_size);
846 bool Read(uint32_t expected_size);
[all...]
/external/webp/src/utils/
H A Dbit_writer.h38 // Initialize the object. Allocates some initial memory based on expected_size.
39 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size);
107 int VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size);
H A Dbit_writer.c162 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size) { argument
171 return (expected_size > 0) ? BitWriterResize(bw, expected_size) : 1;
237 int VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size) { argument
239 return VP8LBitWriterResize(bw, expected_size);
/external/google-breakpad/src/processor/
H A Dminidump.cc422 bool MinidumpContext::Read(uint32_t expected_size) { argument
447 if (expected_size == sizeof(MDRawContextAMD64)) {
549 } else if (expected_size == sizeof(MDRawContextPPC64)) {
643 } else if (expected_size == sizeof(MDRawContextARM64)) {
765 if (expected_size != sizeof(MDRawContextX86)) {
767 expected_size << " != " << sizeof(MDRawContextX86);
838 if (expected_size != sizeof(MDRawContextPPC)) {
840 expected_size << " != " << sizeof(MDRawContextPPC);
914 if (expected_size != sizeof(MDRawContextSPARC)) {
916 expected_size << " !
1552 Read(uint32_t expected_size) argument
2444 Read(uint32_t expected_size) argument
2702 Read(uint32_t expected_size) argument
2901 Read(uint32_t expected_size) argument
3045 Read(uint32_t expected_size) argument
3119 Read(uint32_t expected_size) argument
3401 Read(uint32_t expected_size) argument
3616 Read(uint32_t expected_size) argument
3809 Read(uint32_t expected_size) argument
[all...]
/external/protobuf/python/google/protobuf/internal/
H A Dwire_format_test.py106 expected_size = expected_value_size + tag_bytes
108 self.assertEqual(expected_size, actual_size,
111 byte_size_fn, field_number, value, expected_size, actual_size))
/external/webrtc/webrtc/modules/audio_coding/neteq/
H A Dnack_unittest.cc407 size_t expected_size = num_lost_packets - kNackThreshold; local
410 EXPECT_EQ(expected_size, nack_list.size());
413 expected_size = kNackListSize - kNackThreshold;
417 expected_size));
429 expected_size));
437 --expected_size;
441 expected_size));
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/
H A DCertificateFactory_ImplTest.java421 int expected_size = (sequences[i][0] < 0)
447 if (expected_size == error) { // exception throwing test
458 expected_size, crls.size());
521 int expected_size = (sequences[i][0] < 0)
547 if (expected_size == error) { // exception throwing test
558 expected_size, certs.size());
/external/v8/test/cctest/heap/
H A Dtest-lab.cc27 std::vector<intptr_t> expected_size) {
34 CHECK_LT(counter, expected_size.size());
35 CHECK_EQ(expected_size[counter], object->Size());
25 VerifyIterable(v8::internal::Address base, v8::internal::Address limit, std::vector<intptr_t> expected_size) argument
/external/libbrillo/brillo/streams/
H A Dfake_stream.cc104 packet.expected_size = data_size;
119 packet.expected_size = data.size();
137 packet.expected_size = 0;
256 max_output_buffer_size_ = packet.expected_size;
H A Dfake_stream.h126 size_t expected_size{0}; // Output packet size
/external/libchrome/crypto/
H A Drsa_private_key.cc224 size_t expected_size,
230 int pad = expected_size - temp.size();
232 if (out->size() == expected_size + 1) {
237 READ_ASSERT(out->size() <= expected_size);
221 ReadIntegerWithExpectedSize( uint8_t** pos, uint8_t* end, size_t expected_size, std::vector<uint8_t>* out) argument
H A Drsa_private_key.h100 size_t expected_size,
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_bitvector_test.cc77 void TestBitVector(uptr expected_size) { argument
79 EXPECT_EQ(expected_size, BV::kSize);
/external/vboot_reference/firmware/lib/
H A Dvboot_api_kernel.c644 int expected_size; local
781 &expected, &expected_size);
789 expected_size));
792 internal_SHA256(expected, expected_size, expected_hash);
870 rv = VbExEcUpdateRW(devidx, expected, expected_size);
/external/opencv3/3rdparty/libwebp/enc/
H A Dalpha.c112 size_t expected_size; local
122 expected_size =
128 VP8BitWriterInit(bw, expected_size);
/external/v8/test/cctest/compiler/
H A Dtest-run-native-calls.cc1095 int expected_size = 0; local
1112 if (i == which) memcpy(bytes, value, expected_size = 4);
1117 if (i == which) memcpy(bytes, value, expected_size = 8);
1122 if (i == which) memcpy(bytes, value, expected_size = 4);
1127 if (i == which) memcpy(bytes, value, expected_size = 8);
1147 for (int i = 0; i < expected_size; i++) {
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
H A Dtransport_feedback_unittest.cc37 void WithExpectedSize(size_t expected_size) { argument
38 expected_size_ = expected_size;
/external/webrtc/webrtc/modules/rtp_rtcp/source/
H A Drtp_format_vp8_unittest.cc21 #define CHECK_ARRAY_SIZE(expected_size, array) \
22 static_assert(expected_size == sizeof(array) / sizeof(array[0]), \

Completed in 810 milliseconds

12