/titanic_50/usr/src/lib/libc/port/fp/ |
H A D | char_to_decimal.h | 134 while (isspace(current)) { 148 if (current == EOF) { 159 if (current == '+') { 161 } else if (current == '-') { 170 if ('1' <= current && current <= '9') { 175 pd->ds[ids++] = (char)current; 178 switch (current) { 200 if (current == 'X' || current == 'x') { 209 if (NZDIGIT(current)) { 213 pd->ds[ids++] = (char)current; [all …]
|
H A D | file_decim.c | 58 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()
|
/titanic_50/usr/src/lib/libeti/menu/common/ |
H A D | driver.c | 43 ITEM *current; in menu_driver() local 57 current = Current(m); in menu_driver() 72 if (Right(current) == (ITEM *)0) { in menu_driver() 76 current = Right(current); in menu_driver() 80 if (Left(current) == (ITEM *)0) { in menu_driver() 84 current = Left(current); in menu_driver() 88 if (Up(current) == (ITEM *)0) { in menu_driver() 92 current = Up(current); in menu_driver() 96 if (Down(current) == (ITEM *)0) { in menu_driver() 100 current = Down(current); in menu_driver() [all …]
|
H A D | chk.c | 41 _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 D | pattern.c | 62 _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, ¤t) != 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()
|
/titanic_50/usr/src/lib/libc/port/i18n/ |
H A D | wstod.c | 191 wchar_t current; /* always equal to *cp */ in wstring_to_decimal() local 221 current = *cp; in wstring_to_decimal() 222 while (iswspace((wint_t)current)) in wstring_to_decimal() 223 current = *++cp; in wstring_to_decimal() 226 if (current == L'+') { in wstring_to_decimal() 227 current = *++cp; in wstring_to_decimal() 228 } else if (current == L'-') { in wstring_to_decimal() 230 current = *++cp; in wstring_to_decimal() 239 if (L'1' <= current && current <= L'9') { in wstring_to_decimal() 244 pd->ds[ids++] = (char)current; in wstring_to_decimal() [all …]
|
/titanic_50/usr/src/lib/libcommputil/common/ |
H A D | sdp_parse.c | 252 const char *current = NULL; in sdp_parse_origin() local 268 current = begin; in sdp_parse_origin() 269 if (commp_find_token(&begin, ¤t, end, COMMP_SP, B_FALSE) != 0) { in sdp_parse_origin() 272 COMMP_COPY_STR(new_origin->o_username, begin, current - begin); in sdp_parse_origin() 280 begin = ++current; in sdp_parse_origin() 281 if (commp_find_token(&begin, ¤t, end, COMMP_SP, B_FALSE) != 0) in sdp_parse_origin() 283 if (commp_strtoull(begin, current, &new_origin->o_id) != 0) in sdp_parse_origin() 286 begin = ++current; in sdp_parse_origin() 287 if (commp_find_token(&begin, ¤t, end, COMMP_SP, B_FALSE) != 0) in sdp_parse_origin() 289 if (commp_strtoull(begin, current, &new_origin->o_version) != 0) in sdp_parse_origin() [all …]
|
/titanic_50/usr/src/lib/libsip/common/ |
H A D | sip_timeout.c | 97 sip_timeout_t *current, *last; in sip_untimeout() local 106 current = timeout_current_start; in sip_untimeout() 107 while (current != NULL) { in sip_untimeout() 108 if (current->sip_timeout_id == id) { in sip_untimeout() 109 if (current == timeout_current_start) { in sip_untimeout() 111 current->sip_timeout_next; in sip_untimeout() 114 current->sip_timeout_next; in sip_untimeout() 116 if (current == timeout_current_end) in sip_untimeout() 118 if (current->sip_timeout_callback_func_arg != in sip_untimeout() 120 free(current-> in sip_untimeout() [all …]
|
/titanic_50/usr/src/tools/cscope-fast/ |
H A D | history.c | 42 HISTORY *head, *tail, *current; variable 62 current = 0; in addcmd() 70 if (current) { in prevcmd() 71 if (current->previous) /* stay on first item */ 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() 87 if (current->next) /* stay on first item */ in nextcmd() 88 return (current = current->next); in nextcmd() [all …]
|
/titanic_50/usr/src/cmd/mdb/sun4v/modules/errh/ |
H A D | errh.c | 44 uintptr_t current, first; in resumable() local 61 current = first; in resumable() 63 if (mdb_vread(&cpu, sizeof (cpu), current) == -1) { in resumable() 64 mdb_warn("failed to read cpu at %p", current); in resumable() 76 } while ((current = (uintptr_t)cpu.cpu_next) != first); in resumable() 87 uintptr_t current, first; in nonresumable() local 104 current = first; in nonresumable() 106 if (mdb_vread(&cpu, sizeof (cpu), current) == -1) { in nonresumable() 107 mdb_warn("failed to read cpu at %p", current); in nonresumable() 119 } while ((current = (uintptr_t)cpu.cpu_next) != first); in nonresumable() [all …]
|
/titanic_50/usr/src/cmd/cpc/common/ |
H A D | setgrp.c | 59 int current; /* currently bound event in eventset */ member 73 sgrp->current = -1; in cpc_setgrp_new() 193 if (sgrp->current < 0) in cpc_setgrp_newset() 194 sgrp->current = 0; in cpc_setgrp_newset() 203 if ((uint_t)sgrp->current >= sgrp->nelem) in cpc_setgrp_getbufs() 206 *data1 = &(sgrp->sets[sgrp->current].data1); in cpc_setgrp_getbufs() 207 *data2 = &(sgrp->sets[sgrp->current].data2); in cpc_setgrp_getbufs() 208 *scratch = &(sgrp->sets[sgrp->current].scratch); in cpc_setgrp_getbufs() 210 return (sgrp->sets[sgrp->current].nreqs); in cpc_setgrp_getbufs() 224 new->current = old->current; in cpc_setgrp_clone() [all …]
|
/titanic_50/usr/src/stand/lib/fs/nfs/ |
H A D | xdr_rec.c | 238 int current; in xdrrec_getbytes() local 242 current = frag_len = rstrm->fbtbc; in xdrrec_getbytes() 243 if (current == 0) { in xdrrec_getbytes() 251 current = (len < current) ? len : current; in xdrrec_getbytes() 252 if (!get_input_bytes(rstrm, addr, frag_len, current)) in xdrrec_getbytes() 254 addr += current; in xdrrec_getbytes() 255 rstrm->fbtbc -= current; in xdrrec_getbytes() 256 len -= current; in xdrrec_getbytes() 265 ptrdiff_t current; in xdrrec_putbytes() local 268 current = rstrm->out_boundry - rstrm->out_finger; in xdrrec_putbytes() [all …]
|
/titanic_50/usr/src/uts/common/io/usb/clients/hidparser/ |
H A D | hidparser.c | 320 entity_item_t *current = parser_handle; in hidparser_get_packet_size_report_des() local 329 while (current) { in hidparser_get_packet_size_report_des() 330 if (current->entity_item_type == R_ITEM_COLLECTION) { in hidparser_get_packet_size_report_des() 332 current->info.child, report_id, main_item_type, in hidparser_get_packet_size_report_des() 334 } else if (current->entity_item_type == main_item_type) { in hidparser_get_packet_size_report_des() 340 attribute = current->entity_item_attributes; in hidparser_get_packet_size_report_des() 387 current = current->entity_item_right_sibling; in hidparser_get_packet_size_report_des() 431 entity_item_t *current = parser_handle; in hidparser_get_usage_attribute_report_des() local 444 while (current) { in hidparser_get_usage_attribute_report_des() 448 if (current->entity_item_type == R_ITEM_COLLECTION) { in hidparser_get_usage_attribute_report_des() [all …]
|
/titanic_50/usr/src/cmd/sh/ |
H A D | service.c | 320 unsigned char *current; in trim() local 326 if (current = at) { in trim() 328 while (c = *current) { in trim() 329 if ((len = mbtowc(&wc, (char *)current, in trim() 332 current++; in trim() 337 memcpy(last, current, len); in trim() 339 current += len; in trim() 345 current++; in trim() 346 if (c = *current) { in trim() 347 if ((len = mbtowc(&wc, (char *)current, in trim() [all …]
|
/titanic_50/usr/src/cmd/logins/ |
H A D | logins.c | 431 struct display *current; /* Next item in the list */ in adddisp() local 439 while (!found && (current = prev->nextlogin)) { in adddisp() 440 if ((compare = strcmp(current->loginID, pwent->pw_name)) >= 0) { in adddisp() 443 prev = current; in adddisp() 469 new->nextlogin = current; in adddisp() 478 while (!found && (current = prev->nextuid)) { in adddisp() 479 if (current->userID > pwent->pw_uid) { in adddisp() 482 prev = current; in adddisp() 487 new->nextuid = current; in adddisp() 852 writeunformatted(struct display *current, int xtndflag, int expflag) in writeunformatted() argument [all …]
|
/titanic_50/usr/src/tools/codereview/ |
H A D | lwlp.c | 161 } current, saved; variable 286 current.page_count = 0; in main() 665 (void) printf("%%%%Pages: %d\n", current.page_count); in postamble() 684 current.row -= point_size; in printbanner() 685 (void) fprintf(outfile, "%d %.2f %s\n", start_x, current.row, MOVETO); in printbanner() 689 current.row -= point_size; in printbanner() 690 (void) fprintf(outfile, "%d %.2f %s\n", start_x, current.row, MOVETO); in printbanner() 697 current.row -= point_size; in printbanner() 698 (void) fprintf(outfile, "%d %.2f %s\n", start_x, current.row, in printbanner() 711 current.row -= point_size; in printbanner() [all …]
|
/titanic_50/usr/src/lib/libnsl/rpc/ |
H A D | xdr_rec.c | 222 int current = rstrm->in_boundry - rstrm->in_finger; in align_instream() local 224 (void) memcpy(rstrm->in_base, rstrm->in_finger, current); in align_instream() 226 rstrm->in_boundry = rstrm->in_finger + current; in align_instream() 321 int current; in xdrrec_getbytes() local 324 current = rstrm->fbtbc; in xdrrec_getbytes() 325 if (current == 0) { in xdrrec_getbytes() 332 current = (len < current) ? len : current; in xdrrec_getbytes() 333 if (!get_input_bytes(rstrm, addr, current, FALSE)) in xdrrec_getbytes() 335 addr += current; in xdrrec_getbytes() 336 rstrm->fbtbc -= current; in xdrrec_getbytes() [all …]
|
/titanic_50/usr/src/uts/common/io/rsm/ |
H A D | rsmka_pathmanager.c | 776 adapter_t *prev, *current; in rsmka_remove_adapter() local 806 current = listhead->next_adapter; in rsmka_remove_adapter() 807 while (current != NULL) { in rsmka_remove_adapter() 808 if (adapter->instance == current->instance) { in rsmka_remove_adapter() 811 prev = current; in rsmka_remove_adapter() 812 current = current->next; in rsmka_remove_adapter() 815 ASSERT(current != NULL); in rsmka_remove_adapter() 818 listhead->next_adapter = current->next; in rsmka_remove_adapter() 820 prev->next = current->next; in rsmka_remove_adapter() 828 mutex_enter(¤t->mutex); in rsmka_remove_adapter() [all …]
|
/titanic_50/usr/src/lib/libbc/libc/gen/common/ |
H A D | file_decim.c | 48 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 D | func_decim.c | 49 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 ; } ;
|
/titanic_50/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | ovload.c | 40 static int parse_pw_hist_ent(current, hist) in parse_pw_hist_ent() argument 41 char *current; in parse_pw_hist_ent() 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, ¤t); 150 com_err(NULL, IMPORT_BAD_RECORD, "%s", current); 163 com_err(NULL, IMPORT_BAD_RECORD, "%s", current); [all …]
|
/titanic_50/usr/src/lib/fm/libfmd_snmp/mibs/ |
H A D | SUN-FM-MIB.mib | 63 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 …]
|
/titanic_50/usr/src/cmd/krb5/krb5kdc/ |
H A D | kdc_util.c | 580 char current[MAX_REALM_LN]; in add_to_transited() local 631 current[i++] = *otrans++; in add_to_transited() 637 current[i] = '\0'; in add_to_transited() 644 while (current[0]) { in add_to_transited() 648 clst = strlen(current) - 1; in add_to_transited() 649 if (current[0] == ' ') { in add_to_transited() 650 strncpy(exp, current+1, sizeof(exp) - 1); in add_to_transited() 653 else if ((current[0] == '/') && (prev[0] == '/')) { in add_to_transited() 656 if (strlen(exp) + strlen(current) + 1 >= MAX_REALM_LN) { in add_to_transited() 660 strncat(exp, current, sizeof(exp) - 1 - strlen(exp)); in add_to_transited() [all …]
|
/titanic_50/usr/src/lib/efcode/fcdriver/ |
H A D | build_tree.c | 141 device_t *current, *attach; in build_nodes() local 176 env->attachment_pt = current = attach = env->current_device; in build_nodes() 181 current->private = pd; in build_nodes() 182 add_my_handle(env, pd->node, current); in build_nodes() 183 install_property_vectors(env, current); in build_nodes() 184 current = current->parent; in build_nodes() 187 for (current = attach; current != NULL; current = current->parent) { in build_nodes() 188 install_node_data(env, current); in build_nodes() 189 if (current->parent) in build_nodes()
|
/titanic_50/usr/src/lib/print/libprint/common/ |
H A D | list.c | 107 int current = 0; in list_locate() local 113 for (current = 0; list[current] != NULL; current++) in list_locate() 114 if ((compair)(list[current], element) == 0) in list_locate() 115 return (list[current]); in list_locate() 174 int current = 0, in list_iterate() local 181 while (list[current] != NULL) { in list_iterate() 185 rc += (vfunc)(list[current++], ap); in list_iterate()
|