Searched defs:instr (Results 1 - 25 of 56) sorted by relevance

123

/osnet-11/usr/src/lib/libcurses/screen/
H A D_instr.c49 instr(char *s) function
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dinnstr.c100 (instr)(s) function
106 __m_trace("instr(%p)", s);
111 return __m_return_code("instr", code);
/osnet-11/usr/src/lib/libsocket/inet/
H A Dbootparams_getbyname.c69 * NOTE: we expect the data we're passed (in instr) has had the host's name
75 const char *instr,
84 if ((instr >= buffer && (buffer + buflen) > instr) ||
85 (buffer >= instr && (instr + lenstr) > buffer)) {
88 p = instr;
99 lenstr -= (p - instr);
74 str2bootent( const char *instr, int lenstr, void *ent, char *buffer, int buflen ) argument
H A Dgetnetent_r.c134 str2netent(const char *instr, int lenstr, argument
143 if ((instr >= buffer && (buffer + buflen) > instr) ||
144 (buffer >= instr && (instr + lenstr) > buffer)) {
148 p = instr;
215 net->n_aliases = _nss_netdb_aliases(p, lenstr - (int)(p - instr),
H A Dgetprotoent_r.c129 str2protoent(const char *instr, int lenstr, argument
139 if ((instr >= buffer && (buffer + buflen) > instr) ||
140 (buffer >= instr && (instr + lenstr) > buffer)) {
144 p = instr;
210 proto->p_aliases = _nss_netdb_aliases(p, lenstr - (int)(p - instr),
H A Dether_addr.c155 * This function, after parsing the instr line, will
168 * Cannot use the sscanf() technique for parsing because instr
182 str2ether(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
189 p = instr;
H A Dnetmasks.c224 str2addr(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
233 p = instr;
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dinnstr.c89 #undef instr macro
92 instr(char *s) function
/osnet-11/usr/src/lib/nsswitch/files/common/
H A Dbootparams_getbyname.c99 char *instr = be->buf; local
110 if ((linelen = _nss_files_read_line(be, instr,
121 p = instr;
149 linelen -= (p - instr);
H A Dgetprinter.c96 char *instr = be->buf; local
99 if ((linelen = _nss_files_read_line(be, instr,
108 while (isspace(*instr)) {
109 instr++;
114 if (*instr == '#')
118 if ((*instr == '\n') || (*instr == '\0'))
121 if (filter != 0 && strstr(instr, filter) == 0) {
133 if (check != NULL && (*check)(args, instr, linelen) == 0)
137 parsestat = (*func)(instr, linele
[all...]
/osnet-11/usr/src/lib/nsswitch/user/common/
H A Duser_common.c176 char *instr = be->buf; local
179 if ((linelen = _nss_user_read_line(be->f, instr,
186 if (filter != 0 && strstr(instr, filter) == 0) {
198 if ((last = strchr(instr, '#')) == 0) {
199 last = instr + linelen;
207 for (first = instr; isspace(*first); first++) {
224 if (first != instr) {
225 instr = first;
230 parsestat = (*args->str2ent)(instr, linelen, args->buf.result,
H A Dgetprinter.c123 char *instr = be->buf; local
135 if ((linelen = _nss_user_read_line(be->f, instr,
142 p = instr;
150 if ((limit = strpbrk(instr, "\t ")) == NULL) /* bad line */
198 char *instr = be->buf; local
201 if ((linelen = _nss_user_read_line(be->f, instr,
/osnet-11/usr/src/lib/libnsl/nss/
H A Dgethostent6.c57 str2hostent6(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
59 return (__str2hostent(AF_INET6, instr, lenstr, ent, buffer, buflen));
H A Dgethostent_r.c52 str2hostent(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
54 return (__str2hostent(AF_INET, instr, lenstr, ent, buffer, buflen));
H A Dgethostent.c106 __str2hostent(int af, const char *instr, int lenstr, void *ent, char *buffer, argument
118 if ((instr >= buffer && (buffer + buflen) > instr) ||
119 (buffer >= instr && (instr + lenstr) > buffer))
149 p = instr;
182 p = instr;
186 limit = memchr(p, '\n', lenstr - (p - instr));
188 limit = instr + lenstr;
248 if (limit >= instr
[all...]
H A Dgetrpcent_r.c119 str2rpcent(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
127 if ((instr >= buffer && (buffer + buflen) > instr) ||
128 (buffer >= instr && (instr + lenstr) > buffer))
131 p = instr;
190 rpc->r_aliases = _nss_netdb_aliases(p, (int)(lenstr - (p - instr)),
/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetauuser.c61 str2auuser(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
70 if (instr != buffer)
71 (void) strncpy(buffer, instr, buflen);
H A Dgetauthattr.c60 _str2authattr(const char *instr, int lenstr, void *ent, char *buf, int buflen) argument
69 if (instr != buf)
70 (void) memcpy(buf, instr, lenstr);
H A Dgetprofattr.c60 _str2profattr(const char *instr, int lenstr, void *ent, char *buffer, argument
70 if (instr != buffer)
71 (void) memcpy(buffer, instr, lenstr);
H A Dgetpwnam_r.c241 str2passwd(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
255 if (instr != buffer) {
257 (void) memmove(buffer, instr, lenstr);
/osnet-11/usr/src/lib/libtsnet/common/
H A Dtsol_gettpent.c162 str_to_tpstr(const char *instr, int lenstr, void *entp, char *buffer, argument
170 if ((instr >= buffer && (buffer + buflen) > instr) ||
171 (buffer >= instr && (instr + lenstr) > buffer))
175 (void) strncpy(buffer, instr, buflen);
187 instr, tpstrp->tpstr_template ? tpstrp->tpstr_template : "NULL",
/osnet-11/usr/src/lib/nsswitch/nis/common/
H A Dgetspent.c46 nis_str2spent(const char *instr, int lenstr, void *ent, char *buffer, argument
53 * We know that instr != 0 because we're in 'nis', not 'files'
55 if ((p = memchr(instr, ':', lenstr)) == 0) {
58 if ((q = memchr(p + 1, ':', lenstr - (p + 1 - instr))) == 0) {
63 if (q + 1 - instr > buflen) {
69 (void) memcpy(buffer, instr, q - instr);
71 buffer[p - instr] = '\0';
72 buffer[q - instr] = '\0';
75 spwd->sp_pwdp = buffer + (p + 1 - instr);
[all...]
/osnet-11/usr/src/lib/libdisasm/sparc/
H A Ddis_sparc.c238 uint32_t instr; local
241 if (dhp->dh_read(dhp->dh_data, addr, &instr, sizeof (instr)) !=
242 sizeof (instr))
252 instr = BE_32(instr);
256 do_binary(instr);
261 idx = dis_get_bits(instr, tp->tbl_field, tp->tbl_len);
278 if (tp->tbl_fmt(dhp, instr, inp, idx) == 0)
285 instr);
291 dis_get_bits(uint32_t instr, int offset, int length) argument
333 do_binary(uint32_t instr) argument
[all...]
/osnet-11/usr/src/lib/libdtrace/sparc/
H A Ddt_isadep.c109 fasttrap_instr_query_t instr; local
111 instr.ftiq_pid = Pstatus(P)->pr_pid;
112 instr.ftiq_pc = symp->st_value + i * 4;
115 &instr) != 0) {
119 instr.ftiq_pc) != 4) {
134 text[i] = instr.ftiq_instr;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/x2p/
H A Dutil.c137 instr(char *big, char *little) function

Completed in 77 milliseconds

123