Home
last modified time | relevance | path

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

12

/external/v8/test/unittests/heap/
Dscavenge-job-unittest.cc31 size_t expected_size = ScavengeJob::kInitialScavengeSpeedInBytesPerMs * in TEST() local
34 EXPECT_FALSE(ScavengeJob::ReachedIdleAllocationLimit(0, expected_size - 1, in TEST()
36 EXPECT_TRUE(ScavengeJob::ReachedIdleAllocationLimit(0, expected_size, in TEST()
51 size_t expected_size = in TEST() local
58 kScavengeSpeedInBytesPerMs, expected_size - 1, kNewSpaceCapacity)); in TEST()
60 kScavengeSpeedInBytesPerMs, expected_size, kNewSpaceCapacity)); in TEST()
66 size_t expected_size = in TEST() local
72 scavenge_speed, expected_size - 1, kNewSpaceCapacity)); in TEST()
74 scavenge_speed, expected_size, kNewSpaceCapacity)); in TEST()
/external/curl/lib/
Dfile.c428 curl_off_t expected_size=0; in file_do() local
454 expected_size = statbuf.st_size; in file_do()
472 "Content-Length: %" CURL_FORMAT_CURL_OFF_T "\r\n", expected_size); in file_do()
505 Curl_pgrsSetDownloadSize(data, expected_size); in file_do()
523 if(data->state.resume_from <= expected_size) in file_do()
524 expected_size -= data->state.resume_from; in file_do()
532 expected_size = data->req.maxdownload; in file_do()
534 if(fstated && (expected_size == 0)) in file_do()
542 Curl_pgrsSetDownloadSize(data, expected_size); in file_do()
555 (expected_size < CURL_OFF_T_C(BUFSIZE) - CURL_OFF_T_C(1)) ? in file_do()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_decode_embeddertest.cpp30 unsigned int expected_size; in TEST_F() member
54 EXPECT_EQ(std::string((const char*)ptr->expected, ptr->expected_size), in TEST_F()
66 unsigned int expected_size; in TEST_F() member
91 EXPECT_EQ(std::string((const char*)ptr->expected, ptr->expected_size), in TEST_F()
/external/webrtc/talk/media/base/
Dvideoframe.cc305 size_t expected_size = (w * expected_bpp + 7) / 8 * h; in Validate() local
309 expected_size = ((w + 15) / 16) * ((h + 15) / 16) * 4 / 8; in Validate()
316 << " expected: " << expected_size in Validate()
325 if (sample_size < expected_size) { in Validate()
331 << " expected: " << expected_size in Validate()
344 << " expected: " << 2 * expected_size in Validate()
354 size_t large_expected_size = expected_size * 2; in Validate()
381 << " expected: " << expected_size in Validate()
/external/google-breakpad/src/processor/
Dminidump.cc422 bool MinidumpContext::Read(uint32_t expected_size) { in Read() argument
447 if (expected_size == sizeof(MDRawContextAMD64)) { in Read()
549 } else if (expected_size == sizeof(MDRawContextPPC64)) { in Read()
643 } else if (expected_size == sizeof(MDRawContextARM64)) { in Read()
765 if (expected_size != sizeof(MDRawContextX86)) { in Read()
767 expected_size << " != " << sizeof(MDRawContextX86); in Read()
838 if (expected_size != sizeof(MDRawContextPPC)) { in Read()
840 expected_size << " != " << sizeof(MDRawContextPPC); in Read()
914 if (expected_size != sizeof(MDRawContextSPARC)) { in Read()
916 expected_size << " != " << sizeof(MDRawContextSPARC); in Read()
[all …]
/external/minijail/test/
Dlibminijail_test.cpp66 bool check_groups(size_t expected_size, gid_t *expected_list) { in check_groups() argument
72 if (expected_size != actual_size) { in check_groups()
74 << expected_size << ", actual " << actual_size; in check_groups()
78 for (size_t i = 0; i < expected_size; i++) { in check_groups()
/external/opencv3/3rdparty/libwebp/utils/
Dbit_writer.c159 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size) { in VP8BitWriterInit() argument
168 return (expected_size > 0) ? BitWriterResize(bw, expected_size) : 1; in VP8BitWriterInit()
227 int VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size) { in VP8LBitWriterInit() argument
229 return VP8LBitWriterResize(bw, expected_size); in VP8LBitWriterInit()
Dbit_writer.h39 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size);
96 int VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size);
/external/google-breakpad/src/google_breakpad/processor/
Dminidump.h149 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);
/external/webp/src/utils/
Dbit_writer.c162 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size) { in VP8BitWriterInit() argument
171 return (expected_size > 0) ? BitWriterResize(bw, expected_size) : 1; in VP8BitWriterInit()
237 int VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size) { in VP8LBitWriterInit() argument
239 return VP8LBitWriterResize(bw, expected_size); in VP8LBitWriterInit()
Dbit_writer.h39 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size);
107 int VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size);
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dnack_unittest.cc407 size_t expected_size = num_lost_packets - kNackThreshold; in TEST() local
410 EXPECT_EQ(expected_size, nack_list.size()); in TEST()
413 expected_size = kNackListSize - kNackThreshold; in TEST()
417 expected_size)); in TEST()
429 expected_size)); in TEST()
437 --expected_size; in TEST()
441 expected_size)); in TEST()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/
DCertificateFactory_ImplTest.java421 int expected_size = (sequences[i][0] < 0) in testGenerateBase64CRLs() local
447 if (expected_size == error) { // exception throwing test in testGenerateBase64CRLs()
458 expected_size, crls.size()); in testGenerateBase64CRLs()
521 int expected_size = (sequences[i][0] < 0) in testGenerateBase64Certificates() local
547 if (expected_size == error) { // exception throwing test in testGenerateBase64Certificates()
558 expected_size, certs.size()); in testGenerateBase64Certificates()
/external/libchrome/crypto/
Drsa_private_key.cc224 size_t expected_size, in ReadIntegerWithExpectedSize() argument
230 int pad = expected_size - temp.size(); in ReadIntegerWithExpectedSize()
232 if (out->size() == expected_size + 1) { in ReadIntegerWithExpectedSize()
237 READ_ASSERT(out->size() <= expected_size); in ReadIntegerWithExpectedSize()
Drsa_private_key.h100 size_t expected_size,
/external/protobuf/python/google/protobuf/internal/
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/libbrillo/brillo/streams/
Dfake_stream.cc104 packet.expected_size = data_size; in ExpectWritePacketSize()
119 packet.expected_size = data.size(); in ExpectWritePacketData()
137 packet.expected_size = 0; in QueueWriteErrorWithMessage()
256 max_output_buffer_size_ = packet.expected_size; in PopWritePacket()
Dfake_stream.h126 size_t expected_size{0}; // Output packet size
/external/v8/test/cctest/heap/
Dtest-lab.cc27 std::vector<intptr_t> expected_size) { in VerifyIterable() argument
34 CHECK_LT(counter, expected_size.size()); in VerifyIterable()
35 CHECK_EQ(expected_size[counter], object->Size()); in VerifyIterable()
/external/vboot_reference/firmware/lib/
Dvboot_api_kernel.c644 int expected_size; in VbEcSoftwareSync() local
781 &expected, &expected_size); in VbEcSoftwareSync()
789 expected_size)); in VbEcSoftwareSync()
792 internal_SHA256(expected, expected_size, expected_hash); in VbEcSoftwareSync()
870 rv = VbExEcUpdateRW(devidx, expected, expected_size); in VbEcSoftwareSync()
/external/opencv3/3rdparty/libwebp/enc/
Dalpha.c112 size_t expected_size; in EncodeAlphaInternal() local
122 expected_size = in EncodeAlphaInternal()
128 VP8BitWriterInit(bw, expected_size); in EncodeAlphaInternal()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_bitvector_test.cc77 void TestBitVector(uptr expected_size) { in TestBitVector() argument
79 EXPECT_EQ(expected_size, BV::kSize); in TestBitVector()
/external/v8/test/cctest/compiler/
Dtest-run-native-calls.cc1095 int expected_size = 0; in MixedParamTest() local
1112 if (i == which) memcpy(bytes, value, expected_size = 4); in MixedParamTest()
1117 if (i == which) memcpy(bytes, value, expected_size = 8); in MixedParamTest()
1122 if (i == which) memcpy(bytes, value, expected_size = 4); in MixedParamTest()
1127 if (i == which) memcpy(bytes, value, expected_size = 8); in MixedParamTest()
1147 for (int i = 0; i < expected_size; i++) { in MixedParamTest()
/external/webrtc/webrtc/base/
Dsocket_unittest.cc963 const int expected_size = desired_size * 2; in GetSetOptionsInternal() local
965 const int expected_size = desired_size; in GetSetOptionsInternal() local
979 ASSERT_EQ(expected_size, recv_size); in GetSetOptionsInternal()
980 ASSERT_EQ(expected_size, send_size); in GetSetOptionsInternal()
/external/v8/src/
Dassembler.h171 PredictableCodeSizeScope(AssemblerBase* assembler, int expected_size);
173 void ExpectSize(int expected_size) { expected_size_ = expected_size; } in ExpectSize() argument

12