/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | conn.c | 342 * str - string from Systems/Devices/Config file, 346 * str - the , (if present) will be replaced with NULLCHAR 352 getProto(char *save, char *str) argument 357 if ((p = strchr(str, ',')) != NULL) { 412 * expect(str, fn) look for expected string w/ possible special chars 413 * char *str; 422 expect(char *str, int fn) argument 429 for (sptr = str; *sptr; sptr++) { 461 * expect_str(str, fn) look for expected string, w/ no special chars 470 expect_str(char *str, in argument 577 sendthem(char *str, int fn, char *phstr1, char *phstr2) argument [all...] |
/illumos-gate/usr/src/lib/libnsl/ipsec/ |
H A D | algs.c | 170 _str_to_ipsec_exec_mode(char *str, ipsecalgs_exec_mode_t *exec_mode) argument 172 if (strcmp(str, "sync") == 0) { 175 } else if (strcmp(str, "async") == 0) {
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | p12lib.c | 651 uchar_t *str = NULL; local 679 str = utf82ascstr(cert->aux->alias); 680 if (str == NULL) { 687 (char const *) str, 688 strlen((char const *) str)) == 0) { 696 str = cert->aux->keyid->data; 699 if (str != NULL && 700 PKCS12_add_localkeyid(bag, str, len) == 0) { 728 str = utf82ascstr(cert->aux->alias); 729 if (str 963 ASN1_STRING *str = NULL; local 1050 ASN1_OCTET_STRING *str = NULL; local 1114 ASN1_BMPSTRING *str = NULL; local 1378 ASN1_BMPSTRING *str = NULL; local 1810 char *str = NULL; local 2299 asc2bmpstring(const char *str, int len) argument 2594 find_attr(int nid, ASN1_STRING *str, STACK_OF(EVP_PKEY) *kl, EVP_PKEY **pkey, STACK_OF(X509) *cl, X509 **cert) argument [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/ |
H A D | javelin.c | 1271 tazmo_physical_slot(Prom_node *slotd, Prom_node *parent, int device, char *str) argument 1297 (void) strcpy(str, ""); 1349 (void) strcpy(str, ""); 1366 (void) strcpy(str, slot_names);
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl.c | 123 char *str; local 141 str = (char *)get_prop_val(find_prop(node, "name")); 142 (void) strlcpy(card.name, (str == NULL ? "N/A":str), 145 str = (char *)get_prop_val(find_prop(node, "model")); 146 (void) strlcpy(card.model, (str == NULL ? "N/A":str),
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | fmtmsg.c | 263 * static char *exttok(str, delims) 264 * const char *str 267 * This function examines the string pointed to by "str", looking 273 * str Address of the string to search 278 * in "delim" in the string "str" (incl '\0'). If there was nothing 330 * char *noesc(str) 333 * from the string <str>. It returns a pointer to that string. 336 * str char * 340 * This function returns its argument <str> always. 347 noesc(char *str) argument [all...] |
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | doscan.c | 1127 char str[MB_LEN_MAX + 1]; /* include null termination */ local 1140 i = wctomb(str, (wchar_t)wch); 1144 str[i] = '\0'; 1145 if (fnmatch((const char *)brstr, (const char *)str, 1191 char str[MB_LEN_MAX + 1]; /* include null termination */ local 1198 p = str; 1199 i = wctomb(str, (wchar_t)wch); 1203 str[i] = '\0'; 1204 if (fnmatch((const char *)brstr, (const char *)str,
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | join.c | 222 char* str; local 230 str = (char*)--cp; 233 str++; 237 if (cp[1]!='.' || (*cp!='1' && *cp!='2') || (c=strtol(cp+2,&str,10)) <=0) 255 cp = str; 269 str = (char*)cp; 270 c = strtol(cp+2, &str,10); 271 if (*str || --c<0)
|
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | idmap_cache.c | 257 update_str(const char **item, const char *str) argument 261 if (*item != NULL && str != NULL) { 262 if (strcmp(*item, str) != 0) { 263 if ((tmp = strdup(str)) == NULL) 268 } else if (str != NULL) { 270 if ((*item = strdup(str)) == NULL) 273 /* str is NULL */
|
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_persist.c | 287 char *str = NULL; local 290 if (nvpair_value_string(nvp, &str) != 0) 292 return (snprintf(buf, buflen, "%s=%s", nvpair_name(nvp), str));
|
/illumos-gate/usr/src/cmd/utmpd/ |
H A D | utmpd.c | 989 fatal(char *str) argument 993 syslog(LOG_ALERT, "%s", str); 997 dprintf(("%s\n", str)); 1007 nonfatal(char *str) argument 1009 syslog(LOG_WARNING, "%s", str); 1014 dprintf(("%c%s\n", 7, str));
|
/illumos-gate/usr/src/cmd/vrrpadm/ |
H A D | vrrpadm.c | 731 timeval_since_str(int mill, char *str, size_t len) argument 741 (void) snprintf(str, len, "%4dm%2ds", min, sec); 743 (void) snprintf(str, len, "%4d.%03ds", sec, msec); 745 return (str);
|
/illumos-gate/usr/src/common/fs/ |
H A D | hsfs.c | 135 static int bhsfs_mountroot(char *str); 137 static int bhsfs_open(char *str, int flags); 402 bhsfs_mountroot(char *str) argument 474 bhsfs_open(char *str, int flags) argument 481 dprintf("open %s\n", str); 489 filep->fi_path = (char *)bkmem_alloc(strlen(str) + 1); 490 (void) strcpy(filep->fi_path, str); 496 ino = find(str, filep);
|
/illumos-gate/usr/src/common/net/patricia/ |
H A D | radix.c | 63 panic(const char *str) argument 65 fprintf(stderr, "Panic - %s\n", str);
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | davicom.c | 155 static void whereami(const char *str); 179 static inline void whereami(const char *str) 181 printf("%s\n", str); 177 whereami(const char *str) argument
|
/illumos-gate/usr/src/lib/abi/apptrace/common/ |
H A D | apptrace.c | 208 char *str; local 226 char *str = "LD_AUDIT="; local 232 (void) putenv(str); 236 if ((str = checkenv("APPTRACE_OUTPUT")) != NULL) { 248 fd = open(str, O_WRONLY|O_CREAT|O_TRUNC, 0666); 253 str, 490 char *str; local 538 for (ndx = 0; (str = spec_sym[ndx]) != NULL; ndx++) { 540 cmpval = strcmp(sym_name, str);
|
/illumos-gate/usr/src/cmd/nlsadmin/ |
H A D | nlsadmin.c | 1318 * args: str - the string to be examined, NULL if we should 1325 nexttok(char *str, char *delim) argument 1331 p = (str == NULL) ? savep : str ;
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/frutree/ |
H A D | piclfrutree.c | 676 add_ref_prop(picl_nodehdl_t nodeh, picl_nodehdl_t tmph, char *str) argument 682 if (str == NULL) 687 str, NULL, NULL);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/frutree/ |
H A D | piclfrutree.c | 770 add_ref_prop(picl_nodehdl_t nodeh, picl_nodehdl_t tmph, char *str) argument 776 if (str == NULL) 781 str, NULL, NULL);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/frutree/ |
H A D | piclfrutree.c | 548 add_ref_prop(picl_nodehdl_t nodeh, picl_nodehdl_t tmph, char *str) argument 554 if (str == NULL) 559 str, NULL, NULL);
|
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | lpstat.c | 162 char *str = ""; local 165 "printer-info", &str); 171 if (str[0] == '\0') { 193 printf(gettext("\tDescription: %s\n"), str); 508 char *str; local 518 str = ""; 520 "form-ready", &str); 521 printf(gettext("\tForm mounted: %s\n"), str); 523 str = ""; 526 "document-format-supported", &str); [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | main.c | 748 finddelimiter(char *str) argument 753 for (cp = str; *cp != '\0'; cp++) { 770 removebrackets(char *str) argument 772 char *newstr = str; 774 if ((str[0] == '[') && (str[strlen(str) - 1] == ']')) { 775 newstr = str + 1; 776 str[strlen(str) [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | config.c | 721 parse_onoff(char *str, uint_t *resp) argument 723 if (strcasecmp(str, "on") == 0) { 727 if (strcasecmp(str, "off") == 0) { 731 if (strcasecmp(str, "true") == 0) { 735 if (strcasecmp(str, "false") == 0) { 739 if (parse_int(str, resp)) { 750 parse_int(char *str, uint_t *resp) argument 755 res = strtoul(str, &end, 0); 756 if (end == str) 769 parse_ms(char *str, uint_ argument 828 parse_s(char *str, uint_t *resp) argument 873 char str[BUFSIZ]; /* Local copy for modification */ local 910 parse_date(char *str, uint_t *resp) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ncaconfd/ |
H A D | ncaconfd.c | 127 logperror(char *str) argument 130 syslog(LOG_ERR, "%s: %m\n", str); 132 (void) fprintf(stderr, "ncaconfd: %s: %s\n", str,
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.glob.c | 647 globone(tchar *str) argument 656 gv[0] = str; 663 setname(str); 670 setname(str); 676 setname(str);
|