Searched refs:newbytes (Results 1 - 4 of 4) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DByteArrayWrapper.java112 byte[] newbytes = new byte[capacity];
114 copyBytes(bytes, 0, newbytes, 0, size);
116 bytes = newbytes;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DByteArrayWrapper.java117 byte[] newbytes = new byte[capacity];
119 copyBytes(bytes, 0, newbytes, 0, size);
121 bytes = newbytes;
/external/python/cpython2/Objects/
H A Dbytearrayobject.c2713 PyObject *newbytes; local
2722 newbytes = PyByteArray_FromStringAndSize(NULL, byteslen);
2723 if (!newbytes)
2725 buf = PyByteArray_AS_STRING(newbytes);
2742 if (PyByteArray_Resize(newbytes, j) < 0)
2744 return newbytes;
2747 Py_DECREF(newbytes);
/external/python/cpython2/Modules/
H A Darraymodule.c1231 size_t newbytes; local
1234 (newbytes = newlength * itemsize) / itemsize !=
1237 PyMem_RESIZE(item, char, newbytes);

Completed in 234 milliseconds