Home
last modified time | relevance | path

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

1234567891011

/third_party/flutter/glfw/tests/
Devents.c479 Slot* slots; in main() local
541 slots = calloc(count, sizeof(Slot)); in main()
547 slots[i].closeable = GLFW_TRUE; in main()
548 slots[i].number = i + 1; in main()
550 sprintf(title, "Event Linter (Window %i)", slots[i].number); in main()
555 slots[i].number, in main()
562 slots[i].number, in main()
566 slots[i].window = glfwCreateWindow(width, height, title, monitor, NULL); in main()
567 if (!slots[i].window) in main()
569 free(slots); in main()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/
DSDL_evdev.c89 } * slots; member
463 … item->touchscreen_data->slots[item->touchscreen_data->current_slot].tracking_id = events[i].value; in SDL_EVDEV_Poll()
464 …item->touchscreen_data->slots[item->touchscreen_data->current_slot].delta = EVDEV_TOUCH_SLOTDELTA_… in SDL_EVDEV_Poll()
466 …item->touchscreen_data->slots[item->touchscreen_data->current_slot].delta = EVDEV_TOUCH_SLOTDELTA_… in SDL_EVDEV_Poll()
472 … item->touchscreen_data->slots[item->touchscreen_data->current_slot].x = events[i].value; in SDL_EVDEV_Poll()
473 …if (item->touchscreen_data->slots[item->touchscreen_data->current_slot].delta == EVDEV_TOUCH_SLOTD… in SDL_EVDEV_Poll()
474 …item->touchscreen_data->slots[item->touchscreen_data->current_slot].delta = EVDEV_TOUCH_SLOTDELTA_… in SDL_EVDEV_Poll()
480 … item->touchscreen_data->slots[item->touchscreen_data->current_slot].y = events[i].value; in SDL_EVDEV_Poll()
481 …if (item->touchscreen_data->slots[item->touchscreen_data->current_slot].delta == EVDEV_TOUCH_SLOTD… in SDL_EVDEV_Poll()
482 …item->touchscreen_data->slots[item->touchscreen_data->current_slot].delta = EVDEV_TOUCH_SLOTDELTA_… in SDL_EVDEV_Poll()
[all …]
/third_party/grpc/src/core/lib/surface/
Dchannel_init.cc33 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()
/third_party/mtdev/test/
Dmtdev-kernel.c76 static void get_slots(int *slots, int nslot, int npos, unsigned x) in get_slots() argument
80 memset(slots, -1, sizeof(slots[0]) * npos); in get_slots()
83 slots[i % npos] = i / npos; in get_slots()
85 if (slots[i] < 0) in get_slots()
86 slots[i] = nslot++; in get_slots()
93 int slots[SLOT_MAX]; in generate_assignments() local
108 get_slots(slots, nslot, npos, x); in generate_assignments()
111 printf("\n\t%d,", slots[i]); in generate_assignments()
113 printf(" %d,", slots[i]); in generate_assignments()
/third_party/pulseaudio/src/pulsecore/
Dhook-list.c33 PA_LLIST_HEAD_INIT(pa_hook_slot, hook->slots); in pa_hook_init()
42 PA_LLIST_REMOVE(pa_hook_slot, hook->slots, slot); in slot_free()
51 while (hook->slots) in pa_hook_done()
52 slot_free(hook, hook->slots); in pa_hook_done()
70 for (where = hook->slots; where; where = where->next) { in pa_hook_connect()
76 PA_LLIST_INSERT_AFTER(pa_hook_slot, hook->slots, prev, slot); in pa_hook_connect()
100 PA_LLIST_FOREACH(slot, hook->slots) { in pa_hook_fire()
111 for (slot = hook->slots; hook->n_dead > 0 && slot; slot = next) { in pa_hook_fire()
/third_party/libinput/tools/
Dlibinput-analyze-per-slot-delta.py52 self.slots = []
57 return ' | '.join(self.slots)
61 self.slots.append('+++++++'.center(self.width))
64 self.slots.append('-------'.center(self.width))
67 self.slots.append(('*' * (self.width - 2)).center(self.width))
69 self.slots.append(' '.center(self.width))
103 self.slots.append(' '.center(self.width))
117 self.slots.append(string.ljust(self.width + len(color) + len(reset)))
144 slots = []
172 slots = [Slot(i) for i in range(0, nslots)]
[all …]
/third_party/boost/libs/random/test/
Dhistogram.cpp23 void plot_histogram(const std::vector<int>& slots, int samples, in plot_histogram() argument
26 int m = *std::max_element(slots.begin(), slots.end()); in plot_histogram()
33 for(unsigned int col = 0; col < slots.size(); col++) { in plot_histogram()
35 if(slots[col]/double(samples) >= y) in plot_histogram()
44 std::cout << std::setw(slots.size()-10) << to << std::endl; in plot_histogram()
94 std::vector<int> slots(nSlots,0); in histogram() local
100 if(slot < 0 || slot > (int)slots.size()) in histogram()
102 slots[slot]++; in histogram()
105 plot_histogram(slots, samples, from, to); in histogram()
/third_party/curl/lib/
Dhash.c58 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 …]
/third_party/uboot/u-boot-2020.01/fs/btrfs/
Dctree.c91 p->slots[i] = 0; in clear_path()
185 p->slots[lvl] = slot; in btrfs_search_tree()
224 slot = p.slots[level]; in jump_leaf()
235 p.slots[level] = slot + dir; in jump_leaf()
242 slot = p.slots[level + 1]; in jump_leaf()
252 p.slots[level] = 0; in jump_leaf()
254 p.slots[level] = p.nodes[level]->header.nritems - 1; in jump_leaf()
274 if (!p->slots[0]) in btrfs_prev_slot()
277 p->slots[0]--; in btrfs_prev_slot()
285 if (p->slots[0] + 1 >= leaf->header.nritems) in btrfs_next_slot()
[all …]
/third_party/skia/src/sksl/codegen/
DSkSLVMCodeGenerator.cpp69 explicit Value(size_t slots) { in Value()
70 fVals.resize(slots); in Value()
77 size_t slots() const { return fVals.size(); } in slots() function
183 skvm::F32 f32(const Value& v) { SkASSERT(v.slots() == 1); return f32(v[0]); } in f32()
184 skvm::I32 i32(const Value& v) { SkASSERT(v.slots() == 1); return i32(v[0]); } in i32()
188 Value result(v.slots()); in unary()
189 for (size_t i = 0; i < v.slots(); ++i) { in unary()
650 SkASSERT(resultIdx == result.slots()); in writeBinaryExpression()
654 size_t nslots = std::max(lVal.slots(), rVal.slots()); in writeBinaryExpression()
660 skvm::Val L = lVal.slots() == 1 ? lVal[0] : lVal[i], in writeBinaryExpression()
[all …]
/third_party/abseil-cpp/absl/container/internal/
Dcontainer_memory_test.cc236 slot_type slots[100]; in TEST() member
237 } slots; in TEST() local
243 slot_policy::construct(&alloc, &slots.slots[0], CopyableMovableInstance(1), in TEST()
246 slot_policy::transfer(&alloc, &slots.slots[i + 1], &slots.slots[i]); in TEST()
248 slot_policy::destroy(&alloc, &slots.slots[99]); in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dcontainer_memory_test.cc237 slot_type slots[100]; in TEST() member
238 } slots; in TEST() local
244 slot_policy::construct(&alloc, &slots.slots[0], CopyableMovableInstance(1), in TEST()
247 slot_policy::transfer(&alloc, &slots.slots[i + 1], &slots.slots[i]); in TEST()
249 slot_policy::destroy(&alloc, &slots.slots[99]); in TEST()
/third_party/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)
/third_party/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()
/third_party/python/Lib/
Dcopyreg.py128 slots = c.__dict__['__slots__']
130 if isinstance(slots, str):
131 slots = (slots,)
132 for name in slots:
/third_party/python/Objects/
Dstructseq.c454 PyType_Slot slots[8]; in PyStructSequence_NewType() local
468 slots[0] = (PyType_Slot){Py_tp_dealloc, (destructor)structseq_dealloc}; in PyStructSequence_NewType()
469 slots[1] = (PyType_Slot){Py_tp_repr, (reprfunc)structseq_repr}; in PyStructSequence_NewType()
470 slots[2] = (PyType_Slot){Py_tp_doc, (void *)desc->doc}; in PyStructSequence_NewType()
471 slots[3] = (PyType_Slot){Py_tp_methods, structseq_methods}; in PyStructSequence_NewType()
472 slots[4] = (PyType_Slot){Py_tp_new, structseq_new}; in PyStructSequence_NewType()
473 slots[5] = (PyType_Slot){Py_tp_members, members}; in PyStructSequence_NewType()
474 slots[6] = (PyType_Slot){Py_tp_traverse, (traverseproc)structseq_traverse}; in PyStructSequence_NewType()
475 slots[7] = (PyType_Slot){0, 0}; in PyStructSequence_NewType()
484 spec.slots = slots; in PyStructSequence_NewType()
/third_party/libinput/src/
Devdev-totem.c50 struct totem_slot *slots; member
125 struct totem_slot *slot = &totem->slots[i]; in totem_set_touch_device_enabled()
206 struct totem_slot *slot = &totem->slots[totem->slot]; in totem_process_abs()
502 &totem->slots[i], in totem_handle_state()
557 struct totem_slot *slot = &totem->slots[i]; in totem_interface_suspend()
609 free(totem->slots); in totem_interface_destroy()
667 struct totem_slot *slot = &totem->slots[i]; in totem_interface_initial_proximity()
801 struct totem_slot *slots; in evdev_totem_create() local
817 slots = zalloc(num_slots * sizeof(*totem->slots)); in evdev_totem_create()
820 slots[slot].index = slot; in evdev_totem_create()
[all …]
/third_party/ffmpeg/libavcodec/
Dvp9_raw_reorder_bsf.c38 unsigned int slots; member
66 ctx->slot[s]->slots &= ~(1 << s); in vp9_raw_reorder_clear_slot()
67 if (ctx->slot[s]->slots == 0) in vp9_raw_reorder_clear_slot()
230 if (frame->slots == 0) { in vp9_raw_reorder_make_output()
237 s = ff_ctz(frame->slots); in vp9_raw_reorder_make_output()
338 ctx->slot[s]->slots == (1 << s)) { in vp9_raw_reorder_filter()
363 frame->slots = frame->refresh_frame_flags; in vp9_raw_reorder_filter()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/
Duserdatarequest.h28 public slots:
31 protected slots:
Dscanresults.h26 public slots:
33 protected slots:
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/
Duserdatarequest.h28 public slots:
31 protected slots:
Dscanresults.h26 public slots:
33 protected slots:
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DStackColoring.cpp491 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 …]
/third_party/skia/third_party/externals/brotli/research/
Ddurchschlag.cc86 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 …]
/third_party/libinput/test/
Dlitest-device-protocol-a-touch-screen.c36 } slots[PROTOCOL_A_MAX_SLOTS]; member
65 struct slot *s = &dev->slots[i]; in protocolA_down()
109 struct slot *s = &dev->slots[i]; in protocolA_move()
146 struct slot *s = &dev->slots[i]; in protocolA_up()

1234567891011