/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_tmpdir.c | 98 FSSpec spec; local 101 kOnSystemDisk, 0, &spec)) 102 (void)__os_strdup(FSp2FullPath(&spec), &p);
|
/illumos-gate/usr/src/cmd/backup/lib/ |
H A D | getdate.y | 123 spec : /* NULL */ label 124 | spec item
|
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/ |
H A D | getdate.y | 255 spec : /* NULL */ label 256 | spec item
|
/illumos-gate/usr/src/cmd/tnf/prex/ |
H A D | spec.h | 57 typedef struct spec { struct 66 (*spec_attr_fun_t) (spec_t * spec, char *attr, char *value, void *calldatap); 68 (*spec_val_fun_t) (spec_t * spec, char *value, void *calldatap); 80 spec_t * spec(char *str_p, spec_type_t type);
|
H A D | prexgram.y | 81 #include "spec.h" 110 %type <specval> spec speclist 340 | speclist spec { $$ = spec_list($1, $2); } 343 expr : spec EQ spec { $$ = expr($1, $3); } 344 | spec { $$ = expr(spec(strdup("keys"), 348 spec : IDENT { $$ = spec($1, SPEC_EXACT); } label 349 | VALSTR { $$ = spec( [all...] |
H A D | spec.c | 47 #include "spec.h" 61 * spec() - builds a spec 65 spec(char *str_p, function 86 } /* end spec */ 90 * spec_dup() - duplicates a spec, NOT A SPEC LIST! 98 new_p = spec(strdup(spec_p->str), spec_p->type); 106 * spec_destroy() - destroys a spec list 172 * spec_match() - called with a spec and a string, returns whether they
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | pkgnmchk.c | 118 pkgnmchk(char *pkg, char *spec, int presvr4flg) argument 125 * this routine reacts based on the value passed in spec: 126 * NULL pkg must be valid and may be a wildcard spec 132 if (valname(pkg, ((spec == NULL) ? 1 : 0))) 135 if ((spec == NULL) || (strcmp(spec, "all") == 0)) 138 while (*pkg == *spec) { 139 if ((strcmp(spec, WILD1) == 0) || (strcmp(spec, WILD2) == 0)) 140 break; /* wildcard spec, s [all...] |
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | boot.c | 247 const char *spec, *ep; local 259 if ((spec = getenv("bootfile")) == NULL) 260 spec = default_bootfiles; 262 while ((try > 0) && (spec != NULL)) { 263 spec = strchr(spec, ';'); 264 if (spec) 265 spec++; /* skip over the leading ';' */ 268 if (spec != NULL) { 269 if ((ep = strchr(spec, ';')) ! [all...] |
/illumos-gate/usr/src/lib/libcpc/sparc/ |
H A D | event_ultra.c | 204 cpc_strtoevent(int cpuver, const char *spec, cpc_event_t *event) argument 215 if (spec == NULL) 242 opts = strdupa(spec);
|
/illumos-gate/usr/src/cmd/cpc/common/ |
H A D | setgrp.c | 118 cpc_setgrp_newset(cpc_setgrp_t *sgrp, const char *spec, int *errcnt) argument 125 if ((set = cpc_strtoset(sgrp->cpc, spec, sgrp->smt)) == NULL) { 176 if ((sgrp->sets[sgrp->nelem].name = strdup(spec)) == NULL) {
|
H A D | strtoset.c | 154 * name. We allow users to omit the "picn=" portion of the event spec, and 157 * picnum to be assigned. This ensures that the event spec can never be out of 210 * Make sure the each pic only appears in the spec once. 339 cpc_strtoset(cpc_t *cpcin, const char *spec, int smt) argument 493 opts = strdupa(spec);
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | expand.c | 167 char *spec; local 172 spec = safe_strdup(prop_spec); 174 if (strstr(spec, ":properties") != NULL) { 177 if (scf_parse_svc_fmri(spec, &scn, &sn, &in, &pgn, 182 free(spec); 231 slash = strchr(spec, '/'); 234 pn = spec; 237 pgn = spec; 329 free(spec);
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/ |
H A D | checkmap.c | 400 shellmatch(char *spec, char *path) argument 403 if (spec == NULL || path == NULL) 406 while (*spec && (*spec == *path)) { 407 spec++, path++; 409 if ((*spec == *path) || (*spec == '*'))
|
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_cfgrom.c | 180 uint32_t spec, lang_id, desc_entry; local 240 spec = *(uint32_t *)bp->b_rptr; 247 spec = lang_id = desc_entry = 0; 257 tl32.tl_spec = spec; 271 tl.tl_spec = spec;
|
/illumos-gate/usr/src/boot/sys/boot/i386/libfirewire/ |
H A D | firewire.c | 63 struct crom_chunk spec; member in struct:crom_src_buf 297 crom_add_simple_text(src, &buf->unit, &buf->spec, "FreeBSD");
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | udb.c | 48 char *udb_spec; /* string version of spec */ 615 /* short circuit if no spec */ 917 char *spec; local 925 spec = p; 937 (void) _udb_parsespec(spec, opts, MAXUDBOPTS); 954 switch (*spec) 959 up->udb_fwdhost = spec + 1; 967 if (sm_strcasecmp(spec, "hesiod") != 0) 978 l = strlen(spec); 979 if (l > 3 && strcmp(&spec[ 1169 register char *spec; local [all...] |
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | vfs.h | 113 char *spec; member in struct:mounta
|
/illumos-gate/usr/src/uts/common/inet/kssl/ |
H A D | ksslapi.c | 533 KSSLCipherSpec *spec; local 639 spec = &ssl->spec[KSSL_READ]; 640 mac_sz = spec->mac_hashsz; 641 if (spec->cipher_ctx != 0) { 648 if ((spec->cipher_type == type_block) && 649 ((rec_sz & (spec->cipher_bsize - 1)) != 0)) { 652 int, spec->cipher_bsize); 665 error = crypto_decrypt_update(spec->cipher_ctx, 677 if (spec 796 KSSLCipherSpec *spec; local 1262 KSSLCipherSpec *spec; local [all...] |
/illumos-gate/usr/src/cmd/ptools/ppriv/ |
H A D | ppriv.c | 321 "usage:\t%s [-v] [-S] [-D|-N] [-s spec] { pid | core } ...\n" 322 "\t%s -e [-D|-N] [-M] [-s spec] cmd [args ...]\n" 354 badspec(const char *spec) argument 357 command, spec); 403 parsespec(const char *spec) argument 416 p = strpbrk(spec, "+-="); 418 if (p == NULL || p - spec > pri->priv_nsets) 419 badspec(spec); 424 count = p - spec; 439 if (count == 0 || *spec [all...] |
/illumos-gate/usr/src/lib/libcpc/i386/ |
H A D | event_pentium.c | 368 cpc_strtoevent(int cpuver, const char *spec, cpc_event_t *event) argument 379 if (spec == NULL) 406 opts = strdupa(spec);
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_subr.c | 55 dtrace_xstr2desc(dtrace_hdl_t *dtp, dtrace_probespec_t spec, argument 63 if (spec < DTRACE_PROBESPEC_NONE || spec > DTRACE_PROBESPEC_NAME) 135 if (spec == DTRACE_PROBESPEC_NONE) 138 if (len + vlen >= dtrace_probespecs[spec].dtps_len) 141 off = dtrace_probespecs[spec--].dtps_offset; 152 dtrace_str2desc(dtrace_hdl_t *dtp, dtrace_probespec_t spec, argument 155 return (dtrace_xstr2desc(dtp, spec, s, 0, NULL, pdp));
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | filesys_rcm.c | 493 get_spec(char *line, char *spec, size_t ssz) argument 498 if (strlcpy(spec, line, ssz) >= ssz) { 504 cp = spec; 517 (void) memmove(spec, start, strlen(start) + 1); 523 path_match(char *rsrc, char *spec) argument 532 if (realpath(spec, s) == NULL) 555 "rsrc=%s spec=%s: %s\n", rsrc, spec, strerror(errno)); 593 char spec[MNT_LINE_MAX + 1]; local 597 if (get_spec(line, spec, sizeo [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/fssnap/ |
H A D | fssnap.c | 480 spec_to_bytes(char *spec) argument 484 base = strtoull(spec, NULL, 10); 485 if ((base == 0LL) && (spec[0] != '0')) 488 spec += strspn(spec, "0123456789"); 490 if ((spec == NULL) || strlen(spec) != 1) 493 switch (spec[0]) {
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | devpolicy.c | 199 match_policy(devplcyent_t *de, dev_t dev, vtype_t spec) argument 210 spec == de->dpe_spec) { 223 ddi_lyr_get_minor_name(dev, spec, &mname) != DDI_SUCCESS) 265 de->dpe_spec = spec; 311 vtype_t spec = vp->v_type; local 324 res = match_policy(devpolicy[i].t_ent, dev, spec); 653 vtype_t spec; local 663 spec = vp->v_type; 664 if (spec != VBLK && spec ! [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | mdeg.c | 428 /* node spec and node match must both be valid, or both NULL */ 780 mdeg_spec_str(mdeg_node_spec_t *spec, char *buf, int len) argument 787 offset = snprintf(buf, len, "%s:{", spec->namep); 794 prop = spec->specp;
|