Home
last modified time | relevance | path

Searched refs:newlength (Results 1 – 8 of 8) sorted by relevance

/external/u-boot/common/
Dusb.c743 int newlength, oldlength = *length; in usb_try_string_workarounds() local
745 for (newlength = 2; newlength + 1 < oldlength; newlength += 2) in usb_try_string_workarounds()
746 if (!isprint(buf[newlength]) || buf[newlength + 1]) in usb_try_string_workarounds()
749 if (newlength > 2) { in usb_try_string_workarounds()
750 buf[0] = newlength; in usb_try_string_workarounds()
751 *length = newlength; in usb_try_string_workarounds()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DStringSearch.java661 int newlength = destination.length; in addToIntArray() local
662 if (offset + 1 == newlength) { in addToIntArray()
663 newlength += increments; in addToIntArray()
664 int temp[] = new int[newlength]; in addToIntArray()
686 int newlength = destinationlength; in addToLongArray() local
687 if (offset + 1 == newlength) { in addToLongArray()
688 newlength += increments; in addToLongArray()
689 long temp[] = new long[newlength]; in addToLongArray()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DStringSearch.java644 int newlength = destination.length; in addToIntArray() local
645 if (offset + 1 == newlength) { in addToIntArray()
646 newlength += increments; in addToIntArray()
647 int temp[] = new int[newlength]; in addToIntArray()
669 int newlength = destinationlength; in addToLongArray() local
670 if (offset + 1 == newlength) { in addToLongArray()
671 newlength += increments; in addToLongArray()
672 long temp[] = new long[newlength]; in addToLongArray()
/external/pdfium/third_party/libpng16/
Dpngrutil.c603 png_alloc_size_t *newlength /* must be initialized to the maximum! */, in png_decompress_chunk() argument
630 if (limit < *newlength) in png_decompress_chunk()
631 *newlength = limit; in png_decompress_chunk()
642 /* output: */ NULL, newlength); in png_decompress_chunk()
660 png_alloc_size_t new_size = *newlength; in png_decompress_chunk()
670 text + prefix_size, newlength); in png_decompress_chunk()
674 if (new_size == *newlength) in png_decompress_chunk()
677 text[prefix_size + *newlength] = 0; in png_decompress_chunk()
/external/libpng/
Dpngrutil.c612 png_alloc_size_t *newlength /* must be initialized to the maximum! */, in png_decompress_chunk() argument
639 if (limit < *newlength) in png_decompress_chunk()
640 *newlength = limit; in png_decompress_chunk()
651 /* output: */ NULL, newlength); in png_decompress_chunk()
669 png_alloc_size_t new_size = *newlength; in png_decompress_chunk()
681 text + prefix_size, newlength); in png_decompress_chunk()
685 if (new_size == *newlength) in png_decompress_chunk()
688 text[prefix_size + *newlength] = 0; in png_decompress_chunk()
/external/icu/icu4c/source/i18n/
Dusearch.cpp219 uint32_t newlength = *destinationlength; in addTouint32_tArray() local
220 if (offset + 1 == newlength) { in addTouint32_tArray()
221 newlength += increments; in addTouint32_tArray()
223 sizeof(int32_t) * newlength, status); in addTouint32_tArray()
228 *destinationlength = newlength; in addTouint32_tArray()
259 uint32_t newlength = *destinationlength; in addTouint64_tArray() local
260 if (offset + 1 == newlength) { in addTouint64_tArray()
261 newlength += increments; in addTouint64_tArray()
263 sizeof(int64_t) * newlength, status); in addTouint64_tArray()
270 *destinationlength = newlength; in addTouint64_tArray()
/external/python/cpython2/Modules/
Darraymodule.c1230 Py_ssize_t newlength; in array_fromfile() local
1233 if ((newlength = Py_SIZE(self) + n) <= 0 || in array_fromfile()
1234 (newbytes = newlength * itemsize) / itemsize != in array_fromfile()
1235 (size_t)newlength) in array_fromfile()
/external/python/cpython3/Objects/
Dunicodeobject.c9850 Py_ssize_t length, newlength = 0; in case_operation() local
9867 newlength = perform(kind, data, length, tmp, &maxchar); in case_operation()
9868 res = PyUnicode_New(newlength, maxchar); in case_operation()
9871 tmpend = tmp + newlength; in case_operation()
9882 memcpy(outdata, tmp, sizeof(Py_UCS4) * newlength); in case_operation()