Home
last modified time | relevance | path

Searched refs:nsize (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/third_party/skia/third_party/lua/src/
Dlmem.c75 void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) { in luaM_realloc_() argument
81 if (nsize > realosize && g->gcrunning) in luaM_realloc_()
84 newblock = (*g->frealloc)(g->ud, block, osize, nsize); in luaM_realloc_()
85 if (newblock == NULL && nsize > 0) { in luaM_realloc_()
86 api_check(L, nsize > realosize, in luaM_realloc_()
90 newblock = (*g->frealloc)(g->ud, block, osize, nsize); /* try again */ in luaM_realloc_()
95 lua_assert((nsize == 0) == (newblock == NULL)); in luaM_realloc_()
96 g->GCdebt = (g->GCdebt + nsize) - realosize; in luaM_realloc_()
Dloadlib.c171 DWORD nsize = sizeof(buff)/sizeof(char); in setprogdir() local
172 DWORD n = GetModuleFileNameA(NULL, buff, nsize); in setprogdir()
173 if (n == 0 || n == nsize || (lb = strrchr(buff, '\\')) == NULL) in setprogdir()
Dlauxlib.c919 static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) { in l_alloc() argument
921 if (nsize == 0) { in l_alloc()
926 return realloc(ptr, nsize); in l_alloc()
Dltable.c338 int nsize = isdummy(t->node) ? 0 : sizenode(t); in luaH_resizearray() local
339 luaH_resize(L, t, nasize, nsize); in luaH_resizearray()
Dlua.h70 typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
/external/oprofile/libutil++/
Dop_spu_bfd.cpp117 unsigned int nsize, dsize, type; in op_bfd() local
118 nsize = *((unsigned int *) sec_contents); in op_bfd()
124 remainder = nsize % 4; in op_bfd()
127 desc_start = 12 + nsize + name_pad_length; in op_bfd()
132 note_record_length = 12 + nsize + in op_bfd()
/external/oprofile/daemon/liblegacy/
Dinit.c120 …ic void opd_shutdown(struct op_buffer_head * buf, size_t size, struct op_note * nbuf, size_t nsize) in opd_shutdown() argument
134 ncount = op_read_device(notedevfd, nbuf, nsize); in opd_shutdown()
165 …tic void opd_do_read(struct op_buffer_head * buf, size_t size, struct op_note * nbuf, size_t nsize) in opd_do_read() argument
176 ncount = op_read_device(notedevfd, nbuf, nsize); in opd_do_read()
199 opd_shutdown(buf, size, nbuf, nsize); in opd_do_read()
/external/valgrind/main/perf/
Dffbench.c242 static int nsize[] = {0, 0, 0}; in main() local
249 nsize[1] = nsize[2] = faedge; in main()
273 fourn(fdata, nsize, 2, 1); in main()
276 fourn(fdata, nsize, 2, -1); in main()
/external/ltrace/
Dglob.c85 size_t nsize = *sizep + str_size; in append() local
86 if (nsize > *allocp) { in append()
87 size_t nalloc = nsize * 2; in append()
96 *sizep = nsize; in append()
/external/chromium_org/third_party/npapi/npspy/extern/nspr/obsolete/
Dprobslet.h69 PRUint32 nsize; member
/external/kernel-headers/original/uapi/linux/
Djffs2.h126 __u8 nsize; member
/external/qemu/distrib/sdl-1.2.15/src/stdlib/
DSDL_malloc.c3300 size_t nsize = chunksize(oldfirst); in prepend_alloc() local
3301 unlink_chunk(m, oldfirst, nsize); in prepend_alloc()
3302 oldfirst = chunk_plus_offset(oldfirst, nsize); in prepend_alloc()
3303 qsize += nsize; in prepend_alloc()
4275 size_t nsize = chunksize(next); in dlfree() local
4276 psize += nsize; in dlfree()
4277 unlink_chunk(fm, next, nsize); in dlfree()
4676 size_t nsize = chunksize(next); in mspace_free() local
4677 psize += nsize; in mspace_free()
4678 unlink_chunk(fm, next, nsize); in mspace_free()