/osnet-11/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;
|
/osnet-11/usr/src/grub/grub2/include/grub/lib/ |
H A D | LzHash.h | 38 #define HASH2_CALC hashValue = cur[0] | ((UInt32)cur[1] << 8); 41 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \ 43 hashValue = (temp ^ ((UInt32)cur[2] << 8)) & p->hashMask; } 46 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \ 48 hash3Value = (temp ^ ((UInt32)cur[2] << 8)) & (kHash3Size - 1); \ 49 hashValue = (temp ^ ((UInt32)cur[2] << 8) ^ (p->crc[cur[ [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/normal/ |
H A D | crypto.c | 39 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...] |
H A D | auth.c | 44 struct grub_auth_user *cur; local 46 cur = grub_named_list_find (GRUB_AS_NAMED_LIST (users), user); 47 if (!cur) 48 cur = grub_zalloc (sizeof (*cur)); 49 if (!cur) 51 cur->callback = callback; 52 cur->arg = arg; 53 if (! cur->name) 55 cur 69 struct grub_auth_user *cur; local 90 struct grub_auth_user *cur; local 117 struct grub_auth_user *cur; local 203 struct grub_auth_user *cur = NULL; local [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | memmem.c | 42 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/libnwam/common/ |
H A D | libnwam_error.c | 73 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/grub/grub2/grub-core/commands/ |
H A D | parttool.c | 49 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...] |
/osnet-11/usr/src/lib/libsum/common/ |
H A D | sum-ast4.c | 46 Ast4_sum_t cur; member in struct:Ast4_s 56 a->tot.sum0 ^= a->cur.sum0; 57 a->cur.sum0 = 0; 58 a->tot.sum1 ^= a->cur.sum1; 59 a->cur.sum1 = 0; 60 a->tot.sum2 ^= a->cur.sum2; 61 a->cur.sum2 = 0; 62 a->tot.sum3 ^= a->cur.sum3; 63 a->cur.sum3 = 0; 83 register Ast4_sum_t* a = &((Ast4_t*)p)->cur; [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/mmap/i386/ |
H A D | mmap.c | 81 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/gfxmenu/ |
H A D | gui_box.c | 58 struct component_node *cur; local 60 for (cur = self->chead.next; cur != &self->ctail; cur = next) 64 next = cur->next; 66 cur->component->ops->destroy (cur->component); 68 grub_free (cur); 94 struct component_node *cur; local 99 for (cur 167 struct component_node *cur; local 237 struct component_node *cur; local 330 struct component_node *cur; local 351 struct component_node *cur; local [all...] |
H A D | gui_canvas.c | 50 struct component_node *cur; local 52 for (cur = self->components.next; cur; cur = next) 56 next = cur->next; 58 cur->component->ops->destroy (cur->component); 60 grub_free (cur); 83 struct component_node *cur; local 87 for (cur 210 struct component_node *cur; local 232 struct component_node *cur; local [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | cccopy.c | 9 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/libsmbns/common/ |
H A D | smbns_hash.c | 307 HT_ITEM *cur, *prev; local 321 cur = handle->ht_table[h_index].he_head; 324 while (cur) { 325 if (!(cur->hi_flags & HTIF_MARKED_DELETED) && 326 (handle->ht_cmp(cur->hi_key, key, key_len) == 0)) { 330 cur->hi_next; 332 prev->hi_next = cur->hi_next; 335 handle->ht_callback(cur); 337 data = cur->hi_data; 343 free(cur); 371 HT_ITEM *cur; local 439 HT_ITEM *cur, *prev; local [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/efiemu/ |
H A D | mm.c | 95 struct grub_efiemu_memrequest *ret, *cur, *prev; local 117 for (cur = memrequests; cur; prev = cur, cur = cur->next); 137 struct grub_efiemu_memrequest *cur; local 191 for (cur = memrequests; cur; cur 218 struct grub_efiemu_memrequest *cur; local 229 struct grub_efiemu_memrequest *cur; local 240 struct grub_efiemu_memrequest *cur, *prev; local 350 struct grub_efiemu_memrequest *cur, *d; local [all...] |
H A D | main.c | 50 struct grub_efiemu_configuration_table *cur, *d; local 56 for (cur = efiemu_config_tables; cur;) 58 d = cur->next; 59 if (cur->unload) 60 cur->unload (cur->data); 61 grub_free (cur); 62 cur = d; 85 struct grub_efiemu_configuration_table *cur, *pre local [all...] |
H A D | symbols.c | 44 struct grub_efiemu_sym *cur, *d; local 45 for (cur = efiemu_syms; cur;) 47 d = cur->next; 48 grub_free (cur->name); 49 grub_free (cur); 50 cur = d; 82 struct grub_efiemu_sym *cur; local 83 for (cur = efiemu_syms; cur; cu 98 struct grub_efiemu_sym *cur; local [all...] |
H A D | prepare.c | 34 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/lib/libdll/common/ |
H A D | dllcheck.c | 54 * 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;
|
/osnet-11/usr/src/grub/grub2/grub-core/kern/mips/arc/ |
H A D | init.c | 96 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/grub/grub2/grub-core/mmap/ |
H A D | mmap.c | 89 struct grub_mmap_region *cur; local 131 for (cur = grub_mmap_overlays; cur; cur = cur->next) 151 for (cur = grub_mmap_overlays; cur; cur = cur->next) 153 scanline_events[i].pos = cur 234 struct grub_mmap_region *cur; local 267 struct grub_mmap_region *cur, *prev; local 324 grub_uint64_t iterator, low, high, cur; local [all...] |
/osnet-11/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;
|
/osnet-11/usr/src/lib/rad/libjniutil/common/ |
H A D | libjniutil.c | 250 cstrdef_t *cur; local 252 for (cur = cstrs; cur->cstr != NULL; cur++) { 253 if (cur->jstr == NULL) { 254 if ((cur->flags & STR_OPTIONAL) == 0) { 258 *cur->cstr = NULL; 259 } else if ((*cur->cstr = 260 (*env)->GetStringUTFChars(env, cur->jstr, 0)) == NULL) 269 * cur 284 cstrdef_t *cur; local [all...] |
/osnet-11/usr/src/lib/libpp/common/ |
H A D | ppinput.c | 94 register struct ppinstk* cur; local 96 PUSH(t, cur); 97 cur->line = error_info.line; 98 cur->file = error_info.file; 104 cur->flags |= IN_newline; 105 cur->fd = n; 106 cur->hide = ++pp.hide; 107 cur->symbol = 0; 111 cur->index = newof(0, struct ppindex, 1, 0); 112 if (pp.lastindex) pp.lastindex->next = cur 291 struct ppinstk* cur; local [all...] |
/osnet-11/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...] |