/freebsd-current/contrib/wpa/wpa_supplicant/ |
H A D | hs20_supplicant.c | 418 const char *fname) 429 if (chmod(fname, statbuf.st_mode) < 0) { 431 "Cannot change the permissions for %s", fname); 435 if (lchown(fname, statbuf.st_uid, statbuf.st_gid) < 0) { 437 fname); 464 char fname[256]; local 533 snprintf(fname, sizeof(fname), "%s/osu-icon-%u.%s", 536 f = fopen(fname, "wb"); 540 hs20_set_osu_access_permission(wpa_s->conf->osu_dir, fname); 417 hs20_set_osu_access_permission(const char *osu_dir, const char *fname) argument 748 char fname[256]; local [all...] |
/freebsd-current/sys/contrib/openzfs/module/lua/ |
H A D | lauxlib.c | 623 const char *fname, int szhint) { 627 e = strchr(fname, '.'); 628 if (e == NULL) e = fname + strlen(fname); 629 lua_pushlstring(L, fname, e - fname); 634 lua_pushlstring(L, fname, e - fname); 640 return fname; /* return problematic part of the name */ 643 fname 622 luaL_findtable(lua_State *L, int idx, const char *fname, int szhint) argument 721 luaL_getsubtable(lua_State *L, int idx, const char *fname) argument [all...] |
/freebsd-current/sys/contrib/ncsw/inc/ |
H A D | xx_ext.h | 60 void * XX_MallocDebug(uint32_t size, char *fname, int line); 65 char *fname,
|
/freebsd-current/contrib/ntp/sntp/libopts/ |
H A D | text_mmap.c | 161 * @param fname the text file to map 168 validate_mmap(char const * fname, int prot, int flags, tmap_info_t * mapinfo) argument 201 mapinfo->txt_fd = open(fname, o_flag);
|
/freebsd-current/usr.sbin/fdcontrol/ |
H A D | fdcontrol.c | 58 showdev(enum fd_drivetype type, const char *fname) argument 64 printf("%s: %s drive (%s)\n", fname, name, descr);
|
/freebsd-current/lib/libcasper/services/cap_fileargs/ |
H A D | cap_fileargs.c | 539 const char *fname; local 549 fname = nvlist_next(limits, &type, &cookie); 550 if (fname == NULL) { 566 strcmp(fname, current_name) == 0) { 574 fd = open_file(fname); 583 if (lstat(fname, &sb) < 0) { 591 nvlist_move_nvlist(nvlout, fname, new); 594 lastname = fname;
|
/freebsd-current/contrib/unbound/dynlibmod/ |
H A D | dynlibmod.h | 116 const char* fname; member in struct:dynlibmod_env
|
/freebsd-current/contrib/netbsd-tests/fs/puffs/h_dtfs/ |
H A D | dtfs_subr.c | 163 dtfs_dirgetbyname(struct dtfs_file *searchdir, const char *fname, size_t fnlen) argument 169 && strncmp(dirent->dfd_name, fname, fnlen) == 0) 180 const char *fname, size_t fnlen) 187 dfd = dtfs_dirgetbyname(DTFS_PTOF(pn_parent), fname, fnlen); 179 dtfs_nukenode(struct puffs_node *nukeme, struct puffs_node *pn_parent, const char *fname, size_t fnlen) argument
|
/freebsd-current/sys/tests/ |
H A D | ktest.h | 71 const char *fname, int line);
|
/freebsd-current/usr.sbin/bsnmpd/tools/libbsnmptools/ |
H A D | bsnmptools.h | 126 struct fname { struct 130 SLIST_ENTRY(fname) link; 134 SLIST_HEAD(fname_list, fname); 236 int32_t snmp_import_file(struct snmp_toolinfo *, struct fname *);
|
/freebsd-current/usr.bin/grep/ |
H A D | grep.h | 141 bool file_matching(const char *fname);
|
/freebsd-current/stand/libsa/ |
H A D | bzipfs.c | 147 bzf_open(const char *fname, struct open_file *f) argument 161 if ((cp = strrchr(fname, '.')) && (!strcmp(cp, ".gz") 166 bzfname = malloc(strlen(fname) + 5); 169 sprintf(bzfname, "%s.bz2", fname);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Support/ |
H A D | Path.cpp | 582 StringRef fname = filename(path, style); 583 size_t pos = fname.find_last_of('.'); 585 return fname; 586 if ((fname.size() == 1 && fname == ".") || 587 (fname.size() == 2 && fname == "..")) 588 return fname; 589 return fname.substr(0, pos); 593 StringRef fname [all...] |
/freebsd-current/contrib/unbound/libunbound/ |
H A D | libunbound.c | 436 ub_ctx_config(struct ub_ctx* ctx, const char* fname) argument 443 if(!config_read(ctx->env->cfg, fname, NULL)) { 471 ub_ctx_add_ta_file(struct ub_ctx* ctx, const char* fname) argument 473 char* dup = strdup(fname); 489 int ub_ctx_add_ta_autr(struct ub_ctx* ctx, const char* fname) argument 491 char* dup = strdup(fname); 509 ub_ctx_trustedkeys(struct ub_ctx* ctx, const char* fname) argument 511 char* dup = strdup(fname); 1134 ub_ctx_resolvconf(struct ub_ctx* ctx, const char* fname) argument 1142 if(fname 1220 ub_ctx_hosts(struct ub_ctx* ctx, const char* fname) argument [all...] |
/freebsd-current/contrib/bearssl/tools/ |
H A D | keys.c | 98 read_private_key(const char *fname) argument 109 buf = read_file(fname, &len); 133 fprintf(stderr, "ERROR: no private key in file '%s'\n", fname);
|
/freebsd-current/contrib/nvi/ex/ |
H A D | ex_tag.c | 221 if (tp->frp == NULL && (tp->frp = file_add(sp, tp->fname)) == NULL) 257 if (tp->frp == NULL && (tp->frp = file_add(sp, tp->fname)) == NULL) 505 p = tp->frp == NULL ? tp->fname : tp->frp->name; 637 if (otp->fname != NULL) 646 if (otp->fname != NULL) 647 tp->fname = (char *)tp->buf; 1124 tp->fname = (char *)tp->buf; 1128 memcpy(tp->fname, dname, dlen); 1129 tp->fname[dlen] = '/'; 1132 memcpy(tp->fname [all...] |
/freebsd-current/contrib/dma/ |
H A D | util.c | 300 open_locked(const char *fname, int flags, ...) argument 314 fd = open(fname, flags, mode); 325 return(open(fname, flags|O_EXLOCK, mode));
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/ |
H A D | zfs_rollback_common.kshlib | 37 function getsum #fname 107 eval typeset fname=\$TESTDIR/\$TESTFILE$ind 112 eval typeset fname=\$TESTDIR1/\$TESTFILE$ind 117 log_must cp /etc/passwd $fname
|
/freebsd-current/include/xlocale/ |
H A D | _ctype.h | 90 #define XLOCALE_ISCTYPE(fname, cat) \ 91 _XLOCALE_INLINE int isw##fname##_l(int, locale_t);\ 92 _XLOCALE_INLINE int isw##fname##_l(int __c, locale_t __l)\
|
/freebsd-current/tools/regression/fsx/ |
H A D | fsx.c | 100 char *fname; /* name of our test file */ variable 342 fname, fname); 777 fd = open(fname, O_RDWR, 0); 906 "fsx [-dnqLOW] [-b opnum] [-c Prob] [-l flen] [-m start:end] [-o oplen] [-p progressinterval] [-r readbdy] [-s style] [-t truncbdy] [-w writebdy] [-D startingop] [-N numops] [-P dirpath] [-S seed] fname\n\ 930 fname: this filename is REQUIRED (no default)\n"); 1141 fname = argv[0]; 1156 fd = open(fname, O_RDWR|(lite ? 0 : O_CREAT|O_TRUNC), 0666); 1158 prterr(fname); 1161 strncat(goodfile, fname, 25 [all...] |
/freebsd-current/usr.sbin/nfsdumpstate/ |
H A D | nfsdumpstate.c | 177 dump_lockstate(char *fname) argument 187 dumplocklist.ndllck_fname = fname; 189 errx(1, "Can't dump locks for %s\n", fname);
|
/freebsd-current/usr.bin/touch/ |
H A D | touch.c | 389 stime_file(const char *fname, struct timespec *tsp) argument 393 if (stat(fname, &sb)) 394 err(1, "%s", fname);
|
/freebsd-current/contrib/byacc/ |
H A D | main.c | 684 char *fname; local 691 if ((fname = strrchr(temp, '/')) != 0) 694 dname[++fname - temp] = '\0'; 699 fname = temp; 701 if ((name = tempnam(dname, fname)) != 0)
|
/freebsd-current/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransUnbridgedCasts.cpp | 148 StringRef fname = FD->getIdentifier()->getName(); local 149 if (fname.ends_with("Retain") || fname.contains("Create") || 150 fname.contains("Copy")) { 170 if (fname.contains("Get")) {
|
/freebsd-current/usr.sbin/nscd/ |
H A D | parser.c | 369 const char *fname, char const **error_str, int *error_line) 380 assert(fname != NULL); 382 fin = fopen(fname, "r"); 539 fname, line_num); 543 "%s on line %d", fname, line_num); 368 parse_config_file(struct configuration *config, const char *fname, char const **error_str, int *error_line) argument
|