Home
last modified time | relevance | path

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

/freebsd-12.1/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-12.1/contrib/libarchive/libarchive/test/
H A Dtest_write_format_zip_file.c86 char file_data[] = {'1', '2', '3', '4', '5', '6', '7', '8'}; in DEFINE_TEST() local
107 archive_entry_set_size(ae, sizeof(file_data)); in DEFINE_TEST()
113 assertEqualInt(8, archive_write_data(a, file_data, sizeof(file_data))); in DEFINE_TEST()
148 crc = bitcrc32(0, file_data, sizeof(file_data)); in DEFINE_TEST()
151 assertEqualInt(i4(p + 24), sizeof(file_data)); /* Uncompressed size */ in DEFINE_TEST()
245 assertEqualInt(i4(p + 12), sizeof(file_data)); /* uncompressed size */ in DEFINE_TEST()
H A Dtest_write_format_zip_file_zip64.c88 char file_data[] = {'1', '2', '3', '4', '5', '6', '7', '8'}; in DEFINE_TEST() local
110 archive_entry_set_size(ae, sizeof(file_data)); in DEFINE_TEST()
116 assertEqualInt(8, archive_write_data(a, file_data, sizeof(file_data))); in DEFINE_TEST()
151 crc = bitcrc32(0, file_data, sizeof(file_data)); in DEFINE_TEST()
154 assertEqualInt(i4(p + 24), sizeof(file_data)); /* Uncompressed size */ in DEFINE_TEST()
279 assertEqualInt(i8(p + 16), sizeof(file_data)); /* uncompressed size */ in DEFINE_TEST()
/freebsd-12.1/contrib/googletest/googletest/xcode/Scripts/
H A Dversiongenerate.py84 file_data = """// variable
99 version_file.write(file_data)
/freebsd-12.1/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-12.1/sys/dev/xen/blkback/
H A Dblkback.c2252 struct xbb_file_data *file_data; in xbb_dispatch_file() local
2264 file_data = &xbb->backend.file; in xbb_dispatch_file()
2299 xuio.uio_iov = file_data->xiovecs; in xbb_dispatch_file()
2315 xiovec = &file_data->xiovecs[xuio.uio_iovcnt]; in xbb_dispatch_file()
2367 memcpy(file_data->saved_xiovecs, xuio.uio_iov, in xbb_dispatch_file()
2402 (IO_DIRECT|IO_SYNC) : 0, file_data->cred); in xbb_dispatch_file()
2436 IO_SYNC : 0, file_data->cred); in xbb_dispatch_file()
2453 xiovec = file_data->saved_xiovecs; in xbb_dispatch_file()
2608 struct xbb_file_data *file_data; in xbb_open_file() local
2612 file_data = &xbb->backend.file; in xbb_open_file()
[all …]
/freebsd-12.1/sys/cam/ctl/
H A Dctl_backend_block.c628 struct ctl_be_block_filedata *file_data; in ctl_be_block_dispatch_file() local
637 file_data = &be_lun->backend.file; in ctl_be_block_dispatch_file()
690 error = VOP_READ(be_lun->vn, &xuio, flags, file_data->cred); in ctl_be_block_dispatch_file()
738 error = VOP_WRITE(be_lun->vn, &xuio, flags, file_data->cred); in ctl_be_block_dispatch_file()
1820 struct ctl_be_block_filedata *file_data; in ctl_be_block_open_file() local
1828 file_data = &be_lun->backend.file; in ctl_be_block_open_file()
1847 file_data->cred = crhold(curthread->td_ucred); in ctl_be_block_open_file()
/freebsd-12.1/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