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

/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DBidi.java1299 * mayAllocate==true for each array that we need.
1305 boolean mayAllocate, int sizeNeeded)
1313 if (!mayAllocate) {
1333 private void getDirPropsMemory(boolean mayAllocate, int len) argument
1335 Object array = getMemory("DirProps", dirPropsMemory, Byte.TYPE, mayAllocate, len);
1344 private void getLevelsMemory(boolean mayAllocate, int len) argument
1346 Object array = getMemory("Levels", levelsMemory, Byte.TYPE, mayAllocate, len);
1355 private void getRunsMemory(boolean mayAllocate, int len) argument
1357 Object array = getMemory("Runs", runsMemory, BidiRun.class, mayAllocate, len);
1304 getMemory(String label, Object array, Class<?> arrayClass, boolean mayAllocate, int sizeNeeded) argument
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DBidi.java1327 * mayAllocate==true for each array that we need.
1333 boolean mayAllocate, int sizeNeeded)
1341 if (!mayAllocate) {
1361 private void getDirPropsMemory(boolean mayAllocate, int len) argument
1363 Object array = getMemory("DirProps", dirPropsMemory, Byte.TYPE, mayAllocate, len);
1372 private void getLevelsMemory(boolean mayAllocate, int len) argument
1374 Object array = getMemory("Levels", levelsMemory, Byte.TYPE, mayAllocate, len);
1383 private void getRunsMemory(boolean mayAllocate, int len) argument
1385 Object array = getMemory("Runs", runsMemory, BidiRun.class, mayAllocate, len);
1332 getMemory(String label, Object array, Class<?> arrayClass, boolean mayAllocate, int sizeNeeded) argument
/external/icu/icu4c/source/common/
H A Dubidiimp.h430 ubidi_getMemory(BidiMemoryForAllocation *pMemory, int32_t *pSize, UBool mayAllocate, int32_t sizeNeeded);
H A Dubidi.c190 * mayAllocate==TRUE for each array that we need.
202 ubidi_getMemory(BidiMemoryForAllocation *bidiMem, int32_t *pSize, UBool mayAllocate, int32_t sizeNeeded) { argument
207 if(mayAllocate && (*pMemory=uprv_malloc(sizeNeeded))!=NULL) {
218 else if(!mayAllocate) {

Completed in 85 milliseconds