Searched refs:str (Results 251 - 275 of 1601) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Ddump.c94 char *str; local
107 str = strrchr(buffer, '\n');
108 *str = '\0';
109 str = buffer + MSG_AUD_PRF_SIZE;
112 str, MSG_AUD_RESBGN_SIZE) == 0) {
114 strtoull(str + MSG_AUD_RESBGN_SIZE,
117 str, MSG_AUD_RESEND_SIZE) == 0) {
119 strtoull(str + MSG_AUD_RESEND_SIZE,
H A Dutil.c48 char *str; local
55 if ((str = strchr(arg, '=')) != NULL) {
58 varsz = (size_t)(str - arg);
167 char *str, *arg; local
175 str = alloca(tlen);
176 (void) strcpy(str, args);
177 arg = str;
188 if (((str = strstr(*lib, arg)) != NULL) &&
189 (((str == *lib) ||
190 (*(str
[all...]
/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dconvert.h45 #define MGET(str) (char *)gettext(str)
/illumos-gate/usr/src/cmd/syseventd/modules/sysevent_conf_mod/
H A Dsysevent_conf_mod.h96 typedef struct str { struct
135 static void freestr(str_t *str);
136 static void resetstr(str_t *str);
137 static int strcopys(str_t *str, char *s);
138 static int strcats(str_t *str, char *s);
139 static int strcatc(str_t *str, int c);
140 static char *fstrgets(str_t *str, FILE *fp);
141 static void strtrunc(str_t *str, int pos);
/illumos-gate/usr/src/lib/libast/common/uwin/
H A Da64l.c45 extern long a64l(const char *str) argument
53 if((c= *str++)==0)
/illumos-gate/usr/src/lib/libfru/libgenutil/
H A DStr.cc37 Str::Str(const char *str) argument
38 : str_(strcpy(new char[strlen(str)+1], str)),
42 Str::Str(const char *str, int len) argument
46 strlcpy(str_, str, len+1);
69 Str::operator = (const char *str) argument
72 str_ = strcpy(new char[strlen(str)+1], str);
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_strings.c38 char *str = NULL; local
40 run_sql(get_str, &str,
44 if ((unsigned long)str == -1UL)
46 return str;
51 char *str; local
55 str = get_string_from_mtag(tag);
56 if (!str)
58 return string_expression(str);
/illumos-gate/usr/src/lib/libsec/common/
H A Dacl_lex.l216 "type '%s' specified.\n"), yylval.str);
217 free(yylval.str);
226 yylval.str = strdup(yytext);
227 if (yylval.str == NULL) {
231 yylval.str[strlen(yylval.str) -1] = '\0';
232 yystrings.y_logname = yylval.str;
256 yylval.str);
257 free(yylval.str);
351 yylval.str
[all...]
/illumos-gate/usr/src/cmd/ptools/pflags/
H A Dpflags.c377 char *str = code_buf; local
383 (void) sprintf(str, "0x%x", arg & ~ALLFLAGS);
385 *str = '\0';
391 (void) strcat(str, "|DAEMON");
393 (void) strcat(str, "|DETACH");
396 (void) strcat(str, "|STOPPED");
398 (void) strcat(str, "|ISTOP");
400 (void) strcat(str, "|DSTOP");
403 (void) strcat(str, "|ASLEEP");
406 (void) strcat(str, "|PCINVA
448 char *str; local
485 char *str; local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/
H A Dfc_led_parse.c43 static int get_cstr(str *p_str, cstr *p_cstr_res);
44 static int get_assert(str *p_str, int *assert);
45 static int get_pnz(str *p_str, int *pnz);
46 static int get_mask(str *p_str, int n_disks, int *p_intarray);
53 static int act_version(str *p_str, led_dtls_t *dtls);
54 static int act_leds_board(str *p_str, led_dtls_t *dtls);
55 static int act_status_board(str *p_str, led_dtls_t *dtls);
56 static int act_disk_driver(str *p_str, led_dtls_t *dtls);
57 static int act_n_disks(str *p_str, led_dtls_t *dtls);
58 static int act_asrt_pres(str *p_st
[all...]
/illumos-gate/usr/src/cmd/regcmp/
H A Dregcmp.c52 char *name, *str, *v; local
103 str = a1;
144 *str++ = '\011';
147 *str++ = '\012';
150 *str++ = '\015';
153 *str++ = '\010';
156 *str++ = '\\';
160 *str++ = getnm((char)c);
161 else *str++ = c;
165 *str
[all...]
/illumos-gate/usr/src/common/ctf/
H A Dctf_hash.c97 const char *str = ctsp->cts_strs + CTF_NAME_OFFSET(name); local
113 if (str[0] == '\0')
118 h = ctf_hash_compute(str, strlen(str)) % hp->h_nbuckets;
133 const char *str = ctf_strptr(fp, name); local
134 ctf_helem_t *hep = ctf_hash_lookup(hp, fp, str, strlen(str));
148 const char *str; local
156 str = ctsp->cts_strs + CTF_NAME_OFFSET(hep->h_name);
158 if (strncmp(key, str, le
[all...]
/illumos-gate/usr/src/lib/scsi/libsmp/common/
H A Dsmp_subr.c177 smp_strdup(const char *str) argument
179 size_t len = strlen(str);
185 return (strcpy(dup, str));
199 smp_trim_strdup(const char *str, size_t len) argument
204 for (p = str; p - str < len && isspace(*p); p++)
207 len -= (p - str);
212 for (str = p + len - 1; str > p && isspace(*str); st
[all...]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_cmds2.c109 * Print out the message in the error message file at str,
114 error(str, i)
115 unsigned char *str;
120 noerror(str, i);
132 noerror(str, i)
133 unsigned char *str;
138 merror(str, i);
144 error1(str);
149 * Print out the message in the error message file at str,
154 error(str,
253 error1(unsigned char *str) argument
504 serror(unsigned char *str, unsigned char *cp) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/ldd/common/
H A Dldd.c160 char *str, *cname = argv[0]; local
283 for (APLIST_TRAVERSE(eopts, idx, str)) {
284 if ((strncmp(str, MSG_ORIG(MSG_LD_PRELOAD_32),
286 str += MSG_LD_PRELOAD_32_SIZE;
287 if ((*str++ == '=') && (*str != '\0'))
288 prefile_32 = str;
291 if ((strncmp(str, MSG_ORIG(MSG_LD_PRELOAD_64),
293 str += MSG_LD_PRELOAD_64_SIZE;
294 if ((*str
663 char *str; local
674 char *str; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Doptions.c208 strsave(const char *str) argument
212 if (str == NULL)
214 newstr = (char *)malloc(strlen(str) + 1);
216 (void) strcpy(newstr, str);
364 set_service(struct service_list *slp, const char *str) argument
374 slp = (struct service_list *)calloc(sizeof (*slp) + strlen(str) + 1,
377 logerr("no memory for service \"%s\"", str);
392 (void) strcpy((char *)(slp+1), str);
406 set_wildcard(struct service_list *slp, const char *str) argument
412 slp->sl_parse->ps_cfile->pf_name, str);
426 set_debug(struct service_list *slp, const char *str) argument
440 set_nodebug(struct service_list *slp, const char *str) argument
455 set_string(struct service_list *slp, const char *str) argument
492 set_file(struct service_list *slp, const char *str) argument
532 set_device(struct service_list *slp, const char *str) argument
603 set_client(struct service_list *slp, const char *str) argument
682 set_user(struct service_list *slp, const char *str) argument
715 set_group(struct service_list *slp, const char *str) argument
1896 char *str; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dutf8.c453 char *krb5int_utf8_strchr(const char *str, const char *chr) argument
459 for ( ; *str != '\0'; KRB5_UTF8_INCR(str)) {
460 if (krb5int_utf8_to_ucs4(str, &chs) == 0 && chs == ch)
461 return (char *)str;
468 size_t krb5int_utf8_strcspn(const char *str, const char *set) argument
473 for (cstr = str; *cstr != '\0'; KRB5_UTF8_INCR(cstr)) {
477 return cstr - str;
481 return cstr - str;
485 size_t krb5int_utf8_strspn(const char *str, cons argument
504 krb5int_utf8_strpbrk(const char *str, const char *set) argument
521 krb5int_utf8_strtok(char *str, const char *sep, char **last) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dfiles.c68 const char *str; local
72 str = MSG_ORIG(MSG_MR_PADDING);
74 str = MSG_ORIG(MSG_MR_HDR_ELF);
76 str = MSG_ORIG(MSG_MR_HDR_AOUT);
78 str = MSG_ORIG(MSG_STR_EMPTY);
81 EC_NATPTR(mpp->mr_addr), EC_OFF(mpp->mr_fsize), str);
104 const char *str; local
110 str = MSG_INTL(MSG_STR_TEMPORARY);
112 str = MSG_ORIG(MSG_STR_EMPTY);
114 dbg_print(lml, MSG_INTL(MSG_FIL_ELF), name, str);
199 const char *str; local
228 Msg str; local
316 const char *str; local
510 const char *str; local
641 const char *str; local
732 const char *str; local
[all...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dnewkey.c64 char *str; local
106 key_info->_sends = str = (char *) key_info + sizeof (_KEY_MAP);
107 (void) memcpy(str, rcvchars, len);
109 cur_term->funckeystarter[*str] |= (macro ? _MACRO : _KEY);
H A Dwinnstr.c49 * of window into char buffer str. Return the number of chars copied.
53 winnstr(WINDOW *win, char *str, int ncols) argument
79 *str++ = (char) wc;
84 *str++ = (char) wc;
97 *str = '\0';
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dscanf.c75 sscanf(const char *str, const char *fmt, ...) argument
81 ret = vsscanf(str, fmt, ap);
127 _sscanf_c89(const char *str, const char *fmt, ...) argument
133 ret = _vsscanf_c89(str, fmt, ap);
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/
H A Dtable.c41 * of "str". The table is alphabetized, with no distinction between
45 tablekey(str)
46 register char *str;
53 c1 = *str++;
54 c2 = *str;
/illumos-gate/usr/src/cmd/oamuser/lib/
H A Dvgroup.c102 isalldigit(char *str) argument
104 while (*str != '\0') {
105 if (!isdigit((unsigned char)*str))
107 str++;
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Utils/
H A DUtils.xs57 gmatch(str, pattern)
58 char *str;
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Ddpost.h116 * in the current string. *str points to the start of the string in the strings[]
126 char *str; /* where the string is stored */ member in struct:__anon824

Completed in 59 milliseconds

<<11121314151617181920>>