/external/vboot_reference/firmware/lib/cgptlib/ |
D | cgptlib_internal.c | 247 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/ |
D | cgptlib_test.c | 157 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 …]
|
D | vboot_kernel_tests.c | 300 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/ |
D | ttload.c | 175 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/ |
D | cgpt_show.c | 275 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()
|
D | cgpt_common.c | 56 (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()
|
D | cgpt.h | 168 uint8_t RepairEntries(GptData *gpt, const uint32_t valid_entries);
|
D | cgpt_add.c | 138 ((drive->gpt.valid_entries & MASK_BOTH) != MASK_BOTH)) { in CgptCheckAddValidity()
|
/external/vboot_reference/firmware/include/ |
D | gpt_misc.h | 111 uint32_t valid_headers, valid_entries; member
|
/external/freetype/src/sfnt/ |
D | ttload.c | 173 FT_UShort nn, valid_entries = 0; in check_table_dir() local 222 valid_entries++; in check_table_dir() 230 valid_entries++; in check_table_dir() 276 sfnt->num_tables = valid_entries; in check_table_dir()
|
/external/mesa3d/src/gallium/drivers/trace/ |
D | tr_dump_state.c | 372 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/v8/src/ |
D | objects-debug.cc | 1155 bool DescriptorArray::IsSortedNoDuplicates(int valid_entries) { in IsSortedNoDuplicates() argument 1156 if (valid_entries == -1) valid_entries = number_of_descriptors(); in IsSortedNoDuplicates() 1177 bool TransitionArray::IsSortedNoDuplicates(int valid_entries) { in IsSortedNoDuplicates() argument 1178 DCHECK(valid_entries == -1); in IsSortedNoDuplicates()
|
D | transitions.h | 193 bool IsSortedNoDuplicates(int valid_entries = -1);
|
D | objects-inl.h | 2714 int BinarySearch(T* array, Name* name, int low, int high, int valid_entries, in BinarySearch() argument 2745 if (search_mode == ALL_ENTRIES || sort_index < valid_entries) { in BinarySearch() 2760 int LinearSearch(T* array, Name* name, int len, int valid_entries, in LinearSearch() argument 2777 DCHECK(len >= valid_entries); in LinearSearch() 2779 for (int number = 0; number < valid_entries; number++) { in LinearSearch() 2790 int Search(T* array, Name* name, int valid_entries, int* out_insertion_index) { in Search() argument 2792 SLOW_DCHECK(array->IsSortedNoDuplicates(valid_entries)); in Search() 2808 valid_entries <= (kMaxElementsForLinearSearch * 3))) { in Search() 2809 return LinearSearch<search_mode>(array, name, nof, valid_entries, in Search() 2814 return BinarySearch<search_mode>(array, name, 0, nof - 1, valid_entries, in Search()
|
D | objects.h | 3033 inline int Search(T* array, Name* name, int valid_entries = 0,
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_dump_state.c | 547 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()
|