Home
last modified time | relevance | path

Searched refs:range (Results 1 – 25 of 212) sorted by relevance

123456789

/titanic_51/usr/src/lib/libbsm/common/
H A Dgetdevicerange.c38 * be used. If label range is not specified for the device in
49 blrange_t *range; in getdevicerange() local
52 if ((range = malloc(sizeof (blrange_t))) == NULL) in getdevicerange()
54 if ((range->lower_bound = blabel_alloc()) == NULL) { in getdevicerange()
55 free(range); in getdevicerange()
58 if ((range->upper_bound = blabel_alloc()) == NULL) { in getdevicerange()
59 blabel_free(range->lower_bound); in getdevicerange()
60 free(range); in getdevicerange()
66 * return its label range. in getdevicerange()
80 bsllow(range in getdevicerange()
[all...]
/titanic_51/usr/src/lib/libshell/common/bltins/
H A Dhist.c50 int range[2], incr, index2, indx= -1; in b_hist() local
89 range[++indx] = flag; in b_hist()
139 range[++flag] = (int)strtol(arg, (char**)0, 10); in b_hist()
141 range[flag] += (hist_max(hp)-1); in b_hist()
148 if((range[++flag] = location.hist_command) < 0) in b_hist()
163 range[0] = flag; in b_hist()
167 if(range[0]<index2) in b_hist()
168 range[0] = index2; in b_hist()
171 range[1] = ((lflag && !edit)?hist_max(hp)-1:range[0]); in b_hist()
172 if(range[1]>=(flag=(hist_max(hp) - !lflag))) in b_hist()
[all …]
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dhist.c50 int range[2], incr, index2, indx= -1; in b_hist() local
89 range[++indx] = flag; in b_hist()
140 range[++flag] = (int)strtol(arg, (char**)0, 10); in b_hist()
142 range[flag] += (hist_max(hp)-1); in b_hist()
149 if((range[++flag] = location.hist_command) < 0) in b_hist()
155 /* set default starting range */ in b_hist()
164 range[0] = flag; in b_hist()
168 if(range[0]<index2) in b_hist()
169 range[0] = index2; in b_hist()
171 /* set default termination range */ in b_hist()
[all...]
/titanic_51/usr/src/lib/libproc/common/
H A Dproc_arg.c145 * Check to see if the user has supplied an lwp range. First, in proc_grab_common()
305 proc_lwp_get_range(char *range, id_t *low, id_t *high) in proc_lwp_get_range() argument
307 if (*range == '-') in proc_lwp_get_range()
310 *low = (id_t)strtol(range, &range, 10); in proc_lwp_get_range()
312 if (*range == '\0' || *range == ',') { in proc_lwp_get_range()
316 if (*range != '-') { in proc_lwp_get_range()
319 range++; in proc_lwp_get_range()
321 if (*range in proc_lwp_get_range()
359 char *range = (char *)set; proc_lwp_in_set() local
393 char *range = (char *)set; proc_lwp_range_valid() local
[all...]
/titanic_51/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_016_pos.ksh18 # Verify zfs destroy test for range of snapshots by giving a list
22 # 1. Create a list of valid and invalid arguments for range snapshot
54 for i in $range; do
63 for i in $range; do
85 range="1 2 3 4 5"
101 log_note "Destroy the begining range"
105 range="1 2 3"
107 range="4 5"
111 log_note "Destroy the mid range"
114 range
[all...]
/titanic_51/usr/src/lib/libtsol/common/
H A Dmisc.c415 * getuserrange - get label range for user
431 m_range_t *range; in getuserrange() local
438 if ((range = malloc(sizeof (m_range_t))) == NULL) { in getuserrange()
441 if ((range->lower_bound = m_label_alloc(MAC_LABEL)) == NULL) { in getuserrange()
442 free(range); in getuserrange()
445 def_min = range->lower_bound; in getuserrange()
446 if ((range->upper_bound = m_label_alloc(USER_CLEAR)) == NULL) { in getuserrange()
447 m_label_free(range->lower_bound); in getuserrange()
448 free(range); in getuserrange()
451 def_clr = range in getuserrange()
[all...]
/titanic_51/usr/src/lib/pam_modules/tsol_acct/
H A Dtsol_acct.c42 * Validates that the user's label range contains
64 m_range_t *range; in pam_sm_acct_mgmt() local
103 if ((range = getuserrange(user)) == NULL) { in pam_sm_acct_mgmt()
111 free_labels(range, NULL); in pam_sm_acct_mgmt()
117 free_labels(range, plabel); in pam_sm_acct_mgmt()
120 if (!blinrange(plabel, range)) { in pam_sm_acct_mgmt()
121 free_labels(range, plabel); in pam_sm_acct_mgmt()
125 free_labels(range, plabel); in pam_sm_acct_mgmt()
/titanic_51/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_resource.c490 acpidev_ranges_t range; in acpidev_resource_address64() local
492 range.child_hi = high; in acpidev_resource_address64()
493 range.child_mid = addrp->Address.Minimum >> 32; in acpidev_resource_address64()
494 range.child_low = addrp->Address.Minimum & 0xFFFFFFFF; in acpidev_resource_address64()
497 range.parent_hi = ACPIDEV_REG_TYPE_IO; in acpidev_resource_address64()
499 range.parent_hi = high; in acpidev_resource_address64()
503 range.parent_mid = paddr >> 32; in acpidev_resource_address64()
504 range.parent_low = paddr & 0xFFFFFFFF; in acpidev_resource_address64()
505 range.size_hi = addrp->Address.AddressLength >> 32; in acpidev_resource_address64()
506 range in acpidev_resource_address64()
561 acpidev_ranges_t range; acpidev_resource_address64() local
650 acpidev_ranges_t range; acpidev_resource_walk_producer() local
[all...]
/titanic_51/usr/src/cmd/avs/sdbc/
H A Dsd_stats.c116 static char *range; variable
160 "[-d delay_time] [-l logfile] [-r range]"); in sd_stats_lintmain()
182 range = malloc(100); in sd_stats_lintmain()
185 !rate_prev || !cs_cur || !cs_prev || !cs_persec || !range) { in sd_stats_lintmain()
190 *range = '\0'; in sd_stats_lintmain()
222 range = realloc((char *)range, in sd_stats_lintmain()
223 (strlen(range) + strlen(optarg) + 1) in sd_stats_lintmain()
227 (void) strcat(range, ","); in sd_stats_lintmain()
228 (void) strcat(range, optar in sd_stats_lintmain()
494 setup_ranges(char * range) setup_ranges() argument
[all...]
/titanic_51/usr/src/lib/libc/port/gen/
H A Datexit.c195 * of the array range to SIG_DFL.
198 _preexec_sig_unload(Lc_addr_range_t range[], uint_t count) in _preexec_sig_unload() argument
212 in_range((void *)handler, range, count)) { in _preexec_sig_unload()
235 * the union of the ranges specified by the elements of the array range.
238 _preexec_atfork_unload(Lc_addr_range_t range[], uint_t count) in _preexec_atfork_unload() argument
256 in_range((void *)func, range, count)) || in _preexec_atfork_unload()
258 in_range((void *)func, range, count)) || in _preexec_atfork_unload()
260 in_range((void *)func, range, count))) { in _preexec_atfork_unload()
296 * the union of the ranges specified by the elements of the array range.
301 _preexec_tsd_unload(Lc_addr_range_t range[], uint_ argument
326 _preexec_exit_handlers(Lc_addr_range_t range[],uint_t count) _preexec_exit_handlers() argument
[all...]
/titanic_51/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DDistribution.java37 * range known as a bucket and counts toward the frequency of that
39 * bucket's range always one less than the minimum of the next bucket's
40 * range. By convention each bucket is identified by the minimum of its
41 * range.
66 * values falling into that bucket's range; each element must be a
70 * does not have the expected range as defined by checkBucketRange()
92 * does not have the expected range as defined by checkBucketRange()
139 * Gets a two element array: the first elelemt is the range minimum
140 * (inclusive), the second element is the range maximum (inclusive).
168 long[] range; // tw in createBuckets() local
195 long[] range = getBucketRange(i, bucketCount, base, constant); checkBucketRange() local
202 long[] range = getBucketRange(i, bucketCount); checkBucketRange() local
207 checkBucketRange(int i, Distribution.Bucket bucket, long[] range) checkBucketRange() argument
[all...]
/titanic_51/usr/src/cmd/mdb/common/modules/genunix/
H A Ddist.c36 * Divides the given range (inclusive at both endpoints) evenly into the given
38 * the range. The returned buckets will be automatically freed when the dcmd
182 * Print one distribution bucket whose range is from distarray[i] inclusive to
183 * distarray[i + 1] exclusive by totalling counts in that index range. The
185 * Each bucket is labeled by its range in the form "first-last" (omit "-last" if
186 * the range is a single value) where first and last are integers, and last is
187 * one less than the first value of the next bucket range. The bucket label is
196 int b; /* bucket range index */ in dist_print_bucket()
203 char range[40]; in dist_print_bucket() local
221 (void) mdb_snprintf(range, sizeo in dist_print_bucket()
[all...]
/titanic_51/usr/src/common/tsol/
H A Dblabel.c135 * be within a lower and upper bound (range).
138 * range = level range to compare against.
142 * Returns True if label is within the range,
149 blinrange(const m_label_t *label, const m_range_t *range) in blinrange() argument
151 return (BLDOMINATES((label), ((range)->lower_bound)) && in blinrange()
152 BLDOMINATES(((range)->upper_bound), (label))); in blinrange()
160 _blinrange(const m_label_t *label, const brange_t *range) in _blinrange() argument
162 return (BLINRANGE(label, range)); in _blinrange()
/titanic_51/usr/src/contrib/ast/src/lib/libcmd/
H A Dcut.c136 register int range = 0; in cutinit() local
171 if(range) in cutinit()
173 --range; in cutinit()
174 if((n = (n ? (n-range) : (HUGE-1))) < 0) in cutinit()
175 error(ERROR_exit(1),"invalid range for c/f option"); in cutinit()
176 *lp++ = range; in cutinit()
191 for(n=0,range= -2,dp=lp; *lp!=HUGE; lp+=2) in cutinit()
193 if(lp[0] <= range) in cutinit()
200 if((c = lp[0]+lp[1]-range)>0) in cutinit()
202 range in cutinit()
[all...]
/titanic_51/usr/src/lib/libcmd/common/
H A Dcut.c138 register int range = 0; in cutinit() local
173 if(range) in cutinit()
175 --range; in cutinit()
176 if((n = (n ? (n-range) : (HUGE-1))) < 0) in cutinit()
178 *lp++ = range; in cutinit()
193 for(n=0,range= -2,dp=lp; *lp!=HUGE; lp+=2) in cutinit()
195 if(lp[0] <= range) in cutinit()
202 if((c = lp[0]+lp[1]-range)>0) in cutinit()
204 range += c; in cutinit()
210 range = *dp++ = lp[0]; in cutinit()
[all …]
/titanic_51/usr/src/cmd/diff3/
H A Ddiff3prog.c52 struct range {int from, to; }; argument
54 * from is first in range of changed lines
59 struct diff {struct range old, new; };
108 static void change(int i, struct range *rold, int dup);
109 static void prange(struct range *rold);
110 static void keep(int i, struct range *rnew);
112 static int duplicate(struct range *r1, struct range *r2);
391 * the range of ines rold.from thru rold.to in file i
396 change(int i, struct range *rol
[all...]
/titanic_51/usr/src/lib/print/libpapi-common/common/
H A Dattribute.c179 result->range.lower = v->range.lower; in papiAttributeValueDup()
180 result->range.upper = v->range.upper; in papiAttributeValueDup()
253 (value->range.lower > value->range.upper)) in papiAttributeListAddValue()
335 v.range.lower = lower; in papiAttributeListAddRange()
336 v.range.upper = upper; in papiAttributeListAddRange()
543 *min = value->range.lower; in papiAttributeListGetRange()
544 *max = value->range in papiAttributeListGetRange()
[all...]
/titanic_51/usr/src/uts/intel/io/hotplug/pcicfg/
H A Dpcicfg.c80 #define PCICFG_RANGE_LEN 3 /* Number of range entries */
575 if (ddi_getlongprop_buf(DDI_DEV_T_ANY, devi, 0, "bus-range", in pcicfg_configure()
577 DEBUG0("no bus-range property\n"); in pcicfg_configure()
834 DEBUG1("ntbridge bus range start ->[%d]\n", next_bus); in pcicfg_configure_ntbridge()
843 if (ndi_prop_update_int_array(DDI_DEV_T_NONE, new_device, "bus-range", in pcicfg_configure_ntbridge()
845 DEBUG0("Cannot set ntbridge bus-range property"); in pcicfg_configure_ntbridge()
941 DDI_PROP_DONTPASS, "bus-range", (caddr_t)&bus, &k) in pcicfg_configure_ntbridge()
943 DEBUG0("Failed to read bus-range property\n"); in pcicfg_configure_ntbridge()
948 DEBUG2("Need to free bus [%d] range [%d]\n", in pcicfg_configure_ntbridge()
1107 ppb_ranges_t range[PCICFG_RANGE_LE in pcicfg_ntbridge_configure_done() local
1727 ppb_ranges_t range[PCICFG_RANGE_LEN]; pcicfg_bridge_assign() local
4050 ppb_ranges_t range[PCICFG_RANGE_LEN]; pcicfg_probe_bridge() local
[all...]
/titanic_51/usr/src/common/lzma/
H A DLzmaDec.c24 #define NORMALIZE if (range < kTopValue) { range <<= 8; code = (code << 8) | (*buf++); }
26 #define IF_BIT_0(p) ttt = *(p); NORMALIZE; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound)
27 #define UPDATE_0(p) range = bound; *(p) = (CLzmaProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits));
28 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits));
54 #define NORMALIZE_CHECK if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR; range <<= 8; code = (code << 8) | (*buf++); }
56 #define IF_BIT_0_CHECK(p) ttt = *(p); NORMALIZE_CHECK; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound)
57 #define UPDATE_0_CHECK range = bound;
58 #define UPDATE_1_CHECK range
167 UInt32 range = p->range; LzmaDec_DecodeReal() local
508 UInt32 range = p->range; LzmaDec_TryDummy() local
[all...]
/titanic_51/usr/src/lib/fm/topo/maps/Joyent,Joyent-Compute-Platform-1101/
H A DJoyent-Compute-Platform-1101-disk-hc-topology.xmlgenksh39 <range name='bay' min='0' max='15'>
89 <range name='disk' min='0' max='0'>
91 </range>
93 </range>
/titanic_51/usr/src/cmd/geniconvtbl/
H A Ditm_util.c380 /* count range, determine length */ in range_table()
385 itm_error(gettext("between has null range\n")); in range_table()
623 /* map source has range */ in map_table()
624 if (0 < ml->data_pair.range.size) { in map_table()
625 if (ml->data_pair.range.size != in map_table()
628 gettext("length of source range must be " in map_table()
632 &(ml->data_pair.range))); in map_table()
637 &((ml->data_pair.range)))) { in map_table()
639 gettext("source range error: 0x%1$s 0x%2$s\n"), in map_table()
643 &(ml->data_pair.range))); in map_table()
[all...]
/titanic_51/usr/src/boot/lib/libz/doc/
H A Dtxtvsbin.txt17 found in a certain buffer are within the range [7..127], the file is
21 the bytes within the range [128..255], and texts using these alphabets
59 The first observation is that, although the full range of 7-bit codes
61 characters in the range [0..31] are not used in practice. The only
64 recognized on a reduced range of platforms and text viewers/editors:
72 detection schemes observe the presence of non-ASCII codes from the range
73 [128..255], the precision rarely has to suffer if this upper range is
75 contain both control characters and codes from the upper range. On the
76 other hand, the upper range needs to be labeled as textual, because it
77 is used by virtually all ASCII extensions. In particular, this range i
[all...]
/titanic_51/usr/src/contrib/ast/src/lib/libast/astsa/
H A Dstrmatch.c348 char* range; in onematch() local
352 range = 0; in onematch()
431 else if (range) in onematch()
436 range = oldp; in onematch()
452 else if (range) in onematch()
457 x = mbgetchar(range); in onematch()
465 range = oldp; in onematch()
468 range = 0; in onematch()
474 range = oldp; in onematch()
/titanic_51/usr/src/cmd/zinject/
H A Dtranslate.c194 * Calculate the real range based on the type, level, and range given.
197 calculate_range(const char *dataset, err_type_t type, int level, char *range, in calculate_range() argument
206 * Determine the numeric range from the string. in calculate_range()
208 if (range == NULL) { in calculate_range()
210 * If range is unspecified, set the range to [0,-1], which in calculate_range()
220 record->zi_start = strtoull(range, &end, 10); in calculate_range()
229 (void) fprintf(stderr, "invalid range '%s': must be " in calculate_range()
230 "a numeric range o in calculate_range()
332 translate_record(err_type_t type,const char * object,const char * range,int level,zinject_record_t * record,char * poolname,char * dataset) translate_record() argument
[all...]
/titanic_51/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.lquantzero.d.out1 Zero below the range:
124 Zero just below the range:
247 Zero at the bottom of the range:
394 Zero within the range:
541 Zero at the top of the range:
664 Zero just above the range:
787 Zero above the range:

123456789