Searched refs:nstr (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/lib/libpkg/common/
H A Dlogerr.c46 char *nstr = pkg_gt("NOTE:"); local
53 strncmp(fmt, nstr, strlen(nstr))) {
/illumos-gate/usr/src/lib/libeti/form/common/
H A Dchg_data.c67 extra_padding(char *str, int nstr) /* used for word wrapping */ argument
69 int c = *(str + nstr - 1);
72 c = *(str + nstr - 2);
174 insert_str(FORM *f, int y, int off, int nstr) /* used for word wrapping */ argument
182 int pad = extra_padding(Buf(c) + off, nstr);
183 int siz = nstr + 1 + pad;
188 (void) winsnstr(w, Buf(c) + off, nstr);
189 (void) wmove(w, y, nstr);
210 (void) winsnstr(w, Buf(c) + off, nstr);
211 (void) wmove(w, y, nstr);
[all...]
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dpacklib.c210 register char *nstr; local
212 nstr = pwp->data[i];
214 if (nstr[0]) {
215 for (j = 0; ostr[j] && nstr[j] &&
216 (ostr[j] == nstr[j]); j++)
219 (void) fputs(nstr + j, pwp->dfp);
223 ostr = nstr;
238 register char *nstr; local
278 nstr = data[i];
279 (void) strcpy(nstr, ost
[all...]
/illumos-gate/usr/src/common/elfcap/
H A Delfcap.c350 token(char **ostr, size_t *olen, const elfcap_str_t *nstr) argument
352 if (*olen < nstr->s_len)
355 (void) strcat(*ostr, nstr->s_str);
356 *ostr += nstr->s_len;
357 *olen -= nstr->s_len;
394 const elfcap_str_t *nstr; local
407 err = get_str_desc(style, &cdp[cnt - 1], &nstr);
410 if ((err = token(&str, &slen, nstr)) != ELFCAP_ERR_NONE)
527 const elfcap_str_t *nstr; local
539 if ((err = get_str_desc(style, &cdp[num], &nstr)) !
[all...]
/illumos-gate/usr/src/cmd/devctl/
H A Ddevctl.c400 int nstr; local
416 nstr = 0;
424 nstr++;
425 strs = (char **)s_realloc(strs, nstr * sizeof (char *));
426 strs[nstr - 1] = pval;
428 (void) printf("string[%d] = %s\n", nstr - 1, pval);
437 (void) devctl_ddef_string_array(ddef_hdl, pname, nstr, strs);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dlogging.c111 char *nstr; local
166 for (; *ostr != '\0'; ostr = nstr + 1) {
167 nstr = strchr(ostr, '\n');
170 if (nstr == ostr)
173 slen = nstr - ostr + 1;
/illumos-gate/usr/src/cmd/allocate/
H A Dadd_allocatable.c392 char *kval, *nopts, *ntok, *nstr, local
455 nstr = defmin;
459 strlen(nstr) + 1;
464 ntok, KV_ASSIGN, nstr);
471 nstr = defmax;
475 strlen(nstr) + 1;
480 ntok, KV_ASSIGN, nstr);
/illumos-gate/usr/src/cmd/ctstat/
H A Dctstat.c525 char hstr[100], qstr[20], nstr[20]; local
579 qstr[0] = nstr[0] = '-';
580 qstr[1] = nstr[1] = '\0';
583 (void) snprintf(nstr, sizeof (nstr), "%d",
597 ct_status_get_nevents(status), qstr, nstr);
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_typedef.c131 typedef_join_strings(int nstr, const mdb_arg_t *args, int flags) argument
136 for (i = 0; i <= nstr; i++) {
144 for (i = 0; i <= nstr; i++) {
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dplace.c367 #define NSTR_CH1(ch) (*(nstr + 1) == (ch))
368 #define NSTR_CH2(ch) (*(nstr + 2) == (ch))
369 #define NSTR_CH3(ch) (*(nstr + 3) == (ch))
374 const char *nstr = &ostr[MSG_SCN_GNU_LINKONCE_SIZE]; local
376 switch (*nstr) {
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dutil.c2125 char *nstr, *sstr, *estr = NULL; local
2136 if ((nstr = malloc(len + 1)) == NULL)
2138 (void) strcpy(nstr, str);
2140 for (sstr = nstr; sstr; sstr++, len--) {
2166 nlen = estr - nstr;
2175 nlen = sstr - nstr;
2196 if ((flags |= ld_arch_env(nstr, &nlen)) != ENV_TYP_IGNORE) {
2197 ld_generic_env(nstr, nlen, estr, lmflags,
2203 nstr = sstr + 1;
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Ddigest_md5.c457 static const char nstr[] = "nonce"; local
545 if (lstreqcase(nstr, attr, alen)) {
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus.c1548 char *nstr = kmem_zalloc(len + 1, KM_SLEEP); local
1550 bcopy(vp, nstr, len);
1551 cardbus_add_prop(cdsp, DDI_PROP_TYPE_STRING, name, (caddr_t)nstr,
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dspd.c4558 char *nstr; local
4585 nstr = kmem_alloc(idlen, KM_NOSLEEP);
4586 if (!nstr) {
4598 retval->ipsid_cid = nstr;
4600 bcopy(idstring, nstr, idlen);
/illumos-gate/usr/src/uts/common/io/
H A Dgld.c5911 int nstr = 0; local
5928 nstr++;
5930 ASSERT(vlan->gldv_nstreams == nstr);
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c1052 char *dup, *nstr; local
1068 nstr = dup = safe_strdup(str);
1074 nstr = dup + 1;
1077 if (scf_value_set_from_string(v, ty, (const char *)nstr) != 0) {
1080 scf_type_to_string(ty), nstr); local

Completed in 1426 milliseconds