Home
last modified time | relevance | path

Searched refs:iobj (Results 1 – 25 of 35) sorted by relevance

12

/third_party/python/Objects/stringlib/clinic/
Dtransmogrify.h.h73 PyObject *iobj = _PyNumber_Index(args[0]); in stringlib_ljust() local
74 if (iobj != NULL) { in stringlib_ljust()
75 ival = PyLong_AsSsize_t(iobj); in stringlib_ljust()
76 Py_DECREF(iobj); in stringlib_ljust()
129 PyObject *iobj = _PyNumber_Index(args[0]); in stringlib_rjust() local
130 if (iobj != NULL) { in stringlib_rjust()
131 ival = PyLong_AsSsize_t(iobj); in stringlib_rjust()
132 Py_DECREF(iobj); in stringlib_rjust()
185 PyObject *iobj = _PyNumber_Index(args[0]); in stringlib_center() local
186 if (iobj != NULL) { in stringlib_center()
[all …]
/third_party/python/Modules/_io/clinic/
Dbufferedio.c.h125 PyObject *iobj = _PyNumber_Index(args[0]); in _io__Buffered_peek() local
126 if (iobj != NULL) { in _io__Buffered_peek()
127 ival = PyLong_AsSsize_t(iobj); in _io__Buffered_peek()
128 Py_DECREF(iobj); in _io__Buffered_peek()
200 PyObject *iobj = _PyNumber_Index(args[0]); in _io__Buffered_read1() local
201 if (iobj != NULL) { in _io__Buffered_read1()
202 ival = PyLong_AsSsize_t(iobj); in _io__Buffered_read1()
203 Py_DECREF(iobj); in _io__Buffered_read1()
424 PyObject *iobj = _PyNumber_Index(fastargs[1]); in _io_BufferedReader___init__() local
425 if (iobj != NULL) { in _io_BufferedReader___init__()
[all …]
Diobase.c.h279 PyObject *iobj = _PyNumber_Index(args[0]); in _io__RawIOBase_read() local
280 if (iobj != NULL) { in _io__RawIOBase_read()
281 ival = PyLong_AsSsize_t(iobj); in _io__RawIOBase_read()
282 Py_DECREF(iobj); in _io__RawIOBase_read()
Dstringio.c.h182 PyObject *iobj = _PyNumber_Index(args[0]); in _io_StringIO_seek() local
183 if (iobj != NULL) { in _io_StringIO_seek()
184 ival = PyLong_AsSsize_t(iobj); in _io_StringIO_seek()
185 Py_DECREF(iobj); in _io_StringIO_seek()
Dbytesio.c.h407 PyObject *iobj = _PyNumber_Index(args[0]); in _io_BytesIO_seek() local
408 if (iobj != NULL) { in _io_BytesIO_seek()
409 ival = PyLong_AsSsize_t(iobj); in _io_BytesIO_seek()
410 Py_DECREF(iobj); in _io_BytesIO_seek()
/third_party/python/Modules/clinic/
D_bisectmodule.c.h52 PyObject *iobj = _PyNumber_Index(args[2]); in _bisect_bisect_right() local
53 if (iobj != NULL) { in _bisect_bisect_right()
54 ival = PyLong_AsSsize_t(iobj); in _bisect_bisect_right()
55 Py_DECREF(iobj); in _bisect_bisect_right()
134 PyObject *iobj = _PyNumber_Index(args[2]); in _bisect_insort_right() local
135 if (iobj != NULL) { in _bisect_insort_right()
136 ival = PyLong_AsSsize_t(iobj); in _bisect_insort_right()
137 Py_DECREF(iobj); in _bisect_insort_right()
215 PyObject *iobj = _PyNumber_Index(args[2]); in _bisect_bisect_left() local
216 if (iobj != NULL) { in _bisect_bisect_left()
[all …]
Darraymodule.c.h124 PyObject *iobj = _PyNumber_Index(args[0]); in array_array_pop() local
125 if (iobj != NULL) { in array_array_pop()
126 ival = PyLong_AsSsize_t(iobj); in array_array_pop()
127 Py_DECREF(iobj); in array_array_pop()
195 PyObject *iobj = _PyNumber_Index(args[0]); in array_array_insert() local
196 if (iobj != NULL) { in array_array_insert()
197 ival = PyLong_AsSsize_t(iobj); in array_array_insert()
198 Py_DECREF(iobj); in array_array_insert()
306 PyObject *iobj = _PyNumber_Index(args[1]); in array_array_fromfile() local
307 if (iobj != NULL) { in array_array_fromfile()
[all …]
D_struct.c.h129 PyObject *iobj = _PyNumber_Index(args[1]); in Struct_unpack_from() local
130 if (iobj != NULL) { in Struct_unpack_from()
131 ival = PyLong_AsSsize_t(iobj); in Struct_unpack_from()
132 Py_DECREF(iobj); in Struct_unpack_from()
315 PyObject *iobj = _PyNumber_Index(args[2]); in unpack_from() local
316 if (iobj != NULL) { in unpack_from()
317 ival = PyLong_AsSsize_t(iobj); in unpack_from()
318 Py_DECREF(iobj); in unpack_from()
D_collectionsmodule.c.h55 PyObject *iobj = _PyNumber_Index(PyTuple_GET_ITEM(args, 0)); in tuplegetter_new() local
56 if (iobj != NULL) { in tuplegetter_new()
57 ival = PyLong_AsSsize_t(iobj); in tuplegetter_new()
58 Py_DECREF(iobj); in tuplegetter_new()
Ditertoolsmodule.c.h206 PyObject *iobj = _PyNumber_Index(args[1]); in itertools_tee() local
207 if (iobj != NULL) { in itertools_tee()
208 ival = PyLong_AsSsize_t(iobj); in itertools_tee()
209 Py_DECREF(iobj); in itertools_tee()
387 PyObject *iobj = _PyNumber_Index(fastargs[1]); in itertools_combinations() local
388 if (iobj != NULL) { in itertools_combinations()
389 ival = PyLong_AsSsize_t(iobj); in itertools_combinations()
390 Py_DECREF(iobj); in itertools_combinations()
435 PyObject *iobj = _PyNumber_Index(fastargs[1]); in itertools_combinations_with_replacement() local
436 if (iobj != NULL) { in itertools_combinations_with_replacement()
[all …]
D_sre.c.h300 PyObject *iobj = _PyNumber_Index(args[1]); in _sre_SRE_Pattern_findall() local
301 if (iobj != NULL) { in _sre_SRE_Pattern_findall()
302 ival = PyLong_AsSsize_t(iobj); in _sre_SRE_Pattern_findall()
303 Py_DECREF(iobj); in _sre_SRE_Pattern_findall()
316 PyObject *iobj = _PyNumber_Index(args[2]); in _sre_SRE_Pattern_findall() local
317 if (iobj != NULL) { in _sre_SRE_Pattern_findall()
318 ival = PyLong_AsSsize_t(iobj); in _sre_SRE_Pattern_findall()
319 Py_DECREF(iobj); in _sre_SRE_Pattern_findall()
436 PyObject *iobj = _PyNumber_Index(args[1]); in _sre_SRE_Pattern_split() local
437 if (iobj != NULL) { in _sre_SRE_Pattern_split()
[all …]
D_bz2module.c.h121 PyObject *iobj = _PyNumber_Index(args[1]); in _bz2_BZ2Decompressor_decompress() local
122 if (iobj != NULL) { in _bz2_BZ2Decompressor_decompress()
123 ival = PyLong_AsSsize_t(iobj); in _bz2_BZ2Decompressor_decompress()
124 Py_DECREF(iobj); in _bz2_BZ2Decompressor_decompress()
D_lzmamodule.c.h121 PyObject *iobj = _PyNumber_Index(args[1]); in _lzma_LZMADecompressor_decompress() local
122 if (iobj != NULL) { in _lzma_LZMADecompressor_decompress()
123 ival = PyLong_AsSsize_t(iobj); in _lzma_LZMADecompressor_decompress()
124 Py_DECREF(iobj); in _lzma_LZMADecompressor_decompress()
Daudioop.c.h42 PyObject *iobj = _PyNumber_Index(args[2]); in audioop_getsample() local
43 if (iobj != NULL) { in audioop_getsample()
44 ival = PyLong_AsSsize_t(iobj); in audioop_getsample()
45 Py_DECREF(iobj); in audioop_getsample()
375 PyObject *iobj = _PyNumber_Index(args[1]); in audioop_findmax() local
376 if (iobj != NULL) { in audioop_findmax()
377 ival = PyLong_AsSsize_t(iobj); in audioop_findmax()
378 Py_DECREF(iobj); in audioop_findmax()
D_hashopenssl.c.h97 PyObject *iobj = _PyNumber_Index(args[0]); in EVPXOF_digest() local
98 if (iobj != NULL) { in EVPXOF_digest()
99 ival = PyLong_AsSsize_t(iobj); in EVPXOF_digest()
100 Py_DECREF(iobj); in EVPXOF_digest()
144 PyObject *iobj = _PyNumber_Index(args[0]); in EVPXOF_hexdigest() local
145 if (iobj != NULL) { in EVPXOF_hexdigest()
146 ival = PyLong_AsSsize_t(iobj); in EVPXOF_hexdigest()
147 Py_DECREF(iobj); in EVPXOF_hexdigest()
/third_party/python/Objects/clinic/
Dunicodeobject.c.h91 PyObject *iobj = _PyNumber_Index(args[0]); in unicode_center() local
92 if (iobj != NULL) { in unicode_center()
93 ival = PyLong_AsSsize_t(iobj); in unicode_center()
94 Py_DECREF(iobj); in unicode_center()
525 PyObject *iobj = _PyNumber_Index(args[0]); in unicode_ljust() local
526 if (iobj != NULL) { in unicode_ljust()
527 ival = PyLong_AsSsize_t(iobj); in unicode_ljust()
528 Py_DECREF(iobj); in unicode_ljust()
720 PyObject *iobj = _PyNumber_Index(args[2]); in unicode_replace() local
721 if (iobj != NULL) { in unicode_replace()
[all …]
Dbytearrayobject.c.h342 PyObject *iobj = _PyNumber_Index(args[2]); in bytearray_replace() local
343 if (iobj != NULL) { in bytearray_replace()
344 ival = PyLong_AsSsize_t(iobj); in bytearray_replace()
345 Py_DECREF(iobj); in bytearray_replace()
415 PyObject *iobj = _PyNumber_Index(args[1]); in bytearray_split() local
416 if (iobj != NULL) { in bytearray_split()
417 ival = PyLong_AsSsize_t(iobj); in bytearray_split()
418 Py_DECREF(iobj); in bytearray_split()
514 PyObject *iobj = _PyNumber_Index(args[1]); in bytearray_rsplit() local
515 if (iobj != NULL) { in bytearray_rsplit()
[all …]
Dlistobject.c.h29 PyObject *iobj = _PyNumber_Index(args[0]); in list_insert() local
30 if (iobj != NULL) { in list_insert()
31 ival = PyLong_AsSsize_t(iobj); in list_insert()
32 Py_DECREF(iobj); in list_insert()
128 PyObject *iobj = _PyNumber_Index(args[0]); in list_pop() local
129 if (iobj != NULL) { in list_pop()
130 ival = PyLong_AsSsize_t(iobj); in list_pop()
131 Py_DECREF(iobj); in list_pop()
Dbytesobject.c.h51 PyObject *iobj = _PyNumber_Index(args[1]); in bytes_split() local
52 if (iobj != NULL) { in bytes_split()
53 ival = PyLong_AsSsize_t(iobj); in bytes_split()
54 Py_DECREF(iobj); in bytes_split()
202 PyObject *iobj = _PyNumber_Index(args[1]); in bytes_rsplit() local
203 if (iobj != NULL) { in bytes_rsplit()
204 ival = PyLong_AsSsize_t(iobj); in bytes_rsplit()
205 Py_DECREF(iobj); in bytes_rsplit()
488 PyObject *iobj = _PyNumber_Index(args[2]); in bytes_replace() local
489 if (iobj != NULL) { in bytes_replace()
[all …]
Dlongobject.c.h273 PyObject *iobj = _PyNumber_Index(args[0]); in int_to_bytes() local
274 if (iobj != NULL) { in int_to_bytes()
275 ival = PyLong_AsSsize_t(iobj); in int_to_bytes()
276 Py_DECREF(iobj); in int_to_bytes()
/third_party/python/Python/clinic/
D_warnings.c.h48 PyObject *iobj = _PyNumber_Index(args[2]); in warnings_warn() local
49 if (iobj != NULL) { in warnings_warn()
50 ival = PyLong_AsSsize_t(iobj); in warnings_warn()
51 Py_DECREF(iobj); in warnings_warn()
/third_party/typescript/tests/baselines/reference/
DcapturedLetConstInLoop1.types528 declare const iobj: { [x: number]: any };
529 >iobj : { [x: number]: any; }
532 for (let ix in iobj) {
534 >iobj : { [x: number]: any; }
536 (() => iobj[ix]);
537 >(() => iobj[ix]) : () => any
538 >() => iobj[ix] : () => any
539 >iobj[ix] : any
540 >iobj : { [x: number]: any; }
DcapturedLetConstInLoop1.js136 declare const iobj: { [x: number]: any };
137 for (let ix in iobj) {
138 (() => iobj[ix]);
363 (function () { return iobj[ix]; });
365 for (var ix in iobj) {
DcapturedLetConstInLoop1.symbols319 declare const iobj: { [x: number]: any };
320 >iobj : Symbol(iobj, Decl(capturedLetConstInLoop1.ts, 134, 13))
323 for (let ix in iobj) {
325 >iobj : Symbol(iobj, Decl(capturedLetConstInLoop1.ts, 134, 13))
327 (() => iobj[ix]);
328 >iobj : Symbol(iobj, Decl(capturedLetConstInLoop1.ts, 134, 13))
/third_party/typescript/tests/cases/compiler/
DcapturedLetConstInLoop1.ts135 declare const iobj: { [x: number]: any }; constant
136 for (let ix in iobj) {
137 (() => iobj[ix]);

12