Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 894) sorted by relevance

12345678910>>...36

/illumos-gate/usr/src/lib/libc/port/fp/
H A Dchar_to_decimal.h170 if ('1' <= current && current <= '9') {
178 switch (current) {
200 if (current == 'X' || current == 'x') {
233 while (current == '0' || (current == ' ' &&
317 while (current > 0 && current != ')' &&
322 while (current > 0 && current != ')') {
434 while (current == '0' || (current == ' ' &&
583 while (current == '0' || (current == ' ' &&
635 if (current != '+' && current != '-') {
666 while (('0' <= current && current <= '9') || current == ' ') {
[all …]
H A Dfile_decim.c58 int current; /* *cp or EOF */ in file_to_decimal() local
64 current = ((pf->_flag & _IOWRT) ? \ in file_to_decimal()
67 if (current != EOF) { \ in file_to_decimal()
68 *++cp = (char)current; \ in file_to_decimal()
72 current = EOF; \ in file_to_decimal()
85 if (cp >= *ppc && current != EOF && myungetc(current, pf) in file_to_decimal()
/illumos-gate/usr/src/lib/libeti/menu/common/
H A Ddriver.c74 current = Right(current); in menu_driver()
82 current = Left(current); in menu_driver()
90 current = Up(current); in menu_driver()
98 current = Down(current); in menu_driver()
107 current = Up(current); in menu_driver()
116 current = Down(current); in menu_driver()
124 current = Up(current); in menu_driver()
137 current = Down(current); in menu_driver()
160 current = IthItem(m, Index(current)+1); in menu_driver()
173 current = IthItem(m, Index(current)+1); in menu_driver()
[all …]
H A Dchk.c41 _chk_top(MENU *m, int *top, ITEM *current) in _chk_top() argument
43 if (Y(current) < *top) { in _chk_top()
44 *top = Y(current); in _chk_top()
46 if (Y(current) >= *top + Height(m)) { in _chk_top()
47 *top = Y(current) - Height(m) + 1; in _chk_top()
58 _chk_current(MENU *m, int *top, ITEM *current) in _chk_current() argument
60 if (Y(current) < *top) { in _chk_current()
61 *top = Y(current); in _chk_current()
63 if (Y(current) >= *top + Height(m)) { in _chk_current()
64 *top = min(Y(current), Rows(m) - Height(m)); in _chk_current()
H A Dpattern.c62 _match(MENU *m, char c, ITEM **current) in _match() argument
75 i = Index(*current); in _match()
109 if (i == Index(*current) && cycled) { in _match()
112 *current = IthItem(m, i); in _match()
141 ITEM *current; in set_menu_pattern() local
165 current = Current(m); in set_menu_pattern()
168 if (_match(m, *s, &current) != E_OK) { in set_menu_pattern()
175 _chk_current(m, &top, current); in set_menu_pattern()
176 _affect_change(m, top, current); in set_menu_pattern()
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dwstod.c221 current = *cp; in wstring_to_decimal()
223 current = *++cp; in wstring_to_decimal()
227 current = *++cp; in wstring_to_decimal()
230 current = *++cp; in wstring_to_decimal()
239 if (L'1' <= current && current <= L'9') { in wstring_to_decimal()
245 current = *++cp; in wstring_to_decimal()
260 if (current == L'X' || current == L'x') { in wstring_to_decimal()
397 current = *++cp; in wstring_to_decimal()
490 current = *++cp; in wstring_to_decimal()
557 current = *++cp; in wstring_to_decimal()
[all …]
/illumos-gate/usr/src/lib/libcommputil/common/
H A Dsdp_parse.c268 current = begin; in sdp_parse_origin()
639 ++current; in sdp_parse_repeat()
658 ++current; in sdp_parse_repeat()
727 ++current; in sdp_parse_zone()
780 ++current; in sdp_parse_key()
783 COMMP_COPY_STR(new_key->k_enckey, current, end - current); in sdp_parse_key()
836 ++current; in sdp_parse_attribute()
839 COMMP_COPY_STR(new_attr->a_value, current, end - current); in sdp_parse_attribute()
932 ++current; in sdp_parse_media()
948 ++current; in sdp_parse_media()
[all …]
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_timeout.c120 free(current-> in sip_untimeout()
125 free(current); in sip_untimeout()
129 last = current; in sip_untimeout()
130 current = current->sip_timeout_next; in sip_untimeout()
151 free(current-> in sip_untimeout()
156 free(current); in sip_untimeout()
160 last = current; in sip_untimeout()
161 current = current->sip_timeout_next; in sip_untimeout()
176 sip_timeout_t *current; in sip_timeout() local
217 last = current; in sip_timeout()
[all …]
/illumos-gate/usr/src/tools/cscope-fast/
H A Dhistory.c42 HISTORY *head, *tail, *current; variable
62 current = 0; in addcmd()
70 if (current) { in prevcmd()
72 return (current = current->previous); in prevcmd()
74 return (current); in prevcmd()
76 return (current = tail); in prevcmd()
86 if (current) { in nextcmd()
88 return (current = current->next); in nextcmd()
90 return (current); in nextcmd()
100 current = 0; in resetcmd()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/
H A Dstrmatch.c82 Group_t current; member
150 mp->current.beg[n] = mp->current.end[n] = 0; in gobble()
209 mp->current.beg[g] = mp->current.end[g] = 0; in onematch()
236 if (!mp->current.beg[n] || mp->current.beg[n] > olds) in onematch()
245 if (!mp->current.beg[n] || mp->current.beg[n] > olds) in onematch()
332 mp->current.groups = g; in onematch()
564 match.current.groups++; in strgrpmatch()
565 match.current.end[0] = match.current.next_s; in strgrpmatch()
576 match.current.beg[0] = s; in strgrpmatch()
582 sub[i * 2] = match.current.end[i] ? match.current.beg[i] - s : 0; in strgrpmatch()
[all …]
H A Dvmalloc.c40 vp->current = &vp->base; in _vm_open()
41 vp->data = vp->current->data; in _vm_open()
42 vp->size = sizeof(vp->current->data); in _vm_open()
78 n = (size > sizeof(vp->current->data)) ? (size - sizeof(vp->current->data)) : 0; in _vm_resize()
79 if (!(vp->current->next = newof(0, Vmchunk_t, 1, n))) in _vm_resize()
81 vp->current = vp->current->next; in _vm_resize()
82 vp->data = vp->current->data; in _vm_resize()
83 vp->size = n ? 0 : sizeof(vp->current->data); in _vm_resize()
/illumos-gate/usr/src/cmd/mdb/sun4v/modules/errh/
H A Derrh.c42 uintptr_t current, first; in resumable() local
59 current = first; in resumable()
85 uintptr_t current, first; in nonresumable() local
102 current = first; in nonresumable()
152 for (current = ao; current >= lower; current -= Q_ENTRY_SIZE) in rqueue()
153 mdb_printf("%lx\n", current); in rqueue()
155 for (current = upper; current > ao; current -= Q_ENTRY_SIZE) in rqueue()
156 mdb_printf("%lx\n", current); in rqueue()
168 uintptr_t current; in nrqueue() local
192 for (current = ao; current >= lower; current -= Q_ENTRY_SIZE) in nrqueue()
[all …]
/illumos-gate/usr/src/cmd/cpc/common/
H A Dsetgrp.c73 sgrp->current = -1; in cpc_setgrp_new()
193 if (sgrp->current < 0) in cpc_setgrp_newset()
194 sgrp->current = 0; in cpc_setgrp_newset()
224 new->current = old->current; in cpc_setgrp_clone()
265 sgrp->current = sgrp->nelem - 1; in cpc_setgrp_delset()
266 if (sgrp->current < 0) in cpc_setgrp_delset()
323 if (sgrp->current < 0) in cpc_setgrp_nextset()
326 if (++sgrp->current >= sgrp->nelem) in cpc_setgrp_nextset()
327 sgrp->current = 0; in cpc_setgrp_nextset()
338 if (sgrp->current > 0) in cpc_setgrp_reset()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dllex.c30 #define currIsNewline(ls) (ls->current == '\n' || ls->current == '\r')
147 int old = ls->current; in inclinenumber()
161 ls->current = firstchar; in luaX_setinput()
184 if (ls->current == '\0' || !strchr(set, ls->current)) in check_next()
232 int first = ls->current; in read_numeral()
240 if (lisxdigit(ls->current) || ls->current == '.') in read_numeral()
257 int s = ls->current; in skip_sep()
273 switch (ls->current) { in read_long_string()
331 c[i] = ls->current; in readdecesc()
344 switch (ls->current) { in read_string()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/clients/hidparser/
H A Dhidparser.c325 while (current) { in hidparser_get_packet_size_report_des()
383 current = current->entity_item_right_sibling; in hidparser_get_packet_size_report_des()
551 current = current->entity_item_right_sibling; in hidparser_get_usage_attribute_report_des()
704 current = current->entity_item_right_sibling; in hidparser_get_main_item_data_descr_main()
741 current = current->entity_item_right_sibling; in hidparser_lookup_usage_collection()
779 current = current->entity_item_right_sibling; in hidparser_lookup_usage_collection()
1126 current = current->entity_item_right_sibling; in hidparser_get_usage_list_in_order_internal()
1282 current = current->entity_item_right_sibling; in hidparser_get_report_id_list_internal()
1309 current = current->entity_item_right_sibling; in hidparser_print_report_descr_handle()
2177 current = head; in hidparser_alloc_attrib_list()
[all …]
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dxdr_rec.c238 int current; in xdrrec_getbytes() local
251 current = (len < current) ? len : current; in xdrrec_getbytes()
254 addr += current; in xdrrec_getbytes()
256 len -= current; in xdrrec_getbytes()
269 current = (len < current) ? len : current; in xdrrec_putbytes()
272 addr += current; in xdrrec_putbytes()
273 len -= current; in xdrrec_putbytes()
525 current = (len < current) ? len : current; in get_input_bytes()
529 len -= current; in get_input_bytes()
565 current = (cnt < current) ? cnt : current; in skip_input_bytes()
[all …]
/illumos-gate/usr/src/cmd/sh/
H A Dservice.c332 current++; in trim()
339 current += len; in trim()
345 current++; in trim()
350 current++; in trim()
357 current++; in trim()
375 if (current = at)
382 current++;
393 current++;
395 current++;
401 current++;
[all …]
/illumos-gate/usr/src/cmd/logins/
H A Dlogins.c443 prev = current; in adddisp()
482 prev = current; in adddisp()
861 current->groupname == NULL ? "" : current->groupname, in writeunformatted()
878 current->iwd, current->shell, in writeunformatted()
929 current->loginID, current->userID, in writeformatted()
930 current->groupname == NULL ? "" : current->groupname, in writeformatted()
931 current->groupID, current->freefield); in writeformatted()
1022 for (current = displayhead->nextuid; current; in genuidreport()
1023 current = current->nextuid) { in genuidreport()
1027 for (current = displayhead->nextuid; current; in genuidreport()
[all …]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dxdr_rec.c321 int current; in xdrrec_getbytes() local
332 current = (len < current) ? len : current; in xdrrec_getbytes()
337 len -= current; in xdrrec_getbytes()
347 int current; in xdrrec_putbytes() local
353 current = (len < current) ? len : current; in xdrrec_putbytes()
357 len -= current; in xdrrec_putbytes()
390 current = (len < current) ? len : current; in xdrrec_readbytes()
672 int current; in get_input_bytes() local
696 current = (len < current) ? len : current; in get_input_bytes()
733 int current; in skip_input_bytes() local
[all …]
/illumos-gate/usr/src/uts/common/io/rsm/
H A Drsmka_pathmanager.c812 current = current->next; in rsmka_remove_adapter()
838 ":adapter=%lx, hwaddr=%lx\n", current, current->hwaddr)); in rsmka_remove_adapter()
1874 current = current->next; in rsmka_lookup_adapter()
2043 current = current->next_path; in lookup_path()
2095 current = current->next_path; in rsm_find_path()
2170 current = current->next_path; in destroy_path()
2293 current = current->next_path; in get_remote_nodeid()
2326 current = current->next_path; in get_remote_hwaddr()
2425 current = current->next; in destroy_ipc_info()
2507 if (current->next != current) { in unlink_sendq_token()
[all …]
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dovload.c40 static int parse_pw_hist_ent(current, hist) in parse_pw_hist_ent() argument
41 char *current; in parse_pw_hist_ent()
132 char *current; local
148 krb5_unparse_name(kcontext, princ, &current);
150 com_err(NULL, IMPORT_BAD_RECORD, "%s", current);
163 com_err(NULL, IMPORT_BAD_RECORD, "%s", current);
169 com_err(NULL, IMPORT_BAD_RECORD, "%s", current);
175 com_err(NULL, IMPORT_BAD_RECORD, "%s", current);
181 com_err(NULL, IMPORT_BAD_RECORD, "%s", current);
197 parse_pw_hist_ent(current, &rec->old_keys[x]);
[all …]
/illumos-gate/usr/src/lib/fm/libfmd_snmp/mibs/
H A DSUN-FM-MIB.mib63 STATUS current
69 STATUS current
79 STATUS current
92 STATUS current
116 STATUS current
126 STATUS current
146 STATUS current
156 STATUS current
165 STATUS current
175 STATUS current
[all …]
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Dkdc_util.c637 current[i] = '\0'; in add_to_transited()
720 current[sizeof(current) - 1] = '\0'; in add_to_transited()
725 strncat(current, ",", sizeof(current) - 1 - strlen(current)); in add_to_transited()
765 strncat(current, " ", sizeof(current) - 1 - strlen(current)); in add_to_transited()
766 current[sizeof(current) - 1] = '\0'; in add_to_transited()
772 strncat(current, realm, sizeof(current) - 1 - strlen(current)); in add_to_transited()
773 current[sizeof(current) - 1] = '\0'; in add_to_transited()
779 strncat(current,",", sizeof(current) - 1 - strlen(current)); in add_to_transited()
780 current[sizeof(current) - 1] = '\0'; in add_to_transited()
806 strncpy(current, next, sizeof(current) - 1); in add_to_transited()
[all …]
/illumos-gate/usr/src/lib/efcode/fcdriver/
H A Dbuild_tree.c139 device_t *current, *attach; in build_nodes() local
174 env->attachment_pt = current = attach = env->current_device; in build_nodes()
179 current->private = pd; in build_nodes()
180 add_my_handle(env, pd->node, current); in build_nodes()
181 install_property_vectors(env, current); in build_nodes()
182 current = current->parent; in build_nodes()
185 for (current = attach; current != NULL; current = current->parent) { in build_nodes()
186 install_node_data(env, current); in build_nodes()
187 if (current->parent) in build_nodes()
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dlist.c105 int current = 0; in list_locate() local
111 for (current = 0; list[current] != NULL; current++) in list_locate()
112 if ((compair)(list[current], element) == 0) in list_locate()
113 return (list[current]); in list_locate()
169 int current = 0, rc = 0; in list_iterate() local
175 while (list[current] != NULL) { in list_iterate()
179 rc += (vfunc)(list[current++], ap); in list_iterate()

12345678910>>...36