Searched defs:current (Results 1 - 25 of 172) sorted by relevance

1234567

/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 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);
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 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 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...]
/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. */
H A Dxccs.multibyte.c272 int current = 0; local
319 (in_1byte == 1 && upper != current) ||
333 current = upper;
/illumos-gate/usr/src/lib/libc/port/fp/
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)
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 Dstring_decim.c43 int current; /* *cp or EOF */ local
46 current = (unsigned char)*cp;
50 current = (unsigned char)*++cp; \
53 current = EOF; \
/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/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/libc/port/gen/
H A Dpsecflags.c46 boolean_t current = B_FALSE; local
74 } else if (strcasecmp(flag, "current") == 0) {
75 current = B_TRUE;
99 * If we're not using the current flags, this is strict assignment.
102 if (!current) {
/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dlist.c134 int current = 0; local
137 for (current = 0; list[current] != NULL; current++)
138 if ((compare)(list[current], element) == 0)
139 return (list[current]);
/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/lib/libcommputil/common/
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/krb5/kadmin/dbutil/
H A Dovload.c40 static int parse_pw_hist_ent(current, hist)
41 char *current;
62 com_err(NULL, IMPORT_BAD_RECORD, "%s", current);
69 com_err(NULL, IMPORT_BAD_RECORD, "%s", current);
76 com_err(NULL, IMPORT_BAD_RECORD, "%s", current);
87 com_err(NULL, IMPORT_BAD_RECORD, "%s", current);
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);
[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/lib/efcode/fcdriver/
H A Dphandle.c140 device_t *current; local
151 current = MYSELF->device;
152 ASSERT(current);
163 pd->parent = (fc_phandle_t) revert_phandle(env, current->parent);
165 current->private = pd;
171 add_my_handle(env, pd->node, current);
/illumos-gate/usr/src/common/net/dhcp/
H A Dscan.c48 uint8_t *current; local
63 current = start;
68 if ((current + 1) >= end)
72 if (options[*current] == NULL) {
74 options[*current] = (DHCP_OPT *)current;
77 if ((current + options[*current]->len + 1) >= end) {
78 options[*current] = NULL;
/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/cmd/rpcgen/
H A Drpc_tblout.c92 int current; local
114 current = atoi(proc->proc_num);
115 if (current != expected++) {
125 expected = current + 1;
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_put.c115 /* Point the current LSN to the new file. */
177 * Flush the current buffer contents to disk.
265 int current, ret; local
284 "log_flush: LSN past current end-of-log");
298 * We may need to write the current buffer. We have to write the
299 * current buffer if the flush LSN is greater than or equal to the
302 current = 0;
308 current = 1;
327 * Set the last-synced LSN, using the LSN of the current buffer. If
328 * the current buffe
[all...]

Completed in 95 milliseconds

1234567