Home
last modified time | relevance | path

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

12345678910>>...54

/third_party/python/Objects/
Dsliceobject.c114 PySlice_New(PyObject *start, PyObject *stop, PyObject *step) in PySlice_New() argument
122 if (stop == NULL) { in PySlice_New()
123 stop = Py_None; in PySlice_New()
144 Py_INCREF(stop); in PySlice_New()
145 obj->stop = stop; in PySlice_New()
172 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step) in PySlice_GetIndices() argument
189 if (r->stop == Py_None) { in PySlice_GetIndices()
190 *stop = *step < 0 ? -1 : length; in PySlice_GetIndices()
192 if (!PyLong_Check(r->stop)) return -1; in PySlice_GetIndices()
193 *stop = PyLong_AsSsize_t(r->stop); in PySlice_GetIndices()
[all …]
Drangeobject.c19 PyObject *stop; member
47 compute_range_length(PyObject *start, PyObject *stop, PyObject *step);
51 PyObject *stop, PyObject *step) in make_range_object() argument
55 length = compute_range_length(start, stop, step); in make_range_object()
65 obj->stop = stop; in make_range_object()
80 PyObject *start = NULL, *stop = NULL, *step = NULL; in range_from_array() local
92 stop = PyNumber_Index(args[1]); in range_from_array()
93 if (!stop) { in range_from_array()
100 Py_DECREF(stop); in range_from_array()
105 stop = PyNumber_Index(args[0]); in range_from_array()
[all …]
/third_party/jerryscript/jerry-debugger/
Djerry_client.py39 self.stop = False
43 self.stop = False
48 def postcmd(self, stop, line): argument
49 return self.stop
55 self.stop = True
85 self.stop = True
120 self.stop = True
126 self.stop = True
134 self.stop = True
140 self.stop = True
[all …]
/third_party/python/Include/
Dsliceobject.h24 PyObject *start, *stop, *step; /* not NULL */ member
33 PyAPI_FUNC(PyObject *) PySlice_New(PyObject* start, PyObject* stop,
36 PyAPI_FUNC(PyObject *) _PySlice_FromIndices(Py_ssize_t start, Py_ssize_t stop);
42 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step);
45 Py_ssize_t *start, Py_ssize_t *stop,
50 #define PySlice_GetIndicesEx(slice, length, start, stop, step, slicelen) ( \ argument
51 PySlice_Unpack((slice), (start), (stop), (step)) < 0 ? \
53 ((*(slicelen) = PySlice_AdjustIndices((length), (start), (stop), *(step))), \
56 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step);
58 Py_ssize_t *start, Py_ssize_t *stop,
/third_party/protobuf/objectivec/
DGPBCodedOutputStream.m428 //% [values enumerate##ACCESSOR_NAME##ValuesWithBlock:^(TYPE value, NSUInteger idx, BOOL *stop) {
429 //%#pragma unused(idx, stop)
434 //% [values enumerate##ACCESSOR_NAME##ValuesWithBlock:^(TYPE value, NSUInteger idx, BOOL *stop) {
435 //%#pragma unused(idx, stop)
439 //% [values enumerate##ACCESSOR_NAME##ValuesWithBlock:^(TYPE value, NSUInteger idx, BOOL *stop) {
440 //%#pragma unused(idx, stop)
463 [values enumerateValuesWithBlock:^(double value, NSUInteger idx, BOOL *stop) {
464 #pragma unused(idx, stop)
469 [values enumerateValuesWithBlock:^(double value, NSUInteger idx, BOOL *stop) {
470 #pragma unused(idx, stop)
[all …]
DGPBArray.h138 - (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(int32_t value, NSUInteger idx, BOOL *stop))b…
150 … usingBlock:(void (NS_NOESCAPE ^)(int32_t value, NSUInteger idx, BOOL *stop))block;
310 - (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(uint32_t value, NSUInteger idx, BOOL *stop))…
322 … usingBlock:(void (NS_NOESCAPE ^)(uint32_t value, NSUInteger idx, BOOL *stop))block;
482 - (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(int64_t value, NSUInteger idx, BOOL *stop))b…
494 … usingBlock:(void (NS_NOESCAPE ^)(int64_t value, NSUInteger idx, BOOL *stop))block;
654 - (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(uint64_t value, NSUInteger idx, BOOL *stop))…
666 … usingBlock:(void (NS_NOESCAPE ^)(uint64_t value, NSUInteger idx, BOOL *stop))block;
826 - (void)enumerateValuesWithBlock:(void (NS_NOESCAPE ^)(float value, NSUInteger idx, BOOL *stop))blo…
838 … usingBlock:(void (NS_NOESCAPE ^)(float value, NSUInteger idx, BOOL *stop))block;
[all …]
DGPBDictionary.h113 (void (NS_NOESCAPE ^)(uint32_t key, uint32_t value, BOOL *stop))block;
208 (void (NS_NOESCAPE ^)(uint32_t key, int32_t value, BOOL *stop))block;
303 (void (NS_NOESCAPE ^)(uint32_t key, uint64_t value, BOOL *stop))block;
398 (void (NS_NOESCAPE ^)(uint32_t key, int64_t value, BOOL *stop))block;
493 (void (NS_NOESCAPE ^)(uint32_t key, BOOL value, BOOL *stop))block;
588 (void (NS_NOESCAPE ^)(uint32_t key, float value, BOOL *stop))block;
683 (void (NS_NOESCAPE ^)(uint32_t key, double value, BOOL *stop))block;
799 (void (NS_NOESCAPE ^)(uint32_t key, int32_t value, BOOL *stop))block;
826 (void (NS_NOESCAPE ^)(uint32_t key, int32_t rawValue, BOOL *stop))block;
939 (void (NS_NOESCAPE ^)(uint32_t key, ObjectType object, BOOL *stop))block;
[all …]
/third_party/lame/misc/
Dabx.c554 void Message ( const char* s, size_t index, long freq, size_t start, size_t stop ) in Message() argument
558 unsigned long norm_stop = 100lu * stop / freq; in Message()
572 size_t calc_true_index ( size_t index, size_t start, size_t stop ) in calc_true_index() argument
574 if ( start >= stop ) in calc_true_index()
577 index += stop - start; in calc_true_index()
591 size_t stop = len; in testing() local
640 stop = len; in testing()
644 start = calc_true_index ( index, start, stop); in testing()
647 stop = calc_true_index ( index, start, stop); in testing()
657 if ( start < stop-freq/100 ) in testing()
[all …]
/third_party/python/Lib/multiprocessing/
Dheap.py200 (arena, start, stop) = block
202 del self._stop_to_block[(arena, stop)]
207 (arena, start, stop) = block
217 next_block = self._start_to_block[(arena, stop)]
221 _, stop = self._absorb(next_block)
223 block = (arena, start, stop)
224 length = stop - start
233 self._stop_to_block[(arena, stop)] = block
237 (arena, start, stop) = block
239 del self._stop_to_block[(arena, stop)]
[all …]
/third_party/libunwind/libunwind/tests/
DGperf-simple.c60 double stop, start; in measure_unwind() local
80 stop = gettime (); in measure_unwind()
86 *step = (stop - start) / (double) level; in measure_unwind()
153 double stop, start, get_cold, get_warm, init_cold, init_warm, delta; in measure_init() local
181 stop = gettime (); in measure_init()
182 delta = (stop - start) / N; in measure_init()
196 stop = gettime (); in measure_init()
197 delta = (stop - start) / N; in measure_init()
208 stop = gettime (); in measure_init()
209 delta = (stop - start) / N; in measure_init()
[all …]
DGperf-trace.c60 double stop, start; in measure_unwind() local
66 stop = gettime (); in measure_unwind()
72 *step = (stop - start) / (double) level; in measure_unwind()
139 double stop, start, get_cold, get_warm, init_cold, init_warm, delta; in measure_init() local
167 stop = gettime (); in measure_init()
168 delta = (stop - start) / N; in measure_init()
182 stop = gettime (); in measure_init()
183 delta = (stop - start) / N; in measure_init()
194 stop = gettime (); in measure_init()
195 delta = (stop - start) / N; in measure_init()
[all …]
/third_party/typescript/tests/baselines/reference/
DtypeSatisfaction_ensureInterfaceImpl.types12 >car : { start(): void; move(d: number): void; stop(): void; }
13 …hould be number }, stop() { }} satisfies Movable & Record<string, unknown> : { start(): void…
14 …ove(d) { // d should be number }, stop() { }} : { start(): void; move(d: number): voi…
25 stop() { }
26 >stop : () => void
/third_party/protobuf/objectivec/Tests/
DGPBArrayTests.m105 //% [array enumerateValuesWithBlock:^(TYPE value, NSUInteger idx, BOOL *stop) {
106 //% #pragma unused(value, idx, stop)
110 //% usingBlock:^(TYPE value, NSUInteger idx, BOOL *stop) {
111 //% #pragma unused(value, idx, stop)
123 //% [array enumerateValuesWithBlock:^(TYPE value, NSUInteger idx, BOOL *stop) {
126 //% XCTAssertNotEqual(stop, NULL);
129 //% usingBlock:^(TYPE value, NSUInteger idx, BOOL *stop) {
132 //% XCTAssertNotEqual(stop, NULL);
149 //% [array enumerateValuesWithBlock:^(TYPE value, NSUInteger idx, BOOL *stop) {
152 //% XCTAssertNotEqual(stop, NULL);
[all …]
/third_party/python/Doc/c-api/
Dslice.rst21 .. c:function:: PyObject* PySlice_New(PyObject *start, PyObject *stop, PyObject *step)
23 Return a new slice object with the given values. The *start*, *stop*, and
30 …tIndices(PyObject *slice, Py_ssize_t length, Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step)
32 Retrieve the start, stop and step indices from the slice object *slice*,
47 …icesEx(PyObject *slice, Py_ssize_t length, Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step, …
50 stop, and step indices from the slice object *slice* assuming a sequence of
62 if (PySlice_GetIndicesEx(slice, length, &start, &stop, &step, &slicelength) < 0) {
68 if (PySlice_Unpack(slice, &start, &stop, &step) < 0) {
71 slicelength = PySlice_AdjustIndices(length, &start, &stop, step);
82 Arguments *start*, *stop* and *step* are evaluated more than once.
[all …]
/third_party/jerryscript/tests/debugger/
Ddo_throw_adv.expected4 Exception throw detected (to disable automatic stop type exception 0)
10 Exception throw detected (to disable automatic stop type exception 0)
14 Exception throw detected (to disable automatic stop type exception 0)
18 Exception throw detected (to disable automatic stop type exception 0)
22 Exception throw detected (to disable automatic stop type exception 0)
26 Exception throw detected (to disable automatic stop type exception 0)
30 Exception throw detected (to disable automatic stop type exception 0)
34 Exception throw detected (to disable automatic stop type exception 0)
38 Exception throw detected (to disable automatic stop type exception 0)
/third_party/python/Lib/test/
Dtest_slice.py53 if slice.stop is None:
54 stop = lower if step < 0 else upper
56 stop = evaluate_slice_index(slice.stop)
57 stop = max(stop + length, lower) if stop < 0 else min(stop, upper)
59 return start, stop, step
122 self.assertEqual(s.stop, 1)
127 self.assertEqual(s.stop, 2)
132 self.assertEqual(s.stop, 2)
140 self.assertTrue(s.stop is obj)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DIntervalMap.h566 const KeyT &stop(unsigned i) const { return this->first[i].second; } in stop() function
570 KeyT &stop(unsigned i) { return this->first[i].second; } in stop() function
581 assert((i == 0 || Traits::stopLess(stop(i - 1), x)) && in findFrom()
583 while (i != Size && Traits::stopLess(stop(i), x)) ++i; in findFrom()
596 assert((i == 0 || Traits::stopLess(stop(i - 1), x)) && in safeFind()
598 while (Traits::stopLess(stop(i), x)) ++i; in safeFind()
633 assert((i == 0 || Traits::stopLess(stop(i - 1), a))); in insertFrom()
634 assert((i == Size || !Traits::stopLess(stop(i), a))); in insertFrom()
638 if (i && value(i - 1) == y && Traits::adjacent(stop(i - 1), a)) { in insertFrom()
642 stop(i - 1) = stop(i); in insertFrom()
[all …]
/third_party/node/deps/npm/docs/content/commands/
Dnpm-stop.md2 title: npm-stop
10 npm stop [-- <args>]
15 This runs a predefined command specified in the "stop" property of a
19 that will run if the `"stop"` property is not defined.
26 "stop": "node bar.js"
32 npm stop
34 > npm@x.x.x stop
51 `npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
/third_party/openssl/doc/internal/man3/
Dossl_init_thread_deregister.pod25 Thread stop events may be detected by OpenSSL either automatically (using the
29 Thread aware code registers a "stop handler" for each new thread that it uses.
31 thread local variable and then register a stop handler. When the thread is
32 stopping the stop handler is called (while on that thread) and the code can
35 A new stop handler is registered using the function ossl_init_thread_start().
37 set of common stop handlers and is passed in a later call to
40 back as an argument to the stop handler when it is later invoked. Finally the
41 I<handfn> is a function pointer to the stop handler itself.
43 In the event that previously registered stop handlers need to be deregistered
45 This will deregister all stop handlers (no matter which thread they were
/third_party/ltp/testcases/kernel/syscalls/preadv2/
Dpreadv203.c57 static volatile int stop; variable
110 while (!stop) { in nowait_reader()
112 stop = 1; in nowait_reader()
159 while (!stop) { in writer_thread()
162 for (j = 0; j < CHUNKS && !stop; j++) { in writer_thread()
189 while (!stop) { in cache_dropper()
204 stop = 0; in verify_preadv2()
212 while (!stop && tst_remaining_runtime()) in verify_preadv2()
215 stop = 1; in verify_preadv2()
/third_party/python/Lib/email/
Dquoprimime.py191 stop = start + maxlinelen1
193 if line[stop - 2] == '=':
194 append(line[start:stop - 1])
195 start = stop - 2
196 elif line[stop - 1] == '=':
197 append(line[start:stop])
198 start = stop - 1
200 append(line[start:stop] + '=')
201 start = stop
/third_party/python/PC/icons/
Dpy.svg1stop offset="0" stop-color="#5a9fd4"/><stop offset="1" stop-color="#306998"/></linearGradient><pat…
Dpython.svg1stop offset="0" stop-color="#5a9fd4"/><stop offset="1" stop-color="#306998"/></linearGradient><pat…
Dsetup.svg1stop offset="0" stop-color="#5a9fd4"/><stop offset="1" stop-color="#306998"/></linearGradient><pat…
/third_party/node/deps/npm/node_modules/tar/node_modules/minipass/
Dindex.js579 const stop = () => { function
585 if (stopped) return stop()
589 if (this[EOF]) return stop()
597 stop()
611 stop()
627 throw: stop,
628 return: stop,
638 const stop = () => { function
640 this.removeListener(ERROR, stop)
641 this.removeListener(DESTROYED, stop)
[all …]

12345678910>>...54