Home
last modified time | relevance | path

Searched refs:MALLOC (Results 1 – 25 of 222) sorted by relevance

123456789

/external/mesa3d/src/gallium/auxiliary/rbug/
Drbug_context.c53 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_list()
90 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_info()
130 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_draw_block()
171 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_draw_step()
212 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_draw_unblock()
261 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_draw_rule()
304 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_flush()
345 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_list_reply()
400 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_info_reply()
447 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_draw_blocked()
[all …]
Drbug_core.c53 __data = (uint8_t*)MALLOC(__len); in rbug_send_noop()
88 __data = (uint8_t*)MALLOC(__len); in rbug_send_ping()
125 __data = (uint8_t*)MALLOC(__len); in rbug_send_error()
163 __data = (uint8_t*)MALLOC(__len); in rbug_send_ping_reply()
203 __data = (uint8_t*)MALLOC(__len); in rbug_send_error_reply()
236 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_noop()
255 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_ping()
280 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_error()
307 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_ping_reply()
334 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_error_reply()
Drbug_shader.c55 __data = (uint8_t*)MALLOC(__len); in rbug_send_shader_list()
95 __data = (uint8_t*)MALLOC(__len); in rbug_send_shader_info()
138 __data = (uint8_t*)MALLOC(__len); in rbug_send_shader_disable()
183 __data = (uint8_t*)MALLOC(__len); in rbug_send_shader_replace()
226 __data = (uint8_t*)MALLOC(__len); in rbug_send_shader_list_reply()
273 __data = (uint8_t*)MALLOC(__len); in rbug_send_shader_info_reply()
314 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_shader_list()
341 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_shader_info()
369 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_shader_disable()
398 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_shader_replace()
[all …]
Drbug_texture.c53 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_list()
90 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_info()
147 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_write()
208 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_read()
256 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_list_reply()
320 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_info_reply()
382 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_read_reply()
420 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_texture_list()
445 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_texture_info()
472 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_texture_write()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/rbug/
Drbug_context.c53 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_list()
90 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_info()
130 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_draw_block()
171 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_draw_step()
212 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_draw_unblock()
261 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_draw_rule()
304 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_flush()
345 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_list_reply()
400 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_info_reply()
447 __data = (uint8_t*)MALLOC(__len); in rbug_send_context_draw_blocked()
[all …]
Drbug_core.c53 __data = (uint8_t*)MALLOC(__len); in rbug_send_noop()
88 __data = (uint8_t*)MALLOC(__len); in rbug_send_ping()
125 __data = (uint8_t*)MALLOC(__len); in rbug_send_error()
163 __data = (uint8_t*)MALLOC(__len); in rbug_send_ping_reply()
203 __data = (uint8_t*)MALLOC(__len); in rbug_send_error_reply()
236 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_noop()
255 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_ping()
280 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_error()
307 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_ping_reply()
334 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_error_reply()
Drbug_shader.c55 __data = (uint8_t*)MALLOC(__len); in rbug_send_shader_list()
95 __data = (uint8_t*)MALLOC(__len); in rbug_send_shader_info()
138 __data = (uint8_t*)MALLOC(__len); in rbug_send_shader_disable()
183 __data = (uint8_t*)MALLOC(__len); in rbug_send_shader_replace()
226 __data = (uint8_t*)MALLOC(__len); in rbug_send_shader_list_reply()
273 __data = (uint8_t*)MALLOC(__len); in rbug_send_shader_info_reply()
314 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_shader_list()
341 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_shader_info()
369 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_shader_disable()
398 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_shader_replace()
[all …]
Drbug_texture.c53 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_list()
90 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_info()
147 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_write()
208 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_read()
256 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_list_reply()
320 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_info_reply()
382 __data = (uint8_t*)MALLOC(__len); in rbug_send_texture_read_reply()
420 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_texture_list()
445 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_texture_info()
472 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_texture_write()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_memory.h48 #define MALLOC(_size) os_malloc(_size) macro
56 #define MALLOC_STRUCT(T) (struct T *) MALLOC(sizeof(struct T))
73 void *dup = MALLOC(size); in mem_dup()
Du_tile.c468 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_rgba_format()
508 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_rgba_format()
559 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_i_format()
587 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_ui_format()
883 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_ui_format()
914 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_i_format()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_memory.h48 #define MALLOC(_size) os_malloc(_size) macro
56 #define MALLOC_STRUCT(T) (struct T *) MALLOC(sizeof(struct T))
73 void *dup = MALLOC(size); in mem_dup()
Du_tile.c468 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_rgba_format()
508 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_rgba_format()
559 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_i_format()
587 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_put_tile_ui_format()
883 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_ui_format()
914 packed = MALLOC(util_format_get_nblocks(format, w, h) * util_format_get_blocksize(format)); in pipe_get_tile_i_format()
/external/srec/portable/include/
Dpmemory.h64 #define MALLOC(n, tag) malloc(n) macro
69 #define NEW(type, tag) ((type*)MALLOC(sizeof(type), tag))
101 #define MALLOC(nbBytes, tag) (pmalloc(nbBytes, tag, L(__FILE__), __LINE__)) macro
106 #define MALLOC(nbBytes, tag) (pmalloc(nbBytes)) macro
138 #define NEW(type, tag) ((type*) MALLOC(sizeof(type), tag))
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/
Dblock.c51 blocks->blocks = MALLOC(BLOCK_SIZE_BYTES * num_blocks); in XvMCCreateBlocks()
81 blocks->macro_blocks = MALLOC(sizeof(XvMCMacroBlock) * num_blocks); in XvMCCreateMacroBlocks()
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dblock.c51 blocks->blocks = MALLOC(BLOCK_SIZE_BYTES * num_blocks); in XvMCCreateBlocks()
81 blocks->macro_blocks = MALLOC(sizeof(XvMCMacroBlock) * num_blocks); in XvMCCreateMacroBlocks()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_sanity.c134 scan_register *reg = MALLOC(sizeof(scan_register)); in create_scan_register_src()
143 scan_register *reg = MALLOC(sizeof(scan_register)); in create_scan_register_dst()
359 scan_register *ind_reg = MALLOC(sizeof(scan_register)); in iter_instruction()
417 scan_register *reg = MALLOC(sizeof(scan_register)); in iter_declaration()
422 scan_register *reg = MALLOC(sizeof(scan_register)); in iter_declaration()
450 reg = MALLOC(sizeof(scan_register)); in iter_immediate()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/
Dtgsi_sanity.c134 scan_register *reg = MALLOC(sizeof(scan_register)); in create_scan_register_src()
143 scan_register *reg = MALLOC(sizeof(scan_register)); in create_scan_register_dst()
359 scan_register *ind_reg = MALLOC(sizeof(scan_register)); in iter_instruction()
417 scan_register *reg = MALLOC(sizeof(scan_register)); in iter_declaration()
422 scan_register *reg = MALLOC(sizeof(scan_register)); in iter_declaration()
450 reg = MALLOC(sizeof(scan_register)); in iter_immediate()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
Ddraw_pipe_util.c79 ubyte *store = (ubyte *) MALLOC( MAX_VERTEX_SIZE * nr ); in draw_alloc_temp_verts()
84 stage->tmp = (struct vertex_header **) MALLOC( sizeof(struct vertex_header *) * nr ); in draw_alloc_temp_verts()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_util.c79 ubyte *store = (ubyte *) MALLOC( MAX_VERTEX_SIZE * nr ); in draw_alloc_temp_verts()
84 stage->tmp = (struct vertex_header **) MALLOC( sizeof(struct vertex_header *) * nr ); in draw_alloc_temp_verts()
/external/srec/srec/EventLog/src/
Driff.c235 *samples = MALLOC(*length * sizeof(short), MTAG); in readPCMWave()
268 *samples = MALLOC(*length * sizeof(short), MTAG); in readMulawWave()
293 samples = MALLOC(*length * sizeof(short), MTAG); in readAlawWave()
478 swichunk->segs.tuples = MALLOC(sub_length, MTAG); in readSwiChunk()
582 wf = MALLOC(sizeof(WaveFormat), MTAG); in riffReadWave2L16()
584 wf = MALLOC(chunk.length, MTAG); in riffReadWave2L16()
606 cb = MALLOC(chunk.length, MTAG); /* waveform */ in riffReadWave2L16()
709 wf = MALLOC(sizeof(WaveFormat), MTAG); in readRiff2Buf()
711 wf = MALLOC(chunk.length, MTAG); in readRiff2Buf()
/external/srec/portable/src/
DPANSIFileSystemImpl.c120 key = MALLOC(sizeof(LCHAR) * len, MTAG); in PANSIFileSystemAddPathImpl()
132 value = MALLOC(sizeof(LCHAR) * (LSTRLEN(realPath) + 1), MTAG); in PANSIFileSystemAddPathImpl()
296 key = MALLOC(sizeof(LCHAR), MTAG); in PANSIFileSystemSetDefault()
304 value = MALLOC(sizeof(LCHAR), MTAG); in PANSIFileSystemSetDefault()
/external/chromium_org/third_party/usrsctp/usrsctplib/
Duser_malloc.h195 #define MALLOC(space, cast, size, type, flags) \ macro
232 #define MALLOC(space, cast, size, type, flags) \
/external/srec/shared/src/
DSessionTypeImpl.c349 clone = MALLOC(sizeof(int), MTAG); in ESR_SessionTypeSetIntImpl()
367 clone = MALLOC(sizeof(asr_uint16_t), MTAG); in ESR_SessionTypeSetUint16_tImpl()
385 clone = MALLOC(sizeof(size_t), MTAG); in ESR_SessionTypeSetSize_tImpl()
403 clone = MALLOC(sizeof(float), MTAG); in ESR_SessionTypeSetFloatImpl()
421 clone = MALLOC(sizeof(ESR_BOOL), MTAG); in ESR_SessionTypeSetBoolImpl()
439 clone = MALLOC(sizeof(LCHAR) * (LSTRLEN(value) + 1), MTAG); in ESR_SessionTypeSetLCHARImpl()
610 value = MALLOC(sizeof(LCHAR) * (strlen(*argv) + 1), MTAG); in ESR_SessionTypeImportCommandLineImpl()
643 value = MALLOC(sizeof(LCHAR) + 1, MTAG); in ESR_SessionTypeImportCommandLineImpl()
649 key = MALLOC(sizeof(LCHAR) * (LSTRLEN("cmdline.") + LSTRLEN(*argv) + 1), MTAG); in ESR_SessionTypeImportCommandLineImpl()
702 newValue = MALLOC(sizeof(long), MTAG); in ESR_SessionTypeConvertToIntImpl()
[all …]
/external/srec/seti/sltsEngine/src/
DSWIslts.c81 *ppLtsWrap = MALLOC(sizeof(SWIsltsWrapper), MTAG); in SWIsltsGetWrapper()
222 new_text = MALLOC((strlen(text)+1)*sizeof(char), MTAG); in SWIsltsTextToPhone()
316 pTranscription->pBuffer = MALLOC(MAX_PHONE_LEN * (num_phones + 1+1), MTAG); in SWIsltsG2PGetWordTranscriptions()
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Deval.c221 buffer = (GLfloat *) MALLOC(uorder * size * sizeof(GLfloat)); in _mesa_copy_map_points1f()
245 buffer = (GLfloat *) MALLOC(uorder * size * sizeof(GLfloat)); in _mesa_copy_map_points1d()
289 buffer = (GLfloat *) MALLOC((uorder*vorder*size+hsize)*sizeof(GLfloat)); in _mesa_copy_map_points2f()
291 buffer = (GLfloat *) MALLOC((uorder*vorder*size+dsize)*sizeof(GLfloat)); in _mesa_copy_map_points2f()
332 buffer = (GLfloat *) MALLOC((uorder*vorder*size+hsize)*sizeof(GLfloat)); in _mesa_copy_map_points2d()
334 buffer = (GLfloat *) MALLOC((uorder*vorder*size+dsize)*sizeof(GLfloat)); in _mesa_copy_map_points2d()
943 map->Points = (GLfloat *) MALLOC(n * sizeof(GLfloat)); in init_1d_map()
964 map->Points = (GLfloat *) MALLOC(n * sizeof(GLfloat)); in init_2d_map()

123456789