Home
last modified time | relevance | path

Searched refs:upper (Results 1 – 25 of 384) sorted by relevance

12345678910>>...16

/illumos-gate/usr/src/uts/common/io/kbtrans/
H A Dkbtrans_streams.c202 progressbar_key_abort_thread(struct kbtrans *upper) in progressbar_key_abort_thread() argument
207 if (ldi_ident_from_stream(upper->kbtrans_streams_readq, &li) != 0) { in progressbar_key_abort_thread()
210 mutex_enter(&upper->progressbar_key_abort_lock); in progressbar_key_abort_thread()
211 while (upper->progressbar_key_abort_flag == 0) in progressbar_key_abort_thread()
212 cv_wait(&upper->progressbar_key_abort_cv, in progressbar_key_abort_thread()
213 &upper->progressbar_key_abort_lock); in progressbar_key_abort_thread()
214 if (upper->progressbar_key_abort_flag == 1) { in progressbar_key_abort_thread()
215 mutex_exit(&upper->progressbar_key_abort_lock); in progressbar_key_abort_thread()
218 mutex_exit(&upper->progressbar_key_abort_lock); in progressbar_key_abort_thread()
235 struct kbtrans *upper; in kbtrans_streams_init() local
[all …]
H A Dkbtrans_polled.c73 kbtrans_ischar(struct kbtrans *upper) in kbtrans_ischar() argument
83 if (*upper->kbtrans_polled_pending_chars != '\0') { in kbtrans_ischar()
90 upper->kbtrans_polled_buf[0] = '\0'; in kbtrans_ischar()
91 upper->kbtrans_polled_pending_chars = upper->kbtrans_polled_buf; in kbtrans_ischar()
93 cb = upper->kbtrans_streams_hw_callbacks; in kbtrans_ischar()
94 hw = upper->kbtrans_streams_hw; in kbtrans_ischar()
101 kbtrans_processkey(&upper->kbtrans_lower, in kbtrans_ischar()
106 if (*upper->kbtrans_polled_pending_chars != '\0') { in kbtrans_ischar()
119 kbtrans_getchar(struct kbtrans *upper) in kbtrans_getchar() argument
121 while (!kbtrans_ischar(upper)) in kbtrans_getchar()
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/misc/
H A Dtst.dofmax.ksh59 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 …]
/illumos-gate/usr/src/lib/libadm/common/
H A Dckrange.c47 setmsg(char *msg, long lower, long upper, int base) in setmsg() argument
50 (void) sprintf(msg, MESG10, lower, upper); in setmsg()
52 (void) sprintf(msg, MESG, base, lower, upper); in setmsg()
56 ckrange_err(long lower, long upper, int base, char *error) in ckrange_err() argument
60 setmsg(defmesg, lower, upper, base); in ckrange_err()
65 ckrange_hlp(long lower, long upper, int base, char *help) in ckrange_hlp() argument
69 setmsg(defmesg, lower, upper, base); in ckrange_hlp()
74 ckrange_val(long lower, long upper, int base, char *input) in ckrange_val() argument
80 if ((*ptr != '\0') || (value < lower) || (value > upper)) in ckrange_val()
86 ckrange(long *rngval, long lower, long upper, short base, char *defstr, in ckrange() argument
[all …]
/illumos-gate/usr/src/cmd/format/
H A Dprompts.c51 ioparam.io_bounds.upper = UINT_MAX64; in get_mlba()
66 ioparam.io_bounds.upper = MAX_CYLS; in get_ncyl()
81 ioparam.io_bounds.upper = MAX_CYLS - n_cyls; in get_acyl()
97 ioparam.io_bounds.upper = MAX_CYLS; in get_pcyl()
112 ioparam.io_bounds.upper = MAX_HEADS; in get_nhead()
128 ioparam.io_bounds.upper = INFINITY; in get_phead()
148 ioparam.io_bounds.upper = MAX_SECTS; in get_nsect()
165 ioparam.io_bounds.upper = INFINITY; in get_psect()
187 ioparam.io_bounds.upper = INFINITY; in get_bpt()
206 ioparam.io_bounds.upper = MAX_RPM; in get_rpm()
[all …]
H A Dio.c768 fmt_print(") to %llu (", bounds->upper); in input()
769 pr_dblock(fmt_print, bounds->upper); in input()
786 if ((bn64 < bounds->lower) || (bn64 > bounds->upper)) { in input()
790 bounds->lower, bounds->upper); in input()
811 fmt_print(" to %llu\n", bounds->upper); in input()
822 if ((bn < bounds->lower) || (bn > bounds->upper)) { in input()
824 bounds->lower, bounds->upper); in input()
842 fmt_print(" to %llu\n", bounds->upper); in input()
854 if ((bn64 < bounds->lower) || (bn64 > bounds->upper)) { in input()
856 bn64, bounds->lower, bounds->upper); in input()
[all …]
H A Dmenu_analyze.c272 ioparam.io_bounds.upper = datasects() - 1; in a_setup()
274 ioparam.io_bounds.upper = physsects() - 1; in a_setup()
276 ioparam.io_bounds.upper = cur_parts->etoc->efi_last_lba; in a_setup()
298 ioparam.io_bounds.upper = 100; in a_setup()
326 ioparam.io_bounds.upper = min(size, BUF_SECTS); in a_setup()
327 if (scan_size > ioparam.io_bounds.upper) in a_setup()
328 scan_size = ioparam.io_bounds.upper; in a_setup()
H A Dmenu_defect.c270 ioparam.io_bounds.upper = 1; in d_add()
283 ioparam.io_bounds.upper = physsects() - 1; in d_add()
285 ioparam.io_bounds.upper = cur_parts->etoc->efi_last_lba; in d_add()
299 ioparam.io_bounds.upper = pcyl - 1; in d_add()
303 ioparam.io_bounds.upper = nhead - 1; in d_add()
306 ioparam.io_bounds.upper = cur_dtype->dtype_bpt - 1; in d_add()
310 ioparam.io_bounds.upper = (cur_dtype->dtype_bpt - def.bfi) * 8; in d_add()
311 if (ioparam.io_bounds.upper >= 32 * 1024) in d_add()
312 ioparam.io_bounds.upper = 32 * 1024 - 1; in d_add()
388 ioparam.io_bounds.upper = count; in d_delete()
/illumos-gate/usr/src/test/os-tests/tests/secflags/
H A Dsecflags_zonecfg.sh94 set upper=all
110 set upper=all
123 expect_fail invalid-full-def-gt-upper "default secflags must be within the upper limit" <<EOF
127 set upper=none
132 expect_fail invalid-partial-def-gt-upper "default secflags must be within the upper limit" <<EOF
135 set upper=none
140 expect_fail invalid-full-def-gt-upper "default secflags must be within the upper limit" <<EOF
144 set upper=none
149 expect_fail invalid-partial-lower-gt-upper "lower secflags must be within the upper limit" <<EOF
152 set upper=none
[all …]
/illumos-gate/usr/src/cmd/cron/
H A Dparse.c73 next_field(uint_t lower, uint_t upper, char *line, int *cursorp, char **ret) in next_field() argument
80 assert(upper - lower <= MAX_ELEMENTS); in next_field()
118 num2 = upper; in next_field()
127 if (num < lower || num > upper) { in next_field()
141 if (num2 < lower || num2 > upper) { in next_field()
175 for (i = num; i <= upper; i += step) { in next_field()
179 i -= (upper - lower + 1); in next_field()
242 int lower, upper, cursor = 0; in main() local
249 upper = atoi(argv[2]); in main()
251 switch (next_field(lower, upper, argv[3], &cursor, &ret)) { in main()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_split.c118 h->linp[skip] = h->upper -= ilen;
119 dest = (char *)h + h->upper;
218 if (h->upper - h->lower < nbytes + sizeof(indx_t)) {
237 h->linp[skip] = h->upper -= nbytes;
243 h->linp[skip] = h->upper -= nbytes;
265 h->linp[skip] = h->upper -= nbytes;
283 h->linp[skip] = h->upper -= nbytes;
361 r->upper = t->bt_psize;
400 l->upper = t->bt_psize;
472 l->upper = r->upper = t->bt_psize;
[all …]
/illumos-gate/usr/src/uts/sun4u/cherrystone/ml/
H A Dcherrystone_asm.S58 sllx %o0, 32, %o0 ! shift upper 32 bits
59 srl %o1, 0, %o1 ! clear upper 32 bits
70 srl %g1, 0, %o1 ! put lower 32 bits in o1, clear upper 32 bits
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
/illumos-gate/usr/src/uts/sun4u/daktari/ml/
H A Ddaktari_asm.S52 sllx %o0, 32, %o0 ! shift upper 32 bits
53 srl %o1, 0, %o1 ! clear upper 32 bits
64 srl %g1, 0, %o1 ! put lower 32 bits in o1, clear upper 32 bits
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
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/
H A Dregexprange.awk4 split("ABCDEFGHIJKLMNOPQRSTUVWXYZ", upper, "")
7 for (i = 1; i in upper; i++)
9 upper[i], range, (upper[i] ~ range) ? "true" : "false")
H A Drebrackloc.awk17 match($0, /[\([] *([[:upper:]]+)/) {
41 /[\([][[:upper:]]*/ {
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_string.c182 return (current_codepage[c & mask].upper); in smb_toupper()
371 unicode[b].upper = (smb_wchar_t)b; in smb_unicode_init()
386 unicode[b].upper = (smb_wchar_t)b; in smb_unicode_init()
396 unicode[b].upper = (smb_wchar_t)b; in smb_unicode_init()
400 unicode[b].upper = (smb_wchar_t)b; in smb_unicode_init()
409 if (a_unicode[a].upper == 0xffff) { in smb_unicode_init()
411 unicode[b].upper = (smb_wchar_t)b; in smb_unicode_init()
415 unicode[b].upper = a_unicode[a].upper; in smb_unicode_init()
/illumos-gate/usr/src/test/libc-tests/tests/wctype/
H A Dwctype_test.c61 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()
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dprocmap.c293 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 Dpkgobjmap.c393 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()
/illumos-gate/usr/src/cmd/valtools/
H A Dckrange.c47 static char *upper; variable
162 upper = optarg; in main()
204 if (upper) { in main()
205 uvalue = strtol(upper, &ptr, base); in main()
206 if (ptr == upper) { in main()
/illumos-gate/usr/src/common/crypto/des/
H A Ddes_ks.c255 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()
/illumos-gate/usr/src/uts/common/kiconv/kiconv_ja/
H A Dkiconv_ja.c889 ushort_t dest, upper, lower; in _do_kiconv_fr_sjis() local
904 upper = 0x22; in _do_kiconv_fr_sjis()
907 upper = 0x22; in _do_kiconv_fr_sjis()
911 upper, lower); in _do_kiconv_fr_sjis()
913 index = (uint_t)((upper - 0x21) in _do_kiconv_fr_sjis()
928 upper = (dest >> 8) & KICONV_JA_CMASK; in _do_kiconv_fr_sjis()
931 upper, lower); in _do_kiconv_fr_sjis()
933 index = (uint_t)((upper - 0x21) in _do_kiconv_fr_sjis()
1230 ushort_t dest, upper, lower; in _do_kiconvstr_fr_sjis() local
1253 upper = 0x22; in _do_kiconvstr_fr_sjis()
[all …]
/illumos-gate/usr/src/lib/iconv_modules/ja/common/
H A DPCK_TO_Unicode.c139 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()
/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dattribute.c175 result->range.upper = v->range.upper; in papiAttributeValueDup()
248 (value->range.lower > value->range.upper)) in papiAttributeListAddValue()
326 char *name, int lower, int upper) in papiAttributeListAddRange() argument
331 v.range.upper = upper; in papiAttributeListAddRange()
539 *max = value->range.upper; in papiAttributeListGetRange()
710 value->range.upper = 0 - (atoi(parts[0])); in _add_attribute_value()
712 value->range.lower = value->range.upper in _add_attribute_value()
722 value->range.upper = MAX_PAGES; in _add_attribute_value()
725 value->range.upper = atoi(parts[2]); in _add_attribute_value()
926 if (values[i]->range.lower == values[i]->range.upper) in papiAttributeToString()
[all …]
/illumos-gate/usr/src/tools/cpcgen/
H A Dcpcgen.c860 char *upper; in cpcgen_manual_intel_file_before() local
863 if ((upper = strdup(map->cmap_name)) == NULL) { in cpcgen_manual_intel_file_before()
868 for (i = 0; upper[i] != '\0'; i++) { in cpcgen_manual_intel_file_before()
869 upper[i] = toupper(upper[i]); in cpcgen_manual_intel_file_before()
872 if (fprintf(f, cpcgen_manual_intel_intel_header, map->cmap_path, upper, in cpcgen_manual_intel_file_before()
876 free(upper); in cpcgen_manual_intel_file_before()
879 free(upper); in cpcgen_manual_intel_file_before()
1439 char *upper, *desc, *c; in cpcgen_manual_amd_file_before() local
1441 if ((upper = strdup(map->cmap_name)) == NULL) { in cpcgen_manual_amd_file_before()
1448 free(upper); in cpcgen_manual_amd_file_before()
[all …]

12345678910>>...16