Home
last modified time | relevance | path

Searched refs:REALLOC (Results 1 – 25 of 45) sorted by relevance

12

/external/llvm-project/compiler-rt/test/hwasan/TestCases/
Drealloc-test.cpp10 #define REALLOC(p, s) reallocarray(p, 1, s) macro
13 #define REALLOC(p, s) realloc(p, s) macro
18 char *x = (char*)REALLOC(nullptr, 4); in main()
23 char *x1 = (char*)REALLOC(x, 5); in main()
29 char *x2 = (char*)REALLOC(x1, 6); in main()
35 char *x3 = (char*)REALLOC(x2, 6); in main()
40 char *x4 = (char*)REALLOC(x3, 5); in main()
/external/dtc/tests/
Dsw_tree1.c24 REALLOC, enumerator
54 case REALLOC: in realloc_fdt()
117 alloc_mode = REALLOC; in main()
120 alloc_mode = REALLOC; in main()
/external/llvm-project/compiler-rt/test/asan/TestCases/Linux/
Dasan_preload_test-3.cpp25 #ifdef REALLOC in foo()
/external/mesa3d/src/gallium/auxiliary/util/
Du_log.c78 REALLOC(ctx->auto_loggers, in u_log_add_auto_logger()
165 struct page_entry *new_entries = REALLOC(page->entries, in u_log_chunk()
Du_handle_table.c114 new_objects = (void **)REALLOC((void *)ht->objects, in handle_table_resize()
Du_bitmask.c116 REALLOC((void *)bm->words, in util_bitmask_resize()
Du_prim_restart.c196 info->ranges = REALLOC(info->ranges, in add_range()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_memory.h54 #define REALLOC(_ptr, _old_size, _size) os_realloc(_ptr, _old_size, _size) macro
Du_bitmask.c114 new_words = (util_bitmask_word *)REALLOC((void *)bm->words, in util_bitmask_resize()
/external/mesa3d/src/util/
Du_memory.h52 #define REALLOC(_ptr, _old_size, _size) os_realloc(_ptr, _old_size, _size) macro
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_tess.c205 output_verts->verts = REALLOC(output_verts->verts, old_size, new_size); in draw_tess_ctrl_shader_run()
377 output_verts->verts = REALLOC(output_verts->verts, old_size, new_size); in draw_tess_eval_shader_run()
382 elts = REALLOC(elts, elt_start * sizeof(uint16_t), in draw_tess_eval_shader_run()
400 …output_prims->primitive_lengths = REALLOC(output_prims->primitive_lengths, prim_start * sizeof(uin… in draw_tess_eval_shader_run()
/external/fastrpc/src/
Dlistener_android.c67 #ifndef REALLOC
68 #define REALLOC realloc macro
134 return REALLOC(buf, size); in rpcmem_realloc()
/external/mesa3d/src/gallium/frontends/nine/
Dnine_helpers.c37 pool->slabs = REALLOC(pool->slabs, in nine_range_pool_more()
Dstateblock9.c338 dst->ff.light = REALLOC(dst->ff.light, in nine_state_copy_common()
356 src->ff.light = REALLOC(src->ff.light, in nine_state_copy_common()
498 dst->ff.light = REALLOC(dst->ff.light, in nine_state_copy_common_all()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_util.h299 array = (Item *)REALLOC(array, sizeOld, sizeNew); in resize()
344 data = (Item *)REALLOC(data, oldSize, size * sizeof(Item)); in resize()
597 uint8_t **alloc = (uint8_t **)REALLOC(allocArray, size, size + incr); in enlargeAllocationsArray()
Dnv50_ir_target.cpp412 REALLOC(relocInfo, n ? size : 0, in addReloc()
438 REALLOC(fixupInfo, n ? size : 0, in addInterp()
Dnv50_ir_util.cpp251 data = (uint32_t *)REALLOC(data, 4 * p, 4 * n); in resize()
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_validate.c103 new_entries = (struct pb_validate_entry *)REALLOC(vl->entries, in pb_validate_add_buffer()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi.c61 new_buf = REALLOC(emit->buf, emit->size, newsize); in svga_shader_expand()
/external/mesa3d/src/gallium/frontends/va/
Dbuffer.c94 buf->data = REALLOC(buf->data, buf->size * buf->num_elements, in vlVaBufferSetNumElements()
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_driver_query.c156 = REALLOC(bq->query_types, in batch_query_add()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c323 REALLOC(csc->slab_buffers, in radeon_lookup_or_add_slab_buffer()
543 struct radeon_bo **new_fences = REALLOC(bo->u.slab.fences, in radeon_bo_slab_fence()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c538 new_buffers = REALLOC(cs->slab_buffers, in amdgpu_lookup_or_add_slab_buffer()
582 new_buffers = REALLOC(cs->sparse_buffers, in amdgpu_lookup_or_add_sparse_buffer()
1132 new_prev = REALLOC(rcs->prev, in amdgpu_cs_check_space()
1319 REALLOC(bo->fences, in amdgpu_add_fences()
/external/python/cpython3/Modules/expat/
Dxmlparse.c620 #define REALLOC(parser, p, s) (parser->m_mem.realloc_fcn((p), (s))) macro
1827 temp = (char *)REALLOC(parser, parser->m_buffer, bytesToAllocate); in XML_Parse()
2202 return REALLOC(parser, ptr, size); in XML_MemRealloc()
2414 char *temp = (char *)REALLOC(parser, tag->buf, bufSize); in storeRawNames()
2738 char *temp = (char *)REALLOC(parser, tag->buf, bufSize); in doContent()
3076 temp = (ATTRIBUTE *)REALLOC(parser, (void *)parser->m_atts, in storeAtts()
3084 temp2 = (XML_AttrInfo *)REALLOC(parser, (void *)parser->m_attInfo, in storeAtts()
3234 temp = (NS_ATT *)REALLOC(parser, parser->m_nsAtts, in storeAtts()
3489 XML_Char *temp = (XML_Char *)REALLOC( in addBinding()
4758 char *const new_connector = (char *)REALLOC( in doProlog()
[all …]
/external/expat/lib/
Dxmlparse.c621 #define REALLOC(parser, p, s) (parser->m_mem.realloc_fcn((p), (s))) macro
1838 temp = (char *)REALLOC(parser, parser->m_buffer, bytesToAllocate); in XML_Parse()
2219 return REALLOC(parser, ptr, size); in XML_MemRealloc()
2435 char *temp = (char *)REALLOC(parser, tag->buf, bufSize); in storeRawNames()
2759 char *temp = (char *)REALLOC(parser, tag->buf, bufSize); in doContent()
3097 temp = (ATTRIBUTE *)REALLOC(parser, (void *)parser->m_atts, in storeAtts()
3105 temp2 = (XML_AttrInfo *)REALLOC(parser, (void *)parser->m_attInfo, in storeAtts()
3255 temp = (NS_ATT *)REALLOC(parser, parser->m_nsAtts, in storeAtts()
3510 XML_Char *temp = (XML_Char *)REALLOC( in addBinding()
4779 char *const new_connector = (char *)REALLOC( in doProlog()
[all …]

12