Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidi.java1339 boolean mayAllocate, int sizeNeeded) in getMemory() argument
1347 if (!mayAllocate) { in getMemory()
1367 private void getDirPropsMemory(boolean mayAllocate, int len) in getDirPropsMemory() argument
1369 Object array = getMemory("DirProps", dirPropsMemory, Byte.TYPE, mayAllocate, len); in getDirPropsMemory()
1378 private void getLevelsMemory(boolean mayAllocate, int len) in getLevelsMemory() argument
1380 Object array = getMemory("Levels", levelsMemory, Byte.TYPE, mayAllocate, len); in getLevelsMemory()
1389 private void getRunsMemory(boolean mayAllocate, int len) in getRunsMemory() argument
1391 Object array = getMemory("Runs", runsMemory, BidiRun.class, mayAllocate, len); in getRunsMemory()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBidi.java1312 boolean mayAllocate, int sizeNeeded) in getMemory() argument
1320 if (!mayAllocate) { in getMemory()
1340 private void getDirPropsMemory(boolean mayAllocate, int len) in getDirPropsMemory() argument
1342 Object array = getMemory("DirProps", dirPropsMemory, Byte.TYPE, mayAllocate, len); in getDirPropsMemory()
1351 private void getLevelsMemory(boolean mayAllocate, int len) in getLevelsMemory() argument
1353 Object array = getMemory("Levels", levelsMemory, Byte.TYPE, mayAllocate, len); in getLevelsMemory()
1362 private void getRunsMemory(boolean mayAllocate, int len) in getRunsMemory() argument
1364 Object array = getMemory("Runs", runsMemory, BidiRun.class, mayAllocate, len); in getRunsMemory()
/external/icu/icu4c/source/common/
Dubidiimp.h428 ubidi_getMemory(BidiMemoryForAllocation *pMemory, int32_t *pSize, UBool mayAllocate, int32_t sizeNe…
Dubidi.cpp199 ubidi_getMemory(BidiMemoryForAllocation *bidiMem, int32_t *pSize, UBool mayAllocate, int32_t sizeNe… in ubidi_getMemory() argument
204 if(mayAllocate && (*pMemory=uprv_malloc(sizeNeeded))!=NULL) { in ubidi_getMemory()
215 else if(!mayAllocate) { in ubidi_getMemory()