Home
last modified time | relevance | path

Searched refs:valid_entries (Results 1 – 17 of 17) 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/pdfium/third_party/freetype/src/sfnt/
Dttload.c175 FT_UShort nn, valid_entries = 0; in check_table_dir() local
227 valid_entries++; in check_table_dir()
235 valid_entries++; in check_table_dir()
281 *valid = valid_entries; in check_table_dir()
283 if ( !valid_entries ) in check_table_dir()
341 FT_UShort nn, valid_entries; in tt_face_load_font_dir() local
382 error = check_table_dir( &sfnt, stream, &valid_entries ); in tt_face_load_font_dir()
391 valid_entries = sfnt.num_tables; in tt_face_load_font_dir()
393 face->num_tables = valid_entries; in tt_face_load_font_dir()
407 valid_entries = 0; in tt_face_load_font_dir()
[all …]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/sfnt/
Dttload.c175 FT_UShort nn, valid_entries = 0; in check_table_dir() local
227 valid_entries++; in check_table_dir()
235 valid_entries++; in check_table_dir()
281 *valid = valid_entries; in check_table_dir()
283 if ( !valid_entries ) in check_table_dir()
341 FT_UShort nn, valid_entries; in tt_face_load_font_dir() local
382 error = check_table_dir( &sfnt, stream, &valid_entries ); in tt_face_load_font_dir()
391 valid_entries = sfnt.num_tables; in tt_face_load_font_dir()
393 face->num_tables = valid_entries; in tt_face_load_font_dir()
407 valid_entries = 0; in tt_face_load_font_dir()
[all …]
/external/freetype/src/sfnt/
Dttload.c175 FT_UShort nn, valid_entries = 0; in check_table_dir() local
227 valid_entries++; in check_table_dir()
235 valid_entries++; in check_table_dir()
281 *valid = valid_entries; in check_table_dir()
283 if ( !valid_entries ) in check_table_dir()
341 FT_UShort nn, valid_entries; in tt_face_load_font_dir() local
382 error = check_table_dir( &sfnt, stream, &valid_entries ); in tt_face_load_font_dir()
391 valid_entries = sfnt.num_tables; in tt_face_load_font_dir()
393 face->num_tables = valid_entries; in tt_face_load_font_dir()
407 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.c372 unsigned valid_entries = 1; in trace_dump_blend_state() local
393 valid_entries = PIPE_MAX_COLOR_BUFS; in trace_dump_blend_state()
394 trace_dump_struct_array(rt_blend_state, state->rt, valid_entries); in trace_dump_blend_state()
/external/mesa3d/src/gallium/auxiliary/util/
Du_dump_state.c547 unsigned valid_entries = 1; in util_dump_blend_state() local
567 valid_entries = PIPE_MAX_COLOR_BUFS; in util_dump_blend_state()
568 util_dump_struct_array(stream, rt_blend_state, state->rt, valid_entries); in util_dump_blend_state()
/external/v8/src/
Dobjects-debug.cc1152 bool DescriptorArray::IsSortedNoDuplicates(int valid_entries) { in IsSortedNoDuplicates() argument
1153 if (valid_entries == -1) valid_entries = number_of_descriptors(); in IsSortedNoDuplicates()
1174 bool TransitionArray::IsSortedNoDuplicates(int valid_entries) { in IsSortedNoDuplicates() argument
1175 DCHECK(valid_entries == -1); in IsSortedNoDuplicates()
Dtransitions.h193 bool IsSortedNoDuplicates(int valid_entries = -1);
Dobjects-inl.h2650 int BinarySearch(T* array, Name* name, int valid_entries, in BinarySearch() argument
2683 if (search_mode == ALL_ENTRIES || sort_index < valid_entries) { in BinarySearch()
2700 int LinearSearch(T* array, Name* name, int valid_entries, in LinearSearch() argument
2718 DCHECK_LE(valid_entries, array->number_of_entries()); in LinearSearch()
2720 for (int number = 0; number < valid_entries; number++) { in LinearSearch()
2729 int Search(T* array, Name* name, int valid_entries, int* out_insertion_index) { in Search() argument
2732 if (valid_entries == 0) { in Search()
2741 if (valid_entries <= kMaxElementsForLinearSearch) { in Search()
2742 return LinearSearch<search_mode>(array, name, valid_entries, in Search()
2747 return BinarySearch<search_mode>(array, name, valid_entries, in Search()
Dobjects.h3076 inline int Search(T* array, Name* name, int valid_entries = 0,