Home
last modified time | relevance | path

Searched refs:nsize (Results 1 - 14 of 14) sorted by relevance

/third_party/node/deps/undici/src/node_modules/@fastify/busboy/lib/types/
H A Dmultipart.js118 let nsize = 0
196 if ((nsize += data.length) > fileSizeLimit) {
197 const extralen = fileSizeLimit - nsize + data.length
206 file.bytesRead = nsize
230 if ((nsize += data.length) > fieldSizeLimit) {
231 const extralen = (fieldSizeLimit - (nsize - data.length))
/third_party/musl/src/malloc/oldmalloc/
H A Dmalloc.c484 size_t nsize = next->csize & C_INUSE ? 0 : CHUNK_SIZE(next); in realloc() local
485 if (n0+nsize >= n) { in realloc()
486 int i = bin_index(nsize); in realloc()
492 self->csize = next->psize = n0+nsize | C_INUSE; in realloc()
538 size_t nsize = next->csize & C_INUSE ? 0 : CHUNK_SIZE(next); in __bin_chunk() local
555 if (nsize) { in __bin_chunk()
556 int i = bin_index(nsize); in __bin_chunk()
561 size += nsize; in __bin_chunk()
/third_party/musl/porting/liteos_a/user/src/malloc/oldmalloc/
H A Dmalloc.c407 size_t nsize = next->csize & C_INUSE ? 0 : CHUNK_SIZE(next); in realloc() local
408 if (n0+nsize >= n) { in realloc()
409 int i = bin_index(nsize); in realloc()
415 self->csize = next->psize = n0+nsize | C_INUSE; in realloc()
448 size_t nsize = next->csize & C_INUSE ? 0 : CHUNK_SIZE(next); in __bin_chunk() local
461 if (nsize) { in __bin_chunk()
462 int i = bin_index(nsize); in __bin_chunk()
467 size += nsize; in __bin_chunk()
/third_party/musl/porting/liteos_a/user_debug/src/malloc/oldmalloc/
H A Dmalloc.c448 size_t nsize = next->csize & C_INUSE ? 0 : CHUNK_SIZE(next); in realloc() local
449 if (n0+nsize >= n) { in realloc()
450 int i = bin_index(nsize); in realloc()
456 self->csize = next->psize = n0+nsize | C_INUSE; in realloc()
498 size_t nsize = next->csize & C_INUSE ? 0 : CHUNK_SIZE(next); in __bin_chunk() local
513 if (nsize) { in __bin_chunk()
514 int i = bin_index(nsize); in __bin_chunk()
519 size += nsize; in __bin_chunk()
/third_party/ffmpeg/libavfilter/
H A Dvf_nnedi.c52 int xdim, ydim, nns, nsize; member
93 int nsize; member
133 {"nsize", "set size of local neighborhood around each pixel, used by the predictor neural network", OFFSET(nsize), AV_OPT_TYPE_INT, {.i64=6}, 0, 6, RFLAGS, "nsize" },
134 {"s8x6", NULL, 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 0, RFLAGS, "nsize" },
135 {"s16x6", NULL, 0, AV_OPT_TYPE_CONST, {.i64=1}, 0, 0, RFLAGS, "nsize" },
136 {"s32x6", NULL, 0, AV_OPT_TYPE_CONST, {.i64=2}, 0, 0, RFLAGS, "nsize" },
137 {"s48x6", NULL, 0, AV_OPT_TYPE_CONST, {.i64=3}, 0, 0, RFLAGS, "nsize" },
138 {"s8x4", NULL, 0, AV_OPT_TYPE_CONST, {.i64=4}, 0, 0, RFLAGS, "nsize" },
[all...]
/third_party/python/Lib/test/test_asyncio/
H A Dtest_sslproto.py192 def buffer_updated(self, nsize):
194 self.data += self.mv[:nsize]
196 self.data += self.buf[:nsize]
391 def buffer_updated(slf, nsize):
392 self.assertEqual(nsize, 1)
393 slf.on_data.set_result(bytes(slf.buf[:nsize]))
H A Dtest_ssl.py842 def buffer_updated(self, nsize):
843 assert nsize == 1
844 self.on_data.set_result(bytes(self.buf[:nsize]))
/third_party/FreeBSD/sys/dev/usb/controller/
H A Dusb_controller.c799 struct usb_page *pg, usb_size_t nsize, usb_size_t align) in usb_bus_mem_flush_all_cb()
824 struct usb_page *pg, usb_size_t nsize, usb_size_t align) in usb_bus_mem_alloc_all_cb()
829 if (usb_pc_alloc_mem(pc, pg, nsize, align)) { in usb_bus_mem_alloc_all_cb()
887 struct usb_page *pg, usb_size_t nsize, usb_size_t align) in usb_bus_mem_free_all_cb()
798 usb_bus_mem_flush_all_cb(struct usb_bus *bus, struct usb_page_cache *pc, struct usb_page *pg, usb_size_t nsize, usb_size_t align) usb_bus_mem_flush_all_cb() argument
823 usb_bus_mem_alloc_all_cb(struct usb_bus *bus, struct usb_page_cache *pc, struct usb_page *pg, usb_size_t nsize, usb_size_t align) usb_bus_mem_alloc_all_cb() argument
886 usb_bus_mem_free_all_cb(struct usb_bus *bus, struct usb_page_cache *pc, struct usb_page *pg, usb_size_t nsize, usb_size_t align) usb_bus_mem_free_all_cb() argument
/third_party/alsa-lib/src/ucm/
H A Ducm_subs.c711 size_t size, nsize, idsize, rvalsize, dpos = 0; in uc_mgr_get_substituted_value() local
814 nsize = size + rvalsize - idsize; in uc_mgr_get_substituted_value()
815 if (nsize > size) { in uc_mgr_get_substituted_value()
816 nr = realloc(r, nsize); in uc_mgr_get_substituted_value()
822 size = nsize; in uc_mgr_get_substituted_value()
/third_party/littlefs/
H A Dlfs.c3422 lfs_size_t nsize = size; local
3430 nsize = size;
3432 while (nsize > 0) {
3452 lfs_size_t diff = lfs_min(nsize, lfs->cfg->block_size - file->off);
3474 nsize -= diff;
3502 lfs_size_t nsize = size; local
3505 lfs_max(file->pos+nsize, file->ctz.size) >
3518 while (nsize > 0) {
3555 lfs_size_t diff = lfs_min(nsize, lfs->cfg->block_size - file->off);
3579 nsize
3621 lfs_ssize_t nsize = lfs_file_flushedwrite(lfs, file, buffer, size); global() local
[all...]
/third_party/pcre2/pcre2/src/
H A Dpcre2test.c7385 PCRE2_SIZE j, rlen, nsize, erroroffset; in process_data() local
7444 nsize = REPLACE_BUFFSIZE/code_unit_size; in process_data()
7454 if (n > nsize) in process_data()
7457 "large (max %" SIZ_FORM ")\n", n, nsize); in process_data()
7460 nsize = n; in process_data()
7540 rbptr, rlen, nbuffer, &nsize); in process_data()
7545 if (rc != PCRE2_ERROR_NOMEMORY && nsize != PCRE2_UNSET) in process_data()
7546 fprintf(outfile, " at offset %ld in replacement", (long int)nsize); in process_data()
7551 fprintf(outfile, ": %ld code units are needed", (long int)nsize); in process_data()
7556 PCHARSV(nbuffer, 0, nsize, ut in process_data()
[all...]
/third_party/python/Objects/
H A Dunicodeobject.c5817 Py_ssize_t nsize, pos; in _PyUnicode_EncodeUTF32() local
5834 nsize = len + (byteorder == 0); in _PyUnicode_EncodeUTF32()
5835 v = PyBytes_FromStringAndSize(NULL, nsize * 4); in _PyUnicode_EncodeUTF32()
5935 nsize = (unsigned char*) out - (unsigned char*) PyBytes_AS_STRING(v); in _PyUnicode_EncodeUTF32()
5936 if (nsize != PyBytes_GET_SIZE(v)) in _PyUnicode_EncodeUTF32()
5937 _PyBytes_Resize(&v, nsize); in _PyUnicode_EncodeUTF32()
6139 Py_ssize_t nsize, pos; in _PyUnicode_EncodeUTF16() local
6167 nsize = len + pairs + (byteorder == 0); in _PyUnicode_EncodeUTF16()
6168 v = PyBytes_FromStringAndSize(NULL, nsize * 2); in _PyUnicode_EncodeUTF16()
6274 nsize in _PyUnicode_EncodeUTF16()
[all...]
/third_party/node/deps/undici/
H A Dundici.js3898 let nsize = 0;
3980 if ((nsize += data.length) > fileSizeLimit) {
3981 const extralen = fileSizeLimit - nsize + data.length;
3993 file.bytesRead = nsize;
4013 if ((nsize += data.length) > fieldSizeLimit) {
4014 const extralen = fieldSizeLimit - (nsize - data.length);
/third_party/ltp/tools/sparse/sparse-src/
H A Dsimplify.c436 static inline bool is_signed_constant(long long val, unsigned osize, unsigned nsize) in is_signed_constant() argument
438 return bits_extend(val, osize, 1) == bits_extend(val, nsize, 1); in is_signed_constant()

Completed in 51 milliseconds