Home
last modified time | relevance | path

Searched refs:stop (Results 1 – 25 of 201) sorted by relevance

123456789

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dsliceobject.c61 PySlice_New(PyObject *start, PyObject *stop, PyObject *step) in PySlice_New() argument
72 if (stop == NULL) stop = Py_None; in PySlice_New()
73 Py_INCREF(stop); in PySlice_New()
77 obj->stop = stop; in PySlice_New()
103 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step) in PySlice_GetIndices() argument
119 if (r->stop == Py_None) { in PySlice_GetIndices()
120 *stop = *step < 0 ? -1 : length; in PySlice_GetIndices()
122 if (!PyInt_Check(r->stop) && !PyLong_Check(r->step)) return -1; in PySlice_GetIndices()
123 *stop = PyInt_AsSsize_t(r->stop); in PySlice_GetIndices()
124 if (*stop < 0) *stop += length; in PySlice_GetIndices()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dsliceobject.c61 PySlice_New(PyObject *start, PyObject *stop, PyObject *step) in PySlice_New() argument
72 if (stop == NULL) stop = Py_None; in PySlice_New()
73 Py_INCREF(stop); in PySlice_New()
77 obj->stop = stop; in PySlice_New()
103 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step) in PySlice_GetIndices() argument
119 if (r->stop == Py_None) { in PySlice_GetIndices()
120 *stop = *step < 0 ? -1 : length; in PySlice_GetIndices()
122 if (!PyInt_Check(r->stop) && !PyLong_Check(r->step)) return -1; in PySlice_GetIndices()
123 *stop = PyInt_AsSsize_t(r->stop); in PySlice_GetIndices()
124 if (*stop < 0) *stop += length; in PySlice_GetIndices()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dsliceobject.h24 PyObject *start, *stop, *step; /* not NULL */ member
32 PyAPI_FUNC(PyObject *) PySlice_New(PyObject* start, PyObject* stop,
34 PyAPI_FUNC(PyObject *) _PySlice_FromIndices(Py_ssize_t start, Py_ssize_t stop);
36 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step);
38 Py_ssize_t *start, Py_ssize_t *stop,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dsliceobject.h24 PyObject *start, *stop, *step; /* not NULL */ member
32 PyAPI_FUNC(PyObject *) PySlice_New(PyObject* start, PyObject* stop,
34 PyAPI_FUNC(PyObject *) _PySlice_FromIndices(Py_ssize_t start, Py_ssize_t stop);
36 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step);
38 Py_ssize_t *start, Py_ssize_t *stop,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/
DRange.py28 start, stop, step = handleargs(a)
30 while value < stop:
47 self.start, self.stop, self.step = handleargs(a)
48 self.len = max(0, (self.stop - self.start) // self.step)
52 return 'range(%r, %r, %r)' % (self.start, self.stop, self.step)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_xrange.py13 def pyrange(start, stop, step): argument
14 if (start - stop) // step < 0:
17 stop += (start - stop) % step
18 while start != stop:
22 def pyrange_reversed(start, stop, step): argument
23 stop += (start - stop) % step
24 return pyrange(stop - step, start - step, -step)
Dtest_buffer.py18 for stop in indices:
21 self.assertEqual(b[start:stop:step],
22 s[start:stop:step])
Dtest_userstring.py95 for stop in indices:
103 data = L[start:stop:step]
105 L[start:stop:step] = data
106 s[start:stop:step] = "".join(data)
109 del L[start:stop:step]
110 del s[start:stop:step]
Dtest_random.py247 stop = self.gen.randrange(2 ** (i-2))
248 if stop <= start:
250 self.assertTrue(start <= self.gen.randrange(start, stop) < stop)
253 for start, stop in [(-2,0), (-(2**60)-2,-(2**60)), (2**60,2**60+2)]:
254 self.assertEqual(set(range(start,stop)),
255 set([self.gen.randrange(start,stop) for i in xrange(100)]))
399 stop = self.gen.randrange(2 ** (i-2))
400 if stop <= start:
402 self.assertTrue(start <= self.gen.randrange(start, stop) < stop)
405 for start, stop in [(-2,0), (-(2**60)-2,-(2**60)), (2**60,2**60+2)]:
[all …]
Dtest_urllib2_localnet.py54 def stop(self): member in LoopbackHttpServerThread
255 self.server.stop()
377 self.server.stop()
398 self.server.stop()
413 self.server.stop()
427 self.server.stop()
439 self.server.stop()
454 self.server.stop()
467 self.server.stop()
478 self.server.stop()
[all …]
Dfork_wait.py27 self.stop = 0
30 while not self.stop:
78 self.stop = 1
Dtest_slice.py56 self.assertEqual(s.stop, 1)
61 self.assertEqual(s.stop, 2)
66 self.assertEqual(s.stop, 2)
74 self.assertTrue(s.stop is obj)
Dtest_colorsys.py4 def frange(start, stop, step): argument
5 while start <= stop:
Dtest_structseq.py110 for stop in indices:
113 self.assertEqual(list(t[start:stop:step]),
114 L[start:stop:step])
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/hotshot/
D__init__.py23 self.stop = p.stop
38 def stop(self): member in Profile
40 self._prof.stop()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
DC.g144 …definition.start.charPositionInLine, $function_definition.stop.line, $function_definition.stop.cha…
217 if s.stop != None:
218 …ructUnionDefinition($s.start.line, $s.start.charPositionInLine, $s.stop.line, $s.stop.charPosition…
222 if e.stop != None:
223 …umerationDefinition($e.start.line, $e.start.charPositionInLine, $e.stop.line, $e.stop.charPosition…
481 …PredicateExpression($e.start.line, $e.start.charPositionInLine, $e.stop.line, $e.stop.charPosition…
567 …PredicateExpression($e.start.line, $e.start.charPositionInLine, $e.stop.line, $e.stop.charPosition…
572 …PredicateExpression($e.start.line, $e.start.charPositionInLine, $e.stop.line, $e.stop.charPosition…
573 …PredicateExpression($e.start.line, $e.start.charPositionInLine, $e.stop.line, $e.stop.charPosition…
574 …PredicateExpression($e.start.line, $e.start.charPositionInLine, $e.stop.line, $e.stop.charPosition…
/device/generic/goldfish/wifi/wifi_hal/
Dinfo.cpp43 void Info::stop(StopHandler stopHandler) { in stop() function in Info
44 mNetlink.stop(stopHandler); in stop()
Dnetlink.cpp85 void Netlink::stop(StopHandler handler) { in stop() function in Netlink
86 char stop = 1; in stop() local
94 ::write(mControlPipe[kControlWrite], &stop, sizeof(stop)); in stop()
Dhalstate.cpp48 bool HalState::stop(StopHandler stopHandler) { in stop() function in HalState
72 mInfo->stop(std::bind(&HalState::onStop, this, stopHandler)); in stop()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/
Dclockres.py18 stop = wallclock() + TEST_TIME
22 if now >= stop:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
DUserString.py163 start, stop, step = index.indices(len(self.data))
165 start, stop = stop+1, start+1
171 start = min(start, stop)
172 self.data = self.data[:start] + sub + self.data[stop:]
180 start, stop, step = index.indices(len(self.data))
182 start, stop = stop+1, start+1
186 start = min(start, stop)
187 self.data = self.data[:start] + self.data[stop:]
Dcmd.py123 stop = None
124 while not stop:
142 stop = self.onecmd(line)
143 stop = self.postcmd(stop, line)
161 def postcmd(self, stop, line): argument
163 return stop
/device/google/contexthub/firmware/os/platform/stm32/misc/
Dm3debug.script24 reset-stop
25 stop
26 stop
/device/google/trout/hal/sensors/2.0/
DSensorThread.cpp38 stop(); in ~SensorThread()
56 void SensorThread::stop() { in stop() function in android::hardware::sensors::V2_0::subhal::implementation::SensorThread
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dcmd.py123 stop = None
124 while not stop:
142 stop = self.onecmd(line)
143 stop = self.postcmd(stop, line)
161 def postcmd(self, stop, line): argument
163 return stop

123456789