Searched refs:range (Results 1 - 25 of 147) sorted by relevance

123456

/illumos-gate/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; local
52 if ((range = malloc(sizeof (blrange_t))) == NULL)
54 if ((range->lower_bound = blabel_alloc()) == NULL) {
55 free(range);
58 if ((range->upper_bound = blabel_alloc()) == NULL) {
59 blabel_free(range->lower_bound);
60 free(range);
66 * return its label range.
80 bsllow(range
[all...]
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/
H A Dregexprange.awk2 range = "[a-dx-z]"
9 upper[i], range, (upper[i] ~ range) ? "true" : "false")
13 lower[i], range, (lower[i] ~ range) ? "true" : "false")
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/
H A Dfill_db_type_size.pl54 my %range;
59 $range{min} = $min;
60 $range{max} = $max;
68 if ($range{max} < $tmp->{min}) {
69 push @return_union, \%range;
72 } elsif ($range{min} <= $tmp->{min}) {
73 if ($range{max} <= $tmp->{max}) {
74 $range{max} = $tmp->{max};
75 push @return_union, \%range;
78 } elsif ($range{mi
[all...]
H A Dfill_db_type_value.pl53 my %range;
58 $range{min} = $min;
59 $range{max} = $max;
67 if ($range{max} < $tmp->{min}) {
68 push @return_union, \%range;
71 } elsif ($range{min} <= $tmp->{min}) {
72 if ($range{max} <= $tmp->{max}) {
73 $range{max} = $tmp->{max};
74 push @return_union, \%range;
77 } elsif ($range{mi
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dbofi.conf48 # The 'bofi-range-check' property may be set to "panic", "warn" or "off".
54 bofi-range-check="panic";
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dhist.c50 int range[2], incr, index2, indx= -1; local
89 range[++indx] = flag;
140 range[++flag] = (int)strtol(arg, (char**)0, 10);
142 range[flag] += (hist_max(hp)-1);
149 if((range[++flag] = location.hist_command) < 0)
155 /* set default starting range */
164 range[0] = flag;
168 if(range[0]<index2)
169 range[0] = index2;
171 /* set default termination range */
[all...]
/illumos-gate/usr/src/lib/fm/topo/maps/SUNW,Netra-X4200-M2/
H A DNetra-X4200-M2-disk-hc-topology.xmlgen32 <range name='bay' min='0' max='3'>
63 <range name='disk' min='0' max='0'>
65 </range>
67 </range>
/illumos-gate/usr/src/lib/fm/topo/maps/SUNW,Sun-Fire-X4200-M2/
H A DSun-Fire-X4200-M2-disk-hc-topology.xmlgen33 <range name='bay' min='0' max='3'>
64 <range name='disk' min='0' max='0'>
66 </range>
68 </range>
/illumos-gate/usr/src/lib/fm/topo/maps/SUNW,Sun-Fire-X4200-Server/
H A DSun-Fire-X4200-Server-disk-hc-topology.xmlgen33 <range name='bay' min='0' max='3'>
64 <range name='disk' min='0' max='0'>
66 </range>
68 </range>
/illumos-gate/usr/src/lib/fm/topo/maps/SUNW,Sun-Fire-X4600-M2/
H A DSun-Fire-X4600-M2-disk-hc-topology.xmlgen32 <range name='bay' min='0' max='3'>
63 <range name='disk' min='0' max='0'>
65 </range>
67 </range>
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_arg.c145 * Check to see if the user has supplied an lwp range. First,
305 proc_lwp_get_range(char *range, id_t *low, id_t *high) argument
307 if (*range == '-')
310 *low = (id_t)strtol(range, &range, 10);
312 if (*range == '\0' || *range == ',') {
316 if (*range != '-') {
319 range++;
321 if (*range
359 char *range = (char *)set; local
393 char *range = (char *)set; local
[all...]
/illumos-gate/usr/src/lib/pam_modules/tsol_acct/
H A Dtsol_acct.c40 * Validates that the user's label range contains
62 m_range_t *range; local
101 if ((range = getuserrange(user)) == NULL) {
109 free_labels(range, NULL);
115 free_labels(range, plabel);
118 if (!blinrange(plabel, range)) {
119 free_labels(range, plabel);
123 free_labels(range, plabel);
/illumos-gate/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...]
/illumos-gate/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) argument
151 return (BLDOMINATES((label), ((range)->lower_bound)) &&
152 BLDOMINATES(((range)->upper_bound), (label)));
160 _blinrange(const m_label_t *label, const brange_t *range) argument
162 return (BLINRANGE(label, range));
/illumos-gate/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 */
203 char range[40]; local
221 (void) mdb_snprintf(range, sizeo
[all...]
/illumos-gate/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'>
91 <range name='disk' min='0' max='0'>
93 </range>
95 </range>
/illumos-gate/usr/src/lib/libtsol/common/
H A Dmisc.c415 * getuserrange - get label range for user
431 m_range_t *range; local
438 if ((range = malloc(sizeof (m_range_t))) == NULL) {
441 if ((range->lower_bound = m_label_alloc(MAC_LABEL)) == NULL) {
442 free(range);
445 def_min = range->lower_bound;
446 if ((range->upper_bound = m_label_alloc(USER_CLEAR)) == NULL) {
447 m_label_free(range->lower_bound);
448 free(range);
451 def_clr = range
[all...]
/illumos-gate/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
207 checkBucketRange(int i, Distribution.Bucket bucket, long[] range) argument
[all...]
/illumos-gate/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) argument
212 in_range((void *)handler, range, count)) {
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) argument
256 in_range((void *)func, range, count)) ||
258 in_range((void *)func, range, count)) ||
260 in_range((void *)func, range, count))) {
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) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_resource.c490 acpidev_ranges_t range; local
492 range.child_hi = high;
493 range.child_mid = addrp->Address.Minimum >> 32;
494 range.child_low = addrp->Address.Minimum & 0xFFFFFFFF;
497 range.parent_hi = ACPIDEV_REG_TYPE_IO;
499 range.parent_hi = high;
503 range.parent_mid = paddr >> 32;
504 range.parent_low = paddr & 0xFFFFFFFF;
505 range.size_hi = addrp->Address.AddressLength >> 32;
506 range
561 acpidev_ranges_t range; local
650 acpidev_ranges_t range; local
[all...]
/illumos-gate/usr/src/lib/libxcurses/h/
H A Dcollate.h82 m_collel_t *cindex, /* index to range table map */
83 *range; /* Range table */ member in struct:_m_cinfo
/illumos-gate/usr/src/lib/fm/topo/maps/SMCI,SSG-2028R-ACR24L/
H A DSSG-2028R-ACR24L-disk-hc-topology.xmlgenksh44 <range name='bay' min='0' max='23'>
102 <range name='disk' min='0' max='0'>
104 </range>
106 </range>
/illumos-gate/usr/src/cmd/diff3/
H A Ddiff3prog.c52 struct range {int from, to; }; struct
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...]
/illumos-gate/usr/src/cmd/zinject/
H A Dzinject.h57 int translate_record(err_type_t type, const char *object, const char *range,
/illumos-gate/usr/src/lib/fm/topo/maps/SMCI,SSG-2029P-ACR24L/
H A DSSG-2029P-ACR24L-disk-hc-topology.xmlgenksh126 <range name='bay' min='0' max='25'>
160 <range name='disk' min='0' max='0'>
162 </range>
164 </range>

Completed in 219 milliseconds

123456