Searched refs:cur (Results 1 - 25 of 295) 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/tools/smatch/src/validation/
H A Dbadtype3.c5 while (cur) {
6 if ((*func) (cur, data))
/illumos-gate/usr/src/common/lzma/
H A DLzHash.h15 #define HASH2_CALC hashValue = cur[0] | ((UInt32)cur[1] << 8);
18 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
20 hashValue = (temp ^ ((UInt32)cur[2] << 8)) & p->hashMask; }
23 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
25 hash3Value = (temp ^ ((UInt32)cur[2] << 8)) & (kHash3Size - 1); \
26 hashValue = (temp ^ ((UInt32)cur[2] << 8) ^ (p->crc[cur[
[all...]
/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/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/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/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/libdwarf/common/
H A Dmalloc_check.c214 struct mc_data_s *cur = base; local
216 for (; cur; cur = cur->mc_prev) {
217 if (cur->mc_address == newd->mc_address) {
218 if (cur->mc_type == MC_TYPE_ALLOC) {
219 if (cur->mc_alloc_code == newd->mc_alloc_code) {
220 *addr_match = cur;
221 *addr_match_num = cur->mc_alloc_number;
222 return cur
297 struct mc_data_s *cur = mc_data_hash[i]; local
[all...]
/illumos-gate/usr/src/tools/protocmp/
H A Dlist.c58 elem *cur; local
63 for (cur = list->list[i]; cur; cur = cur->next)
80 elem *cur; local
83 for (cur = list->list[i]; cur; cur = cur
98 elem *cur; local
200 pkg_list *cur, *prev = NULL; local
248 elem *cur; local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dkdi.c115 kdi_dtrace_state_t new, cur; local
118 cur = kdi_dtrace_state;
122 if (cur == KDI_DTSTATE_KMDB_BPT_ACTIVE)
124 if (cur == KDI_DTSTATE_DTRACE_ACTIVE)
129 if (cur == KDI_DTSTATE_KMDB_BPT_ACTIVE)
131 if (cur == KDI_DTSTATE_IDLE)
136 if (cur == KDI_DTSTATE_DTRACE_ACTIVE)
138 if (cur == KDI_DTSTATE_KMDB_BPT_ACTIVE)
143 if (cur == KDI_DTSTATE_DTRACE_ACTIVE)
145 if (cur
[all...]
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dbpt.c66 bptlist_t *new, *cur, *prev; local
68 for (cur = ph->pp_breakpoints, prev = NULL;
69 (cur && (cur->bl_addr < addr));
70 prev = cur, cur = cur->bl_next)
72 if (cur && (cur->bl_addr == addr)) {
76 cur
100 bptlist_t *cur; local
115 bptlist_t *cur, *prev; local
136 bptlist_t *cur; local
154 bptlist_t *cur; local
176 bptlist_t *cur; local
190 bptlist_t *cur, *prev; local
[all...]
/illumos-gate/usr/src/lib/libsum/common/
H A Dsum-ast4.c46 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...]
/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/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/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/smbsrv/libsmb/common/
H A Dsmb_ht.c311 HT_ITEM *cur, *prev; local
325 cur = handle->ht_table[h_index].he_head;
328 while (cur) {
329 if (!(cur->hi_flags & HTIF_MARKED_DELETED) &&
330 (handle->ht_cmp(cur->hi_key, key, key_len) == 0)) {
334 cur->hi_next;
336 prev->hi_next = cur->hi_next;
339 handle->ht_callback(cur);
341 data = cur->hi_data;
347 free(cur);
375 HT_ITEM *cur; local
443 HT_ITEM *cur, *prev; local
[all...]
/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/tools/smatch/src/smatch_data/db/
H A Dsmdb.py37 cur = con.cursor()
38 cur.execute("select distinct ptr from function_ptr where function = '%s';" %(func))
39 for row in cur:
331 def display_caller_info(printed, cur, param_names):
332 for txt in cur:
348 cur = con.cursor()
355 cur.execute("select * from caller_info where function = '%s' %s;" %(ptr, type_filter))
356 printed = display_caller_info(printed, cur, param_names)
362 def merge_values(param_names, vals, cur):
363 for txt in cur
[all...]
/illumos-gate/usr/src/cmd/truss/
H A Dhtbl.c72 hashb_t *cur; local
75 cur = &htp->tbl[i];
76 (void) mutex_destroy(&cur->block);
77 tmp = cur->first;
124 hashb_t *cur; local
127 cur = &htp->tbl[bucket];
129 (void) mutex_lock(&cur->block);
131 tmp = cur->first;
136 (void) mutex_unlock(&cur->block);
157 new->next = cur
179 hashb_t *cur; local
204 hashb_t *cur; local
222 hashb_t *cur = NULL; local
[all...]
/illumos-gate/usr/src/lib/libpp/common/
H A Dppinput.c94 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...]
/illumos-gate/usr/src/cmd/mdb/common/modules/svc.configd/
H A Dconfigd.c178 request_log_entry_t cur; local
216 if (mdb_vread(&cur, sizeof (cur), addr) == -1) {
224 if (clientid != 0 && clientid != cur.rl_clientid)
227 if (client != 0 && client != (uintptr_t)cur.rl_client)
231 for (idx = 0; idx < MIN(MAX_PTRS, cur.rl_num_ptrs); idx++) {
232 if ((uintptr_t)cur.rl_ptrs[idx].rlp_data == node) {
241 enum_lookup(requstr, sizeof (requstr), request_enum, cur.rl_request,
244 if (cur.rl_end != 0) {
246 cur
387 request_log_entry_t cur; local
454 request_log_entry_t cur; local
[all...]
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_real_absolute.c51 static void pre_merge_hook(struct sm_state *cur, struct sm_state *other) argument
56 extra = get_state(SMATCH_EXTRA, cur->name, cur->sym);
59 if (!estate_rl(cur->state)) {
60 set_state(my_id, cur->name, cur->sym, clone_estate(extra));
63 rl = rl_intersection(estate_rl(cur->state), estate_rl(extra));
64 set_state(my_id, cur->name, cur->sym, alloc_estate_rl(clone_rl(rl)));
/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/mdb/common/mdb/
H A Dmdb_whatis.c92 uint_t offset, cur; local
113 cur = offset = f - w->w_addrs;
120 if ((w->w_flags & WHATIS_ALL) || !w->w_addrfound[cur])
124 while (cur > 0) {
125 cur--;
127 if (w->w_addrs[cur] < base)
130 if (!w->w_addrfound[cur])
134 for (cur = offset + 1; cur < w->w_naddrs; cur
470 whatis_callback_t *cur = whatis_cb[idx]; local
532 whatis_callback_t *cur = whatis_cb[idx]; local
579 whatis_callback_t *cur = whatis_cb[idx]; local
653 whatis_callback_t *cur = whatis_cb[idx]; local
[all...]

Completed in 51 milliseconds

1234567891011>>