/external/avb/libavb/ |
avb_chain_partition_descriptor.c | 30 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) {
|
avb_hash_descriptor.c | 30 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) {
|
avb_kernel_cmdline_descriptor.c | 30 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) {
|
avb_hashtree_descriptor.c | 30 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) {
|
avb_property_descriptor.c | 30 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/ |
utilfdt_test.c | 63 * \param expected_size The size (in bytes) that we expect (ignored for 66 static void check_sizes(char *modifier, int expected_size) 79 check(fmt, 'i', expected_size); 82 check(fmt, 'u', expected_size); 85 check(fmt, 'x', expected_size);
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
array_internal.cc | 25 size_t expected_size) { 28 << expected_size; local
|
/external/ltp/testcases/kernel/syscalls/fallocate/ |
fallocate01.c | 201 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) 255 if (file_stat.st_size != expected_size)
|
/external/minijail/test/ |
libminijail_test.cpp | 67 bool check_groups(size_t expected_size, gid_t* expected_list) { 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/ |
test_support.h | 39 unsigned int expected_size; member in struct:pdfium::StrFuncTestData 46 unsigned int expected_size; member in struct:pdfium::DecodeTestData
|
/external/curl/lib/ |
file.c | 431 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_C(BUFSIZE) - CURL_OFF_T_C(1)) [all...] |
/external/pdfium/core/fpdfapi/parser/ |
fpdf_parser_decode_embeddertest.cpp | 45 EXPECT_EQ(std::string((const char*)data.expected, data.expected_size), 82 EXPECT_EQ(std::string((const char*)data.expected, data.expected_size),
|
fpdf_parser_decode_unittest.cpp | 36 ASSERT_EQ(ptr->expected_size, result_size); 71 ASSERT_EQ(ptr->expected_size, result_size);
|
cpdf_simple_parser_unittest.cpp | 56 data.expected_size),
|
/external/webrtc/talk/media/base/ |
videoframe.cc | 305 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/ |
minidump.h | 145 // 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/ |
bit_writer_utils.h | 38 // Initialize the object. Allocates some initial memory based on expected_size. 39 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size); 108 int VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size);
|
bit_writer_utils.c | 162 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size) { 171 return (expected_size > 0) ? BitWriterResize(bw, expected_size) : 1; 237 int VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size) { 239 return VP8LBitWriterResize(bw, expected_size);
|
/system/bt/vendor_libs/test_vendor_lib/test/ |
packet_stream_unittest.cc | 90 auto expected_size = event->GetPacketSize(); local 108 EXPECT_EQ(expected_size, sizeof(event_header) + return_parameters_size + 1);
|
/system/update_engine/ |
fake_p2p_manager.h | 63 size_t expected_size) override {
|
p2p_manager.h | 113 // |expected_size| parameter. Otherwise pass zero. If non-zero, the 117 // and |expected_size| is written to the user.cros-p2p-filesize 123 size_t expected_size) = 0; 145 // value of the |expected_size| parameter passed to that method.
|
p2p_manager.cc | 135 size_t expected_size) override; 502 size_t expected_size) { 509 static_cast<size_t>(file_expected_size) != expected_size) { 511 << " with expected_size=" << file_expected_size 513 << " expected_size=" << expected_size; local 529 if (free_bytes < 2 * expected_size) { 531 LOG(INFO) << "Refusing to allocate p2p file of " << expected_size 550 if (expected_size != 0) { 554 expected_size) != 0) [all...] |
/external/google-breakpad/src/processor/ |
minidump.cc | 422 bool MinidumpContext::Read(uint32_t expected_size) { 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 << " != " << sizeof(MDRawContextSPARC) [all...] |
/external/libmojo/mojo/edk/embedder/ |
embedder.cc | 81 size_t expected_size = MojoEmbedderSetSystemThunks(&thunks); local 82 DCHECK_EQ(expected_size, sizeof(thunks));
|
/external/protobuf/python/google/protobuf/internal/ |
wire_format_test.py | 110 expected_size = expected_value_size + tag_bytes 112 self.assertEqual(expected_size, actual_size, 115 byte_size_fn, field_number, value, expected_size, actual_size))
|