Home
last modified time | relevance | path

Searched refs:slots (Results 1 – 25 of 229) sorted by relevance

12345678910

/external/avb/libavb_ab/
Davb_ab_flow.c67 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()
229 if (slot_is_bootable(&ab_data.slots[n])) { in avb_ab_flow()
283 slot_set_unbootable(&ab_data.slots[n]); in avb_ab_flow()
[all …]
/external/avb/test/
Davb_ab_flow_unittest.cc42 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()
248 data.slots[0].priority = a_pri; in SetMD()
[all …]
/external/curl/lib/
Dhash.c60 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 …]
Dhash.h55 int slots; member
72 int slots,
/external/valgrind/memcheck/tests/solaris/
Dpkcs11.c22 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/autotest/client/site_tests/firmware_TouchMTB/tests/
Dfake_input_device.py9 def __init__(self, number_fingers=0, slots={}): argument
11 self.slots = slots
17 return self.slots
Dmtb_unittest.py114 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/
Dtest_conf.py386 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 …]
Dvalidators.py867 def __init__(self, criteria_str, mf=None, device=None, slots=(0,), argument
871 self.slots = (slots,) if isinstance(slots, int) else slots
887 for slot in self.slots:
947 slots = (0, 1)
948 actual_relative_motion = self.packets.get_relative_motion(slots)
1083 def __init__(self, criteria_str, mf=None, device=None, slots=0): argument
1087 self.slots = slots
1093 slots = self.slots[0]
1094 displacements = self.packets.get_displacements_for_slots(slots)
/external/curl/tests/unit/
Dunit1603.c32 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/
Dremembered-set.h102 SlotSet* slots = GetSlotSet(chunk); in IterateMemoryChunks() local
104 if (slots != nullptr || typed_slots != nullptr) { in IterateMemoryChunks()
115 SlotSet* slots = GetSlotSet(chunk); in Iterate() local
116 if (slots != nullptr) { in Iterate()
121 slots[page].Iterate(callback, SlotSet::PREFREE_EMPTY_BUCKETS); in Iterate()
154 TypedSlotSet* slots = GetTypedSlotSet(page); in RemoveRangeTyped() local
155 if (slots != nullptr) { in RemoveRangeTyped()
156 slots->Iterate( in RemoveRangeTyped()
181 TypedSlotSet* slots = GetTypedSlotSet(chunk); in IterateTyped() local
182 if (slots != nullptr) { in IterateTyped()
[all …]
/external/libunwind/include/tdep-ia64/
Drse.h48 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/
Dboot_control_avb.c104 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/
Dr600_asm.c811 struct r600_bytecode_alu *slots[5]) in check_and_set_bank_swizzle()
820 if (slots[i]) { in check_and_set_bank_swizzle()
821 if (slots[i]->bank_swizzle_force) { in check_and_set_bank_swizzle()
822 slots[i]->bank_swizzle = slots[i]->bank_swizzle_force; in check_and_set_bank_swizzle()
828 if (i < 4 && slots[i]) in check_and_set_bank_swizzle()
837 if (!slots[i] || !slots[i]->bank_swizzle_force) in check_and_set_bank_swizzle()
840 bank_swizzle[i] = slots[i]->bank_swizzle; in check_and_set_bank_swizzle()
854 if (slots[i]) { in check_and_set_bank_swizzle()
855 r = check_vector(bc, slots[i], &bs, bank_swizzle[i]); in check_and_set_bank_swizzle()
863 if (!r && slots[4] && max_slots == 5) { in check_and_set_bank_swizzle()
[all …]
/external/mesa3d/src/gallium/tests/trivial/
Dcompute.c306 static void init_sampler_views(struct context *ctx, const int *slots) in init_sampler_views() argument
312 for (i = 0; *slots >= 0; ++i, ++slots) { in init_sampler_views()
313 u_sampler_view_default_template(&tview, ctx->tex[*slots], in init_sampler_views()
314 ctx->tex[*slots]->format); in init_sampler_views()
316 ctx->view[i] = pipe->create_sampler_view(pipe, ctx->tex[*slots], in init_sampler_views()
339 static void init_compute_resources(struct context *ctx, const int *slots) in init_compute_resources() argument
344 for (i = 0; *slots >= 0; ++i, ++slots) { in init_compute_resources()
346 .format = ctx->tex[*slots]->format, in init_compute_resources()
347 .usage = ctx->tex[*slots]->bind, in init_compute_resources()
348 .writable = ctx->tex_rw[*slots] in init_compute_resources()
[all …]
/external/llvm/lib/CodeGen/
DStackColoring.cpp345 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/syslinux/core/fs/btrfs/
Dbtrfs.c256 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/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Duserdatarequest.h28 public slots:
31 protected slots:
Dscanresults.h26 public slots:
33 protected slots:
Dnetworkconfig.h33 public slots:
42 protected slots:
Deventhistory.h46 public slots:
50 protected slots:
/external/selinux/libselinux/src/
Davc.c34 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 …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86CallingConv.td166 // 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/llvm/test/CodeGen/X86/
Dstatepoint-stack-usage.ll6 ; This test is checking to make sure that we reuse the same stack slots
13 ; The exact stores don't matter, but there need to be three stack slots created
34 ; This test simply checks that minor changes in vm state don't prevent slots
38 ; The exact stores don't matter, but there need to be three stack slots created
57 ; Test that stack slots are reused for invokes
61 ; The exact stores don't matter, but there need to be three stack slots created
/external/llvm/lib/Target/XCore/
DXCoreCallingConv.td19 // Integer values get stored in stack slots that are 4 bytes in
37 // Integer values get stored in stack slots that are 4 bytes in

12345678910