Lines Matching refs:block
26 void* block;
31 block = malloc(size);
32 if (block != NULL)
33 return block;
43 void* block;
48 block = calloc(1, size);
49 if (block != NULL)
50 return block;
58 android_realloc( void* block, size_t size )
63 free(block);
66 block2 = realloc(block, size);
76 android_free( void* block )
78 if (block)
79 free(block);
101 void* block = _android_array_alloc(itemSize, count);
102 memset(block, 0, itemSize*count);
103 return block;
107 _android_array_realloc( void* block, size_t itemSize, size_t count )
120 return android_realloc(block, itemSize*count);