/illumos-gate/usr/src/lib/libast/common/string/ |
H A D | fmtversion.c | 35 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 D | fmtbuf.c | 43 register char* cur; local 65 cur = nxt; 68 return cur;
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | cccopy.c | 10 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 D | libnwam_error.c | 67 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 D | memmem.c | 63 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 D | table.c | 71 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 D | kt_findrealm.c | 38 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 D | adbgen4.c | 52 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 D | fs3d.c | 42 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 D | error.c | 153 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 D | inet_ntop.c | 113 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 D | ev_files.c | 159 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 D | myfopen.c | 106 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 D | sym.c | 167 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 D | regexp.c | 38 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 D | sfmove.c | 47 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 D | biossmap.c | 62 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 D | vfy_increds.c | 17 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 D | inet_cidr_ntop.c | 163 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 D | rcapd_collection.c | 187 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 D | globals_machelf.c | 91 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 D | utils.c | 154 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 D | report.c | 138 * 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 D | ld_file.c | 107 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 D | ilb_nat.h | 62 uint16_t cur; member in struct:ilb_nat_src_s
|