/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/u-boot/fs/jffs2/ |
D | jffs2_nand_1pass.c | 166 new->nhash = full_name_hash(node->name, node->nsize); in insert_dirent() 167 new->nsize = node->nsize; in insert_dirent() 211 if (jNew->nsize != jOld->nsize) in compare_dirents() 212 return jNew->nsize > jOld->nsize; in compare_dirents() 216 cmp = strncmp(jNew->name, jOld->name, jNew->nsize); in compare_dirents() 375 (len == jDir->nsize) && (nhash == jDir->nhash)) { in jffs2_1pass_find_inode() 452 len = d->nsize; in dump_inode() 455 fname[d->nsize] = '\0'; in dump_inode() 745 putnstr(jDir->name, jDir->nsize); in dump_dirents() 753 putLabeledWord("\tbuild_list: nsize = ", jDir->nsize); in dump_dirents()
|
D | jffs2_1pass.c | 611 } else if (jNew->nsize != jOld->nsize) { in compare_dirents() 616 ret = jNew->nsize > jOld->nsize; in compare_dirents() 622 jNew->nsize); in compare_dirents() 836 if ((pino == jDir->pino) && (len == jDir->nsize) && in jffs2_1pass_find_inode() 846 putnstr(jDir->name, jDir->nsize); in jffs2_1pass_find_inode() 854 putnstr(jDir->name, jDir->nsize); in jffs2_1pass_find_inode() 857 putLabeledWord("nsize = ", jDir->nsize); in jffs2_1pass_find_inode() 924 strncpy(fname, (char *)d->name, d->nsize); in dump_inode() 925 fname[d->nsize] = '\0'; in dump_inode() 973 jDirNext->nsize == jDir->nsize && in jffs2_1pass_list_inodes() [all …]
|
D | jffs2_nand_private.h | 26 unsigned char nsize; member 84 if (node->name_crc != crc32_no_comp(0, (unsigned char *)&(node->name), node->nsize)) { in dirent_name_crc()
|
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/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/minijail/ |
D | util.c | 340 size_t i, multiplier = 1, nsize, size = 0; in parse_size() local 372 nsize = size * multiplier; in parse_size() 373 if (nsize / multiplier != size) in parse_size() 375 *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/python/cpython3/Lib/test/test_asyncio/ |
D | test_sslproto.py | 182 def buffer_updated(self, nsize): argument 184 self.data += self.mv[:nsize] 186 self.data += self.buf[:nsize] 311 def buffer_updated(self, nsize): argument 312 assert nsize == 1 313 self.on_data.set_result(bytes(self.buf[:nsize]))
|
/external/wayland/cursor/ |
D | xcursor.c | 521 int nsize; in XcursorXcFileLoadImages() local 531 bestSize = _XcursorFindBestSize (fileHeader, (XcursorDim) size, &nsize); in XcursorXcFileLoadImages() 537 images = XcursorImagesCreate (nsize); in XcursorXcFileLoadImages() 543 for (n = 0; n < nsize; n++) in XcursorXcFileLoadImages() 555 if (images->nimage != nsize) in XcursorXcFileLoadImages()
|
/external/u-boot/include/jffs2/ |
D | jffs2.h | 132 __u8 nsize; member
|
/external/kernel-headers/original/uapi/linux/ |
D | jffs2.h | 126 __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 | 2049 uint32_t hsize, nsize; in JSON_write() local 2058 nsize = htonl(hsize); in JSON_write() 2059 if (Nwrite(fd, (char*) &nsize, sizeof(nsize), Ptcp) < 0) in JSON_write() 2075 uint32_t hsize, nsize; in JSON_read() local 2085 if (Nread(fd, (char*) &nsize, sizeof(nsize), Ptcp) >= 0) { in JSON_read() 2086 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 | 6977 PCRE2_SIZE rlen, nsize, erroroffset; in process_data() local 7013 nsize = REPLACE_BUFFSIZE/code_unit_size; in process_data() 7023 if (n > nsize) in process_data() 7026 "large (max %" SIZ_FORM ")\n", SIZ_CAST n, SIZ_CAST nsize); in process_data() 7029 nsize = n; in process_data() 7094 rbuffer, rlen, nbuffer, &nsize); in process_data() 7099 if (rc != PCRE2_ERROR_NOMEMORY && nsize != PCRE2_UNSET) in process_data() 7100 fprintf(outfile, " at offset %ld in replacement", (long int)nsize); in process_data() 7105 fprintf(outfile, ": %ld code units are needed", (long int)nsize); in process_data() 7110 PCHARSV(nbuffer, 0, nsize, utf, outfile); in process_data()
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 5404 Py_ssize_t nsize, pos; in _PyUnicode_EncodeUTF32() local 5421 nsize = len + (byteorder == 0); in _PyUnicode_EncodeUTF32() 5422 v = PyBytes_FromStringAndSize(NULL, nsize * 4); in _PyUnicode_EncodeUTF32() 5520 nsize = (unsigned char*) out - (unsigned char*) PyBytes_AS_STRING(v); in _PyUnicode_EncodeUTF32() 5521 if (nsize != PyBytes_GET_SIZE(v)) in _PyUnicode_EncodeUTF32() 5522 _PyBytes_Resize(&v, nsize); in _PyUnicode_EncodeUTF32() 5739 Py_ssize_t nsize, pos; in _PyUnicode_EncodeUTF16() local 5767 nsize = len + pairs + (byteorder == 0); in _PyUnicode_EncodeUTF16() 5768 v = PyBytes_FromStringAndSize(NULL, nsize * 2); in _PyUnicode_EncodeUTF16() 5872 nsize = (unsigned char*) out - (unsigned char*) PyBytes_AS_STRING(v); in _PyUnicode_EncodeUTF16() [all …]
|