Home
last modified time | relevance | path

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

12345678910>>...17

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fxcodec/jpx/
H A 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()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/core/fxcodec/jpx/
H A 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()
/dports/multimedia/qmmp-plugin-pack-qt5/qmmp-plugin-pack-1.5.2/src/Visual/goom/
H A Dgoomsl_heap.c71 void *goom_heap_malloc_with_alignment_prefixed(GoomHeap *_this, int nb_bytes, in goom_heap_malloc_with_alignment_prefixed() argument
81 if ((_this->consumed_in_last_array + nb_bytes >= _this->size_of_each_array) in goom_heap_malloc_with_alignment_prefixed()
84 if (prefix_bytes + nb_bytes + alignment >= _this->size_of_each_array) { in goom_heap_malloc_with_alignment_prefixed()
93 _this->arrays[_this->number_of_arrays - 1] = malloc(prefix_bytes + nb_bytes + alignment); in goom_heap_malloc_with_alignment_prefixed()
113 _this->consumed_in_last_array += nb_bytes; in goom_heap_malloc_with_alignment_prefixed()
117 void *goom_heap_malloc_with_alignment(GoomHeap *_this, int nb_bytes, int alignment) in goom_heap_malloc_with_alignment() argument
119 return goom_heap_malloc_with_alignment_prefixed(_this, nb_bytes, alignment, 0); in goom_heap_malloc_with_alignment()
122 void *goom_heap_malloc(GoomHeap *_this, int nb_bytes) in goom_heap_malloc() argument
124 return goom_heap_malloc_with_alignment(_this,nb_bytes,1); in goom_heap_malloc()
/dports/multimedia/libxine/xine-lib-1.2.11/src/post/goom/
H A Dgoomsl_heap.c56 void *goom_heap_malloc_with_alignment_prefixed(GoomHeap *_this, int nb_bytes, in goom_heap_malloc_with_alignment_prefixed() argument
66 if ((_this->consumed_in_last_array + nb_bytes >= _this->size_of_each_array) in goom_heap_malloc_with_alignment_prefixed()
69 if (prefix_bytes + nb_bytes + alignment >= _this->size_of_each_array) { in goom_heap_malloc_with_alignment_prefixed()
78 _this->arrays[_this->number_of_arrays - 1] = malloc(prefix_bytes + nb_bytes + alignment); in goom_heap_malloc_with_alignment_prefixed()
98 _this->consumed_in_last_array += nb_bytes; in goom_heap_malloc_with_alignment_prefixed()
102 void *goom_heap_malloc_with_alignment(GoomHeap *_this, int nb_bytes, int alignment) in goom_heap_malloc_with_alignment() argument
104 return goom_heap_malloc_with_alignment_prefixed(_this, nb_bytes, alignment, 0); in goom_heap_malloc_with_alignment()
107 void *goom_heap_malloc(GoomHeap *_this, int nb_bytes) in goom_heap_malloc() argument
109 return goom_heap_malloc_with_alignment(_this,nb_bytes,1); in goom_heap_malloc()
/dports/graphics/goom/goom2k4-0/src/
H A Dgoomsl_heap.c50 void *goom_heap_malloc_with_alignment_prefixed(GoomHeap *_this, int nb_bytes, in goom_heap_malloc_with_alignment_prefixed() argument
60 if ((_this->consumed_in_last_array + nb_bytes >= _this->size_of_each_array) in goom_heap_malloc_with_alignment_prefixed()
63 if (prefix_bytes + nb_bytes + alignment >= _this->size_of_each_array) { in goom_heap_malloc_with_alignment_prefixed()
72 _this->arrays[_this->number_of_arrays - 1] = malloc(prefix_bytes + nb_bytes + alignment); in goom_heap_malloc_with_alignment_prefixed()
92 _this->consumed_in_last_array += nb_bytes; in goom_heap_malloc_with_alignment_prefixed()
96 void *goom_heap_malloc_with_alignment(GoomHeap *_this, int nb_bytes, int alignment) in goom_heap_malloc_with_alignment() argument
98 return goom_heap_malloc_with_alignment_prefixed(_this, nb_bytes, alignment, 0); in goom_heap_malloc_with_alignment()
101 void *goom_heap_malloc(GoomHeap *_this, int nb_bytes) in goom_heap_malloc() argument
103 return goom_heap_malloc_with_alignment(_this,nb_bytes,1); in goom_heap_malloc()
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/
H A Dlibopenjpegdec.c114 if (nb_bytes > remaining) { in stream_read()
115 nb_bytes = remaining; in stream_read()
118 reader->pos += (int)nb_bytes; in stream_read()
119 return nb_bytes; in stream_read()
125 if (nb_bytes < 0) { in stream_skip()
139 if (nb_bytes > remaining) { in stream_skip()
140 nb_bytes = remaining; in stream_skip()
143 reader->pos += (int)nb_bytes; in stream_skip()
144 return nb_bytes; in stream_skip()
150 if (nb_bytes < 0 || nb_bytes > reader->size) { in stream_seek()
[all …]
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/
H A Dlibopenjpegdec.c114 if (nb_bytes > remaining) { in stream_read()
115 nb_bytes = remaining; in stream_read()
118 reader->pos += (int)nb_bytes; in stream_read()
119 return nb_bytes; in stream_read()
125 if (nb_bytes < 0) { in stream_skip()
139 if (nb_bytes > remaining) { in stream_skip()
140 nb_bytes = remaining; in stream_skip()
143 reader->pos += (int)nb_bytes; in stream_skip()
144 return nb_bytes; in stream_skip()
150 if (nb_bytes < 0 || nb_bytes > reader->size) { in stream_seek()
[all …]
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/
H A Dlibopenjpegdec.c114 if (nb_bytes > remaining) { in stream_read()
115 nb_bytes = remaining; in stream_read()
118 reader->pos += (int)nb_bytes; in stream_read()
119 return nb_bytes; in stream_read()
125 if (nb_bytes < 0) { in stream_skip()
139 if (nb_bytes > remaining) { in stream_skip()
140 nb_bytes = remaining; in stream_skip()
143 reader->pos += (int)nb_bytes; in stream_skip()
144 return nb_bytes; in stream_skip()
150 if (nb_bytes < 0 || nb_bytes > reader->size) { in stream_seek()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/
H A Dlibopenjpegdec.c114 if (nb_bytes > remaining) { in stream_read()
115 nb_bytes = remaining; in stream_read()
118 reader->pos += (int)nb_bytes; in stream_read()
119 return nb_bytes; in stream_read()
125 if (nb_bytes < 0) { in stream_skip()
139 if (nb_bytes > remaining) { in stream_skip()
140 nb_bytes = remaining; in stream_skip()
143 reader->pos += (int)nb_bytes; in stream_skip()
144 return nb_bytes; in stream_skip()
150 if (nb_bytes < 0 || nb_bytes > reader->size) { in stream_seek()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/
H A Dlibopenjpegdec.c114 if (nb_bytes > remaining) { in stream_read()
115 nb_bytes = remaining; in stream_read()
118 reader->pos += (int)nb_bytes; in stream_read()
119 return nb_bytes; in stream_read()
125 if (nb_bytes < 0) { in stream_skip()
139 if (nb_bytes > remaining) { in stream_skip()
140 nb_bytes = remaining; in stream_skip()
143 reader->pos += (int)nb_bytes; in stream_skip()
144 return nb_bytes; in stream_skip()
150 if (nb_bytes < 0 || nb_bytes > reader->size) { in stream_seek()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/core/fxcodec/codec/
H A Dcodec_int.h36 OPJ_SIZE_T nb_bytes,
39 OPJ_SIZE_T nb_bytes,
41 OPJ_OFF_T opj_skip_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data);
42 OPJ_BOOL opj_seek_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data);
/dports/editors/texmaker/texmaker-5.0.3/pdfium/core/fxcodec/codec/
H A Dcodec_int.h36 OPJ_SIZE_T nb_bytes,
39 OPJ_SIZE_T nb_bytes,
41 OPJ_OFF_T opj_skip_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data);
42 OPJ_BOOL opj_seek_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data);
/dports/multimedia/olive/olive-0.1.2/rendering/
H A Dcacher.cpp52 return (double(nb_bytes >> 1) / nb_channels / sample_rate); in bytes_to_seconds()
98 nb_bytes, in apply_audio_effects()
159 int nb_bytes = INT_MAX; in CacheAudioWorker() local
164 while ((frame_sample_index_ == -1 || frame_sample_index_ >= nb_bytes) && nb_bytes > 0) { in CacheAudioWorker()
166 memset(frame_->data[0], 0, nb_bytes); in CacheAudioWorker()
168 frame_->pts += nb_bytes; in CacheAudioWorker()
186 while ((frame_sample_index_ == -1 || frame_sample_index_ >= nb_bytes) && nb_bytes > 0) { in CacheAudioWorker()
340 frame_sample_index_ -= nb_bytes; in CacheAudioWorker()
391 dout << "j" << frame_sample_index << nb_bytes; in CacheAudioWorker()
412 while (frame_sample_index_ < nb_bytes in CacheAudioWorker()
[all …]
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/master/
H A Dmaster.c534 int nb_bytes; in main() local
582 nb_bytes = recvfrom (sock, packet, sizeof (packet) - 1, 0, in main()
584 if (nb_bytes <= 0) in main()
587 "WARNING: \"recvfrom\" returned %d\n", nb_bytes); in main()
602 PrintPacket (packet, nb_bytes); in main()
606 if (nb_bytes < MIN_PACKET_SIZE) in main()
610 peer_address, nb_bytes); in main()
629 packet[nb_bytes] = '\0'; in main()
633 HandleMessage (packet + 4, nb_bytes - 4, &address); in main()
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/drivers/ram/stm32mp1/
H A Dstm32mp1_tuning.c70 u8 nb_bytes = NUM_BYTES; in get_nb_bytes() local
74 nb_bytes /= 2; in get_nb_bytes()
77 nb_bytes /= 4; in get_nb_bytes()
83 return nb_bytes; in get_nb_bytes()
547 datx8 + 1, nb_bytes, error); in bit_deskew()
958 byte + 1, nb_bytes, error); in eye_training()
1037 byte + 1, nb_bytes, error); in eye_training()
1071 byte + 1, nb_bytes, error); in eye_training()
1099 byte + 1, nb_bytes, error); in eye_training()
1380 byte + 1, nb_bytes); in read_dqs_gating()
[all …]
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/drivers/ram/stm32mp1/
H A Dstm32mp1_tuning.c70 u8 nb_bytes = NUM_BYTES; in get_nb_bytes() local
74 nb_bytes /= 2; in get_nb_bytes()
77 nb_bytes /= 4; in get_nb_bytes()
83 return nb_bytes; in get_nb_bytes()
547 datx8 + 1, nb_bytes, error); in bit_deskew()
958 byte + 1, nb_bytes, error); in eye_training()
1037 byte + 1, nb_bytes, error); in eye_training()
1071 byte + 1, nb_bytes, error); in eye_training()
1099 byte + 1, nb_bytes, error); in eye_training()
1380 byte + 1, nb_bytes); in read_dqs_gating()
[all …]
/dports/sysutils/u-boot-beaglebone/u-boot-2021.07/drivers/ram/stm32mp1/
H A Dstm32mp1_tuning.c70 u8 nb_bytes = NUM_BYTES; in get_nb_bytes() local
74 nb_bytes /= 2; in get_nb_bytes()
77 nb_bytes /= 4; in get_nb_bytes()
83 return nb_bytes; in get_nb_bytes()
547 datx8 + 1, nb_bytes, error); in bit_deskew()
958 byte + 1, nb_bytes, error); in eye_training()
1037 byte + 1, nb_bytes, error); in eye_training()
1071 byte + 1, nb_bytes, error); in eye_training()
1099 byte + 1, nb_bytes, error); in eye_training()
1380 byte + 1, nb_bytes); in read_dqs_gating()
[all …]
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/drivers/ram/stm32mp1/
H A Dstm32mp1_tuning.c70 u8 nb_bytes = NUM_BYTES; in get_nb_bytes() local
74 nb_bytes /= 2; in get_nb_bytes()
77 nb_bytes /= 4; in get_nb_bytes()
83 return nb_bytes; in get_nb_bytes()
547 datx8 + 1, nb_bytes, error); in bit_deskew()
958 byte + 1, nb_bytes, error); in eye_training()
1037 byte + 1, nb_bytes, error); in eye_training()
1071 byte + 1, nb_bytes, error); in eye_training()
1099 byte + 1, nb_bytes, error); in eye_training()
1380 byte + 1, nb_bytes); in read_dqs_gating()
[all …]
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/drivers/ram/stm32mp1/
H A Dstm32mp1_tuning.c70 u8 nb_bytes = NUM_BYTES; in get_nb_bytes() local
74 nb_bytes /= 2; in get_nb_bytes()
77 nb_bytes /= 4; in get_nb_bytes()
83 return nb_bytes; in get_nb_bytes()
547 datx8 + 1, nb_bytes, error); in bit_deskew()
958 byte + 1, nb_bytes, error); in eye_training()
1037 byte + 1, nb_bytes, error); in eye_training()
1071 byte + 1, nb_bytes, error); in eye_training()
1099 byte + 1, nb_bytes, error); in eye_training()
1380 byte + 1, nb_bytes); in read_dqs_gating()
[all …]
/dports/sysutils/u-boot-cubieboard/u-boot-2021.07/drivers/ram/stm32mp1/
H A Dstm32mp1_tuning.c70 u8 nb_bytes = NUM_BYTES; in get_nb_bytes() local
74 nb_bytes /= 2; in get_nb_bytes()
77 nb_bytes /= 4; in get_nb_bytes()
83 return nb_bytes; in get_nb_bytes()
547 datx8 + 1, nb_bytes, error); in bit_deskew()
958 byte + 1, nb_bytes, error); in eye_training()
1037 byte + 1, nb_bytes, error); in eye_training()
1071 byte + 1, nb_bytes, error); in eye_training()
1099 byte + 1, nb_bytes, error); in eye_training()
1380 byte + 1, nb_bytes); in read_dqs_gating()
[all …]
/dports/sysutils/u-boot-firefly-rk3399/u-boot-2021.07/drivers/ram/stm32mp1/
H A Dstm32mp1_tuning.c70 u8 nb_bytes = NUM_BYTES; in get_nb_bytes() local
74 nb_bytes /= 2; in get_nb_bytes()
77 nb_bytes /= 4; in get_nb_bytes()
83 return nb_bytes; in get_nb_bytes()
547 datx8 + 1, nb_bytes, error); in bit_deskew()
958 byte + 1, nb_bytes, error); in eye_training()
1037 byte + 1, nb_bytes, error); in eye_training()
1071 byte + 1, nb_bytes, error); in eye_training()
1099 byte + 1, nb_bytes, error); in eye_training()
1380 byte + 1, nb_bytes); in read_dqs_gating()
[all …]
/dports/sysutils/u-boot-sinovoip-bpi-m3/u-boot-2021.07/drivers/ram/stm32mp1/
H A Dstm32mp1_tuning.c70 u8 nb_bytes = NUM_BYTES; in get_nb_bytes() local
74 nb_bytes /= 2; in get_nb_bytes()
77 nb_bytes /= 4; in get_nb_bytes()
83 return nb_bytes; in get_nb_bytes()
547 datx8 + 1, nb_bytes, error); in bit_deskew()
958 byte + 1, nb_bytes, error); in eye_training()
1037 byte + 1, nb_bytes, error); in eye_training()
1071 byte + 1, nb_bytes, error); in eye_training()
1099 byte + 1, nb_bytes, error); in eye_training()
1380 byte + 1, nb_bytes); in read_dqs_gating()
[all …]
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/drivers/ram/stm32mp1/
H A Dstm32mp1_tuning.c70 u8 nb_bytes = NUM_BYTES; in get_nb_bytes() local
74 nb_bytes /= 2; in get_nb_bytes()
77 nb_bytes /= 4; in get_nb_bytes()
83 return nb_bytes; in get_nb_bytes()
547 datx8 + 1, nb_bytes, error); in bit_deskew()
958 byte + 1, nb_bytes, error); in eye_training()
1037 byte + 1, nb_bytes, error); in eye_training()
1071 byte + 1, nb_bytes, error); in eye_training()
1099 byte + 1, nb_bytes, error); in eye_training()
1380 byte + 1, nb_bytes); in read_dqs_gating()
[all …]
/dports/sysutils/u-boot-sopine/u-boot-2021.07/drivers/ram/stm32mp1/
H A Dstm32mp1_tuning.c70 u8 nb_bytes = NUM_BYTES; in get_nb_bytes() local
74 nb_bytes /= 2; in get_nb_bytes()
77 nb_bytes /= 4; in get_nb_bytes()
83 return nb_bytes; in get_nb_bytes()
547 datx8 + 1, nb_bytes, error); in bit_deskew()
958 byte + 1, nb_bytes, error); in eye_training()
1037 byte + 1, nb_bytes, error); in eye_training()
1071 byte + 1, nb_bytes, error); in eye_training()
1099 byte + 1, nb_bytes, error); in eye_training()
1380 byte + 1, nb_bytes); in read_dqs_gating()
[all …]
/dports/sysutils/u-boot-a64-olinuxino/u-boot-2021.07/drivers/ram/stm32mp1/
H A Dstm32mp1_tuning.c70 u8 nb_bytes = NUM_BYTES; in get_nb_bytes() local
74 nb_bytes /= 2; in get_nb_bytes()
77 nb_bytes /= 4; in get_nb_bytes()
83 return nb_bytes; in get_nb_bytes()
547 datx8 + 1, nb_bytes, error); in bit_deskew()
958 byte + 1, nb_bytes, error); in eye_training()
1037 byte + 1, nb_bytes, error); in eye_training()
1071 byte + 1, nb_bytes, error); in eye_training()
1099 byte + 1, nb_bytes, error); in eye_training()
1380 byte + 1, nb_bytes); in read_dqs_gating()
[all …]

12345678910>>...17