/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/webrtc/modules/audio_coding/codecs/g722/ |
D | g722_decode.c | 248 int ihigh; in WebRtc_g722_decode() local 287 ihigh = (code >> 6) & 0x03; in WebRtc_g722_decode() 293 ihigh = (code >> 5) & 0x03; in WebRtc_g722_decode() 299 ihigh = (code >> 4) & 0x03; in WebRtc_g722_decode() 338 wd2 = qm2[ihigh]; in WebRtc_g722_decode() 349 wd2 = rh2[ihigh]; in WebRtc_g722_decode()
|
D | g722_encode.c | 286 int ihigh; in WebRtc_g722_encode() local 389 ihigh = (eh < 0) ? ihn[mih] : ihp[mih]; in WebRtc_g722_encode() 392 wd2 = qm2[ihigh]; in WebRtc_g722_encode() 396 ih2 = rh2[ihigh]; in WebRtc_g722_encode() 411 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 | 475 list_slice(PyListObject *a, Py_ssize_t ilow, Py_ssize_t ihigh) in list_slice() argument 480 len = ihigh - ilow; in list_slice() 497 PyList_GetSlice(PyObject *a, Py_ssize_t ilow, Py_ssize_t ihigh) in PyList_GetSlice() argument 509 if (ihigh < ilow) { in PyList_GetSlice() 510 ihigh = ilow; in PyList_GetSlice() 512 else if (ihigh > Py_SIZE(a)) { in PyList_GetSlice() 513 ihigh = Py_SIZE(a); in PyList_GetSlice() 515 return list_slice((PyListObject *)a, ilow, ihigh); in PyList_GetSlice() 630 list_ass_slice(PyListObject *a, Py_ssize_t ilow, Py_ssize_t ihigh, PyObject *v) in list_ass_slice() argument 658 result = list_ass_slice(a, ilow, ihigh, v); in list_ass_slice() [all …]
|
D | tupleobject.c | 440 Py_ssize_t ihigh) in tupleslice() argument 444 if (ihigh > Py_SIZE(a)) in tupleslice() 445 ihigh = Py_SIZE(a); in tupleslice() 446 if (ihigh < ilow) in tupleslice() 447 ihigh = ilow; in tupleslice() 448 if (ilow == 0 && ihigh == Py_SIZE(a) && PyTuple_CheckExact(a)) { in tupleslice() 452 return _PyTuple_FromArray(a->ob_item + ilow, ihigh - ilow); in tupleslice()
|
/external/python/cpython3/Modules/ |
D | arraymodule.c | 794 array_slice(arrayobject *a, Py_ssize_t ilow, Py_ssize_t ihigh) in array_slice() argument 801 if (ihigh < 0) in array_slice() 802 ihigh = 0; in array_slice() 803 if (ihigh < ilow) in array_slice() 804 ihigh = ilow; in array_slice() 805 else if (ihigh > Py_SIZE(a)) in array_slice() 806 ihigh = Py_SIZE(a); in array_slice() 807 np = (arrayobject *) newarrayobject(&Arraytype, ihigh - ilow, a->ob_descr); in array_slice() 810 if (ihigh > ilow) { in array_slice() 812 (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 …]
|