/netbsd/external/apache2/llvm/dist/libcxx/utils/ |
H A D | graph_header_deps.py | 39 for fname in files: 42 elif ('.' in fname and not fname.endswith('.h')): 50 assert os.path.exists(fname) 110 for fname in frontier: 112 graph[fname] = build_file_entry(fname, options) 113 graph[fname].is_graph_root = (fname in original_roots) 120 def get_friendly_id(fname): argument 123 result = fname[i+8:] 191 def should_keep(fname): argument 200 graph[fname].includes = [h for h in graph[fname].includes if should_keep(h)] [all …]
|
/netbsd/external/gpl3/binutils/dist/gprof/ |
H A D | source.c | 67 const char *fname; in source_file_lookup_name() local 78 if (fname) in source_file_lookup_name() 79 ++fname; in source_file_lookup_name() 81 fname = sf->name; in source_file_lookup_name() 100 char *fname; in annotate_source() local 120 free (fname); in annotate_source() 151 if (fname[strlen (fname) - 1] == ':') in annotate_source() 154 strcat (fname, "/"); in annotate_source() 223 perror (fname); in annotate_source() 224 free (fname); in annotate_source() [all …]
|
/netbsd/external/bsd/pkg_install/dist/delete/ |
H A D | pkg_delete.c | 173 free(fname); in process_required_by() 179 free(fname); in process_required_by() 182 free(fname); in process_required_by() 317 char *fname; in find_new_leaves_iter() local 323 free(fname); in find_new_leaves_iter() 326 free(fname); in find_new_leaves_iter() 370 char *fname; in find_preserve_pkgs() local 439 free(fname); in run_deinstall_script() 513 free(fname); in remove_depend() 536 free(fname); in remove_pkg() [all …]
|
/netbsd/external/gpl2/dtc/dist/ |
H A D | srcpos.c | 51 int i, len = strlen(fname); in set_initial_path() 76 int restlen = strlen(fname) - (p1 - fname); in shorten_to_initial_path() 107 fullname = xstrdup(fname); in try_open() 153 if (streq(fname, "-")) { in srcfile_relative_open() 295 fname = pos->file->name; in srcpos_string() 329 fname = "<no-file>"; in srcpos_string_comment() 331 fname = "<no-filename>"; in srcpos_string_comment() 333 fname = pos->file->name; in srcpos_string_comment() 336 if (fname) in srcpos_string_comment() 339 fname = pos->file->name; in srcpos_string_comment() [all …]
|
/netbsd/external/gpl3/gdb/dist/gprof/ |
H A D | source.c | 67 const char *fname; in source_file_lookup_name() local 78 if (fname) in source_file_lookup_name() 79 ++fname; in source_file_lookup_name() 81 fname = sf->name; in source_file_lookup_name() 100 char fname[PATH_MAX]; in annotate_source() local 107 strcpy (fname, sf->name); in annotate_source() 116 sf->name, fname)); in annotate_source() 147 if (fname[strlen (fname) - 1] == ':') in annotate_source() 148 strcat (fname, "."); in annotate_source() 150 strcat (fname, "/"); in annotate_source() [all …]
|
/netbsd/external/gpl3/binutils.old/dist/gprof/ |
H A D | source.c | 67 const char *fname; in source_file_lookup_name() local 78 if (fname) in source_file_lookup_name() 79 ++fname; in source_file_lookup_name() 81 fname = sf->name; in source_file_lookup_name() 100 char fname[PATH_MAX]; in annotate_source() local 107 strcpy (fname, sf->name); in annotate_source() 116 sf->name, fname)); in annotate_source() 147 if (fname[strlen (fname) - 1] == ':') in annotate_source() 148 strcat (fname, "."); in annotate_source() 150 strcat (fname, "/"); in annotate_source() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gprof/ |
H A D | source.c | 67 const char *fname; in source_file_lookup_name() local 78 if (fname) in source_file_lookup_name() 79 ++fname; in source_file_lookup_name() 81 fname = sf->name; in source_file_lookup_name() 100 char fname[PATH_MAX]; in annotate_source() local 107 strcpy (fname, sf->name); in annotate_source() 116 sf->name, fname)); in annotate_source() 147 if (fname[strlen (fname) - 1] == ':') in annotate_source() 148 strcat (fname, "."); in annotate_source() 150 strcat (fname, "/"); in annotate_source() [all …]
|
/netbsd/external/bsd/openldap/dist/libraries/librewrite/ |
H A D | config.c | 33 const char *fname, 53 const char *fname, in rewrite_parse() argument 73 fname, lineno ); in rewrite_parse() 80 fname, lineno ); in rewrite_parse() 93 fname, lineno ); in rewrite_parse() 105 fname, lineno ); in rewrite_parse() 119 fname, lineno ); in rewrite_parse() 134 fname, lineno ); in rewrite_parse() 150 fname, lineno ); in rewrite_parse() 387 const char *fname, in rewrite_parse_builtin_map() argument [all …]
|
/netbsd/external/gpl3/binutils/dist/gprofng/libcollector/ |
H A D | iolib.c | 157 char fname[MAXPATHLEN]; in __collector_create_handle() local 158 CALL_UTIL (strlcpy)(fname, __collector_exp_dir_name, sizeof (fname)); in __collector_create_handle() 159 CALL_UTIL (strlcat)(fname, "/", sizeof (fname)); in __collector_create_handle() 179 CALL_UTIL (strlcat)(fname, "data.", sizeof (fname)); in __collector_create_handle() 193 CALL_UTIL (strlcat)(fname, desc, sizeof (fname)); in __collector_create_handle() 217 CALL_UTIL (strlcpy)(hndl->fname, fname, sizeof (hndl->fname)); in __collector_create_handle() 308 fname, hndl->nflow, NCHUNKS, in __collector_create_handle() 318 fname, hndl->nflow, NCHUNKS, in __collector_create_handle() 629 hndl->fname); in remapBlock() 692 1, hndl->fname); in remapBlock() [all …]
|
/netbsd/sys/arch/mmeye/stand/boot/ |
H A D | devopen.c | 56 if (fname == NULL) in devparse() 65 devlen = col - fname; in devparse() 74 devname[i] = fname[i]; in devparse() 78 if (!isnum(fname[i])) in devparse() 83 u = u * 10 + (fname[i] - '0'); in devparse() 85 if (!isalpha(fname[i])) in devparse() 91 p = fname[i++] - 'a'; in devparse() 108 fname = ++col; in devparse() 111 if (*fname) in devparse() 112 *file = fname; in devparse() [all …]
|
/netbsd/sys/arch/cobalt/stand/boot/ |
H A D | devopen.c | 56 if (fname == NULL) in devparse() 65 devlen = col - fname; in devparse() 74 devname[i] = fname[i]; in devparse() 85 if (!isnum(fname[i])) in devparse() 90 u = u * 10 + (fname[i] - '0'); in devparse() 92 if (!isalpha(fname[i])) in devparse() 98 p = fname[i++] - 'a'; in devparse() 116 fname = ++col; in devparse() 119 if (*fname) in devparse() 120 *file = fname; in devparse() [all …]
|
/netbsd/external/bsd/pkg_install/dist/lib/ |
H A D | file.c | 65 fexists(const char *fname) in fexists() argument 68 if (!lstat(fname, &dummy)) in fexists() 77 isdir(const char *fname) in isdir() argument 91 islinktodir(const char *fname) in islinktodir() argument 125 isemptydir(const char *fname) in isemptydir() argument 127 if (isdir(fname) || islinktodir(fname)) { in isemptydir() 131 dirp = opendir(fname); in isemptydir() 150 isfile(const char *fname) in isfile() argument 163 isemptyfile(const char *fname) in isemptyfile() argument 194 URLlength(const char *fname) in URLlength() argument [all …]
|
/netbsd/external/bsd/cron/dist/ |
H A D | database.c | 42 const char *fname; member 101 if (len == 0 || len >= sizeof(fname)) { in process_dir() 111 (void)strlcpy(fname, dp->d_name, sizeof(fname)); in process_dir() 116 if ((p = strrchr(fname, '.')) != NULL && in process_dir() 124 log_it(fname, getpid(), "ORPHAN", in process_dir() 130 sp->fname ? sp->fname : fname, in process_dir() 257 if (strcmp(fname, "*system*") == 0) { in process_crontab() 302 Debug(DLOAD, ("\t%s:", fname)); in process_crontab() 303 u = find_user(old_db, fname); in process_crontab() 325 log_it(fname, getpid(), "RELOAD", tabname); in process_crontab() [all …]
|
/netbsd/external/gpl3/gdb/dist/zlib/contrib/untgz/ |
H A D | untgz.c | 98 char *fname; member 206 int setfiletime (char *fname,time_t ftime) in setfiletime() argument 246 return utime(fname,&settime); in setfiletime() 260 item->fname = strdup(fname); in push_attr() 276 setfiletime(item->fname,item->time); in restore_attr() 277 chmod(item->fname,item->mode); in restore_attr() 377 if (ExprMatch(fname,argv[arg++])) in matchname() 394 char fname[BLOCKSIZE]; in tar() local 464 makedir(fname); in tar() 514 if (fname[BLOCKSIZE-1] != 0 || (int)strlen(fname) > remaining) in tar() [all …]
|
/netbsd/external/gpl3/binutils/dist/zlib/contrib/untgz/ |
H A D | untgz.c | 98 char *fname; member 206 int setfiletime (char *fname,time_t ftime) in setfiletime() argument 246 return utime(fname,&settime); in setfiletime() 260 item->fname = strdup(fname); in push_attr() 276 setfiletime(item->fname,item->time); in restore_attr() 277 chmod(item->fname,item->mode); in restore_attr() 377 if (ExprMatch(fname,argv[arg++])) in matchname() 394 char fname[BLOCKSIZE]; in tar() local 464 makedir(fname); in tar() 514 if (fname[BLOCKSIZE-1] != 0 || (int)strlen(fname) > remaining) in tar() [all …]
|
/netbsd/external/gpl3/binutils.old/dist/zlib/contrib/untgz/ |
H A D | untgz.c | 98 char *fname; member 206 int setfiletime (char *fname,time_t ftime) in setfiletime() argument 246 return utime(fname,&settime); in setfiletime() 260 item->fname = strdup(fname); in push_attr() 276 setfiletime(item->fname,item->time); in restore_attr() 277 chmod(item->fname,item->mode); in restore_attr() 377 if (ExprMatch(fname,argv[arg++])) in matchname() 394 char fname[BLOCKSIZE]; in tar() local 464 makedir(fname); in tar() 514 if (fname[BLOCKSIZE-1] != 0 || (int)strlen(fname) > remaining) in tar() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/zlib/contrib/untgz/ |
H A D | untgz.c | 98 char *fname; member 206 int setfiletime (char *fname,time_t ftime) in setfiletime() argument 246 return utime(fname,&settime); in setfiletime() 260 item->fname = strdup(fname); in push_attr() 276 setfiletime(item->fname,item->time); in restore_attr() 277 chmod(item->fname,item->mode); in restore_attr() 377 if (ExprMatch(fname,argv[arg++])) in matchname() 394 char fname[BLOCKSIZE]; in tar() local 464 makedir(fname); in tar() 514 if (fname[BLOCKSIZE-1] != 0 || (int)strlen(fname) > remaining) in tar() [all …]
|
/netbsd/common/dist/zlib/contrib/untgz/ |
H A D | untgz.c | 98 char *fname; member 206 int setfiletime (char *fname,time_t ftime) in setfiletime() argument 246 return utime(fname,&settime); in setfiletime() 260 item->fname = strdup(fname); in push_attr() 276 setfiletime(item->fname,item->time); in restore_attr() 277 chmod(item->fname,item->mode); in restore_attr() 377 if (ExprMatch(fname,argv[arg++])) in matchname() 394 char fname[BLOCKSIZE]; in tar() local 464 makedir(fname); in tar() 514 if (fname[BLOCKSIZE-1] != 0 || (int)strlen(fname) > remaining) in tar() [all …]
|
/netbsd/usr.bin/mail/ |
H A D | mime_detach.c | 98 char *fname; in detach_get_fname() local 100 fname = my_gets(&elm.filec, prompt, pathname); in detach_get_fname() 101 if (fname == NULL) /* ignore this attachment */ in detach_get_fname() 103 (void)strip_WSP(fname); in detach_get_fname() 104 fname = skip_WSP(fname); in detach_get_fname() 136 partstr, fname); in detach_open_core() 150 if (Fopen(fname, "wef") != NULL) in detach_open_core() 169 warn("%s", fname); in detach_open_core() 217 char *fname; in detach_open_target() local 231 switch (detach_open_core(fname, partstr)) { in detach_open_target() [all …]
|
/netbsd/external/bsd/openldap/dist/servers/slapd/ |
H A D | aclparse.c | 84 const char *fname, in slap_dynacl_config() argument 166 fname, lineno, pat ); in regtest() 328 const char *fname, in parse_acl() argument 366 fname, lineno ); in parse_acl() 571 fname, in parse_acl() 582 fname, in parse_acl() 593 fname, in parse_acl() 691 fname, lineno ); in parse_acl() 702 fname, lineno ); in parse_acl() 1882 fname, lineno ); in parse_acl() [all …]
|
/netbsd/usr.bin/msgs/ |
H A D | msgs.c | 251 snprintf(fname, sizeof (fname), "%s/%s", _PATH_MSGS, BOUNDS); in main() 344 perror(fname); in main() 349 snprintf(fname, sizeof (fname), "%s/%d", _PATH_MSGS, nextmsg); in main() 414 snprintf(fname, sizeof (fname), "%s/%s", home, MSGSRC); in main() 436 perror(fname); in main() 481 snprintf(fname, sizeof (fname), "%s/%d", _PATH_MSGS, msg); in main() 682 unlink(fname); in onintr() 684 unlink(fname); in onintr() 764 snprintf(fname, sizeof (fname), "%s/%d", _PATH_MSGS, cmsg); in ask() 784 strlcpy(fname, "Messages", sizeof(fname)); in ask() [all …]
|
/netbsd/usr.bin/sed/ |
H A D | main.c | 97 char *fname; member 264 fname = script->s; in cu_fgets() 273 fname = string_ident; in cu_fgets() 356 fname = "stdin"; in mf_fgets() 417 fname = files->fname; in mf_fgets() 420 err(1, "%s", fname); in mf_fgets() 426 strlcpy(oldfname, fname, in mf_fgets() 445 err(1, "%s", fname); in mf_fgets() 458 warn("%s", fname); in mf_fgets() 473 err(1, "%s", fname); in mf_fgets() [all …]
|
/netbsd/external/gpl2/xcvs/dist/src/ |
H A D | logmsg.c | 44 char *fname; member 203 char *fname; in do_editor() local 295 run_add_arg (fname); in do_editor() 302 fp = xfopen (fname, "r"); in do_editor() 396 free (fname); in do_editor() 424 data.fname = NULL; in do_verify() 431 if (data.fname != NULL && unlink_file( data.fname ) < 0) in do_verify() 433 free (data.fname); in do_verify() 442 if (data.fname == NULL) in do_verify() 511 free (data.fname); in do_verify() [all …]
|
/netbsd/external/bsd/nsd/dist/contrib/bind2nsd/bind2nsd/ |
H A D | Config.py | 53 self.fname = '' 102 fname = '' 104 self.fname = 'bind2nsd.conf' 107 if os.path.exists(fname): 108 self.fname = fname 111 self.fname = '/etc/bind2nsd/bind2nsd.conf' 116 if self.fname != '': 117 fd = open(self.fname, 'r') 138 fname = self.config['password_file'] 139 if os.path.exists(fname): [all …]
|
/netbsd/crypto/external/bsd/openssl.old/dist/tools/ |
H A D | c_rehash.in | 148 my ($cert, $crl) = check_file($fname); 153 link_hash_cert($fname) if ($cert); 154 link_hash_crl($fname) if ($crl); 162 my $fname = $_[0]; 164 open(my $in, "<", $fname); 216 my ($fname, $type) = @_; 223 "-in", $fname); 243 print "link $fname -> $hash\n" if $verbose; 244 symlink $fname, $hash || warn "Can't symlink, $!"; 246 print "copy $fname -> $hash\n" if $verbose; [all …]
|