/external/lua/src/ |
D | lmem.c | 77 void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) { in luaM_realloc_() argument 83 if (nsize > realosize && g->gcrunning) in luaM_realloc_() 86 newblock = (*g->frealloc)(g->ud, block, osize, nsize); in luaM_realloc_() 87 if (newblock == NULL && nsize > 0) { in luaM_realloc_() 88 lua_assert(nsize > realosize); /* cannot fail when shrinking a block */ in luaM_realloc_() 91 newblock = (*g->frealloc)(g->ud, block, osize, nsize); /* try again */ in luaM_realloc_() 96 lua_assert((nsize == 0) == (newblock == NULL)); in luaM_realloc_() 97 g->GCdebt = (g->GCdebt + nsize) - realosize; in luaM_realloc_()
|
D | loadlib.c | 171 DWORD nsize = sizeof(buff)/sizeof(char); in setprogdir() local 172 DWORD n = GetModuleFileNameA(NULL, buff, nsize); /* get exec. name */ in setprogdir() 173 if (n == 0 || n == nsize || (lb = strrchr(buff, '\\')) == NULL) in setprogdir()
|
D | lauxlib.c | 1008 static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) { in l_alloc() argument 1010 if (nsize == 0) { in l_alloc() 1015 return realloc(ptr, nsize); in l_alloc()
|
D | ltable.c | 388 int nsize = allocsizenode(t); in luaH_resizearray() local 389 luaH_resize(L, t, nasize, nsize); in luaH_resizearray()
|
D | lua.h | 124 typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
|
/external/jemalloc/src/ |
D | base.c | 55 size_t csize, nsize; in base_chunk_alloc() local 62 nsize = (node == NULL) ? CACHELINE_CEILING(sizeof(extent_node_t)) : 0; in base_chunk_alloc() 63 csize = CHUNK_CEILING(minsize + nsize); in base_chunk_alloc() 73 addr = (void *)((uintptr_t)addr + nsize); in base_chunk_alloc() 74 csize -= nsize; in base_chunk_alloc() 76 base_allocated += nsize; in base_chunk_alloc() 77 base_resident += PAGE_CEILING(nsize); in base_chunk_alloc()
|
/external/eigen/bench/ |
D | benchmark-blocking-sizes.cpp | 574 for (size_t nsize = minsize; nsize <= maxsize; nsize *= 2) { in run() local 577 for (size_t nblock = minsize; nblock <= nsize; nblock *= 2) { in run() 578 benchmarks.emplace_back(ksize, msize, nsize, kblock, mblock, nblock); in run() 605 for (size_t nsize = minsize; nsize <= maxsize; nsize *= 2) { in run() local 606 benchmarks.emplace_back(ksize, msize, nsize); in run()
|
/external/u-boot/fs/jffs2/ |
D | jffs2_1pass.c | 612 } else if (jNew->nsize != jOld->nsize) { in compare_dirents() 617 ret = jNew->nsize > jOld->nsize; in compare_dirents() 623 jNew->nsize); in compare_dirents() 837 if ((pino == jDir->pino) && (len == jDir->nsize) && in jffs2_1pass_find_inode() 847 putnstr(jDir->name, jDir->nsize); in jffs2_1pass_find_inode() 855 putnstr(jDir->name, jDir->nsize); in jffs2_1pass_find_inode() 858 putLabeledWord("nsize = ", jDir->nsize); in jffs2_1pass_find_inode() 925 strncpy(fname, (char *)d->name, d->nsize); in dump_inode() 926 fname[d->nsize] = '\0'; in dump_inode() 974 jDirNext->nsize == jDir->nsize && in jffs2_1pass_list_inodes() [all …]
|
D | summary.h | 53 uint8_t nsize; /* dirent name size */ member 109 uint8_t nsize; /* dirent name size */ member
|
D | jffs2_private.h | 72 if (node->name_crc != crc32_no_comp(0, (unsigned char *)&(node->name), node->nsize)) { in dirent_name_crc()
|
/external/minijail/ |
D | util.c | 342 size_t i, multiplier = 1, nsize, size = 0; in parse_size() local 374 nsize = size * multiplier; in parse_size() 375 if (nsize / multiplier != size) in parse_size() 377 *result = nsize; in parse_size()
|
/external/libcups/cups/ |
D | dest-options.c | 897 _cups_media_db_t *nsize; /* Size for N */ in cupsGetDestMediaByIndex() local 935 if ((nsize = (_cups_media_db_t *)cupsArrayIndex(dinfo->cached_db, n)) == NULL) in cupsGetDestMediaByIndex() 941 if (nsize->size_name) in cupsGetDestMediaByIndex() 942 strlcpy(size->media, nsize->size_name, sizeof(size->media)); in cupsGetDestMediaByIndex() 943 else if (nsize->key) in cupsGetDestMediaByIndex() 944 strlcpy(size->media, nsize->key, sizeof(size->media)); in cupsGetDestMediaByIndex() 945 else if ((pwg = pwgMediaForSize(nsize->width, nsize->length)) != NULL) in cupsGetDestMediaByIndex() 953 size->width = nsize->width; in cupsGetDestMediaByIndex() 954 size->length = nsize->length; in cupsGetDestMediaByIndex() 955 size->bottom = nsize->bottom; in cupsGetDestMediaByIndex() [all …]
|
/external/wayland/cursor/ |
D | xcursor.c | 527 int nsize; in XcursorXcFileLoadImages() local 537 bestSize = _XcursorFindBestSize (fileHeader, (XcursorDim) size, &nsize); in XcursorXcFileLoadImages() 543 images = XcursorImagesCreate (nsize); in XcursorXcFileLoadImages() 549 for (n = 0; n < nsize; n++) in XcursorXcFileLoadImages() 561 if (images->nimage != nsize) in XcursorXcFileLoadImages()
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_sslproto.py | 186 def buffer_updated(self, nsize): argument 188 self.data += self.mv[:nsize] 190 self.data += self.buf[:nsize] 381 def buffer_updated(self, nsize): argument 382 assert nsize == 1 383 self.on_data.set_result(bytes(self.buf[:nsize]))
|
/external/kernel-headers/original/uapi/linux/ |
D | jffs2.h | 121 __u8 nsize; member
|
/external/u-boot/include/jffs2/ |
D | jffs2.h | 132 __u8 nsize; member
|
/external/dlmalloc/ |
D | malloc.c | 3983 size_t nsize = chunksize(oldfirst); in prepend_alloc() local 3984 unlink_chunk(m, oldfirst, nsize); in prepend_alloc() 3985 oldfirst = chunk_plus_offset(oldfirst, nsize); in prepend_alloc() 3986 qsize += nsize; in prepend_alloc() 4435 size_t nsize = chunksize(next); in dispose_chunk() local 4436 psize += nsize; in dispose_chunk() 4437 unlink_chunk(m, next, nsize); in dispose_chunk() 4777 size_t nsize = chunksize(next); in dlfree() local 4778 psize += nsize; in dlfree() 4779 unlink_chunk(fm, next, nsize); in dlfree() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/src/ |
D | dlmalloc.c | 3355 size_t nsize = chunksize(oldfirst); in prepend_alloc() local 3356 unlink_chunk(m, oldfirst, nsize); in prepend_alloc() 3357 oldfirst = chunk_plus_offset(oldfirst, nsize); in prepend_alloc() 3358 qsize += nsize; in prepend_alloc() 4332 size_t nsize = chunksize(next); in dlfree() local 4333 psize += nsize; in dlfree() 4334 unlink_chunk(fm, next, nsize); in dlfree() 4733 size_t nsize = chunksize(next); in mspace_free() local 4734 psize += nsize; in mspace_free() 4735 unlink_chunk(fm, next, nsize); in mspace_free()
|
/external/libffi/src/ |
D | dlmalloc.c | 3350 size_t nsize = chunksize(oldfirst); in prepend_alloc() local 3351 unlink_chunk(m, oldfirst, nsize); in prepend_alloc() 3352 oldfirst = chunk_plus_offset(oldfirst, nsize); in prepend_alloc() 3353 qsize += nsize; in prepend_alloc() 4327 size_t nsize = chunksize(next); in dlfree() local 4328 psize += nsize; in dlfree() 4329 unlink_chunk(fm, next, nsize); in dlfree() 4728 size_t nsize = chunksize(next); in mspace_free() local 4729 psize += nsize; in mspace_free() 4730 unlink_chunk(fm, next, nsize); in mspace_free()
|
/external/iperf3/src/ |
D | iperf_api.c | 2117 uint32_t hsize, nsize; in JSON_write() local 2126 nsize = htonl(hsize); in JSON_write() 2127 if (Nwrite(fd, (char*) &nsize, sizeof(nsize), Ptcp) < 0) in JSON_write() 2143 uint32_t hsize, nsize; in JSON_read() local 2153 if (Nread(fd, (char*) &nsize, sizeof(nsize), Ptcp) >= 0) { in JSON_read() 2154 hsize = ntohl(nsize); in JSON_read()
|
/external/python/cpython2/Objects/ |
D | unicodeobject.c | 2441 Py_ssize_t nsize, bytesize; in PyUnicode_EncodeUTF32() local 2471 nsize = (size - pairs + (byteorder == 0)); in PyUnicode_EncodeUTF32() 2472 bytesize = nsize * 4; in PyUnicode_EncodeUTF32() 2473 if (bytesize / 4 != nsize) in PyUnicode_EncodeUTF32() 2718 Py_ssize_t nsize, bytesize; in PyUnicode_EncodeUTF16() local 2747 nsize = size + pairs + (byteorder == 0); in PyUnicode_EncodeUTF16() 2748 bytesize = nsize * 2; in PyUnicode_EncodeUTF16() 2749 if (bytesize / 2 != nsize) in PyUnicode_EncodeUTF16()
|
/external/pcre/dist2/src/ |
D | pcre2test.c | 7209 PCRE2_SIZE j, rlen, nsize, erroroffset; in process_data() local 7250 nsize = REPLACE_BUFFSIZE/code_unit_size; in process_data() 7260 if (n > nsize) in process_data() 7263 "large (max %" SIZ_FORM ")\n", SIZ_CAST n, SIZ_CAST nsize); in process_data() 7266 nsize = n; in process_data() 7341 rbuffer, rlen, nbuffer, &nsize); in process_data() 7346 if (rc != PCRE2_ERROR_NOMEMORY && nsize != PCRE2_UNSET) in process_data() 7347 fprintf(outfile, " at offset %ld in replacement", (long int)nsize); in process_data() 7352 fprintf(outfile, ": %ld code units are needed", (long int)nsize); in process_data() 7357 PCHARSV(nbuffer, 0, nsize, utf, outfile); in process_data()
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 5552 Py_ssize_t nsize, pos; in _PyUnicode_EncodeUTF32() local 5569 nsize = len + (byteorder == 0); in _PyUnicode_EncodeUTF32() 5570 v = PyBytes_FromStringAndSize(NULL, nsize * 4); in _PyUnicode_EncodeUTF32() 5668 nsize = (unsigned char*) out - (unsigned char*) PyBytes_AS_STRING(v); in _PyUnicode_EncodeUTF32() 5669 if (nsize != PyBytes_GET_SIZE(v)) in _PyUnicode_EncodeUTF32() 5670 _PyBytes_Resize(&v, nsize); in _PyUnicode_EncodeUTF32() 5887 Py_ssize_t nsize, pos; in _PyUnicode_EncodeUTF16() local 5915 nsize = len + pairs + (byteorder == 0); in _PyUnicode_EncodeUTF16() 5916 v = PyBytes_FromStringAndSize(NULL, nsize * 2); in _PyUnicode_EncodeUTF16() 6020 nsize = (unsigned char*) out - (unsigned char*) PyBytes_AS_STRING(v); in _PyUnicode_EncodeUTF16() [all …]
|
/external/capstone/ |
D | cs.c | 121 extern void* kern_os_realloc(void* addr, size_t nsize);
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_encoder.c | 4855 size_t nsize = *size; local 4863 vp9_pack_bitstream(cpi, dest, &nsize); 4866 overhead = (int)*size - (int)nsize;
|