Searched refs:str (Results 176 - 200 of 1587) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A DSUNW,vdevices.pl102 my $str = `/usr/sbin/fuser $rsrc 2>/dev/null`;
111 my @words = split(/ /, $str);
/illumos-gate/usr/src/uts/common/fs/
H A Dpkp_hash.c56 pkp_tab_hash(char *str, int len) argument
65 hash = MOD2((hash + str[i]), PKP_HASH_SIZE);
/illumos-gate/usr/src/tools/codesign/
H A Dsignit.pl135 # check_response(str)
142 my ($str) = @_;
144 if ($str =~ /^OK SIGN (\d+)/) {
147 elsif ($str =~ /^OK/) {
150 elsif ($str =~ /^WARNING/) {
151 print STDERR $str;
155 elsif ($str =~ /^ERROR/) {
156 print STDERR $str;
160 printf STDERR "ERROR Protocol failure (%d)\n", length($str);
/illumos-gate/usr/src/cmd/msgfmt/
H A Dgnu_handle.c326 handle_message(struct entry *id, struct entry *str) argument
350 hash_val = hashpjw(id->str);
351 dupmsg = search_msg(cur_catalog, id->str, hash_val);
354 if ((dupmsg->str_len == str->len) &&
355 (memcmp(dupmsg->str, str->str, str->len) == 0)) {
362 free(id->str);
365 free(str
[all...]
/illumos-gate/usr/src/lib/libwrap/
H A Dpercent_x.c53 char *str = string; local
62 while (*str) {
63 if (*str == '%' && (ch = str[1]) != 0) {
64 str += 2;
82 expansion = str++;
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_item_c.x55 % item( char* str, int len);
73 % void update( char* str, int n) {len = n; value = str;}
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioDebug.cc61 char *str) // additional message string
82 id, str, name, code.msg());
86 name, code.msg(), str);
92 name, code.msg(), str);
99 name, str, code.msg());
107 name, str, code.msg());
57 AudioStderrMsg( const Audio* cp, AudioError code, AudioSeverity sev, char *str) argument
/illumos-gate/usr/src/cmd/backup/dump/
H A Dunctime.c48 unctime(str)
49 char *str;
55 (void) strncpy(dbuf, str, 24);
74 lookup(str)
75 char *str;
79 for (cp = months, cp2 = str; *cp != 0; cp += 3)
/illumos-gate/usr/src/cmd/syseventadm/
H A Dsyseventadm.h83 typedef struct str { struct
122 static void freestr(str_t *str);
123 static void resetstr(str_t *str);
124 static void strcats(str_t *str, char *s);
125 static void strcatc(str_t *str, int c);
126 static char *fstrgets(str_t *str, FILE *fp);
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Dpro_encode_nm.c94 char *str; local
99 str = space;
106 if (str >= end) {
118 *str = byte;
119 str++;
121 *nbytes = str - space;
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DDoPrinterView.java174 String str = null;
285 str = "Options:";
286 i = o.indexOf(str);
288 // Set str to the substring containing only the options line.
290 str = o.substring(i, j);
293 str = str.concat(",");
294 i = str.indexOf("dest=");
297 j = str.indexOf(",", i);
298 destination = str
465 getToken(String str, String sub) argument
[all...]
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldaptool-sasl.c141 char *newvalue, str[1024]; local
155 snprintf(str, sizeof(str), "%s:", tmpstr?tmpstr:SASL_PROMPT);
160 snprintf(str, sizeof(str), "%s:", interact->prompt?interact->prompt:SASL_PROMPT);
162 sprintf(str, "%s:", interact->prompt?interact->prompt:SASL_PROMPT);
170 fputs(str,stdout);
186 if ((newvalue = (char *)getpassphrase(str)) == NULL) {
188 if ((newvalue = (char *)getpass(str)) == NULL) {
195 fputs(str, stder
[all...]
/illumos-gate/usr/src/psm/stand/cpr/common/
H A Dsupport.c93 char *str, *default_path; local
99 str = "cpr_reset_properties";
104 str, default_path);
111 prom_printf("%s: error reading %s\n", str, default_path);
114 prom_printf("%s: bad magic number in %s\n", str, default_path);
124 prom_printf("%s: cannot find \"options\" node\n", str);
146 str, prop->name, prop->value);
161 char *str; local
164 str = "\ncpr_read_cdump:";
167 prom_printf("%s Error reading cpr dump descriptor\n", str);
[all...]
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dlpstat.c162 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/bnu/
H A Deio.c90 * str -> message body (ascii string)
97 ewrmsg(type, str, fn)
98 char *str;
102 return(etwrmsg(type, str, fn, 0));
107 * str -> message buffer
111 * SUCCESS -> ok message in str
114 erdmsg(str, fn)
115 char *str;
117 return(etrdmsg(str, fn, 0));
328 * str
[all...]
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_util.c214 match(char *patn, char *str) argument
219 return (*str == 0);
222 if (*str != 0) {
223 str++;
234 while (*str) {
235 if (match(patn, str))
237 str++;
242 if (*str != *patn)
244 str++;
255 match_ci(char *patn, char *str) argument
[all...]
/illumos-gate/usr/src/cmd/pcidr/plugins/default/
H A Dpcidr_cfga.c158 char *str; local
167 str = pcidr_cfga_stat_name(datap->ap_r_state);
168 if (str == NULL)
169 str = "(unrecognized cfga_stat_t value!)";
170 dprint(lvl, "%sAP receptacle state = %s\n", prestr, str);
172 str = pcidr_cfga_stat_name(datap->ap_o_state);
173 if (str == NULL)
174 str = "(unrecognized cfga_stat_t value!)";
175 dprint(lvl, "%sAP occupant state = %s\n", prestr, str);
177 str
233 char *cmdnm, *cfga_errstr, *apid, *str; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Ddisp_major_status.c129 char *str; local
131 if ((str =
135 sprintf(str, unknown_error, kind, value);
137 buffer->length = strlen(str);
138 buffer->value = str;
150 const char *str; local
152 if ((str = GSS_CALLING_ERROR_STR(code))) {
153 if (! g_make_string_buffer(str, status_string)) {
175 const char *str; local
177 if ((str
200 const char *str; local
[all...]
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/
H A Dsgfrutypes.h306 #define SG_SET_FRU_NAME_NODE(str, num) \
310 (void) strcat(str, tmp_str); \
313 #define SG_SET_FRU_NAME_CPU_BOARD(str, num) \
317 (void) strcat(str, tmp_str); \
320 #define SG_SET_FRU_NAME_IO_BOARD(str, num) \
324 (void) strcat(str, tmp_str); \
327 #define SG_SET_FRU_NAME_MODULE(str, num) \
331 (void) strcat(str, tmp_str); \
334 #define SG_SET_FRU_NAME_CORE(str, num) \
338 (void) strcat(str, tmp_st
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Disaexec.c51 char *str; local
98 if ((str = strrchr(pathname, '/')) != NULL) {
99 *++str = '\0';
100 fname = execname + (str - pathname);
113 str = strtok_r(isalist, " ", &lasts);
116 (void) strcpy(pathname + len, str);
139 } while ((str = strtok_r(NULL, " ", &lasts)) != NULL);
/illumos-gate/usr/src/cmd/cpio/
H A Dutils.c226 * Convert val to digit string and put it in str. The next address
230 put_value(off_t val, char *str) argument
238 (void) memcpy(str, digp, len);
240 return (str + len);
249 store_sparse_string(holes_list_t *hlh, char *str, size_t *szp) argument
254 p = str;
263 *szp = p - str;
267 * Convert decimal str into unsigned long long value. The end pointer
271 get_ull_tok(const char *str, uint64_t *ulp) argument
276 while (isspace(*str))
325 char *str, hstr[MIN_HOLES_HDRSIZE + 1]; local
368 read_holes_header(const char *str, off_t filesz) argument
397 parse_holesdata(holes_info_t *hi, const char *str) argument
[all...]
/illumos-gate/usr/src/cmd/devmgmt/cmds/
H A Dgetvol.c61 char *str; local
64 str = arg0 + strlen(arg0);
65 while (str > arg0 && *--str == '/')
66 *str = '\0';
67 if ((str = strrchr(arg0, '/')) != NULL)
68 return (str + 1);
/illumos-gate/usr/src/cmd/truss/
H A Dcodes.c1677 const char *str = NULL; local
1681 str = ip->name;
1692 if (str == NULL) {
1718 str = (const char *)pri->code_buf;
1721 return (str);
1729 const char *str = NULL; local
1733 str = ip->datastruct;
1737 return (str);
1744 const char *str = NULL; local
1747 str
1754 const char *str = NULL; local
1765 const char *str = NULL; local
1828 const char *str = NULL; local
1842 const char *str = NULL; local
1914 const char *str = NULL; local
1924 const char *str = NULL; local
1939 char *str = pri->code_buf; local
2003 const char *str = NULL; local
2021 char *str = pri->code_buf; local
2043 char *str; local
2061 char *str; local
2079 char *str; local
2147 const char *str = NULL; local
2157 const char *str = NULL; local
2167 const char *str = NULL; local
2177 const char *str = NULL; local
2192 char *str = pri->code_buf; local
2217 char *str = pri->code_buf; local
2234 const char *str = NULL; local
2251 char *str = pri->code_buf; local
2290 char *str = pri->code_buf; local
2311 const char *str = NULL; local
2324 char *str = pri->code_buf; local
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dsearch.c53 static char *put_complex_filter( BerElement *ber, char *str,
55 static int unescape_filterval( char *str );
58 static int put_simple_filter( BerElement *ber, char *str );
60 char *str );
61 static int put_filter_list( BerElement *ber, char *str );
409 char *str,
417 * We have (x(filter)...) with str sitting on
427 str++;
428 if ( (next = find_right_paren( str )) == NULL )
432 if ( put_filter_list( ber, str )
407 put_complex_filter( BerElement *ber, char *str, ber_tag_t tag, int not ) argument
[all...]
/illumos-gate/usr/src/cmd/listen/
H A Dnstoa.c85 stoa(str, addr) /* Return 0 for success, -1 for error */
86 char *str;
96 if (!str)
98 while (*str && isspace(*str)) /* leading whites are OK */
99 ++str;
101 str = prescan(str); /* Do all \$ ... \$ */
103 if (!str || !*str) retur
[all...]

Completed in 2194 milliseconds

1234567891011>>