Searched defs:cur (Results 1 - 25 of 264) 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/libresolv2/common/isc/
H A Dev_files.c155 evFile *cur; local
193 if (!(cur = FindFD(ctx, del->fd, EV_MASK_ALL)) &&
217 cur != NULL && eventmask != EV_MASK_ALL;
218 cur = cur->next)
219 if (cur->fd == del->fd)
220 eventmask |= cur->eventmask;
248 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) {
H A Dtape.c207 tape_pathclass_next(char *cur, char **nxt, void *ctpriv) argument
209 if (cur == NULL) {
212 } else if (strcmp(cur, PCLASS_PRIMARY) == 0) {
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dregexp.c38 char* cur; member in struct:__anon2724
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/lib/libscf/common/
H A Derror.c154 struct scf_error_info *cur, *end; local
156 cur = scf_errors;
157 end = cur + SCF_NUM_ERRORS;
159 for (; cur < end; cur++)
160 if (code == cur->ei_code)
161 return (dgettext(TEXT_DOMAIN, cur->ei_desc));
/illumos-gate/usr/src/lib/libc/port/inet/
H A Dinet_ntop.c107 struct { int base, len; } best, cur; local
120 cur.base = -1;
123 if (cur.base == -1)
124 cur.base = i, cur.len = 1;
126 cur.len++;
128 if (cur.base != -1) {
129 if (best.base == -1 || cur.len > best.len)
130 best = cur;
131 cur
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dbiossmap.c61 struct smap_buf *cur, *next; local
98 STAILQ_FOREACH(cur, &head, bufs)
99 smapbase[n++] = cur->smap;
105 STAILQ_FOREACH(cur, &head, bufs)
106 smapattr[n++] = cur->xattr &
111 cur = STAILQ_FIRST(&head);
112 while (cur != NULL) {
113 next = STAILQ_NEXT(cur, bufs);
114 free(cur);
115 cur
[all...]
/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/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/sgs/libconv/common/
H A Dglobals_machelf.c91 char *cur; /* Current output position in buf */ member in struct:__anon1715
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/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
/illumos-gate/usr/src/uts/common/os/
H A Dmemlist_new.c122 struct memlist *cur, *last; local
128 for (cur = *curmemlistp; cur; cur = cur->ml_next) {
129 last = cur;
130 if (cur->ml_address >= end) {
131 new->ml_next = cur;
132 new->ml_prev = cur->ml_prev;
133 cur
[all...]

Completed in 90 milliseconds

1234567891011