/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | policy_db.h | 56 char *filename; member in struct:_osa_adb_db_lock_ent_t 66 char *filename; member in struct:_osa_adb_db_ent_t 81 krb5_error_code osa_adb_create_db(char *filename, char *lockfile, int magic); 82 krb5_error_code osa_adb_destroy_db(char *filename, char *lockfile, int magic); 85 krb5_error_code osa_adb_init_db(osa_adb_db_t *dbp, char *filename,
|
H A D | adb_openclose.c | 50 krb5_error_code osa_adb_create_db(char *filename, char *lockfilename, argument 65 db = dbopen(filename, O_RDWR | O_CREAT | O_EXCL, 0600, DB_BTREE, &btinfo); 80 krb5_error_code osa_adb_destroy_db(char *filename, char *lockfilename, argument 84 if (unlink(filename) < 0 || 138 krb5_error_code osa_adb_init_db(osa_adb_db_t *dbp, char *filename, argument 146 if (dbp == NULL || filename == NULL) 197 if (strcmp(lockp->lockinfo.filename, lockfilename) == 0) 225 lockp->lockinfo.filename = strdup(lockfilename); 245 db->filename = strdup(filename); [all...] |
/illumos-gate/usr/src/common/net/wanboot/ |
H A D | p12access.c | 186 * filename - Name of file with the client certificate. 194 sunw_p12_use_certfile(SSL_CTX *ctx, char *filename, char *passwd) argument 201 if (ctx == NULL || filename == NULL) { 206 p12 = p12_read_file(filename); 240 * filename - Name of file with private key. 248 sunw_p12_use_keyfile(SSL_CTX *ctx, char *filename, char *passwd) argument 255 if (ctx == NULL || filename == NULL) { 260 p12 = p12_read_file(filename); 298 * filename - Name of file with the certificates. 306 sunw_p12_use_trustfile(SSL_CTX *ctx, char *filename, cha argument 355 p12_read_file(char *filename) argument 443 checkfile(char *filename) argument [all...] |
/illumos-gate/usr/src/cmd/make/lib/vroot/ |
H A D | report.cc | 205 report_dep(char *iflag, char *filename) argument 219 strcpy(sfile, filename); 236 char filename[MAXPATHLEN]; local 244 sprintf(filename, "%s-%s", ptr+1, flag); 246 report_dep(lib, filename); 256 char filename[MAXPATHLEN]; local 269 sprintf(filename, "%s-CPP", ptr+1); 277 report_dep(newiflag, filename); 279 report_dep(iflag, filename); 286 register char *filename; local [all...] |
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | boot_plat.c | 73 int openfile(char *filename); 86 * filename is the name of the standalone we're going to execute. 88 char filename[MAXPATHLEN]; variable 106 * Copy filename and bargs into v2args_buf, which will be exported as the 111 set_client_bootargs(const char *filename, const char *bargs) argument 116 s = filename; 173 printf("Enter filename [%s]: ", bootfile); 241 * Open the given filename, expanding to it's 249 openfile(char *filename) argument 269 if (*filename [all...] |
H A D | boot_plat.h | 45 extern char filename[]; 82 extern void set_default_filename(char *filename);
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | cddlchk.py | 53 '%s: %s\n' % (e.filename, e.strerror)) 68 def match(self, filename): 69 if os.path.isdir(filename): 70 return filename in self.dirs 72 if filename in self.files: 76 if fnmatch.fnmatch(filename, pat): 92 def check(filename, opts): 94 fh = open(filename, 'r') 97 (e.filename, e.strerror))
|
H A D | mapfilechk.py | 53 '%s: %s\n' % (e.filename, e.strerror)) 68 def match(self, filename): 69 if os.path.isdir(filename): 70 return filename in self.dirs 72 if filename in self.files: 76 if fnmatch.fnmatch(filename, pat): 91 def check(filename, opts): 93 fh = open(filename, 'r') 96 (e.filename, e.strerror))
|
/illumos-gate/usr/src/cmd/allocate/ |
H A D | dminfo.c | 87 "Usage: %s [-v] [-a] [-f filename] %s\n", 91 " %s [-v] [-a] [-f filename] %s\n", 95 " %s [-v] [-a] [-f filename] %s\n", 99 " %s [-v] [-a] [-f filename] %s\n", 115 char *filename = DMPFILE; local 161 filename = *argv; 201 setdmapfile(filename); 255 if ((des = open(filename, O_RDWR)) < 0) { 259 filename); 278 gettext("dmapinfo: Cannot lock %s\n"), filename); [all...] |
/illumos-gate/usr/src/cmd/fwflash/common/ |
H A D | fwflash.c | 78 static int fwflash_update(char *device, char *filename, int flags); 79 static int fwflash_read_file(char *device, char *filename); 373 if ((tmpplug->filename = calloc(1, strlen(plugname) + 1)) 377 "filename %s:%s\n"), 383 (void) strlcpy(tmpplug->filename, plugname, 454 tmpplug->filename); 477 if ((tmpelem->filename = calloc(1, 478 strlen(tmpplug->filename) + 1)) == NULL) { 481 "filename %s\n"), 482 strlen(tmpplug->filename) 524 char *fwvrfydirpath, *tempdirpath, *filename; local 873 fwflash_update(char *device, char *filename, int flags) argument 1007 fwflash_read_file(char *device, char *filename) argument [all...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/sys5/ |
H A D | assert.c | 46 _assert(char *assertion, char *filename, int line_num) argument 59 WRITESTR(", file ", 7, filename);
|
/illumos-gate/usr/src/cmd/localedef/ |
H A D | mkwidths.py | 50 def do_width_file(width, filename): 55 for line in open(filename).readlines():
|
/illumos-gate/usr/src/common/ficl/ficlplatform/ |
H A D | unix.c | 60 ficlFileStatus(char *filename, int *status) argument 64 if (stat(filename, &statbuf) == 0) {
|
/illumos-gate/usr/src/cmd/unpack/ |
H A D | unpack.c | 34 * Usage: pcat filename... 35 * or unpack filename... 61 static char filename[MAXPATHLEN]; variable 112 "%s: %s: read error: "), argv0, filename); 134 "%s: %s: not in packed format\n"), argv0, filename); 185 argv0, filename); 193 argv0, filename); 339 cp = filename; 341 /* copy argv[k] to filename and count chars in base name */ 345 /* add .z suffix to filename */ [all...] |
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | ldpart.c | 56 char filename[PATH_MAX]; local 67 (void) snprintf(filename, sizeof (filename), "%s/%s/%s/LCL_DATA", 70 if ((fd = open(filename, O_RDONLY)) < 0)
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | getlist.c | 73 names(filename) 74 char *filename; 83 fyle = fopen(filename, "r"); 103 "file %s bad malloc %s\n", filename, name);
|
/illumos-gate/usr/src/cmd/sgs/nm/common/ |
H A D | nm.c | 387 * Takes a filename as input. Test first for a valid version 400 each_file(char *filename) argument 410 if (stat64(filename, &buf) == -1) { 412 perror(filename); 419 prog_name, filename); 423 if ((fd = open((filename), O_RDONLY)) == -1) { 425 prog_name, filename); 432 "%s: %s: %s\n", prog_name, filename, elf_errmsg(-1)); 439 print_ar_files(fd, elf_file, filename); 448 (void) printf("\n\n%s:\n\n", filename); 488 process(Elf *elf_file, char *filename) argument 534 get_symtab(Elf *elf_file, char *filename) argument 595 print_ar_files(int fd, Elf * elf_file, char *filename) argument 668 print_symtab(Elf *elf_file, unsigned int shstrndx, Elf_Scn *p_sd, GElf_Shdr *shdr, char *filename) argument [all...] |
/illumos-gate/usr/src/cmd/tsol/getlabel/ |
H A D | getlabel.c | 46 get_label(char *filename, uint_t opt_flag) argument 54 } else if (getlabel(filename, fl) != 0) { 55 perror(filename); 60 (void) printf("%s:\t", filename); 98 (void) fprintf(stderr, gettext("\t%s [-S | -s] filename ...\n"),
|
/illumos-gate/usr/src/stand/sys/ |
H A D | bootvfs.h | 56 int (*fsw_open)(char *filename, int flags); 73 extern int open(const char *filename, int flags); 78 extern int stat(const char *filename, struct stat *buf); 88 extern int kern_open(char *filename, int flags);
|
/illumos-gate/usr/src/test/zfs-tests/cmd/readmmap/ |
H A D | readmmap.c | 31 * Usage: readmmap <filename> 34 * filename is an absolute path to the file name. 51 char *filename = "badfile"; local 70 filename = argv[optind]; 72 (void) remove(filename); 74 fd = open(filename, O_RDWR|O_CREAT|O_TRUNC, 0666);
|
/illumos-gate/usr/src/cmd/lp/model/netpr/ |
H A D | misc.c | 43 check_file(char * filename) argument 47 if (filename == NULL) 51 if (access(filename, R_OK) < 0) 54 if (stat(filename, &status) < 0)
|
/illumos-gate/usr/src/cmd/sgs/dump/common/ |
H A D | dump.c | 211 print_static(SCNTAB *l_scns, char *filename) argument 220 (void) printf("\n%s:\n", filename); 284 GElf_Ehdr * p_ehdr, size_t reloc_size, size_t sym_size, char *filename, 319 "offset - %d - in %s\n", prog_name, filename, 389 GElf_Ehdr *p_ehdr, size_t reloc_size, size_t sym_size, char *filename, 424 "offset - %d - in %s\n", prog_name, filename, 510 * section in the file, and the filename. The number of sections, 641 * section in the file, and the filename. The values of the SCNTAB 715 * and the filename. Negative numbers and numbers greater 721 check_range(int low, int hi, size_t bound, char *filename) argument 283 print_rela(Elf *elf_file, SCNTAB *p_scns, Elf_Data *rdata, Elf_Data *sym_data, GElf_Ehdr * p_ehdr, size_t reloc_size, size_t sym_size, char *filename, SCNTAB *reloc_symtab) argument 388 print_rel(Elf *elf_file, SCNTAB *p_scns, Elf_Data *rdata, Elf_Data *sym_data, GElf_Ehdr *p_ehdr, size_t reloc_size, size_t sym_size, char *filename, SCNTAB *reloc_symtab) argument 761 dump_reloc_table(Elf *elf_file, GElf_Ehdr *p_ehdr, SCNTAB *p_scns, int num_scns, char *filename) argument 974 dump_symbol_table(Elf *elf_file, SCNTAB *p_symtab, char *filename) argument 1071 dump_dynamic(Elf *elf_file, SCNTAB *p_scns, int num_scns, char *filename) argument 1329 dump_elf_header(Elf *elf_file, char *filename, GElf_Ehdr * elf_head_p) argument 1467 print_section(Elf *elf_file, GElf_Ehdr *p_ehdr, SCNTAB *p, int num_scns, char *filename) argument 1534 dump_section(Elf *elf_file, GElf_Ehdr *p_ehdr, SCNTAB *s, int num_scns, char *filename) argument 1585 dump_shdr(Elf *elf_file, SCNTAB *s, int num_scns, char *filename) argument 1653 dump_section_table(Elf *elf_file, GElf_Ehdr *elf_head_p, char *filename) argument 1743 load_arstring_table(struct stab_list_s *STabList, int fd, Elf *elf_file, Elf_Arhdr *p_ar, char *filename) argument 1791 dump_ar_hdr(int fd, Elf *elf_file, char *filename) argument 1878 dump_ar_files(int fd, Elf *elf_file, char *filename) argument 1943 each_file(char *filename) argument 1989 filename); local [all...] |
/illumos-gate/usr/src/cmd/cron/ |
H A D | permit.c | 95 within(username, filename) 96 char *username, *filename; 102 if ((cap = fopen(filename, "r")) == NULL)
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | test.c | 103 ** filename -- guess... 111 sm_test(success, expr, filename, lineno) 114 char *filename; 125 (void) fprintf(stderr, "bad! %s:%d %s\n", filename, lineno,
|
/illumos-gate/usr/src/cmd/fs.d/ufs/lockfs/ |
H A D | lockfs.c | 80 struct filename { struct 81 struct filename *fn_next; 84 struct filename *fnanchor = 0; 130 struct filename *fnp; 202 * for each filename, doit 423 struct filename *fnp; 424 struct filename *fnpc; 439 fnp = (struct filename *)malloc(sizeof (struct filename)); 458 struct filename *fn [all...] |