/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | sliceobject.c | 61 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/ |
D | sliceobject.c | 61 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/ |
D | sliceobject.h | 24 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/ |
D | sliceobject.h | 24 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/ |
D | Range.py | 28 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/ |
D | test_xrange.py | 13 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)
|
D | test_buffer.py | 18 for stop in indices: 21 self.assertEqual(b[start:stop:step], 22 s[start:stop:step])
|
D | test_userstring.py | 95 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]
|
D | test_random.py | 247 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 …]
|
D | test_urllib2_localnet.py | 54 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 …]
|
D | fork_wait.py | 27 self.stop = 0 30 while not self.stop: 78 self.stop = 1
|
D | test_slice.py | 56 self.assertEqual(s.stop, 1) 61 self.assertEqual(s.stop, 2) 66 self.assertEqual(s.stop, 2) 74 self.assertTrue(s.stop is obj)
|
D | test_colorsys.py | 4 def frange(start, stop, step): argument 5 while start <= stop:
|
D | test_structseq.py | 110 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__.py | 23 self.stop = p.stop 38 def stop(self): member in Profile 40 self._prof.stop()
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/ |
D | C.g | 144 …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/ |
D | info.cpp | 43 void Info::stop(StopHandler stopHandler) { in stop() function in Info 44 mNetlink.stop(stopHandler); in stop()
|
D | netlink.cpp | 85 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()
|
D | halstate.cpp | 48 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/ |
D | clockres.py | 18 stop = wallclock() + TEST_TIME 22 if now >= stop:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | UserString.py | 163 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:]
|
D | cmd.py | 123 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/ |
D | m3debug.script | 24 reset-stop 25 stop 26 stop
|
/device/google/trout/hal/sensors/2.0/ |
D | SensorThread.cpp | 38 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/ |
D | cmd.py | 123 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
|