Home
last modified time | relevance | path

Searched refs:valid_entries (Results 1 – 15 of 15) sorted by relevance

/external/vboot_reference/firmware/lib/cgptlib/
Dcgptlib_internal.c247 gpt->valid_entries = 0; in GptSanityCheck()
277 gpt->valid_entries |= MASK_PRIMARY; in GptSanityCheck()
279 gpt->valid_entries |= MASK_SECONDARY; in GptSanityCheck()
285 if (MASK_BOTH == gpt->valid_headers && !gpt->valid_entries) { in GptSanityCheck()
287 gpt->valid_entries |= MASK_PRIMARY; in GptSanityCheck()
289 gpt->valid_entries |= MASK_SECONDARY; in GptSanityCheck()
290 if (gpt->valid_entries) { in GptSanityCheck()
301 if (!gpt->valid_entries) in GptSanityCheck()
324 if (MASK_NONE == gpt->valid_headers || MASK_NONE == gpt->valid_entries) in GptRepair()
352 if (MASK_PRIMARY == gpt->valid_entries) { in GptRepair()
[all …]
/external/vboot_reference/tests/
Dcgptlib_test.c157 gpt->valid_entries = MASK_BOTH; in BuildTestGptData()
825 EXPECT(MASK_BOTH == gpt->valid_entries); in SanityCheckTest()
830 EXPECT(MASK_BOTH == gpt->valid_entries); in SanityCheckTest()
844 EXPECT(0 == gpt->valid_entries); in SanityCheckTest()
849 EXPECT(0 == gpt->valid_entries); in SanityCheckTest()
856 EXPECT(MASK_BOTH == gpt->valid_entries); in SanityCheckTest()
860 EXPECT(MASK_BOTH == gpt->valid_entries); in SanityCheckTest()
867 EXPECT(MASK_BOTH == gpt->valid_entries); in SanityCheckTest()
871 EXPECT(MASK_BOTH == gpt->valid_entries); in SanityCheckTest()
883 EXPECT(MASK_BOTH == gpt->valid_entries); in SanityCheckTest()
[all …]
Dvboot_kernel_tests.c300 g.valid_headers = g.valid_entries = MASK_BOTH; in ReadWriteGptTest()
386 g.valid_headers = g.valid_entries = MASK_SECONDARY; in ReadWriteGptTest()
411 g.valid_headers = g.valid_entries = MASK_PRIMARY; in ReadWriteGptTest()
/external/freetype/src/sfnt/
Dttload.c181 FT_UShort nn, valid_entries = 0; in check_table_dir() local
233 valid_entries++; in check_table_dir()
241 valid_entries++; in check_table_dir()
287 *valid = valid_entries; in check_table_dir()
289 if ( !valid_entries ) in check_table_dir()
350 FT_UShort nn, valid_entries = 0; in tt_face_load_font_dir() local
391 error = check_table_dir( &sfnt, stream, &valid_entries ); in tt_face_load_font_dir()
400 valid_entries = sfnt.num_tables; in tt_face_load_font_dir()
402 face->num_tables = valid_entries; in tt_face_load_font_dir()
416 valid_entries = 0; in tt_face_load_font_dir()
[all …]
/external/vboot_reference/cgpt/
Dcgpt_show.c275 drive->gpt.valid_entries & MASK_PRIMARY ? "" : "INVALID", in GptShow()
279 (drive->gpt.valid_entries & MASK_PRIMARY)) in GptShow()
286 drive->gpt.valid_entries & MASK_SECONDARY ? "" : "INVALID", in GptShow()
294 ((drive->gpt.valid_entries & MASK_SECONDARY) && in GptShow()
295 (!(drive->gpt.valid_entries & MASK_PRIMARY) || in GptShow()
Dcgpt_common.c56 (drive->gpt.valid_entries != MASK_BOTH)) { in CheckValid()
718 if (gpt->valid_entries & MASK_PRIMARY) { in GetEntry()
721 require(gpt->valid_entries & MASK_SECONDARY); in GetEntry()
880 uint8_t RepairEntries(GptData *gpt, const uint32_t valid_entries) { in RepairEntries() argument
899 if (valid_entries == MASK_BOTH) { in RepairEntries()
904 } else if (valid_entries == MASK_PRIMARY) { in RepairEntries()
907 } else if (valid_entries == MASK_SECONDARY) { in RepairEntries()
Dcgpt.h168 uint8_t RepairEntries(GptData *gpt, const uint32_t valid_entries);
Dcgpt_add.c138 ((drive->gpt.valid_entries & MASK_BOTH) != MASK_BOTH)) { in CgptCheckAddValidity()
/external/vboot_reference/firmware/include/
Dgpt_misc.h111 uint32_t valid_headers, valid_entries; member
/external/mesa3d/src/gallium/drivers/trace/
Dtr_dump_state.c412 unsigned valid_entries = 1; in trace_dump_blend_state() local
433 valid_entries = PIPE_MAX_COLOR_BUFS; in trace_dump_blend_state()
434 trace_dump_struct_array(rt_blend_state, state->rt, valid_entries); in trace_dump_blend_state()
/external/v8/src/
Dobjects-inl.h1715 int BinarySearch(T* array, Name* name, int valid_entries, in BinarySearch() argument
1748 if (search_mode == ALL_ENTRIES || sort_index < valid_entries) { in BinarySearch()
1765 int LinearSearch(T* array, Name* name, int valid_entries, in LinearSearch() argument
1783 DCHECK_LE(valid_entries, array->number_of_entries()); in LinearSearch()
1785 for (int number = 0; number < valid_entries; number++) { in LinearSearch()
1793 int Search(T* array, Name* name, int valid_entries, int* out_insertion_index) { in Search() argument
1796 if (valid_entries == 0) { in Search()
1805 if (valid_entries <= kMaxElementsForLinearSearch) { in Search()
1806 return LinearSearch<search_mode>(array, name, valid_entries, in Search()
1811 return BinarySearch<search_mode>(array, name, valid_entries, in Search()
Dtransitions.h233 bool IsSortedNoDuplicates(int valid_entries = -1);
Dobjects-debug.cc2029 bool DescriptorArray::IsSortedNoDuplicates(int valid_entries) { in IsSortedNoDuplicates() argument
2030 if (valid_entries == -1) valid_entries = number_of_descriptors(); in IsSortedNoDuplicates()
2050 bool TransitionArray::IsSortedNoDuplicates(int valid_entries) { in IsSortedNoDuplicates() argument
2051 DCHECK_EQ(valid_entries, -1); in IsSortedNoDuplicates()
/external/mesa3d/src/gallium/auxiliary/util/
Du_dump_state.c592 unsigned valid_entries = 1; in util_dump_blend_state() local
614 valid_entries = PIPE_MAX_COLOR_BUFS; in util_dump_blend_state()
615 util_dump_struct_array(stream, rt_blend_state, state->rt, valid_entries); in util_dump_blend_state()
/external/v8/src/objects/
Dfixed-array.h459 inline int Search(T* array, Name* name, int valid_entries = 0,