Home
last modified time | relevance | path

Searched refs:nitems (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/ffmpeg/libavcodec/
Dmjpegenc_huffman.c92 to->nitems = 0; in ff_mjpegenc_huffman_compute_bits()
93 from->nitems = 0; in ff_mjpegenc_huffman_compute_bits()
99 to->nitems = 0; in ff_mjpegenc_huffman_compute_bits()
108 while (i < size || j + 1 < from->nitems) { in ff_mjpegenc_huffman_compute_bits()
109 to->nitems++; in ff_mjpegenc_huffman_compute_bits()
110 to->item_idx[to->nitems] = to->item_idx[to->nitems - 1]; in ff_mjpegenc_huffman_compute_bits()
112 (j + 1 >= from->nitems || in ff_mjpegenc_huffman_compute_bits()
115 to->items[to->item_idx[to->nitems]++] = prob_table[i].value; in ff_mjpegenc_huffman_compute_bits()
116 to->probability[to->nitems - 1] = prob_table[i].prob; in ff_mjpegenc_huffman_compute_bits()
120 to->items[to->item_idx[to->nitems]++] = from->items[k]; in ff_mjpegenc_huffman_compute_bits()
[all …]
Dmagicyuvenc.c275 int nitems; ///< number of items in the list and probability ex. 4 member
299 to->nitems = 0; in magy_huffman_compute_bits()
300 from->nitems = 0; in magy_huffman_compute_bits()
306 to->nitems = 0; in magy_huffman_compute_bits()
315 while (i < size || j + 1 < from->nitems) { in magy_huffman_compute_bits()
316 to->nitems++; in magy_huffman_compute_bits()
317 to->item_idx[to->nitems] = to->item_idx[to->nitems - 1]; in magy_huffman_compute_bits()
319 (j + 1 >= from->nitems || in magy_huffman_compute_bits()
322 to->items[to->item_idx[to->nitems]++] = prob_table[i].value; in magy_huffman_compute_bits()
323 to->probability[to->nitems - 1] = prob_table[i].prob; in magy_huffman_compute_bits()
[all …]
Dmjpegenc_huffman.h60 int nitems; ///< number of items in the list and probability ex. 4 member
/third_party/elfutils/libdwfl/
Dlinux-core-attach.c138 size_t nitems; in core_next_thread() local
141 &regs_offset, &nregloc, &reglocs, &nitems, &items)) in core_next_thread()
149 for (item = items; item < items + nitems; item++) in core_next_thread()
152 if (item == items + nitems) in core_next_thread()
193 size_t nitems; in core_set_initial_registers() local
197 &nitems, &items); in core_set_initial_registers()
202 for (item = items; item < items + nitems; item++) in core_set_initial_registers()
205 assert (item < items + nitems); in core_set_initial_registers()
216 for (item = items; item < items + nitems; item++) in core_set_initial_registers()
219 if (item < items + nitems) in core_set_initial_registers()
[all …]
/third_party/musl/porting/uniproton/kernel/src/malloc/
Dmalloc.c6 void *calloc(size_t nitems, size_t size) in calloc() argument
11 if ((nitems == 0) || (size == 0) || (nitems > (UINT32_MAX / size))) { in calloc()
15 real_size = (size_t)(nitems * size); in calloc()
/third_party/toybox/toys/net/
Dnetstat.c126 unsigned lport, rport, state, txq, rxq, num, uid, nitems; in show_ip() local
130 nitems = sscanf(toybuf, in show_ip()
137 if (nitems!=16) { in show_ip()
138 nitems = sscanf(toybuf, in show_ip()
143 if (nitems!=10) continue; in show_ip()
144 nitems = AF_INET; in show_ip()
145 } else nitems = AF_INET6; in show_ip()
152 addr2str(nitems, &laddr, lport, lip, TT.wpad, label); in show_ip()
153 addr2str(nitems, &raddr, rport, rip, TT.wpad, label); in show_ip()
Difconfig.c199 int nitems; in display_ifconfig() local
202 nitems = sscanf(toybuf, "%32s %*08x %02x %02x %*02x %15s\n", in display_ifconfig()
204 if (nitems<0 && feof(fp)) break; in display_ifconfig()
205 if (nitems != 4) perror_exit("bad %s", pp); in display_ifconfig()
/third_party/FreeBSD/lib/libc/gen/
Dfts.c122 size_t len, nitems; in fts_open() local
163 for (root = NULL, nitems = 0; *argv != NULL; ++argv, ++nitems) { in fts_open()
193 if (compar && nitems > 1) in fts_open()
194 root = fts_sort(sp, root, nitems); in fts_open()
639 size_t dnamlen, len, maxlen, nitems; in fts_build() local
742 for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp));) { in fts_build()
826 ++nitems; in fts_build()
852 if (descend && (type == BCHILD || !nitems) && in fts_build()
863 if (!nitems) { in fts_build()
870 if (sp->fts_compar && nitems > 1) in fts_build()
[all …]
/third_party/python/Modules/_sqlite/
Drow.c128 Py_ssize_t nitems, i; in pysqlite_row_subscript() local
140 nitems = PyTuple_Size(self->description); in pysqlite_row_subscript()
142 for (i = 0; i < nitems; i++) { in pysqlite_row_subscript()
186 Py_ssize_t nitems, i; in pysqlite_row_keys_impl() local
192 nitems = PyTuple_Size(self->description); in pysqlite_row_keys_impl()
194 for (i = 0; i < nitems; i++) { in pysqlite_row_keys_impl()
/third_party/elfutils/backends/
Dlinux-core-note.c216 size_t *nitems, const Ebl_Core_Item **items) in EBLHOOK()
242 *nitems = 1; in EBLHOOK()
258 *nitems = sizeof prstatus_items / sizeof prstatus_items[0]; in EBLHOOK()
268 *nitems = sizeof prpsinfo_items / sizeof prpsinfo_items[0]; in EBLHOOK()
279 *nitems = 0; \ in EBLHOOK()
290 *nitems = sizeof extra_items / sizeof extra_items[0]; \ in EBLHOOK()
301 *nitems = sizeof extra_items / sizeof extra_items[0]; \ in EBLHOOK()
Dx86_corenote.c32 regs_offset, nregloc, reglocs, nitems, items);
37 size_t *nitems, const Ebl_Core_Item **items) in ioperm_info() argument
48 *nitems = 1; in ioperm_info()
Di386_corenote.c110 nitems, items); \
124 size_t *nitems, const Ebl_Core_Item **items) in tls_info() argument
132 *nitems = sizeof tls_items / sizeof tls_items[0]; in tls_info()
/third_party/elfutils/libebl/
Deblcorenote.c47 const Ebl_Register_Location **reglocs, size_t *nitems, in ebl_core_note() argument
51 regs_offset, nregloc, reglocs, nitems, items); in ebl_core_note()
73 *nitems = 1; in ebl_core_note()
/third_party/musl/porting/liteos_a_newlib/kernel/src/
Dmalloc.c82 void *__wrap__calloc_r(struct _reent *reent, size_t nitems, size_t size) in __wrap__calloc_r() argument
87 if (nitems == 0 || size == 0) { in __wrap__calloc_r()
91 real_size = (size_t)(nitems * size); in __wrap__calloc_r()
/third_party/python/Modules/
D_operator.c953 Py_ssize_t nitems; member
964 Py_ssize_t nitems; in itemgetter_new() local
970 nitems = PyTuple_GET_SIZE(args); in itemgetter_new()
971 if (nitems <= 1) { in itemgetter_new()
986 ig->nitems = nitems; in itemgetter_new()
1036 Py_ssize_t i, nitems=ig->nitems; in itemgetter_call() local
1045 if (nitems == 1) { in itemgetter_call()
1058 assert(PyTuple_GET_SIZE(ig->item) == nitems); in itemgetter_call()
1060 result = PyTuple_New(nitems); in itemgetter_call()
1064 for (i=0 ; i < nitems ; i++) { in itemgetter_call()
[all …]
D_testbuffer.c109 ndbuf_new(Py_ssize_t nitems, Py_ssize_t itemsize, Py_ssize_t offset, int flags) in ndbuf_new() argument
115 len = nitems * itemsize; in ndbuf_new()
307 Py_ssize_t nitems; /* number of items */ in pack_from_list() local
319 nitems = PySequence_Fast_GET_SIZE(items); in pack_from_list()
338 for (i = 0; i < nitems; i++) { in pack_from_list()
1182 Py_ssize_t nitems; in init_ndbuf() local
1233 nitems = PySequence_Fast_GET_SIZE(items); in init_ndbuf()
1234 if (nitems == 0) { in init_ndbuf()
1241 ndbuf = ndbuf_new(nitems, itemsize, offset, flags); in init_ndbuf()
1558 Py_ssize_t nitems; /* items in the first dimension */ in ptr_from_index() local
[all …]
/third_party/python/Include/cpython/
Dobjimpl.h21 #define _PyObject_VAR_SIZE(typeobj, nitems) \ argument
23 (nitems)*(typeobj)->tp_itemsize, \
/third_party/openssl/doc/man3/
DEC_GROUP_new.pod55 size_t EC_get_builtin_curves(EC_builtin_curve *r, size_t nitems);
141 EC_builtin_curve structures of size I<nitems>. The function will populate the
142 I<r> array with information about the built-in curves. If I<nitems> is less than
143 the total number of curves available, then the first I<nitems> curves will be
146 populated in I<r> or not). Passing a NULL I<r>, or setting I<nitems> to 0 will
/third_party/node/deps/zlib/
Dgzread.c411 z_size_t ZEXPORT gzfread(buf, size, nitems, file) in gzfread() argument
414 z_size_t nitems;
431 len = nitems * size;
432 if (size && len / size != nitems) {
/third_party/flutter/skia/third_party/externals/zlib/
Dgzread.c411 z_size_t ZEXPORT gzfread(buf, size, nitems, file) in gzfread() argument
414 z_size_t nitems;
431 len = nitems * size;
432 if (size && len / size != nitems) {
/third_party/zlib/
Dgzread.c411 z_size_t ZEXPORT gzfread(buf, size, nitems, file) in gzfread() argument
414 z_size_t nitems;
431 len = nitems * size;
432 if (size && len / size != nitems) {
/third_party/skia/third_party/externals/zlib/
Dgzread.c411 z_size_t ZEXPORT gzfread(buf, size, nitems, file) in gzfread() argument
414 z_size_t nitems;
431 len = nitems * size;
432 if (size && len / size != nitems) {
Dgzwrite.c274 z_size_t ZEXPORT gzfwrite(buf, size, nitems, file) in gzfwrite() argument
277 z_size_t nitems;
293 len = nitems * size;
294 if (size && len / size != nitems) {
/third_party/toybox/porting/liteos_a/toys/net/
Difconfig.c198 int nitems; in display_ifconfig() local
201 nitems = sscanf(toybuf, "%32s %*08x %02x %02x %*02x %15s\n", in display_ifconfig()
203 if (nitems<0 && feof(fp)) break; in display_ifconfig()
204 if (nitems != 4) perror_exit("bad %s", pp); in display_ifconfig()
/third_party/openssl/crypto/ec/
Dec_curve.c3307 size_t EC_get_builtin_curves(EC_builtin_curve *r, size_t nitems) in EC_get_builtin_curves() argument
3311 if (r == NULL || nitems == 0) in EC_get_builtin_curves()
3314 min = nitems < curve_list_length ? nitems : curve_list_length; in EC_get_builtin_curves()

1234