Searched refs:mem (Results 1 – 4 of 4) sorted by relevance
/dalvik/vm/ |
D | LinearAlloc.h | 70 void* dvmLinearRealloc(Object* classLoader, void* mem, size_t newSize); 73 void dvmLinearSetReadOnly(Object* classLoader, void* mem); 74 void dvmLinearSetReadWrite(Object* classLoader, void* mem); 81 INLINE void dvmLinearReadOnly(Object* classLoader, void* mem) in dvmLinearReadOnly() argument 83 if (ENFORCE_READ_ONLY && mem != NULL) in dvmLinearReadOnly() 84 dvmLinearSetReadOnly(classLoader, mem); in dvmLinearReadOnly() 90 INLINE void dvmLinearReadWrite(Object* classLoader, void* mem) in dvmLinearReadWrite() argument 92 if (ENFORCE_READ_ONLY && mem != NULL) in dvmLinearReadWrite() 93 dvmLinearSetReadWrite(classLoader, mem); in dvmLinearReadWrite() 100 void dvmLinearFree(Object* classLoader, void* mem);
|
D | LinearAlloc.c | 104 static inline u4* getBlockHeader(void* mem) in getBlockHeader() argument 106 return ((u4*) mem) -1; in getBlockHeader() 401 void* mem = dvmLinearAlloc(classLoader, len+1); in dvmLinearStrdup() local 402 memcpy(mem, str, len+1); in dvmLinearStrdup() 404 dvmLinearSetReadOnly(classLoader, mem); in dvmLinearStrdup() 405 return (char*) mem; in dvmLinearStrdup() 417 void* dvmLinearRealloc(Object* classLoader, void* mem, size_t newSize) in dvmLinearRealloc() argument 420 return realloc(mem, newSize); in dvmLinearRealloc() 425 assert(mem != NULL); in dvmLinearRealloc() 426 assert(mem >= (void*) pHdr->mapAddr && in dvmLinearRealloc() [all …]
|
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | ExemptionMechanismTest.java | 225 Mock_ExemptionMechanism mem = new Mock_ExemptionMechanism(null, null, "Name"); in test_finalize() local 226 assertNotNull(mem); in test_finalize() 227 mem = null; in test_finalize()
|
/dalvik/libcore/sql/src/main/native/ |
D | sqlite_jni.c | 2485 free_tab(void *mem) in free_tab() argument 2487 char **p = (char **) mem; in free_tab() 2494 mem = (void *) p; in free_tab() 2502 free(mem); in free_tab()
|