Home
last modified time | relevance | path

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

/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/perfetto/src/base/test/
Dvm_test_utils.cc46 int number_of_entries = 4000; // Just a guess. in IsMapped() local
53 (number_of_entries * sizeof(PSAPI_WORKING_SET_BLOCK)); in IsMapped()
69 number_of_entries = ws_info->NumberOfEntries; in IsMapped()
73 number_of_entries *= 1.1; in IsMapped()
/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/v8/src/objects/
Dcode.h666 static int Grow(int number_of_entries) { in Grow() argument
667 if (number_of_entries < 5) return number_of_entries + 1; in Grow()
668 return number_of_entries * 5 / 4; in Grow()
Ddescriptor-array.h58 inline int number_of_entries() const;
/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/processor/
Dminidump.cc3832 Swap(&header.number_of_entries); in Read()
3853 if (header.number_of_entries > in Read()
3856 header.number_of_entries << in Read()
3862 header.number_of_entries * sizeof(MDRawMemoryInfo)) { in Read()
3865 header.number_of_entries * sizeof(MDRawMemoryInfo); in Read()
3872 static_cast<unsigned int>(header.number_of_entries); in Read()
3874 header.number_of_entries) { in Read()
3880 if (header.number_of_entries != 0) { in Read()
3886 index < header.number_of_entries; in Read()
3893 index << "/" << header.number_of_entries; in Read()
[all …]
/external/v8/src/
Dtransitions-inl.h150 return internal::Search<ALL_ENTRIES>(this, name, number_of_entries(), in SearchName()
Dtransitions.h231 inline int number_of_entries() const { return number_of_transitions(); } in number_of_entries() function
Dobjects-inl.h1645 return TransitionArray::cast(this)->number_of_entries() > 1; in NeedsRehashing()
1701 inline int DescriptorArray::number_of_entries() const { in number_of_entries() function
1719 int high = array->number_of_entries() - 1; in BinarySearch()
1769 int len = array->number_of_entries(); in LinearSearch()
1783 DCHECK_LE(valid_entries, array->number_of_entries()); in LinearSearch()
/external/google-breakpad/src/google_breakpad/common/
Dminidump_format.h814 uint64_t number_of_entries; member
/external/v8/src/heap/
Dmark-compact.cc1945 int num_transitions = array->number_of_entries(); in ClearFullMapTransitions()
1970 int num_transitions = transitions->number_of_entries(); in CompactTransitionArray()