Home
last modified time | relevance | path

Searched refs:footer_buf (Results 1 – 25 of 98) sorted by relevance

1234

/dports/mail/postfix-current/postfix-3.7-20211107/src/postscreen/
H A Dpostscreen_send.c118 static VSTRING *footer_buf = 0; in psc_get_footer() local
120 if (footer_buf == 0) in psc_get_footer()
121 footer_buf = vstring_alloc(100); in psc_get_footer()
123 vstring_strncpy(footer_buf, text, text_len); in psc_get_footer()
124 return (psc_maps_find(psc_rej_ftr_maps, STR(footer_buf), 0)); in psc_get_footer()
/dports/converters/psiconv/psiconv-0.9.9/lib/psiconv/
H A Dgenerate_page.c101 psiconv_buffer header_buf,footer_buf; in psiconv_write_page_layout_section() local
127 if ((res = psiconv_write_page_header(config,buf,lev+1,value->footer,&footer_buf))) in psiconv_write_page_layout_section()
141 if ((res = psiconv_buffer_concat(buf,footer_buf))) { in psiconv_write_page_layout_section()
148 psiconv_buffer_free(footer_buf); in psiconv_write_page_layout_section()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burner/libretro/libretro-common/file/
H A Darchive_file_zlib.c412 uint8_t footer_buf[1024]; in zip_parse_file_init() local
413 uint8_t *footer = footer_buf; in zip_parse_file_init()
415 int64_t read_block = MIN(read_pos, sizeof(footer_buf)); in zip_parse_file_init()
428 if (--footer < footer_buf) in zip_parse_file_init()
441 if (filestream_read(state->archive_file, footer_buf, read_block) != read_block) in zip_parse_file_init()
444 footer = footer_buf + read_block - 22; in zip_parse_file_init()
449 if (read_pos + (footer - footer_buf) + 22 + comment_len == state->archive_size) in zip_parse_file_init()
/dports/games/retroarch/RetroArch-1.9.7/libretro-common/file/
H A Darchive_file_zlib.c412 uint8_t footer_buf[1024]; in zip_parse_file_init() local
413 uint8_t *footer = footer_buf; in zip_parse_file_init()
415 int64_t read_block = MIN(read_pos, sizeof(footer_buf)); in zip_parse_file_init()
428 if (--footer < footer_buf) in zip_parse_file_init()
441 if (filestream_read(state->archive_file, footer_buf, read_block) != read_block) in zip_parse_file_init()
444 footer = footer_buf + read_block - 22; in zip_parse_file_init()
449 if (read_pos + (footer - footer_buf) + 22 + comment_len == state->archive_size) in zip_parse_file_init()
/dports/games/mrboom/MrBoom-src-5.2/libretro-common/file/
H A Darchive_file_zlib.c370 uint8_t footer_buf[1024]; in zip_parse_file_init() local
371 uint8_t *footer = footer_buf; in zip_parse_file_init()
373 int64_t read_block = MIN(read_pos, sizeof(footer_buf)); in zip_parse_file_init()
386 if (--footer < footer_buf) in zip_parse_file_init()
399 if (filestream_read(state->archive_file, footer_buf, read_block) != read_block) in zip_parse_file_init()
402 footer = footer_buf + read_block - 22; in zip_parse_file_init()
407 if (read_pos + (footer - footer_buf) + 22 + comment_len == state->archive_size) in zip_parse_file_init()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/libretro-common/file/
H A Darchive_file_zlib.c370 uint8_t footer_buf[1024]; in zip_parse_file_init() local
371 uint8_t *footer = footer_buf; in zip_parse_file_init()
373 int64_t read_block = MIN(read_pos, sizeof(footer_buf)); in zip_parse_file_init()
386 if (--footer < footer_buf) in zip_parse_file_init()
399 if (filestream_read(state->archive_file, footer_buf, read_block) != read_block) in zip_parse_file_init()
402 footer = footer_buf + read_block - 22; in zip_parse_file_init()
407 if (read_pos + (footer - footer_buf) + 22 + comment_len == state->archive_size) in zip_parse_file_init()
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/libretro-common/file/
H A Darchive_file_zlib.c370 uint8_t footer_buf[1024]; in zip_parse_file_init() local
371 uint8_t *footer = footer_buf; in zip_parse_file_init()
373 int64_t read_block = MIN(read_pos, sizeof(footer_buf)); in zip_parse_file_init()
386 if (--footer < footer_buf) in zip_parse_file_init()
399 if (filestream_read(state->archive_file, footer_buf, read_block) != read_block) in zip_parse_file_init()
402 footer = footer_buf + read_block - 22; in zip_parse_file_init()
407 if (read_pos + (footer - footer_buf) + 22 + comment_len == state->archive_size) in zip_parse_file_init()
/dports/emulators/bochs/bochs-2.7/iodev/hdimage/
H A Dvpc.cc148 if (bx_read_image(fd, offset, (char*)footer_buf, HEADER_SIZE) != HEADER_SIZE) { in open()
151 footer = (vhd_footer_t*)footer_buf; in open()
155 if (vpc_checksum(footer_buf, HEADER_SIZE) != checksum) { in open()
252 vhd_footer_t *footer = (vhd_footer_t*)footer_buf; in read()
288 vhd_footer_t *footer = (vhd_footer_t*)footer_buf; in write()
495 ret = bx_write_image(fd, offset, footer_buf, HEADER_SIZE); in rewrite_footer()
/dports/emulators/qemu42/qemu-4.2.1/block/
H A Dvpc.c134 uint8_t footer_buf[HEADER_SIZE]; member
252 ret = bdrv_pread(bs->file, 0, s->footer_buf, HEADER_SIZE); in vpc_open()
258 footer = (VHDFooter *) s->footer_buf; in vpc_open()
272 ret = bdrv_pread(bs->file, offset-HEADER_SIZE, s->footer_buf, in vpc_open()
287 if (vpc_checksum(s->footer_buf, HEADER_SIZE) != checksum) { in vpc_open()
540 ret = bdrv_pwrite_sync(bs->file, offset, s->footer_buf, HEADER_SIZE); in rewrite_footer()
603 VHDFooter *footer = (VHDFooter *) s->footer_buf; in vpc_get_info()
622 VHDFooter *footer = (VHDFooter *) s->footer_buf; in vpc_co_preadv()
673 VHDFooter *footer = (VHDFooter *) s->footer_buf; in vpc_co_pwritev()
730 VHDFooter *footer = (VHDFooter*) s->footer_buf; in vpc_co_block_status()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/block/
H A Dvpc.c134 uint8_t footer_buf[HEADER_SIZE]; member
250 ret = bdrv_pread(bs->file, 0, s->footer_buf, HEADER_SIZE); in vpc_open()
256 footer = (VHDFooter *) s->footer_buf; in vpc_open()
270 ret = bdrv_pread(bs->file, offset-HEADER_SIZE, s->footer_buf, in vpc_open()
285 if (vpc_checksum(s->footer_buf, HEADER_SIZE) != checksum) { in vpc_open()
537 ret = bdrv_pwrite_sync(bs->file, offset, s->footer_buf, HEADER_SIZE); in rewrite_footer()
600 VHDFooter *footer = (VHDFooter *) s->footer_buf; in vpc_get_info()
618 VHDFooter *footer = (VHDFooter *) s->footer_buf; in vpc_co_preadv()
669 VHDFooter *footer = (VHDFooter *) s->footer_buf; in vpc_co_pwritev()
726 VHDFooter *footer = (VHDFooter*) s->footer_buf; in vpc_co_block_status()
[all …]
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/block/
H A Dvpc.c134 uint8_t footer_buf[HEADER_SIZE]; member
252 ret = bdrv_pread(bs->file, 0, s->footer_buf, HEADER_SIZE); in vpc_open()
258 footer = (VHDFooter *) s->footer_buf; in vpc_open()
272 ret = bdrv_pread(bs->file, offset-HEADER_SIZE, s->footer_buf, in vpc_open()
287 if (vpc_checksum(s->footer_buf, HEADER_SIZE) != checksum) in vpc_open()
536 ret = bdrv_pwrite_sync(bs->file, offset, s->footer_buf, HEADER_SIZE); in rewrite_footer()
599 VHDFooter *footer = (VHDFooter *) s->footer_buf; in vpc_get_info()
618 VHDFooter *footer = (VHDFooter *) s->footer_buf; in vpc_co_preadv()
667 VHDFooter *footer = (VHDFooter *) s->footer_buf; in vpc_co_pwritev()
722 VHDFooter *footer = (VHDFooter*) s->footer_buf; in vpc_co_block_status()
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/block/
H A Dvpc.c134 uint8_t footer_buf[HEADER_SIZE]; member
252 ret = bdrv_pread(bs->file, 0, s->footer_buf, HEADER_SIZE); in vpc_open()
258 footer = (VHDFooter *) s->footer_buf; in vpc_open()
272 ret = bdrv_pread(bs->file, offset-HEADER_SIZE, s->footer_buf, in vpc_open()
287 if (vpc_checksum(s->footer_buf, HEADER_SIZE) != checksum) { in vpc_open()
540 ret = bdrv_pwrite_sync(bs->file, offset, s->footer_buf, HEADER_SIZE); in rewrite_footer()
603 VHDFooter *footer = (VHDFooter *) s->footer_buf; in vpc_get_info()
622 VHDFooter *footer = (VHDFooter *) s->footer_buf; in vpc_co_preadv()
673 VHDFooter *footer = (VHDFooter *) s->footer_buf; in vpc_co_pwritev()
730 VHDFooter *footer = (VHDFooter*) s->footer_buf; in vpc_co_block_status()
[all …]
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/block/
H A Dvpc.c134 uint8_t footer_buf[HEADER_SIZE]; member
252 ret = bdrv_pread(bs->file, 0, s->footer_buf, HEADER_SIZE); in vpc_open()
258 footer = (VHDFooter *) s->footer_buf; in vpc_open()
272 ret = bdrv_pread(bs->file, offset-HEADER_SIZE, s->footer_buf, in vpc_open()
287 if (vpc_checksum(s->footer_buf, HEADER_SIZE) != checksum) { in vpc_open()
540 ret = bdrv_pwrite_sync(bs->file, offset, s->footer_buf, HEADER_SIZE); in rewrite_footer()
603 VHDFooter *footer = (VHDFooter *) s->footer_buf; in vpc_get_info()
622 VHDFooter *footer = (VHDFooter *) s->footer_buf; in vpc_co_preadv()
673 VHDFooter *footer = (VHDFooter *) s->footer_buf; in vpc_co_pwritev()
730 VHDFooter *footer = (VHDFooter*) s->footer_buf; in vpc_co_block_status()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/block/
H A Dvpc.c134 uint8_t footer_buf[HEADER_SIZE]; member
252 ret = bdrv_pread(bs->file, 0, s->footer_buf, HEADER_SIZE); in vpc_open()
258 footer = (VHDFooter *) s->footer_buf; in vpc_open()
272 ret = bdrv_pread(bs->file, offset-HEADER_SIZE, s->footer_buf, in vpc_open()
287 if (vpc_checksum(s->footer_buf, HEADER_SIZE) != checksum) { in vpc_open()
540 ret = bdrv_pwrite_sync(bs->file, offset, s->footer_buf, HEADER_SIZE); in rewrite_footer()
603 VHDFooter *footer = (VHDFooter *) s->footer_buf; in vpc_get_info()
622 VHDFooter *footer = (VHDFooter *) s->footer_buf; in vpc_co_preadv()
673 VHDFooter *footer = (VHDFooter *) s->footer_buf; in vpc_co_pwritev()
730 VHDFooter *footer = (VHDFooter*) s->footer_buf; in vpc_co_block_status()
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/rocksdb/rocksdb/utilities/blob_db/
H A Dblob_file.cc276 std::string footer_buf; in ReadMetadata() local
283 footer_buf.reserve(BlobLogFooter::kSize); in ReadMetadata()
285 BlobLogFooter::kSize, &footer_slice, &footer_buf[0], in ReadMetadata()
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/rocksdb/rocksdb/utilities/blob_db/
H A Dblob_file.cc276 std::string footer_buf; in ReadMetadata() local
283 footer_buf.reserve(BlobLogFooter::kSize); in ReadMetadata()
285 BlobLogFooter::kSize, &footer_slice, &footer_buf[0], in ReadMetadata()
/dports/databases/rocksdb/rocksdb-6.26.1/utilities/blob_db/
H A Dblob_file.cc276 std::string footer_buf; in ReadMetadata() local
283 footer_buf.reserve(BlobLogFooter::kSize); in ReadMetadata()
285 BlobLogFooter::kSize, &footer_slice, &footer_buf[0], in ReadMetadata()
/dports/databases/rocksdb-lite/rocksdb-6.26.1/utilities/blob_db/
H A Dblob_file.cc276 std::string footer_buf; in ReadMetadata() local
283 footer_buf.reserve(BlobLogFooter::kSize); in ReadMetadata()
285 BlobLogFooter::kSize, &footer_slice, &footer_buf[0], in ReadMetadata()
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/rocksdb/rocksdb/utilities/blob_db/
H A Dblob_file.cc276 std::string footer_buf; in ReadMetadata() local
283 footer_buf.reserve(BlobLogFooter::kSize); in ReadMetadata()
285 BlobLogFooter::kSize, &footer_slice, &footer_buf[0], in ReadMetadata()
/dports/sysutils/libcdio/libcdio-2.1.0/lib/driver/image/
H A Dnrg.c187 char *footer_buf = NULL; in parse_nrg() local
216 footer_buf = calloc(1, (size_t)(size - footer_start)); in parse_nrg()
219 cdio_stream_read (p_env->gen.data_source, footer_buf, in parse_nrg()
226 _chunk_t *chunk = (void *) (footer_buf + pos); in parse_nrg()
509 free(footer_buf); in parse_nrg()
593 free(footer_buf); in parse_nrg()
662 free(footer_buf); in parse_nrg()
791 free(footer_buf); in parse_nrg()
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/rocksdb/rocksdb/table/
H A Dformat.cc296 std::string footer_buf; in ReadFooterFromFile() local
317 footer_buf.reserve(Footer::kMaxEncodedLength); in ReadFooterFromFile()
319 &footer_input, &footer_buf[0], nullptr); in ReadFooterFromFile()
/dports/databases/rocksdb/rocksdb-6.26.1/table/
H A Dformat.cc296 std::string footer_buf; in ReadFooterFromFile() local
317 footer_buf.reserve(Footer::kMaxEncodedLength); in ReadFooterFromFile()
319 &footer_input, &footer_buf[0], nullptr); in ReadFooterFromFile()
/dports/databases/rocksdb-lite/rocksdb-6.26.1/table/
H A Dformat.cc296 std::string footer_buf; in ReadFooterFromFile() local
317 footer_buf.reserve(Footer::kMaxEncodedLength); in ReadFooterFromFile()
319 &footer_input, &footer_buf[0], nullptr); in ReadFooterFromFile()
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/rocksdb/rocksdb/table/
H A Dformat.cc296 std::string footer_buf; in ReadFooterFromFile() local
317 footer_buf.reserve(Footer::kMaxEncodedLength); in ReadFooterFromFile()
319 &footer_input, &footer_buf[0], nullptr); in ReadFooterFromFile()
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/rocksdb/rocksdb/table/
H A Dformat.cc296 std::string footer_buf; in ReadFooterFromFile() local
317 footer_buf.reserve(Footer::kMaxEncodedLength); in ReadFooterFromFile()
319 &footer_input, &footer_buf[0], nullptr); in ReadFooterFromFile()

1234