Home
last modified time | relevance | path

Searched refs:allocFlags (Results 1 – 5 of 5) sorted by relevance

/dalvik/vm/oo/
DArray.h50 size_t elemWidth, int allocFlags);
59 size_t length, int allocFlags);
75 int allocFlags);
86 ArrayObject* dvmAllocPrimitiveArray(char type, size_t length, int allocFlags);
DArray.c42 size_t elemWidth, int allocFlags) in dvmAllocArray() argument
62 newArray = dvmMalloc(size, allocFlags); in dvmAllocArray()
82 size_t length, int allocFlags) in dvmAllocArrayByClass() argument
90 return dvmAllocPrimitiveArray(descriptor[1], length, allocFlags); in dvmAllocArrayByClass()
93 allocFlags); in dvmAllocArrayByClass()
138 int allocFlags) in dvmAllocObjectArray() argument
149 allocFlags); in dvmAllocObjectArray()
162 ArrayObject* dvmAllocPrimitiveArray(char type, size_t length, int allocFlags) in dvmAllocPrimitiveArray() argument
220 newArray = dvmAllocArray(*pTypeClass, length, width, allocFlags); in dvmAllocPrimitiveArray()
/dalvik/vm/
DUtfString.h42 StringObject* dvmCreateStringFromCstr(const char* utf8Str, int allocFlags);
55 u4 utf16Length, int allocFlags);
DUtfString.c234 StringObject* dvmCreateStringFromCstr(const char* utf8Str, int allocFlags) in dvmCreateStringFromCstr() argument
239 allocFlags); in dvmCreateStringFromCstr()
253 u4 utf16Length, int allocFlags) in dvmCreateStringFromCstrAndLength() argument
260 assert(allocFlags != ALLOC_DONT_TRACK); /* don't currently need */ in dvmCreateStringFromCstrAndLength()
276 allocFlags); in dvmCreateStringFromCstrAndLength()
280 chars = dvmAllocPrimitiveArray('C', utf16Length, allocFlags); in dvmCreateStringFromCstrAndLength()
282 dvmReleaseTrackedAllocIFN((Object*) newObj, NULL, allocFlags); in dvmCreateStringFromCstrAndLength()
290 dvmReleaseTrackedAllocIFN((Object*) chars, NULL, allocFlags); in dvmCreateStringFromCstrAndLength()
/dalvik/vm/alloc/
DAlloc.h100 INLINE void dvmReleaseTrackedAllocIFN(Object* obj, Thread* self, int allocFlags) in dvmReleaseTrackedAllocIFN() argument
102 if ((allocFlags & (ALLOC_NO_GC|ALLOC_DONT_TRACK)) == 0) in dvmReleaseTrackedAllocIFN()