/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/tensorflow/tensorflow/contrib/checkpoint/python/ |
D | containers_test.py | 45 slots = containers.UniqueNameTracker() 46 slots.track(x1, "x") 47 slots.track(x2, "x") 48 slots.track(x3, "x_1") 49 slots.track(y, "y") 52 save_root = util.Checkpoint(slots=slots) 57 slots=restore_slots) 76 slots = [] 77 slots.append(slotdeps.track( 79 slots.append(slotdeps.track( [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/grpc-grpc/src/core/lib/surface/ |
D | channel_init.cc | 33 stage_slot* slots; member 43 g_slots[i].slots = nullptr; in grpc_channel_init_init() 57 g_slots[type].slots = static_cast<stage_slot*>( in grpc_channel_init_register_stage() 58 gpr_realloc(g_slots[type].slots, in grpc_channel_init_register_stage() 59 g_slots[type].cap_slots * sizeof(*g_slots[type].slots))); in grpc_channel_init_register_stage() 61 stage_slot* s = &g_slots[type].slots[g_slots[type].num_slots++]; in grpc_channel_init_register_stage() 80 qsort(g_slots[i].slots, g_slots[i].num_slots, sizeof(*g_slots[i].slots), in grpc_channel_init_finalize() 88 gpr_free(g_slots[i].slots); in grpc_channel_init_shutdown() 89 g_slots[i].slots = in grpc_channel_init_shutdown() 102 const stage_slot* slot = &g_slots[type].slots[i]; in grpc_channel_init_create_stack()
|
/external/v8/src/heap/ |
D | remembered-set.h | 122 SlotSet* slots = chunk->slot_set<type>(); in IterateMemoryChunks() local 124 if (slots != nullptr || typed_slots != nullptr || in IterateMemoryChunks() 140 SlotSet* slots = chunk->slot_set<type>(); in Iterate() local 141 if (slots != nullptr) { in Iterate() 145 new_count += slots[page].Iterate(callback, mode); in Iterate() 158 SlotSet* slots = chunk->slot_set<type>(); in NumberOfPreFreedEmptyBuckets() local 159 if (slots != nullptr) { in NumberOfPreFreedEmptyBuckets() 162 result += slots[page].NumberOfPreFreedEmptyBuckets(); in NumberOfPreFreedEmptyBuckets() 170 SlotSet* slots = chunk->slot_set<type>(); in PreFreeEmptyBuckets() local 171 if (slots != nullptr) { in PreFreeEmptyBuckets() [all …]
|
/external/curl/lib/ |
D | hash.c | 58 int slots, in Curl_hash_init() argument 63 if(!slots || !hfunc || !comparator ||!dtor) { in Curl_hash_init() 71 h->slots = slots; in Curl_hash_init() 73 h->table = malloc(slots * sizeof(struct curl_llist)); in Curl_hash_init() 76 for(i = 0; i < slots; ++i) in Curl_hash_init() 80 h->slots = 0; in Curl_hash_init() 99 #define FETCH_LIST(x,y,z) &x->table[x->hash_func(y, z, x->slots)] 186 for(i = 0; i < h->slots; ++i) { in Curl_hash_apply() 209 for(i = 0; i < h->slots; ++i) { in Curl_hash_destroy() 215 h->slots = 0; in Curl_hash_destroy() [all …]
|
/external/u-boot/fs/btrfs/ |
D | ctree.c | 90 p->slots[i] = 0; in clear_path() 183 p->slots[lvl] = slot; in btrfs_search_tree() 212 slot = p.slots[level]; in jump_leaf() 223 p.slots[level] = slot + dir; in jump_leaf() 230 slot = p.slots[level + 1]; in jump_leaf() 240 p.slots[level] = 0; in jump_leaf() 242 p.slots[level] = p.nodes[level]->header.nritems - 1; in jump_leaf() 262 if (!p->slots[0]) in btrfs_prev_slot() 265 p->slots[0]--; in btrfs_prev_slot() 273 if (p->slots[0] >= leaf->header.nritems) in btrfs_next_slot() [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/mesa3d/src/gallium/drivers/r600/ |
D | r600_asm.c | 294 unsigned slots = r600_isa_alu_slots(bc->isa->hw_class, alu->op); in is_alu_vec_unit_inst() local 295 return !(slots & AF_S); in is_alu_vec_unit_inst() 300 unsigned slots = r600_isa_alu_slots(bc->isa->hw_class, alu->op); in is_alu_trans_unit_inst() local 301 return !(slots & AF_V); in is_alu_trans_unit_inst() 307 unsigned slots = r600_isa_alu_slots(bc->isa->hw_class, alu->op); in is_alu_any_unit_inst() local 308 return slots == AF_VS; in is_alu_any_unit_inst() 525 struct r600_bytecode_alu *slots[5]) in check_and_set_bank_swizzle() 534 if (slots[i]) { in check_and_set_bank_swizzle() 535 if (slots[i]->bank_swizzle_force) { in check_and_set_bank_swizzle() 536 slots[i]->bank_swizzle = slots[i]->bank_swizzle_force; in check_and_set_bank_swizzle() [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/python/cpython3/Lib/ |
D | copyreg.py | 121 slots = c.__dict__['__slots__'] 123 if isinstance(slots, str): 124 slots = (slots,) 125 for name in slots:
|
/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/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 | 112 is_bootable = (ab_data.slots[slot].priority > 0) && in module_isSlotBootable() 113 (ab_data.slots[slot].successful_boot || in module_isSlotBootable() 114 (ab_data.slots[slot].tries_remaining > 0)); in module_isSlotBootable() 132 is_marked_successful = ab_data.slots[slot].successful_boot; in module_isSlotMarkedSuccessful()
|
/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/brotli/research/ |
D | durchschlag.cc | 86 MetaSlot* slots = map->data(); in buildCandidatesList() local 88 slots[j].mark = 0; in buildCandidatesList() 96 MetaSlot& item = slots[shortcut[j]]; in buildCandidatesList() 108 MetaSlot& pick = slots[slice]; in buildCandidatesList() 119 MetaSlot& drop = slots[shortcut[i]]; in buildCandidatesList() 130 MetaSlot& pick = slots[slice]; in buildCandidatesList() 151 MetaSlot& drop = slots[shortcut[i]]; in buildCandidatesList() 159 slots[j].mark = 0; in buildCandidatesList() 178 MetaSlot* slots = map->data(); in rebuildCandidatesList() local 180 slots[i].mark = 0; in rebuildCandidatesList() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/ |
D | frame-21.ll | 1 ; Test the allocation of emergency spill slots. 18 ; spill slots. Check the minimum such case. 30 ; in reach, so the maximum frame size without emergency spill slots is 32 ; case where we still need no emergency spill slots ... 55 ; Check the maximum case where we still need no emergency spill slots ...
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | StackColoring.cpp | 491 SmallVector<int, 4> &slots, 584 SmallVector<int, 4> &slots, in isLifetimeStartOrEnd() argument 593 slots.push_back(Slot); in isLifetimeStartOrEnd() 612 slots.push_back(Slot); in isLifetimeStartOrEnd() 722 SmallVector<int, 4> slots; in collectMarkers() local 725 slots.clear(); in collectMarkers() 726 if (isLifetimeStartOrEnd(MI, slots, isStart)) { in collectMarkers() 728 assert(slots.size() == 1 && "unexpected: MI ends multiple slots"); in collectMarkers() 729 int Slot = slots[0]; in collectMarkers() 735 for (auto Slot : slots) { in collectMarkers() [all …]
|
/external/mesa3d/src/compiler/nir/ |
D | nir_linking_helpers.c | 57 unsigned slots = glsl_count_attribute_slots(type, false); in get_variable_io_mask() local 58 return ((1ull << slots) - 1) << location; in get_variable_io_mask() 231 unsigned slots = glsl_count_attribute_slots(type, false); in get_slot_component_masks_and_interp_types() local 233 for (unsigned i = 0; i < slots; i++) { in get_slot_component_masks_and_interp_types() 301 uint64_t slots = (((uint64_t)1 << num_slots) - 1) << var->data.location; in remap_slots_and_components() local 302 if (slots & *slots_used) in remap_slots_and_components() 305 if (slots & *out_slots_read) in remap_slots_and_components()
|
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/ |
D | StackFrameImpl.java | 209 JDWP.StackFrame.GetValues.SlotInfo[] slots = in getValues() local 218 slots[i] = new JDWP.StackFrame.GetValues.SlotInfo(variable.slot(), in getValues() 227 ps = JDWP.StackFrame.GetValues.enqueueCommand(vm, thread, id, slots); in getValues() 323 JDWP.StackFrame.GetValues.SlotInfo[] slots = in getArgumentValues() local 334 slots[ii] = new JDWP.StackFrame.GetValues.SlotInfo(slot++,(byte)sigChar); in getArgumentValues() 345 ps = JDWP.StackFrame.GetValues.enqueueCommand(vm, thread, id, slots); in getArgumentValues()
|
/external/libxaac/decoder/ |
D | ixheaacd_lpp_tran.c | 273 WORD32 *real_buffer, WORD32 num_bands, WORD16 slots) { in ixheaacd_covariance_matrix_calc_2_dec() argument 315 for (n = ((slots - 2) >> 1); n; n--) { in ixheaacd_covariance_matrix_calc_2_dec() 351 if (slots & 0x01) { in ixheaacd_covariance_matrix_calc_2_dec() 380 curr_real = real_buffer[(slots - 2) * 128]; in ixheaacd_covariance_matrix_calc_2_dec() 381 curr_imag = img_buffer[(slots - 2) * 128]; in ixheaacd_covariance_matrix_calc_2_dec() 401 ixheaacd_mac32x16hin32(t_phi_01, real_buffer[(slots - 1) * 128] >> 3, in ixheaacd_covariance_matrix_calc_2_dec() 402 real_buffer[(slots - 2) * 128] >> 3); in ixheaacd_covariance_matrix_calc_2_dec() 404 ixheaacd_mac32x16hin32(t_phi_01, img_buffer[(slots - 1) * 128] >> 3, in ixheaacd_covariance_matrix_calc_2_dec() 405 img_buffer[(slots - 2) * 128] >> 3); in ixheaacd_covariance_matrix_calc_2_dec() 419 ixheaacd_mac32x16hin32(t_phi_01_i, img_buffer[(slots - 1) * 128] >> 3, in ixheaacd_covariance_matrix_calc_2_dec() [all …]
|