Searched refs:current (Results 1 - 25 of 296) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/tools/cscope-fast/
H A Dhistory.c42 HISTORY *head, *tail, *current; variable
62 current = 0;
70 if (current) {
71 if (current->previous) /* stay on first item */
72 return (current = current->previous);
74 return (current);
76 return (current = tail);
86 if (current) {
87 if (current
[all...]
/illumos-gate/usr/src/lib/libeti/menu/common/
H A Dchk.c41 _chk_top(MENU *m, int *top, ITEM *current) argument
43 if (Y(current) < *top) {
44 *top = Y(current);
46 if (Y(current) >= *top + Height(m)) {
47 *top = Y(current) - Height(m) + 1;
53 * relative to current. It is only used when current is
58 _chk_current(MENU *m, int *top, ITEM *current) argument
60 if (Y(current) < *top) {
61 *top = Y(current);
[all...]
H A Ddriver.c43 ITEM *current; local
57 current = Current(m);
72 if (Right(current) == (ITEM *)0) {
76 current = Right(current);
80 if (Left(current) == (ITEM *)0) {
84 current = Left(current);
88 if (Up(current) == (ITEM *)0) {
92 current
[all...]
H A Dcuritem.c39 set_current_item(MENU *m, ITEM *current) argument
43 if (m && current && Imenu(current) == m) {
47 if (current != Current(m)) {
53 _chk_current(m, &top, current);
58 _affect_change(m, top, current);
H A Dpattern.c62 _match(MENU *m, char c, ITEM **current) argument
67 * Indicates search has cycled past the current item. If the current
73 /* current item. Otherwise, search forward from the current item. */
75 i = Index(*current);
109 if (i == Index(*current) && cycled) {
112 *current = IthItem(m, i);
141 ITEM *current; local
165 current
[all...]
H A Dtopitem.c41 ITEM *current; local
58 /* Set current to toprow */
59 current = IthItem(m, RowMajor(m) ? top * Cols(m) : top);
62 _affect_change(m, top, current);
/illumos-gate/usr/src/lib/libc/port/fp/
H A Dchar_to_decimal.h53 * int current;
56 * If the first character can be read successfully, then current is set
57 * to the value of the first character, cp is set to *ppc, (char)current
59 * read successfully, then current = EOF and nread = 0.
65 * current = <next character>;
66 * if (current != EOF) {
67 * *++cp = (char)current;
71 * current = EOF;
77 * current == EOF if and only if we can't read any more, either because
116 * condition (current
[all...]
H A Dstring_decim.c43 int current; /* *cp or EOF */ local
46 current = (unsigned char)*cp;
50 current = (unsigned char)*++cp; \
53 current = EOF; \
H A Dfunc_decim.c44 int current; /* *cp or EOF */ local
49 current = (*pget)(); \
50 if (current != EOF) { \
51 *++cp = (char)current; \
55 current = EOF; \
H A Dfile_decim.c58 int current; /* *cp or EOF */ local
64 current = ((pf->_flag & _IOWRT) ? \
67 if (current != EOF) { \
68 *++cp = (char)current; \
72 current = EOF; \
85 if (cp >= *ppc && current != EOF && myungetc(current, pf)
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dfile_decim.c48 register int current; local
53 current = getc(pf); /* Initialize buffer. */
54 *cp = current;
56 #define ATEOF current
57 #define CURRENT current
60 { cp++ ; current = getc(pf) ; *cp = current ; nread++ ;} \
62 { current = NULL ; } ;
H A Dfunc_decim.c49 register int current; local
54 current = (*pget) (); /* Initialize buffer. */
55 *cp = current;
57 #define ATEOF current
58 #define CURRENT current
61 { cp++ ; current = (*pget)() ; *cp = current ; nread++ ;} \
63 { current = NULL ; } ;
H A Dstring_decim.c46 register int current; local
51 current = *cp;
54 #define CURRENT current
57 {cp++ ; current = *cp ; nread++ ;} \
59 {current = NULL ; } ; /* Increment input character and cp. */
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dwstod.c191 wchar_t current; /* always equal to *cp */ local
207 * condition (current == decpt) will correctly detect it.
221 current = *cp;
222 while (iswspace((wint_t)current))
223 current = *++cp;
226 if (current == L'+') {
227 current = *++cp;
228 } else if (current == L'-') {
230 current = *++cp;
239 if (L'1' <= current
[all...]
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_timeout.c97 sip_timeout_t *current, *last; local
106 current = timeout_current_start;
107 while (current != NULL) {
108 if (current->sip_timeout_id == id) {
109 if (current == timeout_current_start) {
111 current->sip_timeout_next;
114 current->sip_timeout_next;
116 if (current == timeout_current_end)
118 if (current->sip_timeout_callback_func_arg !=
120 free(current
176 sip_timeout_t *current; local
[all...]
/illumos-gate/usr/src/lib/libcommputil/common/
H A Dsdp_parse.c252 const char *current = NULL; local
268 current = begin;
269 if (commp_find_token(&begin, &current, end, COMMP_SP, B_FALSE) != 0) {
272 COMMP_COPY_STR(new_origin->o_username, begin, current - begin);
280 begin = ++current;
281 if (commp_find_token(&begin, &current, end, COMMP_SP, B_FALSE) != 0)
283 if (commp_strtoull(begin, current, &new_origin->o_id) != 0)
286 begin = ++current;
287 if (commp_find_token(&begin, &current, end, COMMP_SP, B_FALSE) != 0)
289 if (commp_strtoull(begin, current,
344 const char *current; local
397 const char *current; local
527 const char *current; local
585 const char *current; local
681 const char *current; local
750 const char *current; local
808 const char *current; local
868 const char *current; local
1177 const char *current; local
[all...]
H A Dcommp_util.c57 * Finds the token in the char buffer. *current will be pointing to the
62 commp_find_token(const char **begin, const char **current, const char *end, argument
65 *current = *begin;
66 while (*current < end) {
67 if (!last && (**current == token))
69 else if (isspace(**current))
71 (*current)++;
74 if (*current == *begin)
/illumos-gate/usr/src/cmd/mdb/sun4v/modules/errh/
H A Derrh.c44 uintptr_t current, first; local
61 current = first;
63 if (mdb_vread(&cpu, sizeof (cpu), current) == -1) {
64 mdb_warn("failed to read cpu at %p", current);
76 } while ((current = (uintptr_t)cpu.cpu_next) != first);
87 uintptr_t current, first; local
104 current = first;
106 if (mdb_vread(&cpu, sizeof (cpu), current) == -1) {
107 mdb_warn("failed to read cpu at %p", current);
119 } while ((current
130 uintptr_t ao, lower, upper, current; local
170 uintptr_t current; local
[all...]
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dlist.c107 int current = 0; local
113 for (current = 0; list[current] != NULL; current++)
114 if ((compair)(list[current], element) == 0)
115 return (list[current]);
165 * to the current item in the list and the second argument being a va_list
174 int current = 0, local
181 while (list[current] != NULL) {
185 rc += (vfunc)(list[current
[all...]
/illumos-gate/usr/src/test/os-tests/tests/secflags/
H A Dsecflags_limits.sh41 /usr/bin/psecflags -s I=current,-aslr $$ 2>/dev/null && exit 1
44 /usr/bin/psecflags -s L=current,-aslr $$ 2>/dev/null && exit 1
48 /usr/bin/psecflags -s U=current,-aslr $$ 2>/devlnull && exit 1
50 /usr/bin/psecflags -s U=current,-noexecstack $$
56 /usr/bin/psecflags -s U=current,+noexecstack $$ 2>/dev/null && exit 1
/illumos-gate/usr/src/cmd/cpc/common/
H A Dsetgrp.c59 int current; /* currently bound event in eventset */ member in struct:__cpc_setgrp
73 sgrp->current = -1;
193 if (sgrp->current < 0)
194 sgrp->current = 0;
203 if ((uint_t)sgrp->current >= sgrp->nelem)
206 *data1 = &(sgrp->sets[sgrp->current].data1);
207 *data2 = &(sgrp->sets[sgrp->current].data2);
208 *scratch = &(sgrp->sets[sgrp->current].scratch);
210 return (sgrp->sets[sgrp->current].nreqs);
224 new->current
[all...]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dconfig.c43 char **current; local
66 for (current = environ; *current != NULL; current++)
70 if (strncmp(str, *current, matchlen) == 0)
73 *current = (char *) str;
138 ** deleted from the current environment.
144 ** environ -- a pointer to the current environment.
/illumos-gate/usr/src/cmd/sh/
H A Dservice.c320 unsigned char *current; local
326 if (current = at) {
328 while (c = *current) {
329 if ((len = mbtowc(&wc, (char *)current,
332 current++;
337 memcpy(last, current, len);
339 current += len;
345 current++;
346 if (c = *current) {
347 if ((len = mbtowc(&wc, (char *)current,
370 unsigned char *current; local
[all...]
/illumos-gate/usr/src/lib/sun_fc/common/
H A DSun_fcGetFcpTargetMapping.cc75 HBA_UINT32 current = 0; local
116 for (count = current; count < limit; count++) {
118 &mappingV2->entry[count-current].ScsiId,
121 &mappingV2->entry[count-current].FcpId,
124 current = mapping->NumberOfEntries;
/illumos-gate/usr/src/uts/common/io/usb/clients/hidparser/
H A Dhidparser.c320 entity_item_t *current = parser_handle; local
329 while (current) {
330 if (current->entity_item_type == R_ITEM_COLLECTION) {
332 current->info.child, report_id, main_item_type,
334 } else if (current->entity_item_type == main_item_type) {
340 attribute = current->entity_item_attributes;
387 current = current->entity_item_right_sibling;
388 } /* end while current */
431 entity_item_t *current local
613 entity_item_t *current = parser_handle; local
745 entity_item_t *current; local
815 entity_item_t *current; local
915 entity_item_t *current = parser_handle; local
1248 entity_item_t *current = parser_handle; local
1327 entity_item_t *current = handle; local
2203 entity_attribute_t *head, *current; local
2294 entity_item_t *next, *current, *child; local
2340 entity_attribute_t *next, *current; local
[all...]

Completed in 77 milliseconds

1234567891011>>