Home
last modified time | relevance | path

Searched refs:it (Results 1 – 25 of 741) sorted by relevance

12345678910>>...30

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Diterobject.c14 seqiterobject *it; in PySeqIter_New() local
20 it = PyObject_GC_New(seqiterobject, &PySeqIter_Type); in PySeqIter_New()
21 if (it == NULL) in PySeqIter_New()
23 it->it_index = 0; in PySeqIter_New()
25 it->it_seq = seq; in PySeqIter_New()
26 _PyObject_GC_TRACK(it); in PySeqIter_New()
27 return (PyObject *)it; in PySeqIter_New()
31 iter_dealloc(seqiterobject *it) in iter_dealloc() argument
33 _PyObject_GC_UNTRACK(it); in iter_dealloc()
34 Py_XDECREF(it->it_seq); in iter_dealloc()
[all …]
Drangeobject.c295 rangeiterobject *it; in range_iter() local
301 it = PyObject_New(rangeiterobject, &Pyrangeiter_Type); in range_iter()
302 if (it == NULL) in range_iter()
304 it->index = 0; in range_iter()
305 it->start = ((rangeobject *)seq)->start; in range_iter()
306 it->step = ((rangeobject *)seq)->step; in range_iter()
307 it->len = ((rangeobject *)seq)->len; in range_iter()
308 return (PyObject *)it; in range_iter()
314 rangeiterobject *it; in range_reverse() local
321 it = PyObject_New(rangeiterobject, &Pyrangeiter_Type); in range_reverse()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Diterobject.c14 seqiterobject *it; in PySeqIter_New() local
20 it = PyObject_GC_New(seqiterobject, &PySeqIter_Type); in PySeqIter_New()
21 if (it == NULL) in PySeqIter_New()
23 it->it_index = 0; in PySeqIter_New()
25 it->it_seq = seq; in PySeqIter_New()
26 _PyObject_GC_TRACK(it); in PySeqIter_New()
27 return (PyObject *)it; in PySeqIter_New()
31 iter_dealloc(seqiterobject *it) in iter_dealloc() argument
33 _PyObject_GC_UNTRACK(it); in iter_dealloc()
34 Py_XDECREF(it->it_seq); in iter_dealloc()
[all …]
Drangeobject.c270 rangeiterobject *it; in range_iter() local
276 it = PyObject_New(rangeiterobject, &Pyrangeiter_Type); in range_iter()
277 if (it == NULL) in range_iter()
279 it->index = 0; in range_iter()
280 it->start = ((rangeobject *)seq)->start; in range_iter()
281 it->step = ((rangeobject *)seq)->step; in range_iter()
282 it->len = ((rangeobject *)seq)->len; in range_iter()
283 return (PyObject *)it; in range_iter()
289 rangeiterobject *it; in range_reverse() local
296 it = PyObject_New(rangeiterobject, &Pyrangeiter_Type); in range_reverse()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_iterlen.py66 it = self.it
68 self.assertEqual(len(it), i)
69 it.next()
70 self.assertEqual(len(it), 0)
71 self.assertRaises(StopIteration, it.next)
72 self.assertEqual(len(it), 0)
80 it = self.it
81 self.assertEqual(len(it), n)
82 it.next()
83 self.assertEqual(len(it), n-1)
[all …]
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DIndexRangeCache.cpp40 IndexRangeMap::const_iterator it = in findRange() local
44 if (it != mIndexRangeCache.end()) { in findRange()
45 if (start_out) *start_out = it->second.start; in findRange()
46 if (end_out) *end_out = it->second.end; in findRange()
60 IndexRangeMap::iterator it = mIndexRangeCache.begin(); in invalidateRange() local
62 while (it != mIndexRangeCache.end()) { in invalidateRange()
63 size_t rangeStart = it->first.offset; in invalidateRange()
65 it->first.offset + in invalidateRange()
66 it->first.count * glSizeof(it->first.type); in invalidateRange()
70 ++it; in invalidateRange()
[all …]
DKeyedVectorUtils.h22 typename std::map<GLuint, T>::iterator it = v.begin(); in clearObjectMap() local
23 for (; it != v.end(); ++it) { in clearObjectMap()
24 delete it->second; in clearObjectMap()
31 typename std::map<K, V>::const_iterator it = m.find(key);
33 if (it == m.end()) {
37 return it->second;
/device/google/cuttlefish_common/guest/hals/camera/
DEmulatedCameraHotplugThread.cpp64 Vector<SubscriberInfo>::iterator it; in requestExit() local
65 for (it = mSubscribers.begin(); it != mSubscribers.end(); ++it) { in requestExit()
66 if (inotify_rm_watch(mInotifyFd, it->WatchID) == -1) { in requestExit()
70 __FUNCTION__, it->CameraID, strerror(errno), errno); in requestExit()
74 ALOGV("%s: Removed watch for camID '%d'", __FUNCTION__, it->CameraID); in requestExit()
110 Vector<int>::const_iterator it, end; in readyToRun() local
111 it = mSubscribedCameraIds.begin(); in readyToRun()
113 for (; it != end; ++it) { in readyToRun()
114 int cameraId = *it; in readyToRun()
234 Vector<int>::const_iterator it, end; in getCameraId() local
[all …]
/device/generic/goldfish/camera/
DEmulatedCameraHotplugThread.cpp70 Vector<SubscriberInfo>::iterator it; in requestExit() local
71 for (it = mSubscribers.begin(); it != mSubscribers.end(); ++it) { in requestExit()
73 if (inotify_rm_watch(mInotifyFd, it->WatchID) == -1) { in requestExit()
77 __FUNCTION__, it->CameraID, strerror(errno), in requestExit()
83 __FUNCTION__, it->CameraID); in requestExit()
119 Vector<int>::const_iterator it, end; in readyToRun() local
120 it = mSubscribedCameraIds.begin(); in readyToRun()
122 for (; it != end; ++it) { in readyToRun()
123 int cameraId = *it; in readyToRun()
251 Vector<int>::const_iterator it, end; in getCameraId() local
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dheapq.py196 it = iter(iterable)
197 result = list(islice(it, n))
202 for elem in it:
215 it = iter(iterable)
216 result = sorted(islice(it, 0, n))
222 for elem in it:
334 for itnum, it in enumerate(map(iter, iterables)):
336 next = it.next
363 it = iter(iterable)
364 head = list(islice(it, 1))
[all …]
D_abcoll.py183 def _from_iterable(cls, it): argument
189 return cls(it)
281 it = iter(self)
283 value = next(it)
297 def __ior__(self, it): argument
298 for value in it:
302 def __iand__(self, it): argument
303 for value in (self - it):
307 def __ixor__(self, it): argument
308 if it is self:
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dheapq.py210 it = iter(iterable)
211 result = list(islice(it, n))
216 for elem in it:
228 it = iter(iterable)
229 result = list(islice(it, n))
234 for elem in it:
373 for itnum, it in enumerate(map(iter, iterables)):
375 next = it.next
406 it = iter(iterable)
407 head = list(islice(it, 1))
[all …]
D_abcoll.py189 def _from_iterable(cls, it): argument
195 return cls(it)
312 it = iter(self)
314 value = next(it)
328 def __ior__(self, it): argument
329 for value in it:
333 def __iand__(self, it): argument
334 for value in (self - it):
338 def __ixor__(self, it): argument
339 if it is self:
[all …]
/device/google/cuttlefish_common/guest/hals/audio/legacy/
Dvsoc_audio.cpp50 for (std::list<GceAudioOutputStream*>::iterator it = output_list_.begin(); in Close() local
51 it != output_list_.end(); ++it) { in Close()
52 delete *it; in Close()
54 for (input_map_t::iterator it = input_map_.begin(); in Close() local
55 it != input_map_.end(); ++it) { in Close()
56 delete it->second; in Close()
129 for (input_map_t::iterator it = input_map_.begin(); in CloseInputStream() local
130 it != input_map_.end(); ++it) { in CloseInputStream()
131 if (it->second == stream) { in CloseInputStream()
132 descriptor = it->second->GetStreamDescriptor( in CloseInputStream()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_collectionsmodule.c283 consume_iterator(PyObject *it) in consume_iterator() argument
287 while ((item = PyIter_Next(it)) != NULL) { in consume_iterator()
290 Py_DECREF(it); in consume_iterator()
299 PyObject *it, *item; in deque_extend() local
312 it = PyObject_GetIter(iterable); in deque_extend()
313 if (it == NULL) in deque_extend()
317 return consume_iterator(it); in deque_extend()
319 while ((item = PyIter_Next(it)) != NULL) { in deque_extend()
326 Py_DECREF(it); in deque_extend()
339 Py_DECREF(it); in deque_extend()
[all …]
Ditertoolsmodule.c16 PyObject *it; member
31 PyObject *it, *keyfunc = Py_None; in groupby_new() local
34 &it, &keyfunc)) in groupby_new()
45 gbo->it = PyObject_GetIter(it); in groupby_new()
46 if (gbo->it == NULL) { in groupby_new()
57 Py_XDECREF(gbo->it); in groupby_dealloc()
68 Py_VISIT(gbo->it); in groupby_traverse()
98 newvalue = PyIter_Next(gbo->it); in groupby_next()
238 newvalue = PyIter_Next(gbo->it); in _grouper_next()
331 PyObject *it; member
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Ditertoolsmodule.c16 PyObject *it; member
31 PyObject *it, *keyfunc = Py_None; in groupby_new() local
34 &it, &keyfunc)) in groupby_new()
45 gbo->it = PyObject_GetIter(it); in groupby_new()
46 if (gbo->it == NULL) { in groupby_new()
57 Py_XDECREF(gbo->it); in groupby_dealloc()
68 Py_VISIT(gbo->it); in groupby_traverse()
98 newvalue = PyIter_Next(gbo->it); in groupby_next()
238 newvalue = PyIter_Next(gbo->it); in _grouper_next()
331 PyObject *it; member
[all …]
D_collectionsmodule.c282 consume_iterator(PyObject *it) in consume_iterator() argument
286 while ((item = PyIter_Next(it)) != NULL) { in consume_iterator()
289 Py_DECREF(it); in consume_iterator()
298 PyObject *it, *item; in deque_extend() local
311 it = PyObject_GetIter(iterable); in deque_extend()
312 if (it == NULL) in deque_extend()
316 return consume_iterator(it); in deque_extend()
318 while ((item = PyIter_Next(it)) != NULL) { in deque_extend()
325 Py_DECREF(it); in deque_extend()
338 Py_DECREF(it); in deque_extend()
[all …]
/device/linaro/hikey/bluetooth/
Dasync_fd_watcher.cc120 for (auto& it : watched_fds_) { in ThreadRoutine() local
121 FD_SET(it.first, &read_fds); in ThreadRoutine()
122 max_read_fd = std::max(max_read_fd, it.first); in ThreadRoutine()
163 for (auto& it : watched_fds_) { in ThreadRoutine() local
164 if (FD_ISSET(it.first, &read_fds)) { in ThreadRoutine()
165 saved_callbacks.push_back(it); in ThreadRoutine()
170 for (auto& it : saved_callbacks) { in ThreadRoutine() local
171 if (it.second) { in ThreadRoutine()
172 it.second(it.first); in ThreadRoutine()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/
DDataHubStdErrDxe.uni2 // This driver takes DEBUG info from Data Hub and writes it to StdErr if it exists.
4 // This driver takes DEBUG info from a Data Hub and writes it to StdErr if it exists.
18 … #language en-US "Takes DEBUG information from a Data Hub; writes it to StdErr if it exists"
20 …language en-US "This driver takes DEBUG info from a Data Hub and writes it to StdErr if it exists."
/device/linaro/poplar/wifi/wifi_hal/
Dwifi_logger.cpp350 nl_iterator it(vendor_data); in handleResponse() local
351 if (it.get_type() == LOGGER_ATTRIBUTE_RING_NUM) { in handleResponse()
352 unsigned int num_rings = it.get_u32(); in handleResponse()
361 it.get_type(), LOGGER_ATTRIBUTE_RING_NUM); in handleResponse()
365 it.next(); in handleResponse()
366 for (unsigned int i = 0; it.has_next() && i < *mNumRings; it.next()) { in handleResponse()
367 if (it.get_type() == LOGGER_ATTRIBUTE_RING_STATUS) { in handleResponse()
368 memcpy(status, it.get_data(), sizeof(wifi_ring_buffer_status)); in handleResponse()
373 it.get_type(), it.get_len()); in handleResponse()
550 for (nl_iterator it(vendor_data); it.has_next(); it.next()) { in handleEvent() local
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibOptDxe/Arm/
DCopyMem.S6 # 32-bit aligned, else it does a byte copy. It also does a byte copy for
67 it ne
71 it ne
73 it eq
76 it ls
89 it ls
91 it hi
94 it ne
97 it ne
128 it ls
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/
DAVDVirglRenderer.cpp147 for (auto const& it : Resource::map) { in dump_global_state() local
148 Resource const* res = it.second; in dump_global_state()
158 for (auto const& it : res->context_map) { in dump_global_state() local
159 Context const* ctx = it.second; in dump_global_state()
166 for (auto const& it : Context::map) { in dump_global_state() local
167 Context const* ctx = it.second; in dump_global_state()
172 for (auto const& it : ctx->resource_map) { in dump_global_state() local
173 Resource const* res = it.second; in dump_global_state()
474 std::map<uint32_t, Resource*>::iterator it; in virgl_renderer_get_cursor_data() local
475 it = Resource::map.find(resource_id); in virgl_renderer_get_cursor_data()
[all …]
DRenderControl.cpp423 std::map<uint32_t, EglContext*>::iterator it; in rcDestroyContext() local
424 it = EglContext::map.find(ctx); in rcDestroyContext()
425 if (it == EglContext::map.end()) in rcDestroyContext()
428 EglContext* context = it->second; in rcDestroyContext()
454 std::map<uint32_t, EglSurface*>::iterator it; in rcDestroyWindowSurface() local
455 it = EglSurface::map.find(surface_); in rcDestroyWindowSurface()
456 if (it == EglSurface::map.end()) in rcDestroyWindowSurface()
459 EglSurface* surface = it->second; in rcDestroyWindowSurface()
530 std::map<uint32_t, EglSurface*>::iterator it; in rcFlushWindowColorBuffer() local
531 it = EglSurface::map.find(windowSurface); in rcFlushWindowColorBuffer()
[all …]
/device/google/cuttlefish_common/host/commands/launch/
Dprocess_monitor.cc166 auto it = monitored_processes_.begin(); in MonitorRoutine() local
167 while (it != monitored_processes_.end()) { in MonitorRoutine()
168 auto control_socket = it->proc->control_socket(); in MonitorRoutine()
172 keep_monitoring = it->on_control_socket_ready_cb(&(*it)); in MonitorRoutine()
175 ++it; in MonitorRoutine()
177 it = monitored_processes_.erase(it); in MonitorRoutine()

12345678910>>...30