/titanic_50/usr/src/uts/common/io/kbtrans/ |
H A D | kbtrans_streams.c | 141 static enum kbtrans_message_response kbtrans_ioctl(struct kbtrans *upper, 197 progressbar_key_abort_thread(struct kbtrans *upper) in progressbar_key_abort_thread() argument 202 if (ldi_ident_from_stream(upper->kbtrans_streams_readq, &li) != 0) { in progressbar_key_abort_thread() 205 mutex_enter(&upper->progressbar_key_abort_lock); in progressbar_key_abort_thread() 206 while (upper->progressbar_key_abort_flag == 0) in progressbar_key_abort_thread() 207 cv_wait(&upper->progressbar_key_abort_cv, in progressbar_key_abort_thread() 208 &upper->progressbar_key_abort_lock); in progressbar_key_abort_thread() 209 if (upper->progressbar_key_abort_flag == 1) { in progressbar_key_abort_thread() 210 mutex_exit(&upper->progressbar_key_abort_lock); in progressbar_key_abort_thread() 213 mutex_exit(&upper->progressbar_key_abort_lock); in progressbar_key_abort_thread() [all …]
|
H A D | kbtrans_polled.c | 75 kbtrans_ischar(struct kbtrans *upper) in kbtrans_ischar() argument 85 if (*upper->kbtrans_polled_pending_chars != '\0') { in kbtrans_ischar() 92 upper->kbtrans_polled_buf[0] = '\0'; in kbtrans_ischar() 93 upper->kbtrans_polled_pending_chars = upper->kbtrans_polled_buf; in kbtrans_ischar() 95 cb = upper->kbtrans_streams_hw_callbacks; in kbtrans_ischar() 96 hw = upper->kbtrans_streams_hw; in kbtrans_ischar() 103 kbtrans_processkey(&upper->kbtrans_lower, in kbtrans_ischar() 108 if (*upper->kbtrans_polled_pending_chars != '\0') { in kbtrans_ischar() 121 kbtrans_getchar(struct kbtrans *upper) in kbtrans_getchar() argument 123 while (!kbtrans_ischar(upper)) in kbtrans_getchar() [all …]
|
/titanic_50/usr/src/cmd/dtrace/test/tst/common/misc/ |
H A D | tst.dofmax.ksh | 59 let upper=1 61 while enable $upper ; do 62 let lower=upper 63 let upper=upper+upper 64 echo success at $lower, raised to $upper 70 while [[ "$lower" -lt "$upper" ]]; do 71 let guess=$(((lower + upper) / 2)) 72 echo "lower is $lower; upper is $upper; guess is $guess\c" 75 if [[ $((upper - lower)) -le 2 ]]; then 76 let upper=guess [all …]
|
/titanic_50/usr/src/lib/libadm/common/ |
H A D | ckrange.c | 48 setmsg(char *msg, long lower, long upper, int base) in setmsg() argument 51 (void) sprintf(msg, MESG10, lower, upper); in setmsg() 53 (void) sprintf(msg, MESG, base, lower, upper); in setmsg() 57 ckrange_err(long lower, long upper, int base, char *error) in ckrange_err() argument 61 setmsg(defmesg, lower, upper, base); in ckrange_err() 66 ckrange_hlp(long lower, long upper, int base, char *help) in ckrange_hlp() argument 70 setmsg(defmesg, lower, upper, base); in ckrange_hlp() 75 ckrange_val(long lower, long upper, int base, char *input) in ckrange_val() argument 81 if ((*ptr != '\0') || (value < lower) || (value > upper)) in ckrange_val() 87 ckrange(long *rngval, long lower, long upper, short base, char *defstr, in ckrange() argument [all …]
|
/titanic_50/usr/src/cmd/format/ |
H A D | prompts.c | 51 ioparam.io_bounds.upper = UINT_MAX64; in get_mlba() 66 ioparam.io_bounds.upper = MAX_CYLS; in get_ncyl() 82 ioparam.io_bounds.upper = MAX_CYLS - n_cyls; 100 ioparam.io_bounds.upper = MAX_CYLS; 115 ioparam.io_bounds.upper = MAX_HEADS; in get_nhead() 133 ioparam.io_bounds.upper = INFINITY; 153 ioparam.io_bounds.upper = MAX_SECTS; in get_nsect() 171 ioparam.io_bounds.upper = INFINITY; 195 ioparam.io_bounds.upper = INFINITY; 214 ioparam.io_bounds.upper = MAX_RPM; in get_rpm() [all …]
|
H A D | io.c | 806 fmt_print(") to %llu (", bounds->upper); 807 pr_dblock(fmt_print, bounds->upper); 825 if ((bn64 < bounds->lower) || (bn64 > bounds->upper)) { 849 fmt_print(" to %llu\n", bounds->upper); 860 if ((bn < bounds->lower) || (bn > bounds->upper)) { 879 fmt_print(" to %llu\n", bounds->upper); 891 if ((bn64 < bounds->lower) || (bn64 > bounds->upper)) { 913 fmt_print(" to %llu, or no input\n", bounds->upper); 924 if ((bn < bounds->lower) || (bn > bounds->upper)) { 1104 bounds->upper); [all …]
|
H A D | menu_analyze.c | 274 ioparam.io_bounds.upper = datasects() - 1; in a_setup() 276 ioparam.io_bounds.upper = physsects() - 1; in a_setup() 278 ioparam.io_bounds.upper = cur_parts->etoc->efi_last_lba; in a_setup() 300 ioparam.io_bounds.upper = 100; in a_setup() 328 ioparam.io_bounds.upper = min(size, BUF_SECTS); in a_setup() 329 if (scan_size > ioparam.io_bounds.upper) in a_setup() 330 scan_size = ioparam.io_bounds.upper; in a_setup()
|
H A D | menu_defect.c | 279 ioparam.io_bounds.upper = 1; in d_add() 292 ioparam.io_bounds.upper = physsects() - 1; in d_add() 294 ioparam.io_bounds.upper = cur_parts->etoc->efi_last_lba; in d_add() 308 ioparam.io_bounds.upper = pcyl - 1; in d_add() 312 ioparam.io_bounds.upper = nhead - 1; in d_add() 315 ioparam.io_bounds.upper = cur_dtype->dtype_bpt - 1; in d_add() 319 ioparam.io_bounds.upper = (cur_dtype->dtype_bpt - def.bfi) * 8; in d_add() 320 if (ioparam.io_bounds.upper >= 32 * 1024) in d_add() 321 ioparam.io_bounds.upper = 32 * 1024 - 1; in d_add() 397 ioparam.io_bounds.upper = count; in d_delete()
|
/titanic_50/usr/src/cmd/mdb/sun4v/modules/errh/ |
H A D | errh.c | 130 uintptr_t ao, lower, upper, current; in rqueue() local 146 upper = lower + CPU_RQ_SIZE - Q_ENTRY_SIZE; in rqueue() 148 if (ao < lower || upper < ao) { in rqueue() 157 for (current = upper; current > ao; current -= Q_ENTRY_SIZE) in rqueue() 169 uintptr_t lower, ao, upper; in nrqueue() local 186 upper = lower + CPU_NRQ_SIZE - Q_ENTRY_SIZE; in nrqueue() 188 if (ao < lower || upper < ao) { in nrqueue() 197 for (current = upper; current > ao; current -= Q_ENTRY_SIZE) in nrqueue() 216 uintptr_t *ao, *lower, *upper; in rq_walk_init() local 232 ao = lower = upper = wsp->walk_data; in rq_walk_init() [all …]
|
/titanic_50/usr/src/lib/libbc/libc/gen/common/ |
H A D | xccs.multibyte.c | 130 unsigned char upper, lower; local 143 upper = (pwc >> 8) & 0x00ff; 144 if (lower == CS377 || upper == CS377) 154 *s++ = upper; 163 *s++ = upper; 269 unsigned char lower, upper; local 282 upper = (*pwc >> 8) & 0x00ff; 296 if (lower == CS377 || upper == CS377) 310 *s++ = upper; ++cnt; --n; 319 (in_1byte == 1 && upper != current) || [all …]
|
/titanic_50/usr/src/cmd/egrep/ |
H A D | egrep.y | 87 wchar_t *upper; variable 760 if((upper = (wchar_t *)malloc(MAXLIN*sizeof(wchar_t))) == (wchar_t *)0) in main() 1049 if(lower[current] != upper[current]) { in ccl() 1051 chars[nxtchar++] = upper[current]; in ccl() 1068 if(upper[current] == lower[current]) in ccl() 1072 wctomb(multic2, upper[current]); in ccl() 1160 upper[current-1] = c; in genrange() 1164 upper[current++] = c; in genrange() 1171 qsort((char *)upper, nel, sizeof(wchar_t), compare); in genrange() 1176 if(upper[i] >= lower[i+1] - 1) in genrange() [all …]
|
/titanic_50/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_split.c | 120 h->linp[skip] = h->upper -= ilen; 121 dest = (char *)h + h->upper; 220 if (h->upper - h->lower < nbytes + sizeof(indx_t)) { 239 h->linp[skip] = h->upper -= nbytes; 245 h->linp[skip] = h->upper -= nbytes; 267 h->linp[skip] = h->upper -= nbytes; 285 h->linp[skip] = h->upper -= nbytes; 363 r->upper = t->bt_psize; 402 l->upper = t->bt_psize; 474 l->upper = r->upper = t->bt_psize; [all …]
|
/titanic_50/usr/src/uts/sun4u/daktari/ml/ |
H A D | daktari_asm.s | 76 sllx %o0, 32, %o0 ! shift upper 32 bits 77 srl %o1, 0, %o1 ! clear upper 32 bits 88 srl %g1, 0, %o1 ! put lower 32 bits in o1, clear upper 32 bits 100 sllx %o0, 32, %o0 ! shift upper 32 bits 101 srl %o1, 0, %o1 ! clear upper 32 bits 112 srl %g1, 0, %o1 ! put lower 32 bits in o1, clear upper 32 bits
|
/titanic_50/usr/src/uts/sun4u/cherrystone/ml/ |
H A D | cherrystone_asm.s | 82 sllx %o0, 32, %o0 ! shift upper 32 bits 83 srl %o1, 0, %o1 ! clear upper 32 bits 94 srl %g1, 0, %o1 ! put lower 32 bits in o1, clear upper 32 bits 106 sllx %o0, 32, %o0 ! shift upper 32 bits 107 srl %o1, 0, %o1 ! clear upper 32 bits 118 srl %g1, 0, %o1 ! put lower 32 bits in o1, clear upper 32 bits
|
/titanic_50/usr/src/common/smbsrv/ |
H A D | smb_string.c | 168 return (current_codepage[c & mask].upper); in smb_toupper() 357 unicode[b].upper = (smb_wchar_t)b; in smb_unicode_init() 372 unicode[b].upper = (smb_wchar_t)b; in smb_unicode_init() 382 unicode[b].upper = (smb_wchar_t)b; in smb_unicode_init() 386 unicode[b].upper = (smb_wchar_t)b; in smb_unicode_init() 395 if (a_unicode[a].upper == 0xffff) { in smb_unicode_init() 397 unicode[b].upper = (smb_wchar_t)b; in smb_unicode_init() 401 unicode[b].upper = a_unicode[a].upper; in smb_unicode_init()
|
/titanic_50/usr/src/test/libc-tests/tests/wctype/ |
H A D | wctype_test.c | 61 test_ctype(upper); in main() 70 test_ctype_subset(upper, alpha); in main() 72 test_ctype_subset(upper, alnum); in main() 75 test_ctype_subset(upper, print); in main() 80 test_ctype_subset(upper, graph); in main()
|
/titanic_50/usr/src/cmd/svr4pkg/libinst/ |
H A D | procmap.c | 293 int upper, lower; in sortentry() local 317 upper = index; /* upper bound */ in sortentry() 345 upper = i; in sortentry() 346 i = lower + (upper-lower)/2; in sortentry() 350 i = upper - (upper-lower)/2 - 1; in sortentry() 352 } while (upper != lower); in sortentry() 353 last = i = upper; in sortentry()
|
H A D | pkgobjmap.c | 393 int upper, lower; in sortentry() local 418 upper = index; /* upper bound */ in sortentry() 460 upper = i; in sortentry() 461 i = lower + (upper-lower)/2; in sortentry() 465 i = upper - (upper-lower)/2 - 1; in sortentry() 467 } while (upper != lower); in sortentry() 468 last = i = upper; in sortentry()
|
/titanic_50/usr/src/cmd/valtools/ |
H A D | ckrange.c | 50 static char *upper; variable 165 upper = optarg; in main() 207 if (upper) { in main() 208 uvalue = strtol(upper, &ptr, base); in main() 209 if (ptr == upper) { in main()
|
/titanic_50/usr/src/common/crypto/des/ |
H A D | des_ks.c | 255 uint32_t upper, lower; in des_ks() local 274 upper = pc2_1_table[0][(c >> 50) & 63] | in des_ks() 286 ks[i] = ((uint64_t)upper)<<32 | ((uint64_t)lower); in des_ks()
|
/titanic_50/usr/src/tools/stabs/ |
H A D | genassym.c | 68 char *upper = uc(np->format); in genassym_do_intrinsic() local 70 printf("#define\t%s 0x%x\n", upper, tdp->size); in genassym_do_intrinsic() 72 free(upper); in genassym_do_intrinsic() 85 char *upper = uc(np->format); in genassym_do_sou() local 88 printf("#define\t%s 0x%x\n", upper, tdp->size); in genassym_do_sou() 95 free(upper); in genassym_do_sou()
|
/titanic_50/usr/src/lib/iconv_modules/ja/common/ |
H A D | PCK_TO_Unicode.c | 139 unsigned short dest, upper, lower; in _icv_iconv() local 169 upper = ((dest >> 8) & 0x7f) - 0x21; in _icv_iconv() 171 index = (unsigned int)(upper * 94 + in _icv_iconv()
|
/titanic_50/usr/src/tools/cpcgen/ |
H A D | cpcgen.c | 843 char *upper; in cpcgen_manual_intel_file_before() local 846 if ((upper = strdup(map->cmap_name)) == NULL) { in cpcgen_manual_intel_file_before() 851 for (i = 0; upper[i] != '\0'; i++) { in cpcgen_manual_intel_file_before() 852 upper[i] = toupper(upper[i]); in cpcgen_manual_intel_file_before() 855 if (fprintf(f, cpcgen_manual_intel_intel_header, map->cmap_path, upper, in cpcgen_manual_intel_file_before() 859 free(upper); in cpcgen_manual_intel_file_before() 862 free(upper); in cpcgen_manual_intel_file_before() 895 free(upper); in cpcgen_manual_intel_file_before() 1412 char *upper; in cpcgen_manual_amd_file_before() local 1415 if ((upper = strdup(map->cmap_name)) == NULL) { in cpcgen_manual_amd_file_before() [all …]
|
/titanic_50/usr/src/uts/common/kiconv/kiconv_ja/ |
H A D | kiconv_ja.c | 891 ushort_t dest, upper, lower; in _do_kiconv_fr_sjis() local 906 upper = 0x22; in _do_kiconv_fr_sjis() 909 upper = 0x22; in _do_kiconv_fr_sjis() 913 upper, lower); in _do_kiconv_fr_sjis() 915 index = (uint_t)((upper - 0x21) in _do_kiconv_fr_sjis() 930 upper = (dest >> 8) & KICONV_JA_CMASK; in _do_kiconv_fr_sjis() 933 upper, lower); in _do_kiconv_fr_sjis() 935 index = (uint_t)((upper - 0x21) in _do_kiconv_fr_sjis() 1232 ushort_t dest, upper, lower; in _do_kiconvstr_fr_sjis() local 1255 upper = 0x22; in _do_kiconvstr_fr_sjis() [all …]
|
/titanic_50/usr/src/lib/print/libpapi-common/common/ |
H A D | attribute.c | 180 result->range.upper = v->range.upper; in papiAttributeValueDup() 253 (value->range.lower > value->range.upper)) in papiAttributeListAddValue() 331 char *name, int lower, int upper) in papiAttributeListAddRange() argument 336 v.range.upper = upper; in papiAttributeListAddRange() 544 *max = value->range.upper; in papiAttributeListGetRange() 716 value->range.upper = 0 - (atoi(parts[0])); in _add_attribute_value() 718 value->range.lower = value->range.upper in _add_attribute_value() 728 value->range.upper = MAX_PAGES; in _add_attribute_value() 731 value->range.upper = atoi(parts[2]); in _add_attribute_value() 933 if (values[i]->range.lower == values[i]->range.upper) in papiAttributeToString() [all …]
|