Home
last modified time | relevance | path

Searched refs:number_of_entries (Results 1 – 13 of 13) sorted by relevance

/external/perfetto/src/base/test/
Dvm_test_utils.cc49 size_t number_of_entries = 4000; // Just a guess. in IsMapped() local
56 (number_of_entries * sizeof(PSAPI_WORKING_SET_BLOCK)); in IsMapped()
69 number_of_entries = ws_info->NumberOfEntries; in IsMapped()
73 number_of_entries = static_cast<size_t>(double(number_of_entries) * 1.1); in IsMapped()
/external/vboot_reference/firmware/lib/cgptlib/
Dcgptlib_internal.c18 size_t bytes = h->number_of_entries * h->size_of_entry; in CalculateEntriesSectors()
103 if ((h->number_of_entries < MIN_NUMBER_OF_ENTRIES) || in CheckHeader()
104 (h->number_of_entries > MAX_NUMBER_OF_ENTRIES) || in CheckHeader()
106 h->number_of_entries != MAX_NUMBER_OF_ENTRIES)) in CheckHeader()
169 h->size_of_entry * h->number_of_entries); in CheckEntries()
174 for (i = 0, entry = entries; i < h->number_of_entries; i++, entry++) { in CheckEntries()
188 for (i2 = 0, e2 = entries; i2 < h->number_of_entries; in CheckEntries()
227 if (h1->number_of_entries != h2->number_of_entries) in HeaderFieldsSame()
351 entries_size = header1->size_of_entry * header1->number_of_entries; in GptRepair()
419 header->number_of_entries); in GptModified()
Dcgptlib.c49 i < header->number_of_entries; i++) { in GptNextKernelEntry()
74 for (i = 0, e = entries; i < header->number_of_entries; i++, e++) { in GptNextKernelEntry()
222 for (i = 0, e = entries; i < header->number_of_entries; i++, e++) { in GptFindNthEntry()
/external/vboot_reference/cgpt/
Dcgpt_create.c51 h->number_of_entries = MAX_NUMBER_OF_ENTRIES; in GptCreate()
75 if (h->number_of_entries > max_entries) { in GptCreate()
76 h->number_of_entries = max_entries; in GptCreate()
92 size_t entries_size = h->number_of_entries * h->size_of_entry; in GptCreate()
Dcgpt_common.c701 return header->number_of_entries; in GetNumberOfEntries()
710 require(entry_index < header->number_of_entries); in GetEntry()
827 primary_header->number_of_entries; in UpdateCrc()
833 secondary_header->number_of_entries; in UpdateCrc()
864 (a->number_of_entries == b->number_of_entries) && in IsSynonymous()
898 size_t entries_size = h->number_of_entries * h->size_of_entry; in RepairEntries()
920 target->number_of_entries = source->number_of_entries; in CopySynonymousParts()
Dcgpt_show.c89 printf("%sNumber of entries: %d\n", indent, header->number_of_entries); in HeaderDetails()
94 header->number_of_entries) in HeaderDetails()
297 secondary_header->number_of_entries * in GptShow()
/external/vboot_reference/firmware/lib/
Dgpt_misc.c56 uint64_t entries_bytes = primary_header->number_of_entries in AllocAndReadGptData()
81 uint64_t entries_bytes = secondary_header->number_of_entries in AllocAndReadGptData()
107 uint64_t entries_bytes = header->number_of_entries in WriteAndFreeGptData()
/external/vboot_reference/tests/
Dcgptlib_test.c84 header->number_of_entries * header->size_of_entry); in RefreshCrc32()
89 header2->number_of_entries * header2->size_of_entry); in RefreshCrc32()
174 header->number_of_entries = 128; in BuildTestGptData()
334 h3.number_of_entries++; in HeaderSameTest()
513 h1->number_of_entries = TOTAL_ENTRIES_SIZE / in SizeOfPartitionEntryTest()
515 h2->number_of_entries = TOTAL_ENTRIES_SIZE / in SizeOfPartitionEntryTest()
539 h1->number_of_entries--; in NumberOfPartitionEntriesTest()
540 h2->number_of_entries /= 2; in NumberOfPartitionEntriesTest()
1439 primary_header->number_of_entries = 100; in CheckHeaderOffDevice()
1448 primary_header->number_of_entries = MIN_NUMBER_OF_ENTRIES - 1; in CheckHeaderOffDevice()
[all …]
Dvboot_kernel_tests.c86 h->number_of_entries = MAX_NUMBER_OF_ENTRIES; in SetupGptHeader()
432 h->number_of_entries = MAX_NUMBER_OF_ENTRIES; in ReadWriteGptTest()
446 h->number_of_entries = MAX_NUMBER_OF_ENTRIES; in ReadWriteGptTest()
/external/google-breakpad/src/processor/
Dminidump.cc3892 uint32_t number_of_entries; in Read() local
3893 if (!minidump_->ReadBytes(&number_of_entries, sizeof(number_of_entries))) { in Read()
3902 Swap(&number_of_entries); in Read()
3906 sizeof(size_of_entry) - sizeof(number_of_entries); in Read()
3916 if (expected_size != size_of_header + (size_of_entry * number_of_entries)) { in Read()
3919 size_of_entry << " * " << number_of_entries << ")"; in Read()
3923 if (number_of_entries > max_modules_) { in Read()
3925 number_of_entries << " exceeds maximum " << max_modules_; in Read()
3929 if (number_of_entries != 0) { in Read()
3931 new MinidumpUnloadedModules(number_of_entries, in Read()
[all …]
/external/vboot_reference/firmware/include/
Dgpt.h87 uint32_t number_of_entries; member
/external/piex/src/
Dtiff_parser.cc475 std::uint16_t number_of_entries; in ParseDirectory() local
476 if (!Get16u(stream, ifd_offset, endian, &number_of_entries)) { in ParseDirectory()
481 i < static_cast<std::uint32_t>(number_of_entries) * 12; i += 12) { in ParseDirectory()
525 return Get32u(stream, ifd_offset + 2u + number_of_entries * 12u, endian, in ParseDirectory()
/external/google-breakpad/src/google_breakpad/common/
Dminidump_format.h697 uint32_t number_of_entries; member
908 uint64_t number_of_entries; member