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

123456

/osnet-11/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;
/osnet-11/usr/src/lib/libnwam/common/
H A Dlibnwam_error.c73 struct nwam_error_info *cur, *end; local
75 cur = nwam_errors;
76 end = cur + NWAM_NUM_ERRORS;
78 for (; cur < end; cur++) {
79 if (code == cur->error_code)
80 return (dgettext(TEXT_DOMAIN, cur->error_desc));
/osnet-11/usr/src/lib/libdll/common/
H A Ddllcheck.c54 * cur!=0 gets actual version
58 dllcheck(void* dll, const char* path, unsigned long ver, unsigned long* cur) argument
64 if (ver || cur)
67 if (cur)
68 *cur = v;
H A Ddllplug.c36 dllplugin(const char* lib, const char* name, const char* ver, unsigned long rel, unsigned long* cur, int flags, char* path, size_t size) argument
57 if (!dllcheck(dll, dle->path, rel, cur))
111 if (!dllcheck(dll, name, rel, cur))
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcccopy.c9 krb5_cc_cursor cur = 0; local
23 if ((code = krb5_cc_start_seq_get(context, incc, &cur)))
26 while (!(code = krb5_cc_next_cred(context, incc, &cur, &creds))) {
36 code = krb5_cc_end_seq_get(context, incc, &cur);
37 cur = 0;
47 if (cur)
48 krb5_cc_end_seq_get(context, incc, &cur);
/osnet-11/usr/src/lib/libc/port/gen/
H A Dmemmem.c42 char *cur, *last; local
61 for (cur = (char *)cl; cur <= last; cur++)
62 if (cur[0] == cs[0] && memcmp(cur, cs, s_len) == 0)
63 return (cur);
/osnet-11/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);
/osnet-11/usr/src/grub/grub2/grub-core/efiemu/
H A Dprepare.c34 struct grub_efiemu_configuration_table *cur; local
46 for (cur = config_tables; cur; cur = cur->next)
95 for (cur = config_tables; cur; cur = cur->next, i++)
97 grub_memcpy (&(conftables[i].vendor_guid), &(cur
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/mmap/i386/
H A Dmmap.c81 struct grub_mmap_region *cur; local
84 for (cur = grub_mmap_overlays; cur; cur = cur->next)
85 if (cur->handle == handle)
88 if (! cur)
91 addr = cur->start;
/osnet-11/usr/src/grub/grub2/grub-core/normal/
H A Dcrypto.c39 struct load_spec *cur; local
49 for (cur = crypto_specs; cur; cur = cur->next)
50 if (grub_strcasecmp (name, cur->name) == 0)
52 mod = grub_dl_load (cur->modname);
63 struct load_spec *cur, *next; local
64 for (cur = crypto_specs; cur; cu
110 struct load_spec *cur; local
[all...]
/osnet-11/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;
/osnet-11/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...]
/osnet-11/usr/src/lib/libscf/common/
H A Derror.c152 struct scf_error_info *cur, *end; local
154 cur = scf_errors;
155 end = cur + SCF_NUM_ERRORS;
157 for (; cur < end; cur++)
158 if (code == cur->ei_code)
159 return (dgettext(TEXT_DOMAIN, cur->ei_desc));
/osnet-11/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...]
/osnet-11/usr/src/lib/libast/common/comp/
H A Dregexp.c38 char* cur; member in struct:__anon1128
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);
/osnet-11/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;
/osnet-11/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...]
/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Draid6_recover.c53 grub_uint8_t cur = 1; local
56 powx[i] = cur;
57 powx[i + 255] = cur;
58 powx_inv[cur] = i;
59 if (cur & 0x80)
60 cur = (cur << 1) ^ poly;
62 cur <<= 1;
/osnet-11/usr/src/grub/grub2/grub-core/kern/mips/arc/
H A Dinit.c96 struct grub_arc_memory_descriptor *cur = NULL; local
100 cur = GRUB_ARC_FIRMWARE_VECTOR->getmemorydescriptor (cur);
101 if (!cur)
103 switch (cur->type)
122 if (hook (((grub_uint64_t) cur->start_page) << 12,
123 ((grub_uint64_t) cur->num_pages) << 12, type))
134 struct grub_arc_memory_descriptor *cur = NULL; local
146 cur = GRUB_ARC_FIRMWARE_VECTOR->getmemorydescriptor (cur);
[all...]
/osnet-11/usr/src/lib/libldap4/common/
H A Dopen.c157 pthread_t cur = thr_self(); local
159 if (ldap_thr_table[i] == cur) {
170 ldap_thr_table[i] = cur;
/osnet-11/usr/src/lib/libdisasm/i386/
H A Ddis_i386.c208 int cur, nseen; local
220 for (cur = 0, nseen = 0, addr = start; addr < pc; addr = dhp->dh_addr) {
221 hist[cur] = addr;
222 cur = (cur + 1) % n;
242 res = hist[(cur + n - MIN(n, nseen)) % n];
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dvfy_increds.c37 krb5_cc_cursor cur; local
46 if ((code = krb5_cc_start_seq_get(context, incc, &cur)))
49 while (!(code = krb5_cc_next_cred(context, incc, &cur, &creds))) {
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_debug.c207 indx_t cur, top, lim; local
239 for (cur = 0; cur < lim; cur++) {
240 (void)fprintf(tracefp, "\t[%03d] %4d ", cur, h->linp[cur]);
243 bi = GETBINTERNAL(h, cur);
253 ri = GETRINTERNAL(h, cur);
258 bl = GETBLEAF(h, cur);
278 rl = GETRLEAF(h, cur);
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dparttool.c49 struct grub_parttool *cur; local
55 cur = (struct grub_parttool *) grub_malloc (sizeof (struct grub_parttool));
56 cur->next = parts;
57 cur->name = grub_strdup (part_name);
58 cur->handle = curhandle++;
60 cur->nargs = nargs;
61 cur->args = (struct grub_parttool_argdesc *)
63 grub_memcpy (cur->args, args,
66 cur->func = func;
67 parts = cur;
74 struct grub_parttool *prev = 0, *cur, *t; local
102 struct grub_parttool *cur, *ptool; local
[all...]

Completed in 94 milliseconds

123456