Home
last modified time | relevance | path

Searched refs:file_data (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/diff/src/
H A Ddiff.h232 struct file_data { struct
306 struct file_data file[2]; argument
312 XTERN struct file_data files[2];
324 void print_context_header (struct file_data[], bool);
338 void file_block_read (struct file_data *, size_t);
339 bool read_files (struct file_data[], bool);
356 lin translate_line_number (struct file_data const *, lin);
372 void print_number_range (char, struct file_data *, lin, lin);
375 void translate_range (struct file_data const *, lin, lin, long int *, long int *);
H A Difdef.c29 struct file_data const *file;
36 struct file_data const *, lin,
240 struct file_data const *file = group->file; in print_ifdef_lines()
306 struct file_data const *file, lin n, in do_printf_spec()
H A Dio.c72 file_block_read (struct file_data *current, size_t size) in file_block_read()
97 sip (struct file_data *current, bool skip_test) in sip()
148 slurp (struct file_data *current) in slurp()
217 find_and_hash_each_line (struct file_data *current) in find_and_hash_each_line()
519 prepare_text (struct file_data *current) in prepare_text()
570 find_identical_ends (struct file_data filevec[]) in find_identical_ends()
808 read_files (struct file_data filevec[], bool pretend_binary) in read_files()
H A Dcontext.c50 struct file_data *inf, in print_context_label()
74 print_context_header (struct file_data inf[], bool unidiff) in print_context_header()
118 print_context_number_range (struct file_data const *file, lin a, lin b) in print_context_number_range()
264 print_unidiff_number_range (struct file_data const *file, lin a, lin b) in print_unidiff_number_range()
H A Danalyze.c375 discard_confusing_lines (struct file_data filevec[]) in discard_confusing_lines()
584 shift_boundaries (struct file_data filevec[]) in shift_boundaries()
706 build_reverse_script (struct file_data const filevec[]) in build_reverse_script()
743 build_script (struct file_data const filevec[]) in build_script()
776 briefly_report (int changes, struct file_data const filevec[]) in briefly_report()
H A Dutil.c600 translate_line_number (struct file_data const *file, lin i) in translate_line_number()
610 translate_range (struct file_data const *file, in translate_range()
625 print_number_range (char sepchar, struct file_data *file, lin a, lin b) in print_number_range()
H A Ddir.c56 dir_read (struct file_data const *dir, struct dirdata *dirdata) in dir_read()
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_write_format_zip_file.c88 char file_data[] = {'1', '2', '3', '4', '5', '6', '7', '8'}; in DEFINE_TEST()
116 archive_entry_set_size(ae, sizeof(file_data)); in DEFINE_TEST()
122 assertEqualInt(8, archive_write_data(a, file_data, sizeof(file_data))); in DEFINE_TEST()
157 crc = bitcrc32(0, file_data, sizeof(file_data)); in DEFINE_TEST()
159 /* assertEqualInt(i4(p + 20), sizeof(file_data)); */ /* Compressed size */ in DEFINE_TEST()
160 assertEqualInt(i4(p + 24), sizeof(file_data)); /* Uncompressed size */ in DEFINE_TEST()
254 assertEqualInt(i4(p + 12), sizeof(file_data)); /* uncompressed size */ in DEFINE_TEST()
89 char file_data[] = {'1', '2', '3', '4', '5', '6', '7', '8'}; DEFINE_TEST() local
H A Dtest_write_format_zip_stream.c85 char file_data[] = {'1', '2', '3', '4', '5', '6', '7', '8'}; in DEFINE_TEST() local
111 assertEqualInt(8, archive_write_data(a, file_data, sizeof(file_data))); in DEFINE_TEST()
146 crc = bitcrc32(0, file_data, sizeof(file_data)); in DEFINE_TEST()
149 assertEqualInt(i4(p + 24), sizeof(file_data)); /* Uncompressed size */ in DEFINE_TEST()
246 assertEqualInt(i4(p + 12), sizeof(file_data)); /* uncompressed size */ in DEFINE_TEST()
H A Dtest_write_format_zip_file_zip64.c90 char file_data[] = {'1', '2', '3', '4', '5', '6', '7', '8'}; in DEFINE_TEST()
119 archive_entry_set_size(ae, sizeof(file_data)); in DEFINE_TEST()
125 assertEqualInt(8, archive_write_data(a, file_data, sizeof(file_data))); in DEFINE_TEST()
160 crc = bitcrc32(0, file_data, sizeof(file_data)); in DEFINE_TEST()
162 /* assertEqualInt(i4(p + 20), sizeof(file_data)); */ /* Compressed size */ in DEFINE_TEST()
163 assertEqualInt(i4(p + 24), sizeof(file_data)); /* Uncompressed size */ in DEFINE_TEST()
282 assertEqualInt(i8(p + 16), sizeof(file_data)); /* uncompressed size */ in DEFINE_TEST()
91 char file_data[] = {'1', '2', '3', '4', '5', '6', '7', '8'}; DEFINE_TEST() local
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DZipFile.cpp117 auto file_data = reinterpret_cast<const uint8_t *>(local_file_header + 1) + in GetFile() local
126 file_offset = file_data - zip_data->GetBytes(); in GetFile()
/freebsd/crypto/heimdal/lib/krb5/
H A Dlog.c211 struct file_data{ struct
223 struct file_data *f = data; in log_file() argument
247 struct file_data *f = data; in close_file()
257 struct file_data *fd = malloc(sizeof(*fd)); in open_file()
/freebsd/sys/dev/xen/blkback/
H A Dblkback.c2139 struct xbb_file_data *file_data; in xbb_dispatch_file() local
2147 file_data = &xbb->backend.file; in xbb_dispatch_file()
2182 xuio.uio_iov = file_data->xiovecs; in xbb_dispatch_file()
2197 xiovec = &file_data->xiovecs[xuio.uio_iovcnt]; in xbb_dispatch_file()
2249 (IO_DIRECT|IO_SYNC) : 0, file_data->cred); in xbb_dispatch_file()
2283 IO_SYNC : 0, file_data->cred); in xbb_dispatch_file()
2433 struct xbb_file_data *file_data; in xbb_open_file() local
2437 file_data = &xbb->backend.file; in xbb_open_file()
2465 file_data->cred = crhold(curthread->td_ucred); in xbb_open_file()
/freebsd/sys/cam/ctl/
H A Dctl_backend_block.c656 struct ctl_be_block_filedata *file_data; in ctl_be_block_dispatch_file() local
665 file_data = &be_lun->backend.file; in ctl_be_block_dispatch_file()
719 error = VOP_READ(be_lun->vn, &xuio, flags, file_data->cred); in ctl_be_block_dispatch_file()
761 error = VOP_WRITE(be_lun->vn, &xuio, flags, file_data->cred); in ctl_be_block_dispatch_file()
882 struct ctl_be_block_filedata *file_data; in ctl_be_block_unmap_file() local
891 file_data = &be_lun->backend.file; in ctl_be_block_unmap_file()
913 0, IO_NOMACCHECK | IO_NODELOCKED, file_data->cred, in ctl_be_block_unmap_file()
923 IO_NOMACCHECK | IO_NODELOCKED, file_data->cred, NOCRED); in ctl_be_block_unmap_file()
2214 struct ctl_be_block_filedata *file_data; in ctl_be_block_open_file() local
2223 file_data = &be_lun->backend.file; in ctl_be_block_open_file()
[all …]
/freebsd/contrib/diff/
H A DChangeLog120 (struct file_data.changed): Now char *, not bool *, to save
1467 (struct file_data): Buffer is now word*, not char*, as it's always
2603 with external struct file_data `files'.
2822 struct file_data for initial guess at memory needed.
2824 (diff_dirs): Pass struct file_data to dir_sort. Finish plugging leak.
2825 * diff.c (compare_files): Pass struct file_data to diff_dirs.
3004 (struct file_data): New member linbuf_base counts number of lines