Home
last modified time | relevance | path

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

12345678

/external/libgdx/backends/gdx-backend-jglfw/src/com/badlogic/gdx/backends/jglfw/
DSync.java117 private final long[] slots; field in Sync.RunningAvg
124 this.slots = new long[slotCount]; in RunningAvg()
129 while (this.offset < this.slots.length) { in init()
130 this.slots[this.offset++] = value; in init()
135 this.slots[this.offset++ % this.slots.length] = value; in add()
136 this.offset %= this.slots.length; in add()
141 for (int i = 0; i < this.slots.length; i++) { in avg()
142 sum += this.slots[i]; in avg()
144 return sum / this.slots.length; in avg()
149 for (int i = 0; i < this.slots.length; i++) { in dampenForLowResTicker()
[all …]
/external/dbus/dbus/
Ddbus-dataslot.c215 list->slots = NULL; in _dbus_data_slot_list_init()
261 tmp = dbus_realloc (list->slots, in _dbus_data_slot_list_set()
266 list->slots = tmp; in _dbus_data_slot_list_set()
271 list->slots[i].data = NULL; in _dbus_data_slot_list_set()
272 list->slots[i].free_data_func = NULL; in _dbus_data_slot_list_set()
279 *old_data = list->slots[slot].data; in _dbus_data_slot_list_set()
280 *old_free_func = list->slots[slot].free_data_func; in _dbus_data_slot_list_set()
282 list->slots[slot].data = data; in _dbus_data_slot_list_set()
283 list->slots[slot].free_data_func = free_data_func; in _dbus_data_slot_list_set()
317 return list->slots[slot].data; in _dbus_data_slot_list_get()
[all …]
/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/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/jmonkeyengine/engine/src/test/jme3test/app/
DTestIDList.java80 static Object[] slots = new Object[16]; field in TestIDList
103 if (slots[slot] != val){ in setSlot()
105 slots[slot] = val; in setSlot()
111 if (slots[i] != null && enabledSlots[i] == false){ in checkSlots()
114 if (slots[i] == null && enabledSlots[i] == true){ in checkSlots()
120 if (slots[i] != val) in checkSlots()
125 if (slots[i] != null) in checkSlots()
137 slots[slot] = null; in clearSlots()
/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/v8/src/heap/
Dremembered-set.h75 SlotSet* slots = GetSlotSet(chunk); in IterateMemoryChunks() local
77 if (slots != nullptr || typed_slots != nullptr) { in IterateMemoryChunks()
88 SlotSet* slots = GetSlotSet(chunk); in Iterate() local
89 if (slots != nullptr) { in Iterate()
93 new_count += slots[page].Iterate(callback); in Iterate()
124 TypedSlotSet* slots = GetTypedSlotSet(page); in RemoveRangeTyped() local
125 if (slots != nullptr) { in RemoveRangeTyped()
126 slots->Iterate([start, end](SlotType slot_type, Address host_addr, in RemoveRangeTyped()
148 TypedSlotSet* slots = GetTypedSlotSet(chunk); in IterateTyped() local
149 if (slots != nullptr) { in IterateTyped()
[all …]
Dremembered-set.cc20 SlotSet* slots = GetSlotSet(chunk); in ClearInvalidSlots() local
21 if (slots != nullptr) { in ClearInvalidSlots()
22 slots->Iterate([heap, chunk](Address addr) { in ClearInvalidSlots()
/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/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/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/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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Method/
DVariableTableTest.java70 int slots = reply.getNextValueAsInt(); in testVariableTableTest001() local
71 logWriter.println("slots = "+slots); in testVariableTableTest001()
72 for (int j = 0; j < slots; j++) { in testVariableTableTest001()
DVariableTableWithGenericTest.java71 int slots = reply.getNextValueAsInt(); in testVariableTableWithGenericTest001() local
72 logWriter.println("slots = "+slots); in testVariableTableWithGenericTest001()
73 for (int j = 0; j < slots; j++) { in testVariableTableWithGenericTest001()
/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/libselinux/src/
Davc.c34 struct avc_node *slots[AVC_CACHE_SLOTS]; member
146 avc_cache.slots[i] = 0; in avc_init()
236 node = avc_cache.slots[i]; in avc_av_stats()
269 cur = avc_cache.slots[hvalue]; in hidden_def()
290 avc_cache.slots[hvalue] = cur->next; in hidden_def()
328 new->next = avc_cache.slots[hvalue]; in avc_claim_node()
329 avc_cache.slots[hvalue] = new; in avc_claim_node()
345 cur = avc_cache.slots[hvalue]; in avc_search_node()
472 node = avc_cache.slots[i]; in hidden_def()
481 avc_cache.slots[i] = 0; in hidden_def()
[all …]
/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/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

12345678