Home
last modified time | relevance | path

Searched refs:line_bytes (Results 1 – 25 of 160) sorted by relevance

1234567

/dports/misc/fq/fq-0.0.2/pkg/interp/testdata/
H A Doptions.fqtest25 "line_bytes": 16,
87 $ fq -o line_bytes=true -n options.line_bytes
123 $ fq -n "options | {display_bytes, line_bytes}"
126 "line_bytes": 16
128 $ _STDOUT_ISTERMINAL= fq -n "options | {display_bytes, line_bytes}"
131 "line_bytes": 16
136 "line_bytes": 20
141 "line_bytes": 16
144 null> options | {display_bytes, line_bytes}
147 "line_bytes": 16
[all …]
/dports/mail/elm/elm2.5.8/lib/
H A Dmail_gets.c38 register int line_bytes = 0, ch; local
43 while (!feof(mailfile) && !ferror(mailfile) && line_bytes < size) {
48 if (line_bytes > 0 && *c != '\n')
50 ++line_bytes;
57 ++line_bytes;
63 return line_bytes;
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/base/
H A Dhex_utils.cc21 const int line_bytes = std::min(bytes_remaining, kBytesPerLine); in HexDump() local
24 if (i < line_bytes) { in HexDump()
34 for (int i = 0; i < line_bytes; ++i) { in HexDump()
39 bytes_remaining -= line_bytes; in HexDump()
40 offset += line_bytes; in HexDump()
41 p += line_bytes; in HexDump()
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/base/
H A Dhex_utils.cc21 const int line_bytes = std::min(bytes_remaining, kBytesPerLine); in HexDump() local
24 if (i < line_bytes) { in HexDump()
34 for (int i = 0; i < line_bytes; ++i) { in HexDump()
39 bytes_remaining -= line_bytes; in HexDump()
40 offset += line_bytes; in HexDump()
41 p += line_bytes; in HexDump()
/dports/archivers/cmdpack/cmdpack-1.06/
H A Dbincomp.c59 uint8_t line_bytes[32]; in main() local
88 dumpline(line_ofs, line_mask, line_bytes, line_ofs + 0x10); in main()
101 if(line_mask) { dumpline(line_ofs, line_mask, line_bytes, ofs); } in main()
106 if(line_mask) { dumpline(line_ofs, line_mask, line_bytes, ofs); } in main()
111 if(line_mask) { dumpline(line_ofs, line_mask, line_bytes, ofs); } in main()
121 line_bytes[ (ofs & 0xF)] = (uint8_t)ca; in main()
122 line_bytes[16 + (ofs & 0xF)] = (uint8_t)cb; in main()
/dports/graphics/p5-Imager/Imager-1.012/ICO/
H A Dmsicon.c770 int line_bytes = image->width * 4; in read_32bit_data() local
771 unsigned char *buffer = malloc(line_bytes); in read_32bit_data()
783 if (i_io_read(file->ig, buffer, line_bytes) != line_bytes) { in read_32bit_data()
816 int line_bytes = image->width * 3; in read_24bit_data() local
823 line_bytes = (line_bytes + 3) / 4 * 4; in read_24bit_data()
825 buffer = malloc(line_bytes); in read_24bit_data()
833 if (i_io_read(file->ig, buffer, line_bytes) != line_bytes) { in read_24bit_data()
880 if (i_io_read(file->ig, buffer, line_bytes) != line_bytes) { in read_8bit_data()
918 if (i_io_read(file->ig, read_buffer, line_bytes) != line_bytes) { in read_4bit_data()
966 if (i_io_read(file->ig, read_buffer, line_bytes) != line_bytes) { in read_1bit_data()
[all …]
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/
H A Dpcxenc.c104 int bpp, nplanes, i, y, line_bytes, written, ret, max_pkt_size, sw, sh; in pcx_encode_frame() local
144 line_bytes = (avctx->width * bpp + 7) >> 3; in pcx_encode_frame()
145 line_bytes = (line_bytes + 1) & ~1; in pcx_encode_frame()
147 max_pkt_size = 128 + avctx->height * 2 * line_bytes * nplanes + (pal ? 256*3 + 1 : 0); in pcx_encode_frame()
172 bytestream_put_le16(&buf, line_bytes); // scanline plane size in bytes in pcx_encode_frame()
181 src, line_bytes, nplanes)) < 0) { in pcx_encode_frame()
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/
H A Dpcxenc.c104 int bpp, nplanes, i, y, line_bytes, written, ret, max_pkt_size, sw, sh; in pcx_encode_frame() local
144 line_bytes = (avctx->width * bpp + 7) >> 3; in pcx_encode_frame()
145 line_bytes = (line_bytes + 1) & ~1; in pcx_encode_frame()
147 max_pkt_size = 128 + avctx->height * 2 * line_bytes * nplanes + (pal ? 256*3 + 1 : 0); in pcx_encode_frame()
172 bytestream_put_le16(&buf, line_bytes); // scanline plane size in bytes in pcx_encode_frame()
181 src, line_bytes, nplanes)) < 0) { in pcx_encode_frame()
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/
H A Dpcxenc.c104 int bpp, nplanes, i, y, line_bytes, written, ret, max_pkt_size, sw, sh; in pcx_encode_frame() local
144 line_bytes = (avctx->width * bpp + 7) >> 3; in pcx_encode_frame()
145 line_bytes = (line_bytes + 1) & ~1; in pcx_encode_frame()
147 max_pkt_size = 128 + avctx->height * 2 * line_bytes * nplanes + (pal ? 256*3 + 1 : 0); in pcx_encode_frame()
172 bytestream_put_le16(&buf, line_bytes); // scanline plane size in bytes in pcx_encode_frame()
181 src, line_bytes, nplanes)) < 0) { in pcx_encode_frame()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/
H A Dpcxenc.c104 int bpp, nplanes, i, y, line_bytes, written, ret, max_pkt_size, sw, sh; in pcx_encode_frame() local
144 line_bytes = (avctx->width * bpp + 7) >> 3; in pcx_encode_frame()
145 line_bytes = (line_bytes + 1) & ~1; in pcx_encode_frame()
147 max_pkt_size = 128 + avctx->height * 2 * line_bytes * nplanes + (pal ? 256*3 + 1 : 0); in pcx_encode_frame()
172 bytestream_put_le16(&buf, line_bytes); // scanline plane size in bytes in pcx_encode_frame()
181 src, line_bytes, nplanes)) < 0) { in pcx_encode_frame()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/
H A Dpcxenc.c104 int bpp, nplanes, i, y, line_bytes, written, ret, max_pkt_size, sw, sh; in pcx_encode_frame() local
144 line_bytes = (avctx->width * bpp + 7) >> 3; in pcx_encode_frame()
145 line_bytes = (line_bytes + 1) & ~1; in pcx_encode_frame()
147 max_pkt_size = 128 + avctx->height * 2 * line_bytes * nplanes + (pal ? 256*3 + 1 : 0); in pcx_encode_frame()
172 bytestream_put_le16(&buf, line_bytes); // scanline plane size in bytes in pcx_encode_frame()
181 src, line_bytes, nplanes)) < 0) { in pcx_encode_frame()
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/
H A Dpcxenc.c110 int bpp, nplanes, i, y, line_bytes, written, ret, max_pkt_size, sw, sh; in pcx_encode_frame() local
150 line_bytes = (avctx->width * bpp + 7) >> 3; in pcx_encode_frame()
151 line_bytes = (line_bytes + 1) & ~1; in pcx_encode_frame()
153 max_pkt_size = 128 + avctx->height * 2 * line_bytes * nplanes + (pal ? 256*3 + 1 : 0); in pcx_encode_frame()
178 bytestream_put_le16(&buf, line_bytes); // scanline plane size in bytes in pcx_encode_frame()
187 src, line_bytes, nplanes)) < 0) { in pcx_encode_frame()
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavcodec/
H A Dpcxenc.c110 int bpp, nplanes, i, y, line_bytes, written, ret, max_pkt_size, sw, sh; in pcx_encode_frame() local
150 line_bytes = (avctx->width * bpp + 7) >> 3; in pcx_encode_frame()
151 line_bytes = (line_bytes + 1) & ~1; in pcx_encode_frame()
153 max_pkt_size = 128 + avctx->height * 2 * line_bytes * nplanes + (pal ? 256*3 + 1 : 0); in pcx_encode_frame()
178 bytestream_put_le16(&buf, line_bytes); // scanline plane size in bytes in pcx_encode_frame()
187 src, line_bytes, nplanes)) < 0) { in pcx_encode_frame()
/dports/net/xrdp-devel/xrdp-0.9.16/librfxcodec/tests/
H A Drfxcodectest.c181 int line_bytes; in load_bmp_file() local
215 line_bytes = dibh.width * 3; in load_bmp_file()
216 line_bytes = (line_bytes + 3) & ~3; in load_bmp_file()
217 line = (char *) malloc(line_bytes); in load_bmp_file()
226 if (read(in_fd, line, line_bytes) != line_bytes) in load_bmp_file()
/dports/net/tigervnc-server/tigervnc-1.12.0/common/rfb/
H A DRawEncoder.cxx48 int h, line_bytes, stride_bytes; in writeRect() local
55 line_bytes = pb->width() * pb->getPF().bpp/8; in writeRect()
58 os->writeBytes(buffer, line_bytes); in writeRect()
/dports/net/tigervnc-viewer/tigervnc-1.12.0/common/rfb/
H A DRawEncoder.cxx48 int h, line_bytes, stride_bytes; in writeRect() local
55 line_bytes = pb->width() * pb->getPF().bpp/8; in writeRect()
58 os->writeBytes(buffer, line_bytes); in writeRect()
/dports/irc/ircd-hybrid/ircd-hybrid-8.2.39/src/
H A Dpacket.c84 size_t line_bytes = 0, eol_bytes = 0; in extract_one_line() local
111 else if (line_bytes++ < IRCD_BUFSIZE - 2) in extract_one_line()
125 line_bytes = 0; in extract_one_line()
128 dbuf_delete(qptr, line_bytes + eol_bytes); in extract_one_line()
130 return IRCD_MIN(line_bytes, IRCD_BUFSIZE - 2); in extract_one_line()
/dports/mail/elm/elm2.5.8/src/
H A Dnewmbox.c406 if ((line_bytes = mailFile_gets(&buffer, &mailFile)) == 0)
411 last_line_bytes = line_bytes;
421 if(buffer[line_bytes - 1] == '\n') line++;
437 if (line_bytes == 1) {
643 line_bytes = 0;
664 buffer[line_bytes - 1] = '\0';
681 buffer[line_bytes - 1] = '\0';
688 buffer[line_bytes - 1] = '\0';
694 buffer[line_bytes - 1] = '\0';
856 fbytes += (long) line_bytes;
[all …]
/dports/biology/vcflib/vcflib-1.0.2/fastahack/
H A DFasta.cpp125 int line_bytes = 0; in indexReference() local
138 while (getlineCounting(refFile, line, line_bytes)) { in indexReference()
147 offset += line_bytes; in indexReference()
151 getlineCounting(refFile, line, line_bytes); in indexReference()
184 if (entry.line_len != line_bytes) { in indexReference()
191 entry.line_len = line_bytes; // first line in indexReference()
195 offset += line_bytes; in indexReference()
/dports/biology/fastahack/fastahack-1.0.0/
H A DFasta.cpp125 int line_bytes = 0; in indexReference() local
138 while (getlineCounting(refFile, line, line_bytes)) { in indexReference()
147 offset += line_bytes; in indexReference()
151 getlineCounting(refFile, line, line_bytes); in indexReference()
184 if (entry.line_len != line_bytes) { in indexReference()
191 entry.line_len = line_bytes; // first line in indexReference()
195 offset += line_bytes; in indexReference()
/dports/biology/freebayes/freebayes-1.3.5/vcflib/fastahack/
H A DFasta.cpp125 int line_bytes = 0; in indexReference() local
138 while (getlineCounting(refFile, line, line_bytes)) { in indexReference()
147 offset += line_bytes; in indexReference()
151 getlineCounting(refFile, line, line_bytes); in indexReference()
184 if (entry.line_len != line_bytes) { in indexReference()
191 entry.line_len = line_bytes; // first line in indexReference()
195 offset += line_bytes; in indexReference()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/pci/bt8xx/
H A Dbt878.c127 bt->line_bytes = bt->block_bytes; in bt878_make_risc()
130 while (bt->line_bytes > 4095) { in bt878_make_risc()
131 bt->line_bytes >>= 1; in bt878_make_risc()
153 bt->line_count, bt->line_bytes); in bt878_risc_program()
164 line_bytes); in bt878_risc_program()
167 bt->line_bytes); in bt878_risc_program()
169 buf_pos += bt->line_bytes; in bt878_risc_program()
178 btwrite((bt->line_count << 16) | bt->line_bytes, BT878_APACK_LEN); in bt878_risc_program()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/pci/bt8xx/
H A Dbt878.c127 bt->line_bytes = bt->block_bytes; in bt878_make_risc()
130 while (bt->line_bytes > 4095) { in bt878_make_risc()
131 bt->line_bytes >>= 1; in bt878_make_risc()
153 bt->line_count, bt->line_bytes); in bt878_risc_program()
164 line_bytes); in bt878_risc_program()
167 bt->line_bytes); in bt878_risc_program()
169 buf_pos += bt->line_bytes; in bt878_risc_program()
178 btwrite((bt->line_count << 16) | bt->line_bytes, BT878_APACK_LEN); in bt878_risc_program()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/pci/bt8xx/
H A Dbt878.c127 bt->line_bytes = bt->block_bytes; in bt878_make_risc()
130 while (bt->line_bytes > 4095) { in bt878_make_risc()
131 bt->line_bytes >>= 1; in bt878_make_risc()
153 bt->line_count, bt->line_bytes); in bt878_risc_program()
164 line_bytes); in bt878_risc_program()
167 bt->line_bytes); in bt878_risc_program()
169 buf_pos += bt->line_bytes; in bt878_risc_program()
178 btwrite((bt->line_count << 16) | bt->line_bytes, BT878_APACK_LEN); in bt878_risc_program()
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/core3/util/protocol/magnet/
H A DMagnetConnection.java80 byte[] line_bytes = new byte[2048]; in getInputStream()
94 line_bytes[line_bytes_pos++] = buffer[0]; in getInputStream()
107 line = new String( line_bytes, 0, line_bytes_pos, "UTF-8" ); in getInputStream()

1234567