/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | disable.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 44 char *name; local 46 if ((name = strrchr(program, '/')) == NULL) 47 name = program; 49 name++; 53 name);
|
H A D | lp.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 47 char *name; local 49 if ((name = strrchr(program, '/')) == NULL) 50 name = program; 52 name++; 56 "[-f form-name] [-H special-handling] [-n number] " 60 name); 198 "job-name", optarg); 309 "printer-name", &printer);
|
H A D | lpmove.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 40 char *name; local 42 if ((name = strrchr(program, '/')) == NULL) 43 name = program; 45 name++; 49 " %s (source) (destination)\n"), name, name);
|
H A D | lpr.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 48 char *name; local 50 if ((name = strrchr(program, '/')) == NULL) 51 name = program; 53 name++; 60 "[-filter_option] [file ..]\n"), name); 108 "job-name", optarg);
|
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/ |
H A D | PrinterUtil.java | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 72 // Get the default printer for a specified name space 161 // Get a list of printers in the specified name service. 181 // name service 184 String name, 190 return (DoPrinterUtil.exists(name, nsname)); 183 exists( String name, NameService ns) argument
|
/illumos-gate/usr/src/cmd/rcap/rcapd/ |
H A D | rcapd_collection.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 77 lcollection_insert_update(rcid_t *colidp, uint64_t rss_cap, char *name, argument 105 "project" : "zone"), name); 111 debug("added collection %s\n", name); 121 * Set/update the collection's name. 123 (void) strlcpy(lcol->lcol_name, name, sizeof (lcol->lcol_name)); 142 lcollection_update_notification_cb(char *col_type, char *name, int changes, argument 153 debug("%s %s: %s\n", col_type, name, 156 debug("%s %s: cap: %llukB\n", col_type, name,
|
H A D | rcapd_rfd.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 152 rfd_open(char *name, int revoke_ok, rfd_class_t class, argument 158 while ((fd = open(name, oflag, mode)) == -1 && (errno == ENFILE ||
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | hunt7.c | 35 static char name[100] = ""; local 73 if (strcmp(name, in) != 0 || 1) { 75 fprintf(stderr, "old: %s new %s not equal\n", name, in); 89 strcpy(name, in); 93 if (strcmp(*ftp, name) == SAME) 95 strcpy(*fgnamp++ = fgp, name); 105 name); 111 name, in, fa);
|
H A D | mkey2.c | 33 dofile(FILE *f, char *name) argument 53 chkey(c, name); 61 chkey(c, name); 130 chkey(int c, char *name) argument 145 printf("%s:%ld,%ld\t", name, 148 printf("%s\t", name);
|
/illumos-gate/usr/src/cmd/regcmp/ |
H A D | regcmp.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 54 char *name, *str, *v; local 104 name = a2; 111 *name++ = c; 112 while (((*name++ = c = getc(iobuf)) != ' ') && 114 *--name = '\0';
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 68 return (gettext("servergroup name missing")); 70 return (gettext("rule name missing or specified" 73 return (gettext("server name missing or specified" 137 Usage(char *name) argument 140 print_cmdlist_short(basename(name), stderr); 145 print_version(char *name) argument 147 (void) printf("%s %s\n", basename(name), ILBADM_VERSION); 160 incomplete_cmdline(char *name) argument 164 Usage(name); 168 bad_importfile(char *name, char *filename) argument [all...] |
/illumos-gate/usr/src/cmd/dfs.cmds/dfshares/ |
H A D | dfshares.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 60 * cmd name, , -h, -o, opts, (char *)0 terminator 74 char *fsname = NULL; /* file system name */ 169 if (fsname) { /* generate fs specific command name */ 172 "%s: invalid file system name\n", cmd); 195 * invalid(name, f) - return non-zero if name is not in 200 invalid(const char *name, /* file system name */ argument 206 if (strcmp(s, name) [all...] |
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_dl.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 100 dl_findsym(kmdb_modctl_t *kmc, const char *name) argument 105 if (mdb_gelf_symtab_lookup_by_name(kmc->kmc_symtab, name, &sym, 114 dlsym(void *dlp, const char *name) argument 124 if ((addr = dl_findsym(MDB_NV_COOKIE(v), name)) != NULL) 135 addr = dl_findsym(kmc, name);
|
H A D | kmdb_module_load.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 247 mdb_module_unload(const char *name, int mode) argument 254 * We may have been called with the name from the module itself 256 * to make a copy of the name. If we don't, we can't use it after 259 name = strdup(name); 260 basename = strbasename(name); 283 if (mdb_module_unload_common(name) < 0) { 286 name);
|
H A D | kmdb_promio.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 186 kmdb_promio_create(char *name) argument 190 ihandle_t hdl = kmdb_prom_get_handle(name); 198 (void) strlcpy(pdp->pio_name, name, MAXPATHLEN);
|
H A D | kmdb_terminfo_skel.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 78 setupterm(char *name, int fd, int *err) argument 81 if (strcmp(tdp->td_name, name) == 0) 90 restartterm(char *name, int fd, int *err) argument 95 if ((status = setupterm(name, fd, err)) != OK) 102 tigetstr(const char *name) argument 107 if (strcmp(tap->ta_name, name) == 0) { 120 tigetflag(const char *name) argument 125 if (strcmp(tap->ta_name, name) == 0) { 137 tigetnum(const char *name) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_pservice.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 153 * Search for a symbol by name and return the corresponding address. 157 const char *name, psaddr_t *symp) 163 return (ps_ops.ps_pglobal_lookup(P, object, name, symp)); 165 if (mdb_tgt_lookup_by_name(t, object, name, &sym, NULL) == 0) { 174 * Search for a symbol by name and return the corresponding symbol data. 182 const char *name, ps_sym_t *symp) 189 return (ps_ops.ps_pglobal_sym(P, object, name, symp)); 191 if (mdb_tgt_lookup_by_name(t, object, name, &sym, NULL) == 0) { 204 return (ps_ops.ps_pglobal_sym(P, object, name, sym 156 ps_pglobal_lookup(struct ps_prochandle *P, const char *object, const char *name, psaddr_t *symp) argument 181 ps_pglobal_sym(struct ps_prochandle *P, const char *object, const char *name, ps_sym_t *symp) argument [all...] |
/illumos-gate/usr/src/cmd/filesync/ |
H A D | acls.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 50 static int acl(const char *name, int opcode, int count, aclent_t *acls) argument 64 * name of file 71 get_acls(const char *name, struct fileinfo *ip) argument 77 count = acl(name, GETACL, MAX_ACL_ENTRIES, acls); 163 * name of file 170 set_acls(const char *name, struct fileinfo *fp) argument 200 rc = acl(name, SETACL, nacl, list);
|
H A D | debug.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 50 * a flaglist is merely a list of paired bits and name strings. 209 * registry that specifies a file name and an operation, and an errno 245 char *file; /* file name triggering error */ 286 /* get the file name */ 314 * file name 320 dbg_chk_error(const char *name, char code) argument 328 /* see if this also matches the file name */ 329 if (!suffix(name, errsim[i].file)) 335 errsim[i].Errno, code, name); 355 dbg_chk_error(const char *name, char code) argument [all...] |
H A D | files.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 32 * qualify ... ensure that a name is fully qualified 33 * expand ... expand env variables within a string or file name 34 * noblanks .. ensure that a name contains no embdded unescaped blanks 36 * wildcards . see whether or not a name contains wild cards 41 * cannonize (static) ... compress redundant "." and ".." out of name 61 static void cannonize(char *name); 68 * to fully qualify a name 71 * name to be qualified 87 qualify(char *name) argument 162 expand(char *name) argument 266 noblanks(const char *name) argument 427 wildcards(const char *name) argument 478 cannonize(char *name) argument [all...] |
H A D | ignore.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 33 * ignore_file .... add a specific file name to be ignored 90 * determine whether or not a particular name matches an ignore pattern. 93 * file name 103 * that a name will match any expression. Most expressions have 108 ignore_check(const char *name) argument 115 for (s = name; *s; s++); 121 if (ign_hash(name, 0)) { 123 fprintf(stderr, "IGNO: match %s\n", name); 129 if (gmatch(name, l 152 ignore_file(const char *name) argument 255 ign_hash(const char *name, int alloc) argument 297 cheap_check(const char *name) argument [all...] |
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_buf.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 37 fmd_buf_alloc(const char *name, size_t size) argument 41 bp->buf_name = fmd_strdup(name, FMD_SLEEP); 117 fmd_buf_insert(fmd_buf_hash_t *bhp, const char *name, size_t size) argument 119 uint_t h = fmd_strhash(name) % bhp->bh_hashlen; 120 fmd_buf_t *bp = fmd_buf_alloc(name, size); 130 fmd_buf_lookup(fmd_buf_hash_t *bhp, const char *name) argument 132 uint_t h = fmd_strhash(name) % bhp->bh_hashlen; 136 if (strcmp(name, bp->buf_name) == 0) 144 fmd_buf_delete(fmd_buf_hash_t *bhp, const char *name) argument [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/ |
H A D | cma_cpu.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 59 char *name; local 71 nvlist_lookup_string(hcl[0], FM_FMRI_HC_NAME, &name) == 0 && 72 strcmp(name, "motherboard") == 0 && 73 nvlist_lookup_string(hcl[1], FM_FMRI_HC_NAME, &name) == 0 && 74 strcmp(name, "chip") == 0 && 75 nvlist_lookup_string(hcl[2], FM_FMRI_HC_NAME, &name) == 0 && 76 strcmp(name, "cpu") == 0)
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | stats.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 62 stats_new(const char *name, const char *desc, enum stats_type t) argument 72 /* NULL name means generate a unique name */ 73 if (name == NULL) { 80 (void) strlcpy(ret->fmd_stats.fmds_name, name, 117 stats_new_counter(const char *name, const char *desc, int ext) argument 122 return (stats_new(name, desc, STATS_COUNTER)); 170 stats_new_elapse(const char *name, const char *desc, int ext) argument 175 return (stats_new(name, des 202 stats_new_string(const char *name, const char *desc, int ext) argument [all...] |
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_util.h | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 67 char *name; member in struct:xdrfunc 84 char *infile; /* input module name */ 85 char *outfile; /* output module name */
|