Searched defs:expected_size (Results 1 - 25 of 30) sorted by relevance

12

/external/avb/libavb/
H A Davb_chain_partition_descriptor.c30 uint64_t expected_size; local
53 expected_size = sizeof(AvbChainPartitionDescriptor) - sizeof(AvbDescriptor);
54 if (!avb_safe_add_to(&expected_size, dest->partition_name_len) ||
55 !avb_safe_add_to(&expected_size, dest->public_key_len)) {
59 if (expected_size > dest->parent_descriptor.num_bytes_following) {
H A Davb_hash_descriptor.c30 uint64_t expected_size; local
49 expected_size = sizeof(AvbHashDescriptor) - sizeof(AvbDescriptor);
50 if (!avb_safe_add_to(&expected_size, dest->partition_name_len) ||
51 !avb_safe_add_to(&expected_size, dest->salt_len) ||
52 !avb_safe_add_to(&expected_size, dest->digest_len)) {
56 if (expected_size > dest->parent_descriptor.num_bytes_following) {
H A Davb_hashtree_descriptor.c30 uint64_t expected_size; local
57 expected_size = sizeof(AvbHashtreeDescriptor) - sizeof(AvbDescriptor);
58 if (!avb_safe_add_to(&expected_size, dest->partition_name_len) ||
59 !avb_safe_add_to(&expected_size, dest->salt_len) ||
60 !avb_safe_add_to(&expected_size, dest->root_digest_len)) {
64 if (expected_size > dest->parent_descriptor.num_bytes_following) {
H A Davb_kernel_cmdline_descriptor.c30 uint64_t expected_size; local
47 expected_size = sizeof(AvbKernelCmdlineDescriptor) - sizeof(AvbDescriptor);
48 if (!avb_safe_add_to(&expected_size, dest->kernel_cmdline_length)) {
52 if (expected_size > dest->parent_descriptor.num_bytes_following) {
H A Davb_property_descriptor.c30 uint64_t expected_size; local
47 expected_size = sizeof(AvbPropertyDescriptor) - sizeof(AvbDescriptor) + 2;
48 if (!avb_safe_add_to(&expected_size, dest->key_num_bytes) ||
49 !avb_safe_add_to(&expected_size, dest->value_num_bytes)) {
53 if (expected_size > dest->parent_descriptor.num_bytes_following) {
/external/dtc/tests/
H A Dutilfdt_test.c63 * \param expected_size The size (in bytes) that we expect (ignored for
66 static void check_sizes(char *modifier, int expected_size) argument
79 check(fmt, 'i', expected_size);
82 check(fmt, 'u', expected_size);
85 check(fmt, 'x', 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/libmojo/mojo/public/cpp/bindings/lib/
H A Darray_internal.cc25 size_t expected_size) {
28 << expected_size; local
23 MakeMessageWithExpectedArraySize(const char* message, size_t size, size_t expected_size) argument
/external/minijail/test/
H A Dlibminijail_test.cpp67 bool check_groups(size_t expected_size, gid_t* expected_list) { argument
73 if (expected_size != actual_size) {
75 << expected_size << ", actual " << actual_size;
79 for (size_t i = 0; i < expected_size; i++) {
/external/pdfium/testing/
H A Dtest_support.h39 unsigned int expected_size; member in struct:pdfium::StrFuncTestData
46 unsigned int expected_size; member in struct:pdfium::DecodeTestData
/external/ltp/testcases/kernel/syscalls/fallocate/
H A Dfallocate01.c201 loff_t expected_size; local
211 expected_size = BLOCKS_WRITTEN * block_size + block_size;
212 runtest(0, fd_mode1, expected_size);
214 expected_size = BLOCKS_WRITTEN * block_size;
215 runtest(FALLOC_FL_KEEP_SIZE, fd_mode2, expected_size);
225 void runtest(int mode, int fd, loff_t expected_size) argument
255 if (file_stat.st_size != expected_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/curl/lib/
H A Dfile.c431 curl_off_t expected_size=0; local
458 expected_size = statbuf.st_size;
479 "Content-Length: %" CURL_FORMAT_CURL_OFF_T "\r\n", expected_size);
507 Curl_pgrsSetDownloadSize(data, expected_size);
525 if(data->state.resume_from <= expected_size)
526 expected_size -= data->state.resume_from;
534 expected_size = data->req.maxdownload;
536 if(!fstated || (expected_size == 0))
546 Curl_pgrsSetDownloadSize(data, expected_size);
562 (expected_size < CURL_OFF_T_
[all...]
/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
/external/libmojo/mojo/edk/embedder/
H A Dembedder.cc81 size_t expected_size = MojoEmbedderSetSystemThunks(&thunks); local
82 DCHECK_EQ(expected_size, sizeof(thunks));
/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/webp/src/utils/
H A Dbit_writer_utils.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/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/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/base/
H A Dsocket_unittest.cc963 const int expected_size = desired_size * 2; local
965 const int expected_size = desired_size; local
979 ASSERT_EQ(expected_size, recv_size);
980 ASSERT_EQ(expected_size, send_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/v8/src/arm/
H A Dmacro-assembler-arm.cc109 int expected_size = CallSize(target, rmode, cond); local
126 DCHECK_EQ(expected_size, SizeOfCodeGeneratedSince(&start));
/external/libusb/libusb/os/
H A Dwindows_winusb.c3276 DWORD ioctl_code, read_size, expected_size = (DWORD)*size; local
3300 buf = calloc(1, expected_size + 1);
3307 tp->hid_expected_size = expected_size;
3308 read_size = expected_size;
3311 if (!DeviceIoControl(hid_handle, ioctl_code, buf, expected_size + 1,
3312 buf, expected_size + 1, &read_size, overlapped)) {
3332 if ((size_t)read_size > expected_size) {
/external/v8/src/
H A Dassembler.cc215 int expected_size)
217 expected_size_(expected_size),
214 PredictableCodeSizeScope(AssemblerBase* assembler, int expected_size) argument
H A Dassembler.h179 PredictableCodeSizeScope(AssemblerBase* assembler, int expected_size);
181 void ExpectSize(int expected_size) { expected_size_ = expected_size; } argument

Completed in 709 milliseconds

12