/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/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 | 1142 bool DescriptorArray::IsSortedNoDuplicates(int valid_entries) { in IsSortedNoDuplicates() argument 1143 if (valid_entries == -1) valid_entries = number_of_descriptors(); in IsSortedNoDuplicates() 1166 bool TransitionArray::IsSortedNoDuplicates(int valid_entries) { in IsSortedNoDuplicates() argument 1167 DCHECK(valid_entries == -1); in IsSortedNoDuplicates()
|
D | transitions.h | 147 bool IsSortedNoDuplicates(int valid_entries = -1);
|
D | objects-inl.h | 2762 int BinarySearch(T* array, Name* name, int low, int high, int valid_entries) { in BinarySearch() argument 2785 if (search_mode == ALL_ENTRIES || sort_index < valid_entries) { in BinarySearch() 2799 int LinearSearch(T* array, Name* name, int len, int valid_entries) { in LinearSearch() argument 2810 DCHECK(len >= valid_entries); in LinearSearch() 2811 for (int number = 0; number < valid_entries; number++) { in LinearSearch() 2822 int Search(T* array, Name* name, int valid_entries) { in Search() argument 2824 SLOW_DCHECK(array->IsSortedNoDuplicates(valid_entries)); in Search() 2837 valid_entries <= (kMaxElementsForLinearSearch * 3))) { in Search() 2838 return LinearSearch<search_mode>(array, name, nof, valid_entries); in Search() 2842 return BinarySearch<search_mode>(array, name, 0, nof - 1, valid_entries); in Search()
|
D | objects.h | 3130 inline int LinearSearch(T* array, Name* name, int len, int valid_entries); 3134 inline int Search(T* array, Name* name, int valid_entries = 0);
|
/external/pdfium/third_party/freetype/src/sfnt/ |
D | ttload.c | 173 FT_UShort nn, valid_entries = 0; in check_table_dir() local 219 valid_entries++; in check_table_dir() 265 sfnt->num_tables = valid_entries; in check_table_dir()
|
/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()
|