/external/python/cpython2/Modules/ |
D | mmapmodule.c | 750 mmap_slice(mmap_object *self, Py_ssize_t ilow, Py_ssize_t ihigh) in mmap_slice() argument 757 if (ihigh < 0) in mmap_slice() 758 ihigh = 0; in mmap_slice() 759 if (ihigh < ilow) in mmap_slice() 760 ihigh = ilow; in mmap_slice() 761 else if (ihigh > self->size) in mmap_slice() 762 ihigh = self->size; in mmap_slice() 764 return PyString_FromStringAndSize(self->data + ilow, ihigh-ilow); in mmap_slice() 822 mmap_ass_slice(mmap_object *self, Py_ssize_t ilow, Py_ssize_t ihigh, PyObject *v) in mmap_ass_slice() argument 831 if (ihigh < 0) in mmap_ass_slice() [all …]
|
D | arraymodule.c | 607 array_slice(arrayobject *a, Py_ssize_t ilow, Py_ssize_t ihigh) in array_slice() argument 614 if (ihigh < 0) in array_slice() 615 ihigh = 0; in array_slice() 616 if (ihigh < ilow) in array_slice() 617 ihigh = ilow; in array_slice() 618 else if (ihigh > Py_SIZE(a)) in array_slice() 619 ihigh = Py_SIZE(a); in array_slice() 620 np = (arrayobject *) newarrayobject(&Arraytype, ihigh - ilow, a->ob_descr); in array_slice() 623 if (ihigh > ilow) { in array_slice() 625 (ihigh-ilow) * a->ob_descr->itemsize); in array_slice() [all …]
|
/external/webrtc/modules/third_party/g722/ |
D | g722_decode.c | 243 int ihigh; in WebRtc_g722_decode() local 282 ihigh = (code >> 6) & 0x03; in WebRtc_g722_decode() 288 ihigh = (code >> 5) & 0x03; in WebRtc_g722_decode() 294 ihigh = (code >> 4) & 0x03; in WebRtc_g722_decode() 333 wd2 = qm2[ihigh]; in WebRtc_g722_decode() 344 wd2 = rh2[ihigh]; in WebRtc_g722_decode()
|
D | g722_encode.c | 281 int ihigh; in WebRtc_g722_encode() local 384 ihigh = (eh < 0) ? ihn[mih] : ihp[mih]; in WebRtc_g722_encode() 387 wd2 = qm2[ihigh]; in WebRtc_g722_encode() 391 ih2 = rh2[ihigh]; in WebRtc_g722_encode() 406 code = ((ihigh << 6) | ilow) >> (8 - s->bits_per_sample); in WebRtc_g722_encode()
|
/external/python/cpython2/Objects/ |
D | rangeobject.c | 68 long ilow = 0, ihigh = 0, istep = 1; in range_new() local 77 &ihigh)) in range_new() 83 &ilow, &ihigh, &istep)) in range_new() 90 n = get_len_of_range(ilow, ihigh, istep); in range_new()
|
D | listobject.c | 464 list_slice(PyListObject *a, Py_ssize_t ilow, Py_ssize_t ihigh) in list_slice() argument 473 if (ihigh < ilow) in list_slice() 474 ihigh = ilow; in list_slice() 475 else if (ihigh > Py_SIZE(a)) in list_slice() 476 ihigh = Py_SIZE(a); in list_slice() 477 len = ihigh - ilow; in list_slice() 493 PyList_GetSlice(PyObject *a, Py_ssize_t ilow, Py_ssize_t ihigh) in PyList_GetSlice() argument 499 return list_slice((PyListObject *)a, ilow, ihigh); in PyList_GetSlice() 611 list_ass_slice(PyListObject *a, Py_ssize_t ilow, Py_ssize_t ihigh, PyObject *v) in list_ass_slice() argument 639 result = list_ass_slice(a, ilow, ihigh, v); in list_ass_slice() [all …]
|
D | tupleobject.c | 392 register Py_ssize_t ihigh) in tupleslice() argument 400 if (ihigh > Py_SIZE(a)) in tupleslice() 401 ihigh = Py_SIZE(a); in tupleslice() 402 if (ihigh < ilow) in tupleslice() 403 ihigh = ilow; in tupleslice() 404 if (ilow == 0 && ihigh == Py_SIZE(a) && PyTuple_CheckExact(a)) { in tupleslice() 408 len = ihigh - ilow; in tupleslice()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_conversion_builder.h | 249 int64_t ilow, ihigh; in nir_clamp_to_type_range() local 252 ihigh = INT64_MAX; in nir_clamp_to_type_range() 255 ihigh = (1ll << (dest_bit_size - 1)) - 1; in nir_clamp_to_type_range() 260 high = nir_imm_intN_t(b, ihigh, src->bit_size); in nir_clamp_to_type_range() 263 high = nir_imm_intN_t(b, ihigh, src->bit_size); in nir_clamp_to_type_range() 266 high = nir_imm_floatN_t(b, ihigh, src->bit_size); in nir_clamp_to_type_range()
|
/external/python/cpython3/Objects/ |
D | listobject.c | 443 list_slice(PyListObject *a, Py_ssize_t ilow, Py_ssize_t ihigh) in list_slice() argument 448 len = ihigh - ilow; in list_slice() 465 PyList_GetSlice(PyObject *a, Py_ssize_t ilow, Py_ssize_t ihigh) in PyList_GetSlice() argument 477 if (ihigh < ilow) { in PyList_GetSlice() 478 ihigh = ilow; in PyList_GetSlice() 480 else if (ihigh > Py_SIZE(a)) { in PyList_GetSlice() 481 ihigh = Py_SIZE(a); in PyList_GetSlice() 483 return list_slice((PyListObject *)a, ilow, ihigh); in PyList_GetSlice() 598 list_ass_slice(PyListObject *a, Py_ssize_t ilow, Py_ssize_t ihigh, PyObject *v) in list_ass_slice() argument 626 result = list_ass_slice(a, ilow, ihigh, v); in list_ass_slice() [all …]
|
D | tupleobject.c | 436 Py_ssize_t ihigh) in tupleslice() argument 440 if (ihigh > Py_SIZE(a)) in tupleslice() 441 ihigh = Py_SIZE(a); in tupleslice() 442 if (ihigh < ilow) in tupleslice() 443 ihigh = ilow; in tupleslice() 444 if (ilow == 0 && ihigh == Py_SIZE(a) && PyTuple_CheckExact(a)) { in tupleslice() 448 return _PyTuple_FromArray(a->ob_item + ilow, ihigh - ilow); in tupleslice()
|
/external/python/cpython3/Modules/ |
D | arraymodule.c | 799 array_slice(arrayobject *a, Py_ssize_t ilow, Py_ssize_t ihigh) in array_slice() argument 806 if (ihigh < 0) in array_slice() 807 ihigh = 0; in array_slice() 808 if (ihigh < ilow) in array_slice() 809 ihigh = ilow; in array_slice() 810 else if (ihigh > Py_SIZE(a)) in array_slice() 811 ihigh = Py_SIZE(a); in array_slice() 812 np = (arrayobject *) newarrayobject(&Arraytype, ihigh - ilow, a->ob_descr); in array_slice() 815 if (ihigh > ilow) { in array_slice() 817 (ihigh-ilow) * a->ob_descr->itemsize); in array_slice() [all …]
|
/external/python/cpython2/Python/ |
D | bltinmodule.c | 1812 PyObject *ihigh = NULL; in handle_range_longs() local 1830 if (!PyArg_UnpackTuple(args, "range", 1, 3, &ilow, &ihigh, &istep)) { in handle_range_longs() 1840 if (ihigh == NULL) { in handle_range_longs() 1842 ihigh = ilow; in handle_range_longs() 1847 assert(ihigh != NULL); in handle_range_longs() 1848 high = get_range_long_argument(ihigh, "end"); in handle_range_longs() 1968 long ilow = 0, ihigh = 0, istep = 1; in builtin_range() local 1977 &ihigh)) { in builtin_range() 1985 &ilow, &ihigh, &istep)) { in builtin_range() 1996 bign = get_len_of_range(ilow, ihigh, istep); in builtin_range() [all …]
|
D | ceval.c | 4762 Py_ssize_t ilow = 0, ihigh = PY_SSIZE_T_MAX; in apply_slice() local 4765 if (!_PyEval_SliceIndex(w, &ihigh)) in apply_slice() 4767 return PySequence_GetSlice(u, ilow, ihigh); in apply_slice() 4789 Py_ssize_t ilow = 0, ihigh = PY_SSIZE_T_MAX; in assign_slice() local 4792 if (!_PyEval_SliceIndex(w, &ihigh)) in assign_slice() 4795 return PySequence_DelSlice(u, ilow, ihigh); in assign_slice() 4797 return PySequence_SetSlice(u, ilow, ihigh, x); in assign_slice()
|
/external/python/cpython2/Modules/_ctypes/ |
D | _ctypes.c | 4469 Array_slice(PyObject *_self, Py_ssize_t ilow, Py_ssize_t ihigh) in Array_slice() argument 4481 if (ihigh < ilow) in Array_slice() 4482 ihigh = ilow; in Array_slice() 4483 else if (ihigh > self->b_length) in Array_slice() 4484 ihigh = self->b_length; in Array_slice() 4485 len = ihigh - ilow; in Array_slice() 4648 Array_ass_slice(PyObject *_self, Py_ssize_t ilow, Py_ssize_t ihigh, PyObject *value) in Array_ass_slice() argument 4663 if (ihigh < 0) in Array_ass_slice() 4664 ihigh = 0; in Array_ass_slice() 4665 if (ihigh < ilow) in Array_ass_slice() [all …]
|