Searched defs:cur (Results 1 - 25 of 257) sorted by relevance

1234567891011

/illumos-gate/usr/src/lib/libast/common/string/
H A Dfmtversion.c35 register char* cur; local
40 buf = cur = fmtbuf(n = 18);
41 end = cur + n;
43 sfsprintf(cur, end - cur, "%04lu-%02lu-%02lu", (v / 10000) % 10000, (v / 100) % 100, v % 100);
47 cur += sfsprintf(cur, end - cur, "%d.", n);
49 cur += sfsprintf(cur, en
[all...]
H A Dfmtbuf.c43 register char* cur; local
65 cur = nxt;
68 return cur;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcccopy.c10 krb5_cc_cursor cur = 0; local
24 if ((code = krb5_cc_start_seq_get(context, incc, &cur)))
27 while (!(code = krb5_cc_next_cred(context, incc, &cur, &creds))) {
37 code = krb5_cc_end_seq_get(context, incc, &cur);
38 cur = 0;
48 if (cur)
49 krb5_cc_end_seq_get(context, incc, &cur);
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_error.c67 struct nwam_error_info *cur, *end; local
69 cur = nwam_errors;
70 end = cur + NWAM_NUM_ERRORS;
72 for (; cur < end; cur++) {
73 if (code == cur->error_code)
74 return (dgettext(TEXT_DOMAIN, cur->error_desc));
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmemmem.c63 char *cur, *last; local
82 for (cur = (char *)cl; cur <= last; cur++)
83 if (cur[0] == cs[0] && memcmp(cur, cs, s_len) == 0)
84 return (cur);
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/
H A Dtable.c71 tablelist cur, new; local
74 cur = table[index];
79 new->next = cur;
89 tablelist cur; local
91 cur = table[tablekey(key)];
92 while (cur && strcmp(cur->key, key)) {
93 cur = cur->next;
95 if (cur) {
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_findrealm.c38 krb5_kt_cursor cur; local
44 ret = krb5_kt_start_seq_get(context, keytab, &cur);
49 while ((ret = krb5_kt_next_entry(context, keytab, &ent, &cur)) == 0) {
69 krb5_kt_end_seq_get(context, keytab, &cur);
80 ret2 = krb5_kt_end_seq_get(context, keytab, &cur);
/illumos-gate/usr/src/cmd/adbgen/common/
H A Dadbgen4.c52 char *cur, *last, *cp1, *cp2, *ep, *t; local
57 cur = buf2;
58 while (gets(cur) != NULL) {
59 if (goodstart(cur) && goodstart(last)) {
61 * Scan cur for initial increment.
64 cp1 = cur + 2;
104 * Remove it from cur.
113 t = cur;
114 cur = last;
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dfs3d.c42 register int cur; local
68 cur = FS3D_ON;
70 cur = FS3D_LIMIT((int)strtol(v + sizeof(off) + 1, NiL, 0));
72 cur = FS3D_OFF;
73 if (cur != op)
95 return cur;
/illumos-gate/usr/src/lib/libscf/common/
H A Derror.c153 struct scf_error_info *cur, *end; local
155 cur = scf_errors;
156 end = cur + SCF_NUM_ERRORS;
158 for (; cur < end; cur++)
159 if (code == cur->ei_code)
160 return (dgettext(TEXT_DOMAIN, cur->ei_desc));
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dinet_ntop.c113 struct { int base, len; } best, cur; local
126 cur.base = -1;
129 if (cur.base == -1)
130 cur.base = i, cur.len = 1;
132 cur.len++;
134 if (cur.base != -1) {
135 if (best.base == -1 || cur.len > best.len)
136 best = cur;
137 cur
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dev_files.c159 evFile *cur; local
197 if (!(cur = FindFD(ctx, del->fd, EV_MASK_ALL)) &&
221 cur != NULL && eventmask != EV_MASK_ALL;
222 cur = cur->next)
223 if (cur->fd == del->fd)
224 eventmask |= cur->eventmask;
252 for (cur = ctx->files; cur; cur
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dmyfopen.c106 register NODE *cur, *prev; local
108 for (prev = cur = fplist; cur != (NODE *)NULL; cur = cur->next) {
109 if (cur == oldcur) {
110 if (cur == fplist) {
111 cur = fplist = cur->next;
113 prev->next = cur
143 register NODE *cur; local
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/
H A Dsym.c167 symmetric_pathclass_next(char *cur, char **nxt, void *ctpriv) argument
169 if (cur == NULL) {
172 } else if (strcmp(cur, PCLASS_PRIMARY) == 0) {
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dregexp.c38 char* cur; member in struct:__anon2609
47 if (data || (size = roundof(size, ALIGN_BOUND2)) > (env->buf + env->size - env->cur))
49 data = (void*)env->cur;
50 env->cur += size;
62 env->buf = env->cur = (char*)env + sizeof(Env_t);
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfmove.c47 Sfoff_t n_move, sk, cur; local
97 else if((cur = SFSEEK(fr, (Sfoff_t)0, SEEK_CUR)) >= 0 )
99 if(sk > cur) /* safe to skip over data in current stream */
100 { n_move += sk - cur;
102 n -= sk - cur;
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dbiossmap.c62 struct smap_buf *cur, *next; local
99 STAILQ_FOREACH(cur, &head, bufs)
100 smapbase[n++] = cur->smap;
106 STAILQ_FOREACH(cur, &head, bufs)
107 smapattr[n++] = cur->xattr &
112 cur = STAILQ_FIRST(&head);
113 while (cur != NULL) {
114 next = STAILQ_NEXT(cur, bufs);
115 free(cur);
116 cur
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dvfy_increds.c17 krb5_cc_cursor cur; local
29 if ((code = krb5_cc_start_seq_get(context, incc, &cur)) != NULL)
33 while ((code = krb5_cc_next_cred(context, incc, &cur, &creds)) == NULL) {
/illumos-gate/usr/src/lib/libresolv2/common/inet/
H A Dinet_cidr_ntop.c163 struct { int base, len; } best, cur; local
182 cur.base = -1;
183 cur.len = 0;
186 if (cur.base == -1)
187 cur.base = i, cur.len = 1;
189 cur.len++;
191 if (cur.base != -1) {
192 if (best.base == -1 || cur.len > best.len)
193 best = cur;
[all...]
/illumos-gate/usr/src/cmd/rcap/rcapd/
H A Drcapd_collection.c187 lprocess_t *cur = lcol->lcol_lprocess; local
189 while (cur != NULL)
190 if (cur == lpc)
193 cur = cur->lpc_next;
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dglobals_machelf.c91 char *cur; /* Current output position in buf */ member in struct:__anon1671
112 (void) memcpy(state->cur, state->sep_str,
114 state->cur += state->sep_str_len;
126 (void) memcpy(state->cur, str, n);
127 state->cur += n;
150 state->cur = arg->buf;
200 *state->cur = '\0';
/illumos-gate/usr/src/cmd/acctadm/
H A Dutils.c154 struct stat cur; local
163 stat(file, &new) != -1 && stat(name, &cur) != -1 &&
164 new.st_dev == cur.st_dev && new.st_ino == cur.st_ino)
/illumos-gate/usr/src/cmd/avs/dsstat/
H A Dreport.c138 * kstat_io_t *cur - pointer to current data
153 kstat_io_t *cur = cur_kstat->ks_data; local
165 rd_cnt = (double)u32_delta(pre->reads, cur->reads);
169 rd_kb = (double)u64_delta(pre->nread, cur->nread) / KILOBYTE;
173 wr_cnt = (double)u32_delta(pre->writes, cur->writes);
177 wr_kb = (double)u64_delta(pre->nwritten, cur->nwritten) / KILOBYTE;
181 avs = (double)hrtime_delta(pre->rlentime, cur->rlentime) / hr_etime;
255 io_value_check(kstat_io_t *pre, kstat_io_t *cur) argument
257 if (u32_delta(pre->reads, cur->reads))
259 if (u32_delta(pre->writes, cur
[all...]
/illumos-gate/usr/src/cmd/sgs/libldmake/common/
H A Dld_file.c107 Stritem *cur; local
132 for (cur = list; cur; cur = cur->next)
133 (void) fprintf(ofp, " %s", cur->str);
/illumos-gate/usr/src/uts/common/inet/ilb/
H A Dilb_nat.h62 uint16_t cur; member in struct:ilb_nat_src_s

Completed in 68 milliseconds

1234567891011