/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | getauditflags.c | 45 match_class(char *s, char *prefix, uint_t m, int v) in match_class() argument 49 (void) strcat(s, prefix); in match_class() 78 char *prefix; /* +, -, or null */ in getauditflagschar() local 115 prefix = plus_all ? "-" : (minus_all ? "+" : ""); in getauditflagschar() 117 prefix = "+"; in getauditflagschar() 119 prefix = "-"; in getauditflagschar() 122 if (match_class(auditstring, prefix, m, verbose) != 0) in getauditflagschar() 125 if (*(prefix = auditstring + strlen(auditstring) - 1) == ',') in getauditflagschar() 126 *prefix = '\0'; in getauditflagschar() 160 uint32_t prefix; in __chkflags() local [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | rt.sh | 99 printf $'%s%5d %s' "$prefix" "$t" "$label" 100 prefix= 101 else prefix="$prefix..........." 116 printf $'%s%5d %s%s\n' "$prefix" "$e" "$label" "$note" 198 prefix= 233 prefix= 293 prefix= 327 prefix= 339 prefix= 387 then if [[ ! $prefix ]] [all …]
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | devpath.c | 142 size_t prefix, len; in efi_devpath_trim() local 146 prefix = (UINT8 *)node - (UINT8 *)devpath; in efi_devpath_trim() 147 if (prefix == 0) in efi_devpath_trim() 149 len = prefix + DevicePathNodeLength(NextDevicePathNode(node)); in efi_devpath_trim() 152 memcpy(copy, devpath, prefix); in efi_devpath_trim() 153 node = (EFI_DEVICE_PATH *)((UINT8 *)copy + prefix); in efi_devpath_trim() 207 efi_devpath_is_prefix(EFI_DEVICE_PATH *prefix, EFI_DEVICE_PATH *path) in efi_devpath_is_prefix() argument 211 if (prefix == NULL || path == NULL) in efi_devpath_is_prefix() 215 if (IsDevicePathEnd(prefix)) in efi_devpath_is_prefix() 218 if (DevicePathType(prefix) != DevicePathType(path) || in efi_devpath_is_prefix() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/ |
H A D | sfdcprefix.c | 39 char prefix[1]; /* prefix string */ member 80 sfwr(f, pfx->prefix, n > 1 ? pfx->length : pfx->empty, dp); 114 int sfdcprefix(Sfio_t* f, const char* prefix) in sfdcprefix() argument 116 int sfdcprefix(f, prefix) in sfdcprefix() 118 char* prefix; 129 if (!prefix || !(n = strlen(prefix)) || !(sfset(f, 0, 0) & SF_WRITE)) 138 memcpy(pfx->prefix, prefix, n); 139 s = (char*)prefix + n; 140 while (--s > (char*)prefix && (*s == ' ' || *s == '\t')); 141 n = s - (char*)prefix;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | tables.h | 52 struct prefix *pi_prefix_list; /* Doubly linked prefixes */ 155 struct prefix { struct 156 struct prefix *pr_next; /* Next prefix for this physical */ argument 157 struct prefix *pr_prev; /* Prev prefix for this physical */ argument 272 extern struct prefix *prefix_create(struct phyint *pi, struct in6_addr addr, 274 extern struct prefix *prefix_lookup_name(struct phyint *pi, char *name); 275 extern struct prefix *prefix_lookup_addr_match(struct prefix *pr); 276 extern struct prefix *prefix_create_name(struct phyint *pi, char *name); 277 extern int prefix_init_from_k(struct prefix *pr); 278 extern void prefix_delete(struct prefix *pr); [all …]
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | printf.c | 133 char *prefix; in _print() local 306 prefix = ""; in _print() 309 suffix = prefix; in _print() 361 prefix = "-"; in _print() 371 prefix = "+"; in _print() 373 prefix = " "; in _print() 378 int n = width - strlen(prefix); in _print() 411 prefix = "0x"; in _print() 414 prefix = "0X"; in _print() 446 prefix = "-"; in _print() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_aclmode_001_pos.ksh | 187 typeset who prefix acltemp action 191 prefix=$who 194 prefix=$prefix:$acltemp 196 acl=$prefix:$(cal_bits $isdir 7 7 $acl 0):$action 262 prefix="owner@" 267 prefix="group@" 271 expect=$prefix$status:deny 346 prefix=$who 372 prefix=$prefix:$acltemp 378 prefix=$prefix:$acltemp [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_frame2.c | 252 print_prefix(struct cie_fde_prefix_s *prefix, int line) 255 (unsigned long) prefix, line); 257 (unsigned long) prefix->cf_start_addr, 258 (unsigned long) prefix->cf_addr_after_prefix); 260 (Dwarf_Unsigned) prefix->cf_length, 261 prefix->cf_local_length_size, 262 prefix->cf_local_extension_size); 264 (Dwarf_Unsigned) prefix->cf_cie_id, 265 (long) prefix->cf_cie_id_addr); 268 (unsigned long) prefix->cf_section_ptr, [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/ |
H A D | snmplib.c | 317 snmp_get_int(picl_snmphdl_t hdl, char *prefix, int row, int *val, in snmp_get_int() argument 325 if (smd == NULL || prefix == NULL || val == NULL) in snmp_get_int() 332 if ((grp = locate_oid_group(smd, prefix)) == NULL) { in snmp_get_int() 333 ret = fetch_single_int(smd, prefix, row, val, &err); in snmp_get_int() 344 if (lookup_int(prefix, row, val, grp->is_volatile) == 0) in snmp_get_int() 357 if (lookup_int(prefix, row, val, grp->is_volatile) < 0) in snmp_get_int() 371 snmp_get_str(picl_snmphdl_t hdl, char *prefix, int row, char **strp, in snmp_get_str() argument 380 if (smd == NULL || prefix == NULL || strp == NULL) in snmp_get_str() 388 if ((grp = locate_oid_group(smd, prefix)) == NULL) { in snmp_get_str() 389 ret = fetch_single_str(smd, prefix, row, strp, &err); in snmp_get_str() [all …]
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | log.c | 83 char *prefix; in log_msg() local 94 prefix = MSG_LOG_ERROR; in log_msg() 98 prefix = MSG_LOG_WARNING; in log_msg() 102 prefix = NULL; in log_msg() 111 prefix = NULL; in log_msg() 127 if (prefix != NULL) { in log_msg() 128 (void) fprintf(out, "%s: ", prefix); in log_msg()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
H A D | gentab.sh | 102 echo "#define $prefix$last $n" 127 prefix="" 169 1:?*) echo "#define $prefix$first $counter" ;; 190 echo "#define $prefix$ID (1$long<<$counter)" 195 then echo "#define $prefix$ID $counter" 198 then echo " \"$1\", $prefix$ID," 203 then echo "#define $prefix$ID $counter" 223 echo "#define $prefix$last $n"
|
H A D | ppsearch.c | 113 register char* prefix; in search() local 124 prefix = 0; in search() 125 else if ((prefix = strrchr(fp->name, '/')) && prefix > fp->name) in search() 127 *prefix = 0; in search() 129 *prefix = '/'; in search() 130 prefix = t; in search() 140 type == T_HEADER ? "<*>" : "\"*\"", prefix, in search() 329 if (prefix && *fp->name != '/' && dp->index != INC_PREFIX) in search() 335 if (up->name == prefix) in search() 340 up->name = prefix; in search() [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | diskmon_conf.c | 670 print_inds(indicator_t *indp, FILE *fp, char *prefix) in print_inds() argument 674 (void) fprintf(fp, "%sindicators {\n", prefix); in print_inds() 677 (void) fprintf(fp, "%s\t%c%s = \"%s\"\n", prefix, plusminus, in print_inds() 681 (void) fprintf(fp, "%s}\n", prefix); in print_inds() 685 print_indrules(indrule_t *lrp, FILE *fp, char *prefix) in print_indrules() argument 690 (void) fprintf(fp, "%sindicator_rules {\n", prefix); in print_indrules() 692 (void) fprintf(fp, "%s\t%12s -> %12s\t{ ", prefix, in print_indrules() 707 (void) fprintf(fp, "%s}\n", prefix); in print_indrules() 711 print_props(nvlist_t *nvlp, FILE *fp, char *prefix) in print_props() argument 720 (void) fprintf(fp, "%s%s = \"%s\"\n", prefix, name, str); in print_props() [all …]
|
/illumos-gate/usr/src/cmd/mktemp/ |
H A D | mktemp.c | 47 char *prefix = NULL; in main() local 73 prefix = optarg; in main() 112 prefix = tmp; in main() 113 else if (prefix == NULL) in main() 114 prefix = "/tmp"; in main() 116 len = snprintf(NULL, 0, "%s/%s", prefix, tmpl) + 1; in main() 122 (void) snprintf(tmp, len, "%s/%s", prefix, tmpl); in main()
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | printf.c | 93 char *prefix; /* Prefix on non-zero values in alt format */ member 215 char prefix; /* Prefix character. "+" or "-" or " " or '\0'. */ in vxprintf() local 354 prefix = '-'; in vxprintf() 355 }else if( flag_plussign ) prefix = '+'; in vxprintf() 356 else if( flag_blanksign ) prefix = ' '; in vxprintf() 357 else prefix = 0; in vxprintf() 358 }else prefix = 0; in vxprintf() 359 if( flag_zeropad && precision<width-(prefix!=0) ){ in vxprintf() 360 precision = width-(prefix!=0); in vxprintf() 377 if( prefix ) *(--bufpt) = prefix; /* Add sign */ in vxprintf() [all …]
|
/illumos-gate/usr/src/cmd/krb5/krb5-config/ |
H A D | krb5-config.sh | 35 prefix=/usr 36 exec_prefix=${prefix} 37 includedir=${prefix}/include/kerberosv5 59 --exec-prefix) 68 --prefix) 139 echo "$title_prefix$prefix"
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_hout.c | 391 ptype(dl->decl.prefix, dl->decl.type, 1); in parglist() 442 char prefix[8]; /* enough to contain "struct ", including NUL */ in ptypedef() local 456 (void) snprintf(prefix, sizeof (prefix), "%s ", in ptypedef() 459 prefix[0] = 0; in ptypedef() 465 f_print(fout, "\t%s%s *%s_val;\n", prefix, old, name); in ptypedef() 469 f_print(fout, "%s%s *%s", prefix, old, name); in ptypedef() 472 f_print(fout, "%s%s %s[%s]", prefix, old, name, in ptypedef() 476 f_print(fout, "%s%s %s", prefix, old, name); in ptypedef() 487 char *prefix; in pdeclaration() local 493 if (streq(dec->type, name) && !dec->prefix) in pdeclaration() [all …]
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | utility.c | 143 countProcs (prefix, maxCount) in countProcs() argument 145 char * prefix; in countProcs() 156 strncpy(directory, prefix, MAXNAMESIZE); 159 ASSERT(namePrefix != NULL, "No file name in", prefix, 0); 180 cuantos(prefix, dir) in cuantos() argument 181 char *prefix, *dir; in cuantos() 191 if (PREFIX(prefix, file)) {
|
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/ |
H A D | funstack.awk | 547 print_line(prefix(3) "</A>") 548 print_line(prefix(2) "</H1>") 652 print prefix(1) "<HEAD>" 653 print prefix(2) "<TITLE>" 654 print prefix(3) Journal 655 print prefix(2) "</TITLE>" 656 print prefix(2) "<LINK REV=\"made\" HREF=\"mailto:" USER "@" HOSTNAME "\">" 657 print prefix(1) "</HEAD>" 659 print prefix(1) "<BODY>" 686 print prefix(2) "<H1>" [all …]
|
/illumos-gate/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 320 char prefix[5]; /* "/nnn" with terminator. */ in dump_sockaddr() local 322 (void) snprintf(prefix, sizeof (prefix), "/%d", prefixlen); in dump_sockaddr() 325 (void) strlcat(printable_addr, prefix, in dump_sockaddr() 1852 print_sa(FILE *file, char *prefix, struct sadb_sa *assoc) in print_sa() argument 1863 prefix, ntohl(assoc->sadb_sa_spi), assoc->sadb_sa_replay); in print_sa() 1866 dgettext(TEXT_DOMAIN, "%sSADB_ASSOC state="), prefix); in print_sa() 1896 prefix); in print_sa() 1905 "\n%sEncryption algorithm = "), prefix); in print_sa() 1909 (void) fprintf(file, dgettext(TEXT_DOMAIN, "\n%sflags=0x%x < "), prefix, in print_sa() 2225 print_address(FILE *file, char *prefix, struct sadb_address *addr, in print_address() argument [all …]
|
/illumos-gate/usr/src/lib/libsqlite/tool/ |
H A D | mkopts.tcl | 8 set prefix {} 16 if {$px!=""} {set prefix $p2} 20 puts " static const char *${prefix}_strs\[\] = \173" 45 puts " enum ${prefix}_enum \173" 48 put_item ${prefix}_[string toupper $name],
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | fmt.c | 65 int prefix; member 145 int prefix; in split() local 148 prefix = ep - buf; in split() 157 prefix = strlen(buf); in split() 160 fp->outp = fp->outbuf+prefix; in split() 164 if (fp->prefix < prefix && !isoption(fp, 'c')) in split() 166 if (!fp->outp || prefix < fp->prefix) in split() 167 fp->prefix = prefix; in split() 204 if (fp->prefix) in split() 205 memset(fp->outbuf, ' ', fp->prefix); in split() [all …]
|
/illumos-gate/usr/src/common/ficl/softcore/ |
H A D | prefix.fr | 5 \ (jws) To make a prefix, simply create a new definition in the <prefixes> 18 \ define " (double-quote) as an alias for s", and make it a prefix 22 \ make .( a prefix (we just create an alias for it in the prefixes list) 26 \ make \ a prefix, and add // (same thing) as a prefix too 36 \ ** __tempbase is precompiled, see prefix.c
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_implicit_dependencies_tester.c | 44 static inline void prefix() { in prefix() function 79 prefix(); printf("\n"); in match_syscall_definition() 91 printf("\n"); prefix(); in match_after_syscall() 106 prefix(); in print_member_type() 135 prefix(); printf("-- condition found\n"); in match_condition() 152 prefix(); in match_function_call()
|
/illumos-gate/usr/src/lib/libuuid/common/ |
H A D | uuid.pc.in | 1 prefix=/usr 2 exec_prefix=${prefix} 3 libdir=${prefix}/__LIBDIR__ 4 includedir=${prefix}/include
|