Home
last modified time | relevance | path

Searched refs:buf_length (Results 1 – 25 of 973) sorted by relevance

12345678910>>...39

/dports/net/gsk/gsk-1.0.63/src/
H A Dgskbuffer.c117 fragment->buf_length = length; in new_foreign_fragment()
206 total += frag->buf_length; in verify_buffer()
373 rv += first->buf_length; in gsk_buffer_read()
375 max_length -= first->buf_length; in gsk_buffer_read()
426 rv += frag->buf_length; in gsk_buffer_peek()
428 max_length -= frag->buf_length; in gsk_buffer_peek()
472 len += at->buf_length; in gsk_buffer_read_line()
531 if (frag->buf_length > 0) in gsk_buffer_peek_char()
576 rv += first->buf_length; in gsk_buffer_discard()
763 rv += at->buf_length; in gsk_buffer_index_of()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/security/nss/lib/softoken/legacydb/
H A Dlowcert.c175 unsigned int buf_length; in nsslowcert_GetCertFields() local
184 buf = nsslowcert_dataStart(buf, buf_length, &buf_length, PR_FALSE, NULL); in nsslowcert_GetCertFields()
192 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
211 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
245 while (buf_length > 0) { in nsslowcert_GetCertFields()
256 buf_length = extensions->len; in nsslowcert_GetCertFields()
262 buf_length -= (dummy - buf); in nsslowcert_GetCertFields()
269 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
422 unsigned int buf_length; in nsslowcert_EmailName() local
430 while (buf_length > 0) { in nsslowcert_EmailName()
[all …]
/dports/www/firefox/firefox-99.0/security/nss/lib/softoken/legacydb/
H A Dlowcert.c175 unsigned int buf_length; in nsslowcert_GetCertFields() local
184 buf = nsslowcert_dataStart(buf, buf_length, &buf_length, PR_FALSE, NULL); in nsslowcert_GetCertFields()
192 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
211 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
245 while (buf_length > 0) { in nsslowcert_GetCertFields()
256 buf_length = extensions->len; in nsslowcert_GetCertFields()
262 buf_length -= (dummy - buf); in nsslowcert_GetCertFields()
269 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
422 unsigned int buf_length; in nsslowcert_EmailName() local
430 while (buf_length > 0) { in nsslowcert_EmailName()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/security/nss/lib/softoken/legacydb/
H A Dlowcert.c175 unsigned int buf_length; in nsslowcert_GetCertFields() local
184 buf = nsslowcert_dataStart(buf, buf_length, &buf_length, PR_FALSE, NULL); in nsslowcert_GetCertFields()
192 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
211 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
245 while (buf_length > 0) { in nsslowcert_GetCertFields()
256 buf_length = extensions->len; in nsslowcert_GetCertFields()
262 buf_length -= (dummy - buf); in nsslowcert_GetCertFields()
269 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
422 unsigned int buf_length; in nsslowcert_EmailName() local
430 while (buf_length > 0) { in nsslowcert_EmailName()
[all …]
/dports/security/ca_root_nss/nss-3.71/nss/lib/softoken/legacydb/
H A Dlowcert.c175 unsigned int buf_length; in nsslowcert_GetCertFields() local
184 buf = nsslowcert_dataStart(buf, buf_length, &buf_length, PR_FALSE, NULL); in nsslowcert_GetCertFields()
192 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
211 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
245 while (buf_length > 0) { in nsslowcert_GetCertFields()
256 buf_length = extensions->len; in nsslowcert_GetCertFields()
262 buf_length -= (dummy - buf); in nsslowcert_GetCertFields()
269 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
422 unsigned int buf_length; in nsslowcert_EmailName() local
430 while (buf_length > 0) { in nsslowcert_EmailName()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/security/nss/lib/softoken/legacydb/
H A Dlowcert.c175 unsigned int buf_length; in nsslowcert_GetCertFields() local
184 buf = nsslowcert_dataStart(buf, buf_length, &buf_length, PR_FALSE, NULL); in nsslowcert_GetCertFields()
192 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
211 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
245 while (buf_length > 0) { in nsslowcert_GetCertFields()
256 buf_length = extensions->len; in nsslowcert_GetCertFields()
262 buf_length -= (dummy - buf); in nsslowcert_GetCertFields()
269 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
422 unsigned int buf_length; in nsslowcert_EmailName() local
430 while (buf_length > 0) { in nsslowcert_EmailName()
[all …]
/dports/security/nss/nss-3.76.1/nss/lib/softoken/legacydb/
H A Dlowcert.c175 unsigned int buf_length; in nsslowcert_GetCertFields() local
184 buf = nsslowcert_dataStart(buf, buf_length, &buf_length, PR_FALSE, NULL); in nsslowcert_GetCertFields()
192 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
211 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
245 while (buf_length > 0) { in nsslowcert_GetCertFields()
256 buf_length = extensions->len; in nsslowcert_GetCertFields()
262 buf_length -= (dummy - buf); in nsslowcert_GetCertFields()
269 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
422 unsigned int buf_length; in nsslowcert_EmailName() local
430 while (buf_length > 0) { in nsslowcert_EmailName()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/security/nss/lib/softoken/legacydb/
H A Dlowcert.c175 unsigned int buf_length; in nsslowcert_GetCertFields() local
184 buf = nsslowcert_dataStart(buf, buf_length, &buf_length, PR_FALSE, NULL); in nsslowcert_GetCertFields()
192 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
211 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
245 while (buf_length > 0) { in nsslowcert_GetCertFields()
256 buf_length = extensions->len; in nsslowcert_GetCertFields()
262 buf_length -= (dummy - buf); in nsslowcert_GetCertFields()
269 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
422 unsigned int buf_length; in nsslowcert_EmailName() local
430 while (buf_length > 0) { in nsslowcert_EmailName()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/security/nss/lib/softoken/legacydb/
H A Dlowcert.c175 unsigned int buf_length; in nsslowcert_GetCertFields() local
184 buf = nsslowcert_dataStart(buf, buf_length, &buf_length, PR_FALSE, NULL); in nsslowcert_GetCertFields()
192 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
211 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
245 while (buf_length > 0) { in nsslowcert_GetCertFields()
256 buf_length = extensions->len; in nsslowcert_GetCertFields()
262 buf_length -= (dummy - buf); in nsslowcert_GetCertFields()
269 buf_length -= (dummy - buf) + dummylen; in nsslowcert_GetCertFields()
422 unsigned int buf_length; in nsslowcert_EmailName() local
430 while (buf_length > 0) { in nsslowcert_EmailName()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/minizip/src/test/fuzz/
H A Dstandalone.c36 int32_t buf_length = 0; in main() local
68 buf_length = (int32_t)file_size; in main()
72 if (buf_length > 0) in main()
73 buf = MZ_ALLOC(buf_length); in main()
77 printf("Running %s %"PRId32"\n", argv[i], buf_length); in main()
78 read = mz_stream_os_read(stream, buf, buf_length); in main()
79 if (read == buf_length) in main()
80 LLVMFuzzerTestOneInput(buf, buf_length); in main()
/dports/science/hdf/hdf-4.2.15/hdf/src/
H A Dcrle.c168 dec_len = (uintn)rle_info->buf_length; in HCIcrle_decode()
180 rle_info->buf_length -= (intn)dec_len; in HCIcrle_decode()
230 rle_info->buf_length = 1; in HCIcrle_encode()
247 rle_info->buf_length = 1; in HCIcrle_encode()
252 rle_info->buf_length++; in HCIcrle_encode()
253 if (rle_info->buf_length >= RLE_MAX_RUN) in HCIcrle_encode()
273 if (rle_info->buf_length > (RLE_MIN_RUN - 1)) in HCIcrle_encode()
280 rle_info->buf_length = RLE_MIN_RUN; in HCIcrle_encode()
286 rle_info->buf_length++; in HCIcrle_encode()
288 if (rle_info->buf_length >= RLE_BUF_SIZE) in HCIcrle_encode()
[all …]
/dports/multimedia/mpeg_play/mpeg_play/
H A Dutil.h87 vid_stream->buf_length--; \
99 vid_stream->buf_length--; \
120 vid_stream->buf_length--; \
256 if (vid_stream->buf_length < 2) { \
273 if (vid_stream->buf_length < 2) { \
328 vid_stream->buf_length--; \
342 vid_stream->buf_length--; \
356 if (vid_stream->buf_length < 2) { \
363 vid_stream->buf_length--; \
373 if (vid_stream->buf_length < 2) { \
[all …]
/dports/multimedia/smpeg/smpeg-0.4.4/video/
H A Dutil.h89 vid_stream->buf_length--; \
101 vid_stream->buf_length--; \
122 vid_stream->buf_length--; \
258 if (vid_stream->buf_length < 2) { \
275 if (vid_stream->buf_length < 2) { \
330 vid_stream->buf_length--; \
344 vid_stream->buf_length--; \
358 if (vid_stream->buf_length < 2) { \
365 vid_stream->buf_length--; \
375 if (vid_stream->buf_length < 2) { \
[all …]
/dports/multimedia/smpeg2/smpeg2-2.0.0/video/
H A Dutil.h89 vid_stream->buf_length--; \
101 vid_stream->buf_length--; \
122 vid_stream->buf_length--; \
258 if (vid_stream->buf_length < 2) { \
275 if (vid_stream->buf_length < 2) { \
330 vid_stream->buf_length--; \
344 vid_stream->buf_length--; \
358 if (vid_stream->buf_length < 2) { \
365 vid_stream->buf_length--; \
375 if (vid_stream->buf_length < 2) { \
[all …]
/dports/security/masscan/masscan-1.3.2/src/
H A Dtempl-payloads.c344 if (*buf_length < buf_max) in append_byte()
345 buf[(*buf_length)++] = (unsigned char)c; in append_byte()
377 parse_c_string(unsigned char *buf, size_t *buf_length, in parse_c_string() argument
421 append_byte(buf, buf_length, buf_max, '\a'); in parse_c_string()
424 append_byte(buf, buf_length, buf_max, '\b'); in parse_c_string()
427 append_byte(buf, buf_length, buf_max, '\f'); in parse_c_string()
430 append_byte(buf, buf_length, buf_max, '\n'); in parse_c_string()
682 size_t buf_length = 0; in payloads_udp_readfile() local
741 if (buf_length) in payloads_udp_readfile()
843 size_t buf_length; in payloads_udp_selftest() local
[all …]
/dports/games/libretro-fuse/fuse-libretro-8b51f87/libspectrum/
H A Dtap.c89 buf_length = data_length - 1; in internal_tap_read()
91 buf_length = data_length; in internal_tap_read()
94 if( end - ptr < (ptrdiff_t)buf_length ) { in internal_tap_read()
109 memcpy( data, ptr, buf_length ); in internal_tap_read()
126 ptr += buf_length; in internal_tap_read()
289 size_t buf_length; in write_tap_block() local
293 buf_length = data_length - 1; in write_tap_block()
295 buf_length = data_length; in write_tap_block()
313 memcpy( *ptr, data, buf_length ); in write_tap_block()
317 (*ptr)[ buf_length - 1 ] ^= (*ptr)[0]; in write_tap_block()
[all …]
/dports/emulators/libspectrum/libspectrum-1.5.0/
H A Dtap.c54 size_t data_length, buf_length; libspectrum_byte *data; in internal_tap_read() local
85 buf_length = data_length - 1; in internal_tap_read()
87 buf_length = data_length; in internal_tap_read()
90 if( end - ptr < (ptrdiff_t)buf_length ) { in internal_tap_read()
105 memcpy( data, ptr, buf_length ); in internal_tap_read()
122 ptr += buf_length; in internal_tap_read()
274 size_t buf_length; in write_tap_block() local
279 buf_length = data_length - 1; in write_tap_block()
281 buf_length = data_length; in write_tap_block()
297 libspectrum_buffer_write( buffer, data, buf_length - 1 ); in write_tap_block()
[all …]
/dports/audio/cava/cava-0.7.4/output/
H A Dterminal_noncurses.c14 int buf_length; variable
82 buf_length = sizeof(wchar_t) * width * lines * 10; in init_terminal_noncurses()
83 frame_buffer = (wchar_t *)malloc(buf_length); in init_terminal_noncurses()
234 cx += swprintf(frame_buffer + cx, buf_length - cx, L"\033[%dB", in draw_terminal_noncurses()
241 cx += swprintf(frame_buffer + cx, buf_length - cx, L"\033[%dC", in draw_terminal_noncurses()
247 cx += swprintf(frame_buffer + cx, buf_length - cx, L"\033[%dC", rest); in draw_terminal_noncurses()
252 cx += swprintf(frame_buffer + cx, buf_length - cx, spacestring); in draw_terminal_noncurses()
254 cx += swprintf(frame_buffer + cx, buf_length - cx, barstring[0]); in draw_terminal_noncurses()
256 cx += swprintf(frame_buffer + cx, buf_length - cx, barstring[current_cell]); in draw_terminal_noncurses()
260 swprintf(frame_buffer + cx, buf_length - cx, L"\033[%dC", bar_spacing); in draw_terminal_noncurses()
[all …]
/dports/net/mpich/mpich-3.4.3/src/pm/hydra2/libhydra/demux/
H A Dhydra_demux_splice.c20 int buf_length; member
43 HYD_ASSERT(splice_context->buf_length, status); in flush_cb()
47 splice_context->buf_length, &sent, &closed, HYD_SOCK_COMM_TYPE__NONBLOCKING); in flush_cb()
66 splice_context->buf_length -= sent; in flush_cb()
67 if (splice_context->buf_length == 0) { in flush_cb()
100 HYD_ASSERT(splice_context->buf_length == 0, status); in splice_cb()
124 splice_context->buf_length = recvd - sent; in splice_cb()
154 splice_context->buf_length = 0; in HYD_dmx_splice()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/
H A DSerializerTraceWriter.java61 private int buf_length; field in SerializerTraceWriter
83 buf_length = size; in setBufferSize()
185 if (count >= buf_length) in write()
226 if (lengthx3 >= buf_length) in write()
238 if (lengthx3 > buf_length - count) in write()
287 if (lengthx3 >= buf_length) in write()
298 if (lengthx3 > buf_length - count) in write()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/
H A DSerializerTraceWriter.java61 private int buf_length; field in SerializerTraceWriter
83 buf_length = size; in setBufferSize()
185 if (count >= buf_length) in write()
226 if (lengthx3 >= buf_length) in write()
238 if (lengthx3 > buf_length - count) in write()
287 if (lengthx3 >= buf_length) in write()
298 if (lengthx3 > buf_length - count) in write()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/
H A DSerializerTraceWriter.java61 private int buf_length; field in SerializerTraceWriter
83 buf_length = size; in setBufferSize()
185 if (count >= buf_length) in write()
226 if (lengthx3 >= buf_length) in write()
238 if (lengthx3 > buf_length - count) in write()
287 if (lengthx3 >= buf_length) in write()
298 if (lengthx3 > buf_length - count) in write()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/
H A DSerializerTraceWriter.java61 private int buf_length; field in SerializerTraceWriter
83 buf_length = size; in setBufferSize()
185 if (count >= buf_length) in write()
226 if (lengthx3 >= buf_length) in write()
238 if (lengthx3 > buf_length - count) in write()
287 if (lengthx3 >= buf_length) in write()
298 if (lengthx3 > buf_length - count) in write()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/
H A DSerializerTraceWriter.java61 private int buf_length; field in SerializerTraceWriter
83 buf_length = size; in setBufferSize()
185 if (count >= buf_length) in write()
226 if (lengthx3 >= buf_length) in write()
238 if (lengthx3 > buf_length - count) in write()
287 if (lengthx3 >= buf_length) in write()
298 if (lengthx3 > buf_length - count) in write()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/
H A DSerializerTraceWriter.java61 private int buf_length; field in SerializerTraceWriter
83 buf_length = size; in setBufferSize()
185 if (count >= buf_length) in write()
226 if (lengthx3 >= buf_length) in write()
238 if (lengthx3 > buf_length - count) in write()
287 if (lengthx3 >= buf_length) in write()
298 if (lengthx3 > buf_length - count) in write()

12345678910>>...39