Searched refs:step (Results 1 - 25 of 485) sorted by relevance

1234567891011>>

/prebuilts/python/darwin-x86/2.7.5/include/python2.7/
H A Dsliceobject.h17 A slice object containing start, stop, and step data members (the
24 PyObject *start, *stop, *step; /* not NULL */ member in struct:__anon131651
33 PyObject* step);
36 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step);
39 Py_ssize_t *step, Py_ssize_t *slicelength);
/prebuilts/python/linux-x86/2.7.5/include/python2.7/
H A Dsliceobject.h17 A slice object containing start, stop, and step data members (the
24 PyObject *start, *stop, *step; /* not NULL */ member in struct:__anon131774
33 PyObject* step);
36 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step);
39 Py_ssize_t *step, Py_ssize_t *slicelength);
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_buffer.py19 # Skip step 0 (invalid)
20 for step in indices[1:]:
21 self.assertEqual(b[start:stop:step],
22 s[start:stop:step])
H A Dtest_xrange.py13 def pyrange(start, stop, step):
14 if (start - stop) // step < 0:
16 # that are congruent to start modulo step.
17 stop += (start - stop) % step
20 start += step
22 def pyrange_reversed(start, stop, step):
23 stop += (start - stop) % step
24 return pyrange(stop - step, start - step, -step)
[all...]
H A Dtest_userstring.py98 for step in (None, 1, -1):
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]
H A Dtest_colorsys.py4 def frange(start, stop, step):
7 start += step
H A Dtest_slice.py57 self.assertEqual(s.step, None)
62 self.assertEqual(s.step, None)
67 self.assertEqual(s.step, 3)
H A Dtest_structseq.py111 # Skip step 0 (invalid)
112 for step in indices[1:]:
113 self.assertEqual(list(t[start:stop:step]),
114 L[start:stop:step])
H A Dtest_zlib.py449 for step in 1, 2, len(y), len(x):
452 for i in range(0, len(x), step):
456 data += dco.decompress(x[i : i + step])
460 dco.unconsumed_tail + x[i : i + step], maxlen)
511 def genblock(seed, length, step=1024, generator=random):
512 """length-byte stream of random data from a seed (in step-byte blocks)."""
516 if length < step or step < 2:
517 step = length
519 for i in range(0, length, step)
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_buffer.py19 # Skip step 0 (invalid)
20 for step in indices[1:]:
21 self.assertEqual(b[start:stop:step],
22 s[start:stop:step])
H A Dtest_xrange.py13 def pyrange(start, stop, step):
14 if (start - stop) // step < 0:
16 # that are congruent to start modulo step.
17 stop += (start - stop) % step
20 start += step
22 def pyrange_reversed(start, stop, step):
23 stop += (start - stop) % step
24 return pyrange(stop - step, start - step, -step)
[all...]
H A Dtest_userstring.py98 for step in (None, 1, -1):
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]
H A Dtest_colorsys.py4 def frange(start, stop, step):
7 start += step
H A Dtest_slice.py57 self.assertEqual(s.step, None)
62 self.assertEqual(s.step, None)
67 self.assertEqual(s.step, 3)
H A Dtest_structseq.py111 # Skip step 0 (invalid)
112 for step in indices[1:]:
113 self.assertEqual(list(t[start:stop:step]),
114 L[start:stop:step])
H A Dtest_zlib.py449 for step in 1, 2, len(y), len(x):
452 for i in range(0, len(x), step):
456 data += dco.decompress(x[i : i + step])
460 dco.unconsumed_tail + x[i : i + step], maxlen)
511 def genblock(seed, length, step=1024, generator=random):
512 """length-byte stream of random data from a seed (in step-byte blocks)."""
516 if length < step or step < 2:
517 step = length
519 for i in range(0, length, step)
[all...]
/prebuilts/misc/common/swig/include/2.0.11/python/
H A Dpycontainer.swg207 slice_adjust(Difference i, Difference j, Py_ssize_t step, size_t size, Difference &ii, Difference &jj, bool insert = false) {
208 if (step == 0) {
209 throw std::invalid_argument("slice step cannot be zero");
210 } else if (step > 0) {
259 getslice(const Sequence* self, Difference i, Difference j, Py_ssize_t step) {
263 swig::slice_adjust(i, j, step, size, ii, jj);
265 if (step > 0) {
270 if (step == 1) {
277 for (Py_ssize_t c=0; c<step && it!=se; ++c)
292 for (Py_ssize_t c=0; c<-step
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A DUserString.py163 start, stop, step = index.indices(len(self.data))
164 if step == -1:
167 elif step != 1:
170 raise TypeError, "invalid step in slicing assignment"
180 start, stop, step = index.indices(len(self.data))
181 if step == -1:
183 elif step != 1:
185 raise TypeError, "invalid step in slicing deletion"
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/test/
H A Duserfunctions.py69 def step(self, x): member in class:AggrNoFinalize
76 def step(self, x): member in class:AggrExceptionInInit
86 def step(self, x): member in class:AggrExceptionInStep
96 def step(self, x): member in class:AggrExceptionInFinalize
106 def step(self, whichType, val): member in class:AggrCheckType
117 def step(self, val): member in class:AggrSum
301 self.assertEqual(e.args[0], "AggrNoStep instance has no attribute 'step'")
328 self.assertEqual(e.args[0], "user-defined aggregate's 'step' method raised error")
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
H A DUserString.py163 start, stop, step = index.indices(len(self.data))
164 if step == -1:
167 elif step != 1:
170 raise TypeError, "invalid step in slicing assignment"
180 start, stop, step = index.indices(len(self.data))
181 if step == -1:
183 elif step != 1:
185 raise TypeError, "invalid step in slicing deletion"
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/test/
H A Duserfunctions.py69 def step(self, x): member in class:AggrNoFinalize
76 def step(self, x): member in class:AggrExceptionInInit
86 def step(self, x): member in class:AggrExceptionInStep
96 def step(self, x): member in class:AggrExceptionInFinalize
106 def step(self, whichType, val): member in class:AggrCheckType
117 def step(self, val): member in class:AggrSum
301 self.assertEqual(e.args[0], "AggrNoStep instance has no attribute 'step'")
328 self.assertEqual(e.args[0], "user-defined aggregate's 'step' method raised error")
/prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
H A Dorg.eclipse.equinox.p2.jarprocessor_1.0.300.v20130327-2119.jar ... .provisional.equinox.p2.jarprocessor.IProcessStep step public void clearProcessSteps () public java.util.Iterator getStepIterator ...
/prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
H A Dorg.eclipse.equinox.p2.jarprocessor_1.0.300.v20130327-2119.jar ... .provisional.equinox.p2.jarprocessor.IProcessStep step public void clearProcessSteps () public java.util.Iterator getStepIterator ...
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/
H A Dregexp.h216 extern int step (__const char *__restrict __string,
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/
H A Dregexp.h216 extern int step (__const char *__restrict __string,

Completed in 3538 milliseconds

1234567891011>>