Home
last modified time | relevance | path

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

/third_party/musl/porting/liteos_a/user/src/malloc/oldmalloc/
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/src/malloc/oldmalloc/
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/
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/
Dvf_nnedi.c53 int xdim, ydim, nns, nsize; member
94 int nsize; member
134 …hborhood around each pixel, used by the predictor neural network", OFFSET(nsize), AV_OPT_TYPE_INT,…
307 return nn * model->nsize; in filter_offset()
338 const float scale = 1.f / model->nsize; in gather_input()
408 const int filter_size = model->nsize; in predictor()
650 &s->coeffs[s->etype][s->nnsparam][s->nsize], s->qual == 2); in filter_slice()
777 coeffs->nsize = xdim * ydim; in allocate_model()
900 const int filter_size = model->nsize; in subtract_mean_predictor()
/third_party/alsa-lib/src/ucm/
Ducm_subs.c659 size_t size, nsize, idsize, rvalsize, dpos = 0; in uc_mgr_get_substituted_value() local
759 nsize = size + rvalsize - idsize; in uc_mgr_get_substituted_value()
760 if (nsize > size) { in uc_mgr_get_substituted_value()
761 nr = realloc(r, nsize); in uc_mgr_get_substituted_value()
767 size = nsize; in uc_mgr_get_substituted_value()
/third_party/python/Lib/test/test_asyncio/
Dtest_sslproto.py187 def buffer_updated(self, nsize): argument
189 self.data += self.mv[:nsize]
191 self.data += self.buf[:nsize]
386 def buffer_updated(slf, nsize): argument
387 self.assertEqual(nsize, 1)
388 slf.on_data.set_result(bytes(slf.buf[:nsize]))
/third_party/FreeBSD/sys/dev/usb/controller/
Dusb_controller.c800 struct usb_page *pg, usb_size_t nsize, usb_size_t align) in usb_bus_mem_flush_all_cb() argument
825 struct usb_page *pg, usb_size_t nsize, usb_size_t align) in usb_bus_mem_alloc_all_cb() argument
830 if (usb_pc_alloc_mem(pc, pg, nsize, align)) { in usb_bus_mem_alloc_all_cb()
888 struct usb_page *pg, usb_size_t nsize, usb_size_t align) in usb_bus_mem_free_all_cb() argument
/third_party/libffi/src/
Ddlmalloc.c3355 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()
/third_party/littlefs/
Dlfs.c3248 lfs_size_t nsize = size; local
3256 nsize = size;
3258 while (nsize > 0) {
3278 lfs_size_t diff = lfs_min(nsize, lfs->cfg->block_size - file->off);
3300 nsize -= diff;
3328 lfs_size_t nsize = size; local
3331 lfs_max(file->pos+nsize, file->ctz.size) >
3344 while (nsize > 0) {
3381 lfs_size_t diff = lfs_min(nsize, lfs->cfg->block_size - file->off);
3405 nsize -= diff;
[all …]
/third_party/pcre2/pcre2/src/
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, utf, outfile); in process_data()
/third_party/python/Objects/
Dunicodeobject.c5918 Py_ssize_t nsize, pos; in _PyUnicode_EncodeUTF32() local
5935 nsize = len + (byteorder == 0); in _PyUnicode_EncodeUTF32()
5936 v = PyBytes_FromStringAndSize(NULL, nsize * 4); in _PyUnicode_EncodeUTF32()
6034 nsize = (unsigned char*) out - (unsigned char*) PyBytes_AS_STRING(v); in _PyUnicode_EncodeUTF32()
6035 if (nsize != PyBytes_GET_SIZE(v)) in _PyUnicode_EncodeUTF32()
6036 _PyBytes_Resize(&v, nsize); in _PyUnicode_EncodeUTF32()
6253 Py_ssize_t nsize, pos; in _PyUnicode_EncodeUTF16() local
6281 nsize = len + pairs + (byteorder == 0); in _PyUnicode_EncodeUTF16()
6282 v = PyBytes_FromStringAndSize(NULL, nsize * 2); in _PyUnicode_EncodeUTF16()
6386 nsize = (unsigned char*) out - (unsigned char*) PyBytes_AS_STRING(v); in _PyUnicode_EncodeUTF16()
[all …]
/third_party/ltp/tools/sparse/sparse-src/
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()
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Dqtdemux.c5822 guint nsize = 0; in gst_qtdemux_process_buffer_text() local
5840 nsize = GST_READ_UINT16_BE (map.data); in gst_qtdemux_process_buffer_text()
5841 nsize = MIN (nsize, map.size - 2); in gst_qtdemux_process_buffer_text()
5844 nsize, map.size); in gst_qtdemux_process_buffer_text()
5848 str = gst_tag_freeform_string_to_utf8 ((gchar *) map.data + 2, nsize, NULL); in gst_qtdemux_process_buffer_text()
/third_party/ffmpeg/doc/
Dfilters.texi15013 @item nsize