Home
last modified time | relevance | path

Searched refs:nb_bytes (Results 1 – 12 of 12) sorted by relevance

/external/pdfium/core/fxcodec/jpx/
Djpx_decode_utils.cpp17 OPJ_SIZE_T nb_bytes, in opj_read_from_memory() argument
28 OPJ_SIZE_T readlength = nb_bytes < bufferLength ? nb_bytes : bufferLength; in opj_read_from_memory()
34 OPJ_OFF_T opj_skip_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data) { in opj_skip_from_memory() argument
43 if (nb_bytes < 0) in opj_skip_from_memory()
47 static_cast<std::make_unsigned<OPJ_OFF_T>::type>(nb_bytes); in opj_skip_from_memory()
63 return nb_bytes; in opj_skip_from_memory()
66 OPJ_BOOL opj_seek_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data) { in opj_seek_from_memory() argument
73 if (nb_bytes < 0) in opj_seek_from_memory()
77 static_cast<std::make_unsigned<OPJ_OFF_T>::type>(nb_bytes); in opj_seek_from_memory()
83 OPJ_SIZE_T checked_nb_bytes = static_cast<OPJ_SIZE_T>(nb_bytes); in opj_seek_from_memory()
Djpx_decode_utils.h31 OPJ_SIZE_T nb_bytes,
33 OPJ_OFF_T opj_skip_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data);
34 OPJ_BOOL opj_seek_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data);
/external/pffft/
Dpffft_common.c10 static void * Valigned_malloc(size_t nb_bytes) { in Valigned_malloc() argument
11 void *p, *p0 = malloc(nb_bytes + MALLOC_V4SF_ALIGNMENT); in Valigned_malloc()
57 void *pffft_aligned_malloc(size_t nb_bytes) { return Valigned_malloc(nb_bytes); } in pffft_aligned_malloc() argument
63 void *pffftd_aligned_malloc(size_t nb_bytes) { return Valigned_malloc(nb_bytes); } in pffftd_aligned_malloc() argument
Dpffastconv.h160 void *pffastconv_malloc(size_t nb_bytes);
Dpffft.h208 void *pffft_aligned_malloc(size_t nb_bytes);
Dpffft_double.h213 void *pffftd_aligned_malloc(size_t nb_bytes);
Dpffastconv.c27 void *pffastconv_malloc(size_t nb_bytes) in pffastconv_malloc() argument
29 return pffft_aligned_malloc(nb_bytes); in pffastconv_malloc()
/external/libiio/src/iiod/
Dops.c126 unsigned int nb_bytes, cpt; member
367 if (info->nb_bytes < length) in send_sample()
384 info->nb_bytes -= length; in send_sample()
394 if (info->cpt == info->nb_bytes) in receive_sample()
453 .nb_bytes = len, in send_data()
485 .nb_bytes = thd->nb, in receive_data()
623 ssize_t nb_bytes; in rw_thd() local
648 nb_bytes = ret; in rw_thd()
661 ret = send_data(entry, thd, nb_bytes); in rw_thd()
674 ssize_t nb_bytes = 0; in rw_thd() local
[all …]
/external/scapy/scapy/
Dfields.py861 nb_bytes = (self.size+bn-1)//8 + 1
862 w = s[:nb_bytes]
865 _bytes = struct.unpack('!%dB' % nb_bytes , w)
868 for c in range(nb_bytes):
869 b |= int(_bytes[c]) << (nb_bytes-c-1)*8
872 b &= (1 << (nb_bytes*8-bn)) - 1
875 b = b >> (nb_bytes*8 - self.size - bn)
/external/python/cffi/c/
Dlib_obj.c172 funcbuilder.nb_bytes + in lib_build_cpython_func()
D_cffi_backend.c5220 Py_ssize_t nb_bytes; member
5231 fb->nb_bytes += size; in fb_alloc()
5479 fb->nb_bytes += piecelen; in fb_cat_name()
5549 fb->nb_bytes = 0; in fb_prepare_ctype()
5565 fct = ctypedescr_new(fb->nb_bytes); in fb_prepare_ctype()
5574 assert(fb->bufferp == fct->ct_name + fb->nb_bytes); in fb_prepare_ctype()
5594 funcbuffer.nb_bytes = 0; in fb_prepare_cif()
5602 buffer = PyObject_Malloc(funcbuffer.nb_bytes); in fb_prepare_cif()
5612 assert(funcbuffer.bufferp == buffer + funcbuffer.nb_bytes); in fb_prepare_cif()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c2664 uint32_t nb_bytes = (nb_bits + 7) >> 3; in check_trailing_bits_after_symbol_coder() local
2665 const uint8_t *p = aom_reader_find_begin(r) + nb_bytes; in check_trailing_bits_after_symbol_coder()