Home
last modified time | relevance | path

Searched refs:newbytes (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DByteArrayWrapper.java117 byte[] newbytes = new byte[capacity]; in ensureCapacity()
119 copyBytes(bytes, 0, newbytes, 0, size); in ensureCapacity()
121 bytes = newbytes; in ensureCapacity()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DByteArrayWrapper.java112 byte[] newbytes = new byte[capacity]; in ensureCapacity()
114 copyBytes(bytes, 0, newbytes, 0, size); in ensureCapacity()
116 bytes = newbytes; in ensureCapacity()
/external/mtools/
Dxdf_io.c124 int ret, bytes, newbytes; in analyze_reply() local
128 ret = analyze_one_reply(raw_cmd, &newbytes, do_print); in analyze_reply()
129 bytes += newbytes; in analyze_reply()
/external/python/cpython2/Objects/
Dbytearrayobject.c2725 PyObject *newbytes; in bytearray_fromhex() local
2734 newbytes = PyByteArray_FromStringAndSize(NULL, byteslen); in bytearray_fromhex()
2735 if (!newbytes) in bytearray_fromhex()
2737 buf = PyByteArray_AS_STRING(newbytes); in bytearray_fromhex()
2754 if (PyByteArray_Resize(newbytes, j) < 0) in bytearray_fromhex()
2756 return newbytes; in bytearray_fromhex()
2759 Py_DECREF(newbytes); in bytearray_fromhex()
/external/python/cpython3/Modules/
Darraymodule.c892 Py_ssize_t oldbytes, newbytes; in array_repeat() local
905 newbytes = oldbytes * n; in array_repeat()
908 memset(np->ob_item, a->ob_item[0], newbytes); in array_repeat()
912 while (done < newbytes) { in array_repeat()
913 Py_ssize_t ncopy = (done <= newbytes-done) ? done : newbytes-done; in array_repeat()
/external/python/cpython2/Modules/
Darraymodule.c1231 size_t newbytes; in array_fromfile() local
1234 (newbytes = newlength * itemsize) / itemsize != in array_fromfile()
1237 PyMem_RESIZE(item, char, newbytes); in array_fromfile()