/freebsd-current/usr.bin/sort/ |
H A D | file.h | 110 void file_list_add(struct file_list *fl, const char *fn, bool allocate); 118 int procfile(const char *fn, struct sort_list *list, struct file_list *fl); 123 void sort_list_dump(struct sort_list *l, const char *fn);
|
H A D | file.c | 94 char *fn; member in struct:CLEANABLE_FILE 112 int (*)(const void *, const void *)), const char* fn); 136 item->fn = sort_strdup(tmp_file); 152 if ((item) && (item->fn)) 153 unlink(item->fn); 162 file_is_tmp(const char* fn) argument 167 if (fn) { 170 if ((item) && (item->fn)) 171 if (strcmp(item->fn, fn) 218 file_list_add(struct file_list *fl, const char *fn, bool allocate) argument 350 sort_list_dump(struct sort_list *l, const char *fn) argument 389 check(const char *fn) argument 524 openfile(const char *fn, const char *mode) argument 573 closefile(FILE *f, const char *fn) argument 745 char *fn; local 788 file_header_init(struct file_header **fh, const char *fn, size_t file_pos) argument 1379 merge_list_parts(struct sort_list **parts, size_t n, const char *fn) argument 1395 mt_sort(struct sort_list *list, int(*sort_func)(void *, size_t, size_t, int(*)(const void *, const void *)), const char* fn) argument [all...] |
/freebsd-current/lib/libc/gen/ |
H A D | ftw-compat11.c | 33 int freebsd11_ftw(const char *path, int (*fn)(const char *, 38 int (*fn)(const char *, const struct freebsd11_stat *, int), int nfds) 85 error = fn(cur->fts_path, cur->fts_statp, fnflag);
|
/freebsd-current/usr.bin/tail/ |
H A D | reverse.c | 76 reverse(FILE *fp, const char *fn, enum STYLE style, off_t off, struct stat *sbp) argument 82 r_reg(fp, fn, style, off, sbp); 87 bytes(fp, fn, off); 91 lines(fp, fn, off); 94 r_buf(fp, fn); 105 r_reg(FILE *fp, const char *fn, enum STYLE style, off_t off, struct stat *sbp) argument 129 ierr(fn); 146 ierr(fn); 162 ierr(fn); 166 ierr(fn); 187 r_buf(FILE *fp, const char *fn) argument [all...] |
H A D | misc.c | 120 printfn(const char *fn, int print_nl) argument 126 WR(fn, strlen(fn));
|
/freebsd-current/lib/libdiff/tests/ |
H A D | libdiff_test.c | 33 const char *fn = atf_tc_get_ident(tc); local 38 ATF_REQUIRE((f = fopen(fn, "w+")) != NULL); 46 ATF_REQUIRE(truncate(fn, size / 2) == 0);
|
/freebsd-current/sys/contrib/dev/iwlwifi/fw/ |
H A D | notif-wait.c | 57 if (!w->fn || w->fn(notif_wait, pkt, w->fn_data)) { 86 bool (*fn)(struct iwl_notif_wait_data *notif_wait, 93 wait_entry->fn = fn;
|
/freebsd-current/contrib/file/src/ |
H A D | apptype.c | 45 file_os2_apptype(struct magic_set *ms, const char *fn, const void *buf, argument 54 if (fn) 55 filename = strdup(fn); 67 if (fn == NULL) { 82 if (fn == NULL) {
|
/freebsd-current/crypto/openssl/test/recipes/ |
H A D | 15-test_genec.t | 202 my $fn = $params_encodings{$paramenc}; 206 $fn->("genpkey EC params ${curvename} with ec_param_enc:'${paramenc}' (text)", 215 $fn->("genpkey EC params ${curvename} with ec_param_enc:'${paramenc}' (${outform})", 226 $fn->("genpkey EC key on ${curvename} with ec_param_enc:'${paramenc}' (text)", 235 $fn->("genpkey EC key on ${curvename} with ec_param_enc:'${paramenc}' (${outform})", 263 my $fn = $params_encodings{$paramenc}; 267 $fn->("genpkey EC params ${curvename} with ec_param_enc:'${paramenc}' (text)", 276 $fn->("genpkey EC params ${curvename} with ec_param_enc:'${paramenc}' (${outform})", 287 $fn->("genpkey EC key on ${curvename} with ec_param_enc:'${paramenc}' (text)", 296 $fn [all...] |
/freebsd-current/sys/kern/ |
H A D | vfs_hash.c | 73 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) 86 if (fn != NULL && fn(vp, arg)) 96 (fn != NULL && fn(vp, arg))) { 114 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) 125 if (fn != NULL && fn(vp, arg)) 153 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) 168 if (fn ! 72 vfs_hash_get(const struct mount *mp, u_int hash, int flags, struct thread *td, struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) argument 113 vfs_hash_ref(const struct mount *mp, u_int hash, struct thread *td, struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) argument 152 vfs_hash_insert(struct vnode *vp, u_int hash, int flags, struct thread *td, struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) argument [all...] |
/freebsd-current/contrib/com_err/ |
H A D | compile_et.c | 131 char fn[128]; local 138 snprintf(fn, sizeof(fn), "__%s__", hfn); 139 for(p = fn; *p; p++) 147 fprintf(h_file, "#ifndef %s\n", fn); 148 fprintf(h_file, "#define %s\n", fn); 173 fprintf(h_file, "#endif /* %s */\n", fn);
|
/freebsd-current/crypto/heimdal/lib/com_err/ |
H A D | compile_et.c | 131 char fn[128]; local 138 snprintf(fn, sizeof(fn), "__%s__", hfn); 139 for(p = fn; *p; p++) 147 fprintf(h_file, "#ifndef %s\n", fn); 148 fprintf(h_file, "#define %s\n", fn); 173 fprintf(h_file, "#endif /* %s */\n", fn);
|
/freebsd-current/tools/tools/vop_table/ |
H A D | vop_table.tcl | 104 set fn 0 135 incr fn 136 set nop($t) $fn 137 set nfn($fn) $t 138 set use($fn) 0 172 for {set i 1} {$i <= $fn} {incr i $m} { 176 if {$k <= $fn} {
|
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | ndbm_wrap.c | 156 char *fn = malloc(strlen(file) + 4); local 157 if(fn == NULL) 159 strcpy(fn, file); 160 strcat(fn, ".db"); 174 free(fn); 179 if(db->open(db, NULL, fn, NULL, DB_BTREE, myflags, mode) != 0) { 181 if(db->open(db, fn, NULL, DB_BTREE, myflags, mode) != 0) { 183 free(fn); 188 db = dbopen(fn, flags, mode, DB_BTREE, NULL); 190 free(fn); [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | GCOV.cpp | 115 GCOVFunction *fn = nullptr; local 122 fn = functions.back().get(); 123 fn->ident = buf.getWord(); 124 fn->linenoChecksum = buf.getWord(); 126 fn->cfgChecksum = buf.getWord(); 127 buf.readString(fn->Name); 132 fn->startLine = buf.getWord(); 134 fn->artificial = buf.getWord(); 137 fn->startLine = buf.getWord(); 138 fn 232 GCOVFunction *fn = nullptr; local [all...] |
/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_raidz_math.c | 363 typedef void (*benchmark_fn)(raidz_map_t *rm, const int fn); 366 benchmark_gen_impl(raidz_map_t *rm, const int fn) argument 368 (void) fn; 373 benchmark_rec_impl(raidz_map_t *rm, const int fn) argument 385 vdev_raidz_reconstruct(rm, rec_tgt[fn], 3); 394 benchmark_raidz_impl(raidz_map_t *bench_rm, const int fn, benchmark_fn bench_fn) argument 412 bench_fn(bench_rm, fn); 421 raidz_impl_kstats[impl].gen[fn] = speed; 423 raidz_impl_kstats[impl].rec[fn] = speed; 430 fstat->gen[fn] [all...] |
/freebsd-current/crypto/openssl/crypto/evp/ |
H A D | legacy_sha.c | 29 #define IMPLEMENT_LEGACY_EVP_MD_METH_SHA3(nm, fn, tag) \ 32 return fn##_init(EVP_MD_CTX_get0_md_data(ctx), tag, ctx->digest->md_size * 8); \ 36 return fn##_update(EVP_MD_CTX_get0_md_data(ctx), data, count); \ 40 return fn##_final(md, EVP_MD_CTX_get0_md_data(ctx)); \ 42 #define IMPLEMENT_LEGACY_EVP_MD_METH_SHAKE(nm, fn, tag) \ 45 return fn##_init(EVP_MD_CTX_get0_md_data(ctx), tag, ctx->digest->md_size * 8); \
|
/freebsd-current/tools/regression/aio/aiop/ |
H A D | aiop.c | 127 const char *fn; local 144 fn = argv[1]; 169 fd = open(fn, O_RDONLY | O_DIRECT); 171 fd = open(fn, O_WRONLY | O_DIRECT); 173 fd = open(fn, O_RDWR | O_DIRECT); 188 printf("File: %s; File size %jd bytes\n", fn, (intmax_t)file_size);
|
/freebsd-current/contrib/sendmail/libsm/ |
H A D | t-fget.c | 25 static char fn[] = "tfget"; local 27 wfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, fn, 38 rfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, fn,
|
/freebsd-current/crypto/openssl/crypto/engine/ |
H A D | tb_pkmeth.c | 77 ENGINE_PKEY_METHS_PTR fn = ENGINE_get_pkey_meths(e); local 78 if (!fn || !fn(e, &ret, NULL, nid)) {
|
/freebsd-current/sys/sys/ |
H A D | vmem.h | 129 void vmem_whatis(vmem_addr_t addr, int (*fn)(const char *, ...) 131 void vmem_print(vmem_addr_t addr, const char *, int (*fn)(const char *, ...) 133 void vmem_printall(const char *, int (*fn)(const char *, ...)
|
/freebsd-current/crypto/heimdal/base/ |
H A D | array.c | 127 * @param fn function to call on each object 128 * @param ctx context passed to fn 132 heim_array_iterate_f(heim_array_t array, heim_array_iterator_f_t fn, void *ctx) argument 136 fn(array->val[n], ctx); 144 * @param fn block to call on each object 148 heim_array_iterate(heim_array_t array, void (^fn)(heim_object_t)) argument 152 fn(array->val[n]);
|
/freebsd-current/crypto/heimdal/lib/krb5/ |
H A D | test_store.c | 269 const char *fn = "test-store-data"; local 304 fd = open(fn, O_RDWR|O_CREAT|O_TRUNC, 0600); 306 krb5_err(context, 1, errno, "open(%s)", fn); 311 krb5_errx(context, 1, "krb5_storage_from_fd: %s no mem", fn); 315 unlink(fn); 321 fd = open(fn, O_RDWR|O_CREAT|O_TRUNC, 0600); 323 krb5_err(context, 1, errno, "open(%s)", fn); 327 krb5_errx(context, 1, "krb5_storage_from_fd: %s no mem", fn); 332 unlink(fn);
|
/freebsd-current/crypto/openssh/ |
H A D | dispatch.c | 69 ssh_dispatch_range(struct ssh *ssh, u_int from, u_int to, dispatch_fn *fn) argument 76 ssh->dispatch[i] = fn; 81 ssh_dispatch_set(struct ssh *ssh, int type, dispatch_fn *fn) argument 83 ssh->dispatch[type] = fn;
|
/freebsd-current/crypto/openssl/crypto/err/ |
H A D | err_local.h | 50 const char *fn) 53 * We dup the file and fn strings because they may be provider owned. If the 63 if (fn == NULL || fn[0] == '\0') 66 es->err_func[i] = OPENSSL_strdup(fn); 48 err_set_debug(ERR_STATE *es, size_t i, const char *file, int line, const char *fn) argument
|