Home
last modified time | relevance | path

Searched refs:newfile (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-err.c51 const char *newfile; in spl_panic() local
55 newfile = strrchr(file, '/'); in spl_panic()
56 if (newfile != NULL) in spl_panic()
57 newfile = newfile + 1; in spl_panic()
59 newfile = file; in spl_panic()
66 printk(KERN_EMERG "PANIC at %s:%d:%s()\n", newfile, line, func); in spl_panic()
/freebsd/share/i18n/esdb/
H A DMakefile13 newfile=$$(for i in ${SUBDIR}; do \
16 [ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
17 printf '%s\n' "$$newfile" >${.TARGET}
22 newfile=$$(for i in ${SUBDIR}; do \
25 [ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
26 printf '%s\n' "$$newfile" >${.TARGET}
/freebsd/share/i18n/csmapper/
H A DMakefile10 newfile=$$(for i in ${SUBDIR}; do \
13 [ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
14 printf '%s\n' "$$newfile" >${.TARGET}
22 newfile=$$(for i in ${SUBDIR}; do \
25 [ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
26 printf '%s\n' "$$newfile" >${.TARGET}
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_debug.c150 const char *newfile; in __dprintf() local
164 newfile = strrchr(file, '/'); in __dprintf()
165 if (newfile != NULL) { in __dprintf()
166 newfile = newfile + 1; /* Get rid of leading / */ in __dprintf()
168 newfile = file; in __dprintf()
172 curthread, prefix, newfile, line, func); in __dprintf()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_debug.c187 const char *newfile; in __dprintf() local
200 newfile = strrchr(file, '/'); in __dprintf()
201 if (newfile != NULL) { in __dprintf()
202 newfile = newfile + 1; /* Get rid of leading / */ in __dprintf()
204 newfile = file; in __dprintf()
207 i = snprintf(buf, size, "%s:%d:%s(): ", newfile, line, func); in __dprintf()
/freebsd/usr.bin/split/
H A Dsplit.c67 static void newfile(void);
231 newfile(); in split1()
243 newfile(); in split1()
251 newfile(); in split1()
297 newfile(); in split2()
299 newfile(); in split2()
305 newfile(); in split2()
345 * newfile --
349 newfile(void) in newfile() function
/freebsd/contrib/ncurses/misc/
H A Dncu2openbsd669 my $newfile = shift;
672 system("diff -u $bakfile $newfile") if ( -f $bakfile );
682 my $newfile = "$update_dir/Makefile";
683 open( my $fp, ">", $newfile ) || &failed("cannot open $newfile");
835 &compare_makefiles($newfile);
850 my $newfile = "$update_dir/Makefile";
851 open( my $fp, ">", $newfile ) || &failed("cannot open $newfile");
886 &compare_makefiles($newfile);
893 my $newfile = "$update_dir/Makefile";
895 open( my $fp, ">", $newfile ) || &failed("cannot open $newfile");
[all …]
/freebsd/usr.sbin/unbound/setup/
H A Dlocal-unbound-setup.sh305 local newfile="$2"
308 mv "${newfile}" "${D}${file}"
309 elif ! cmp -s "${D}${file}" "${newfile}" ; then
311 mv "${newfile}" "${D}${file}"
314 rm "${newfile}"
/freebsd/usr.bin/bsdiff/bspatch/
H A Dbspatch.c52 static char *newfile;
59 if (dirfd != -1 && newfile != NULL) in exit_cleanup()
60 if (unlinkat(dirfd, newfile, 0)) in exit_cleanup()
97 fprintf(stderr, "usage: bspatch oldfile newfile patchfile\n"); in usage()
137 /* open directory where we'll write newfile */ in main()
143 if ((newfile = basename(argv[2])) == NULL) in main()
145 /* open newfile */ in main()
146 if ((newfd = openat(dirfd, newfile, in main()
175 24 8 sizeof(newfile) in main()
296 newfile in main()
51 static char *newfile; global() variable
[all...]
/freebsd/sys/dev/aic7xxx/aicasm/
H A Daicasm_scan.l455 FILE *newfile;
458 newfile = NULL;
461 newfile = fopen(file_name, "r");
463 if (newfile == NULL && type != SOURCE_FILE) {
477 if ((newfile = fopen(fullname, "r")) != NULL)
482 if (newfile == NULL) {
500 yy_switch_to_buffer(yy_create_buffer(newfile, YY_BUF_SIZE));
/freebsd/contrib/openbsm/bin/auditd/
H A Dauditd.c200 char *newfile, *name; in swap_audit_file() local
229 err = auditd_swap_trail(TS, &newfile, audit_review_gid, in swap_audit_file()
254 if (auditd_new_curlink(newfile) != 0) in swap_audit_file()
256 newfile, auditd_strerror(err)); in swap_audit_file()
258 lastfile = newfile; in swap_audit_file()
259 auditd_log_notice("New audit file is %s", newfile); in swap_audit_file()
/freebsd/contrib/openbsm/bin/auditdistd/
H A Dsender.c384 bool newfile = false; in read_thread_wait() local
397 newfile = true; in read_thread_wait()
401 newfile = true; in read_thread_wait()
414 if (newfile) { in read_thread_wait()
420 return (newfile); in read_thread_wait()
428 bool newfile; in read_thread() local
433 newfile = read_thread_wait(); in read_thread()
435 if (newfile) { in read_thread()
438 newfile = false; in read_thread()
/freebsd/usr.bin/csplit/
H A Dcsplit.c67 static FILE *newfile(void);
196 ofp = newfile(); in main()
232 newfile(void) in newfile() function
384 ofp = newfile(); in do_rexp()
453 ofp = newfile(); in do_lineno()
/freebsd/contrib/elftoolchain/libelf/
H A Delf_update.c1040 unsigned char *newfile; in _libelf_write_elf() local
1046 if ((newfile = malloc((size_t) newsize)) == NULL) { in _libelf_write_elf()
1056 (void) memset(newfile + rc, LIBELF_PRIVATE(fillchar), in _libelf_write_elf()
1061 if ((nrc = _libelf_write_ehdr(e, newfile, ex)) < 0) in _libelf_write_elf()
1066 if ((nrc = _libelf_write_phdr(e, newfile, ex)) < 0) in _libelf_write_elf()
1071 if ((nrc = _libelf_write_scn(e, newfile, ex)) < 0) in _libelf_write_elf()
1076 if ((nrc = _libelf_write_shdr(e, newfile, ex)) < 0) in _libelf_write_elf()
1118 if (write(e->e_fd, newfile, (size_t) newsize) != newsize) { in _libelf_write_elf()
1134 e->e_rawfile = newfile; in _libelf_write_elf()
1135 newfile = NULL; in _libelf_write_elf()
[all …]
/freebsd/tools/regression/usr.bin/env/
H A Dregress-sb.rb383 newfile = $2
388 elsif File.exists?(newfile)
390 newfile
393 $testdata.add_symlink(srcfile, newfile)
/freebsd/contrib/openbsm/libauditd/
H A Dauditd_lib.c936 auditd_swap_trail(char *TS, char **newfile, gid_t gid, in auditd_swap_trail() argument
963 *newfile = fn; in auditd_swap_trail()
1164 char *newfile = NULL; in audit_quick_start() local
1192 err = auditd_swap_trail(TS, &newfile, getgid(), NULL); in audit_quick_start()
1201 if (auditd_new_curlink(newfile) != 0) { in audit_quick_start()
1225 if (newfile != NULL) in audit_quick_start()
1226 free(newfile); in audit_quick_start()
/freebsd/contrib/libarchive/test_utils/
H A Dtest_common.h248 #define assertMakeHardlink(newfile, oldfile) \ argument
249 assertion_make_hardlink(__FILE__, __LINE__, newfile, oldfile)
250 #define assertMakeSymlink(newfile, linkto, targetIsDir) \ argument
251 assertion_make_symlink(__FILE__, __LINE__, newfile, linkto, targetIsDir)
/freebsd/usr.sbin/config/
H A Dconfig.y97 static void newfile(char *name);
145 FILES ID SEMICOLON { newfile($2); };
334 newfile(char *name) in newfile() function
/freebsd/contrib/openbsm/bsm/
H A Dauditd_lib.h100 int auditd_swap_trail(char *TS, char **newfile, gid_t gid,
/freebsd/usr.bin/fortune/datfiles/
H A Dfreebsd-tips.sp.ok48 newfile
/freebsd/contrib/lua/src/
H A Dliolib.c253 static LStream *newfile (lua_State *L) { in newfile() function
262 LStream *p = newfile(L); in opencheck()
272 LStream *p = newfile(L); in io_open()
302 LStream *p = newfile(L); in io_tmpfile()
/freebsd/usr.sbin/lpr/common_source/
H A Dprintcap.c74 setprintcap(char *newfile) in setprintcap() argument
76 printcapdb[0] = newfile; in setprintcap()
/freebsd/crypto/heimdal/lib/krb5/
H A Dfcache.c800 krb5_ccache copy, newfile; in fcc_remove_cred() local
837 ret = krb5_cc_resolve(context, newname, &newfile); in fcc_remove_cred()
845 ret = krb5_cc_copy_cache(context, copy, newfile); in fcc_remove_cred()
849 krb5_cc_destroy(context, newfile); in fcc_remove_cred()
857 krb5_cc_close(context, newfile); in fcc_remove_cred()
/freebsd/tools/regression/doat/
H A Ddoat.c84 const char *newfile = "newfile"; variable
494 tests[9].tests[4].params[1].cp = newfile; in setup()
544 tests[11].tests[4].params[1].cp = newfile; in setup()
546 tests[11].tests[4].params[3].cp = newfile; in setup()
596 tests[13].tests[6].params[1].cp = newfile; in setup()
/freebsd/tools/test/stress2/testcases/openat/
H A Ddoat.c81 char *newfile = "newfile"; variable
491 tests[9].tests[4].params[1].cp = newfile; in setup()
541 tests[11].tests[4].params[1].cp = newfile; in setup()
543 tests[11].tests[4].params[3].cp = newfile; in setup()
592 tests[13].tests[6].params[1].cp = newfile; in setup()

12