Home
last modified time | relevance | path

Searched refs:newbytes (Results 1 – 4 of 4) 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/python/cpython2/Objects/
Dbytearrayobject.c2713 PyObject *newbytes; in bytearray_fromhex() local
2722 newbytes = PyByteArray_FromStringAndSize(NULL, byteslen); in bytearray_fromhex()
2723 if (!newbytes) in bytearray_fromhex()
2725 buf = PyByteArray_AS_STRING(newbytes); in bytearray_fromhex()
2742 if (PyByteArray_Resize(newbytes, j) < 0) in bytearray_fromhex()
2744 return newbytes; in bytearray_fromhex()
2747 Py_DECREF(newbytes); in bytearray_fromhex()
/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()