/external/avb/libavb_ab/ |
D | avb_ab_flow.c | 67 data->slots[0].priority = AVB_AB_MAX_PRIORITY; in avb_ab_data_init() 68 data->slots[0].tries_remaining = AVB_AB_MAX_TRIES_REMAINING; in avb_ab_data_init() 69 data->slots[0].successful_boot = 0; in avb_ab_data_init() 70 data->slots[1].priority = AVB_AB_MAX_PRIORITY - 1; in avb_ab_data_init() 71 data->slots[1].tries_remaining = AVB_AB_MAX_TRIES_REMAINING; in avb_ab_data_init() 72 data->slots[1].successful_boot = 0; in avb_ab_data_init() 187 slot_normalize(&ab_data->slots[0]); in load_metadata() 188 slot_normalize(&ab_data->slots[1]); in load_metadata() 230 if (slot_is_bootable(&ab_data.slots[n])) { in avb_ab_flow() 294 slot_set_unbootable(&ab_data.slots[n]); in avb_ab_flow() [all …]
|
/external/avb/test/ |
D | avb_ab_flow_unittest.cc | 42 static_assert(offsetof(AvbABData, slots) % 8 == 0, 58 EXPECT_EQ(AVB_AB_MAX_PRIORITY, data.slots[0].priority); in TEST_F() 59 EXPECT_EQ(AVB_AB_MAX_TRIES_REMAINING, data.slots[0].tries_remaining); in TEST_F() 60 EXPECT_EQ(0, data.slots[0].successful_boot); in TEST_F() 61 EXPECT_EQ(AVB_AB_MAX_PRIORITY - 1, data.slots[1].priority); in TEST_F() 62 EXPECT_EQ(AVB_AB_MAX_TRIES_REMAINING, data.slots[1].tries_remaining); in TEST_F() 63 EXPECT_EQ(0, data.slots[1].successful_boot); in TEST_F() 82 memcmp(reinterpret_cast<void*>(data.slots), in TEST_F() 83 reinterpret_cast<void*>(restored.slots), in TEST_F() 249 data.slots[0].priority = a_pri; in SetMD() [all …]
|
/external/valgrind/memcheck/tests/solaris/ |
D | pkcs11.c | 22 CK_SLOT_ID_PTR slots = malloc(slot_count * sizeof(CK_SLOT_ID)); in main() local 23 if (slots == NULL) { in main() 28 ret = C_GetSlotList(0, slots, &slot_count); in main() 36 CK_SLOT_ID slot_id = slots[i]; in main() 46 if (slots == NULL) { in main() 60 free(slots); in main()
|
/external/curl/lib/ |
D | hash.c | 60 int slots, in Curl_hash_init() argument 67 if(!slots || !hfunc || !comparator ||!dtor) { in Curl_hash_init() 75 h->slots = slots; in Curl_hash_init() 77 h->table = malloc(slots * sizeof(struct curl_llist *)); in Curl_hash_init() 79 for(i = 0; i < slots; ++i) { in Curl_hash_init() 88 h->slots = 0; in Curl_hash_init() 95 h->slots = 0; in Curl_hash_init() 124 #define FETCH_LIST(x,y,z) x->table[x->hash_func(y, z, x->slots)] 222 for(i = 0; i < h->slots; ++i) { in Curl_hash_apply() 245 for(i = 0; i < h->slots; ++i) { in Curl_hash_destroy() [all …]
|
/external/autotest/client/site_tests/firmware_TouchMTB/tests/ |
D | fake_input_device.py | 9 def __init__(self, number_fingers=0, slots={}): argument 11 self.slots = slots 17 return self.slots
|
D | mtb_unittest.py | 114 slots = (0, 1) 115 list_x, list_y = mtb_packets.get_x_y_multiple_slots(slots) 124 for slot in slots: 139 slots = (0, 1) 140 list_x, list_y = mtb_packets.get_x_y_multiple_slots(slots) 147 for slot in slots: 446 slots = [0, 1] 447 for slot in slots: 502 slots = [] 505 slots = gesture_slots[gesture] [all …]
|
/external/autotest/client/site_tests/firmware_TouchMTB/ |
D | test_conf.py | 386 slots=0, segments=VAL.MIDDLE)), 389 slots=0, segments=VAL.BOTH_ENDS)), 439 NoReversedMotionValidator(no_reversed_motion_criteria, slots=0, 441 NoReversedMotionValidator(no_reversed_motion_criteria, slots=0, 466 NoReversedMotionValidator(no_reversed_motion_criteria, slots=0), 498 NoReversedMotionValidator(no_reversed_motion_criteria, slots=0), 499 NoReversedMotionValidator(no_reversed_motion_criteria, slots=1), 531 NoReversedMotionValidator(no_reversed_motion_criteria, slots=1), 549 NoReversedMotionValidator(no_reversed_motion_criteria, slots=0), 567 NoReversedMotionValidator(no_reversed_motion_criteria, slots=0), [all …]
|
/external/curl/tests/unit/ |
D | unit1603.c | 32 static const int slots = 3; variable 42 return Curl_hash_init(&hash_static, slots, Curl_hash_str, in unit_setup() 63 if(Curl_hash_str(key1, strlen(key1), slots) != 1 || 64 Curl_hash_str(key2, strlen(key2), slots) != 0 || 65 Curl_hash_str(key3, strlen(key3), slots) != 2 || 66 Curl_hash_str(key4, strlen(key4), slots) != 1)
|
/external/v8/src/heap/ |
D | remembered-set.h | 115 SlotSet* slots = GetSlotSet(chunk); in IterateMemoryChunks() local 117 if (slots != nullptr || typed_slots != nullptr) { in IterateMemoryChunks() 128 SlotSet* slots = GetSlotSet(chunk); in Iterate() local 129 if (slots != nullptr) { in Iterate() 134 slots[page].Iterate(callback, SlotSet::PREFREE_EMPTY_BUCKETS); in Iterate() 167 TypedSlotSet* slots = GetTypedSlotSet(page); in RemoveRangeTyped() local 168 if (slots != nullptr) { in RemoveRangeTyped() 169 slots->Iterate( in RemoveRangeTyped() 194 TypedSlotSet* slots = GetTypedSlotSet(chunk); in IterateTyped() local 195 if (slots != nullptr) { in IterateTyped() [all …]
|
/external/python/cpython2/Lib/ |
D | copy_reg.py | 120 slots = c.__dict__['__slots__'] 122 if isinstance(slots, basestring): 123 slots = (slots,) 124 for name in slots:
|
/external/libunwind/include/tdep-ia64/ |
D | rse.h | 48 uint64_t slots = (bsp - bspstore) >> 3; in rse_num_regs() local 50 return slots - (rse_slot_num(bspstore) + slots)/0x40; in rse_num_regs()
|
/external/avb/boot_control/ |
D | boot_control_avb.c | 104 is_bootable = (ab_data.slots[slot].priority > 0) && in module_isSlotBootable() 105 (ab_data.slots[slot].successful_boot || in module_isSlotBootable() 106 (ab_data.slots[slot].tries_remaining > 0)); in module_isSlotBootable() 122 is_marked_successful = ab_data.slots[slot].successful_boot; in module_isSlotMarkedSuccessful()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_asm.c | 298 unsigned slots = r600_isa_alu_slots(bc->isa->hw_class, alu->op); in is_alu_vec_unit_inst() local 299 return !(slots & AF_S); in is_alu_vec_unit_inst() 304 unsigned slots = r600_isa_alu_slots(bc->isa->hw_class, alu->op); in is_alu_trans_unit_inst() local 305 return !(slots & AF_V); in is_alu_trans_unit_inst() 311 unsigned slots = r600_isa_alu_slots(bc->isa->hw_class, alu->op); in is_alu_any_unit_inst() local 312 return slots == AF_VS; in is_alu_any_unit_inst() 528 struct r600_bytecode_alu *slots[5]) in check_and_set_bank_swizzle() 537 if (slots[i]) { in check_and_set_bank_swizzle() 538 if (slots[i]->bank_swizzle_force) { in check_and_set_bank_swizzle() 539 slots[i]->bank_swizzle = slots[i]->bank_swizzle_force; in check_and_set_bank_swizzle() [all …]
|
/external/mesa3d/src/gallium/drivers/r600/sb/ |
D | sb_sched.cpp | 312 gpr(), lt(), slots(), in alu_group_tracker() 331 slots[slot] = n; in assign_slot() 379 slots[k] = NULL; in discard_slots() 389 assert(slots[slot]); in discard_slots() 391 assert(!(slots[slot]->bc.slot_flags & AF_4SLOT)); in discard_slots() 395 dump::dump_op(slots[slot]); in discard_slots() 399 removed_nodes.push_back(slots[slot]); in discard_slots() 400 slots[slot] = NULL; in discard_slots() 405 alu_node *t = slots[4]; in discard_slots() 408 if (!slots[chan]) { in discard_slots() [all …]
|
/external/llvm/lib/CodeGen/ |
D | StackColoring.cpp | 345 SmallVector<int, 4> &slots, 445 SmallVector<int, 4> &slots, in isLifetimeStartOrEnd() argument 455 slots.push_back(Slot); in isLifetimeStartOrEnd() 474 slots.push_back(Slot); in isLifetimeStartOrEnd() 588 SmallVector<int, 4> slots; in collectMarkers() local 591 slots.clear(); in collectMarkers() 592 if (isLifetimeStartOrEnd(MI, slots, isStart)) { in collectMarkers() 594 assert(slots.size() == 1 && "unexpected: MI ends multiple slots"); in collectMarkers() 595 int Slot = slots[0]; in collectMarkers() 601 for (auto Slot : slots) { in collectMarkers() [all …]
|
/external/mesa3d/src/gallium/tests/trivial/ |
D | compute.c | 303 static void init_sampler_views(struct context *ctx, const int *slots) in init_sampler_views() argument 309 for (i = 0; *slots >= 0; ++i, ++slots) { in init_sampler_views() 310 u_sampler_view_default_template(&tview, ctx->tex[*slots], in init_sampler_views() 311 ctx->tex[*slots]->format); in init_sampler_views() 313 ctx->view[i] = pipe->create_sampler_view(pipe, ctx->tex[*slots], in init_sampler_views() 336 static void init_compute_resources(struct context *ctx, const int *slots) in init_compute_resources() argument 341 for (i = 0; *slots >= 0; ++i, ++slots) { in init_compute_resources() 343 .format = ctx->tex[*slots]->format, in init_compute_resources() 344 .writable = ctx->tex_rw[*slots] in init_compute_resources() 347 if (ctx->tex[*slots]->target == PIPE_BUFFER) in init_compute_resources() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
D | userdatarequest.h | 28 public slots: 31 protected slots:
|
D | scanresults.h | 26 public slots: 33 protected slots:
|
D | eventhistory.h | 46 public slots: 50 protected slots:
|
D | networkconfig.h | 33 public slots: 42 protected slots:
|
/external/syslinux/core/fs/btrfs/ |
D | btrfs.c | 256 path->slots[tree_buf->header.level], in search_tree() 258 if (ret && slot > path->slots[tree_buf->header.level]) in search_tree() 260 path->slots[tree_buf->header.level] = slot; in search_tree() 273 path->slots[0], in search_tree() 275 if (ret && slot > path->slots[tree_buf->header.level]) in search_tree() 277 path->slots[tree_buf->header.level] = slot; in search_tree() 296 slot = path->slots[level] + 1; in next_leaf() 301 path->slots[level] = slot; in next_leaf() 302 path->slots[level-1] = 0; /* reset low level slots info */ in next_leaf() 319 slot = path->slots[0] + 1; in next_slot() [all …]
|
/external/brotli/enc/ |
D | hash_forgetful_chain_inc.h | 44 FN(Slot) slots[BANK_SIZE]; 111 self->banks[bank].slots[idx].delta = (uint16_t)delta; in FN() 112 self->banks[bank].slots[idx].next = self->head[key]; in FN() 215 slot = self->banks[bank].slots[last].next; in FN() 216 delta = self->banks[bank].slots[last].delta; in FN()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_nir_uniforms.cpp | 34 const nir_state_slot *const slots = var->state_slots; in brw_nir_setup_glsl_builtin_uniform() local 43 (gl_state_index *)slots[i].tokens); in brw_nir_setup_glsl_builtin_uniform() 51 int swiz = GET_SWZ(slots[i].swizzle, j); in brw_nir_setup_glsl_builtin_uniform()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86CallingConv.td | 166 // Integer/FP values get stored in stack slots that are 8 bytes in size and 170 // Long doubles get stack slots whose size and alignment depends on the 174 // Vectors get 16-byte stack slots that are 16-byte aligned. 177 // 256-bit vectors get 32-byte stack slots that are 32-byte aligned. 217 // Integer/FP values get stored in stack slots that are 8 bytes in size and 221 // Long doubles get stack slots whose size and alignment depends on the 262 // Integer/Float values get stored in stack slots that are 4 bytes in 266 // Doubles get 8-byte slots that are 4-byte aligned. 269 // Long doubles get slots whose size depends on the subtarget. 281 // Other SSE vectors get 16-byte stack slots that are 16-byte aligned. [all …]
|
/external/selinux/libselinux/src/ |
D | avc.c | 34 struct avc_node *slots[AVC_CACHE_SLOTS]; member 186 avc_cache.slots[i] = 0; in avc_init() 276 node = avc_cache.slots[i]; in avc_av_stats() 309 cur = avc_cache.slots[hvalue]; in hidden_def() 330 avc_cache.slots[hvalue] = cur->next; in hidden_def() 368 new->next = avc_cache.slots[hvalue]; in avc_claim_node() 369 avc_cache.slots[hvalue] = new; in avc_claim_node() 385 cur = avc_cache.slots[hvalue]; in avc_search_node() 512 node = avc_cache.slots[i]; in hidden_def() 521 avc_cache.slots[i] = 0; in hidden_def() [all …]
|