Searched refs:js_realloc (Results 1 – 3 of 3) sorted by relevance
/third_party/quickjs/ |
D | TODO | 20 - test all js_realloc memory errors
|
D | quickjs.h | 325 void *(*js_realloc)(JSMallocState *s, void *ptr, size_t size); member 388 void *js_realloc(JSContext *ctx, void *ptr, size_t size);
|
D | quickjs.c | 1307 return rt->mf.js_realloc(&rt->malloc_state, ptr, size); in js_realloc_rt() 1363 void *js_realloc(JSContext *ctx, void *ptr, size_t size) in js_realloc() function 4477 new_prop = js_realloc(ctx, p->prop, sizeof(new_prop[0]) * new_size); in resize_properties() 4513 sh_alloc = js_realloc(ctx, get_alloc_from_shape(sh), in resize_properties() 4590 new_prop = js_realloc(ctx, p->prop, sizeof(new_prop[0]) * new_size); in compact_properties() 8018 new_prop = js_realloc(ctx, p->prop, sizeof(p->prop[0]) * in add_property() 20602 new_buf = js_realloc(ctx, buf, new_size); in ident_realloc() 32629 b->debug.pc2line_buf = js_realloc(ctx, fd->pc2line.buf, fd->pc2line.size); in js_create_function() 48804 new_tab = js_realloc(ctx, def->tab, in js_operators_create_internal()
|