Searched defs:range (Results 1 - 25 of 32) sorted by relevance

12

/osnet-11/usr/src/lib/libdevalloc/common/
H A Dgetdevicerange.c35 * be used. If label range is not specified for the device in
46 blrange_t *range; local
49 if ((range = malloc(sizeof (blrange_t))) == NULL)
51 if ((range->lower_bound = blabel_alloc()) == NULL) {
52 free(range);
55 if ((range->upper_bound = blabel_alloc()) == NULL) {
56 blabel_free(range->lower_bound);
57 free(range);
63 * return its label range.
77 bsllow(range
[all...]
/osnet-11/usr/src/lib/libast/common/string/
H A Dwc2utf8.c36 uint32_t range; member in struct:Utf8_s
58 if (w < ops[i].range)
/osnet-11/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; local
103 if ((range = getuserrange(user)) == NULL) {
111 free_labels(range, NULL);
117 free_labels(range, plabel);
120 if (!blinrange(plabel, range)) {
121 free_labels(range, plabel);
125 free_labels(range, plabel);
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dhist.c50 int range[2], incr, index2, indx= -1; local
89 range[++indx] = flag;
139 range[++flag] = (int)strtol(arg, (char**)0, 10);
141 range[flag] += (hist_max(hp)-1);
148 if((range[++flag] = location.hist_command) < 0)
154 /* set default starting range */
163 range[0] = flag;
167 if(range[0]<index2)
168 range[0] = index2;
170 /* set default termination range */
[all...]
/osnet-11/usr/src/grub/grub2/include/grub/lib/
H A DLzmaDec.h75 UInt32 range, code; member in struct:__anon777
/osnet-11/usr/src/lib/libc/port/gen/
H A Datexit.c155 * of the array range to SIG_DFL.
158 _preexec_sig_unload(Lc_addr_range_t range[], uint_t count) argument
172 in_range(handler, range, count)) {
195 * the union of the ranges specified by the elements of the array range.
198 _preexec_atfork_unload(Lc_addr_range_t range[], uint_t count) argument
216 in_range(func, range, count)) ||
218 in_range(func, range, count)) ||
220 in_range(func, range, count))) {
256 * the union of the ranges specified by the elements of the array range.
261 _preexec_tsd_unload(Lc_addr_range_t range[], uint_ argument
286 _preexec_exit_handlers(Lc_addr_range_t range[], uint_t count) argument
[all...]
/osnet-11/usr/src/lib/libtsnet/common/
H A Dtsol_sgettpent.c72 get_tn_sl_range(brange_t *range, char *min, char *max) argument
83 slp = &range->lower_bound;
86 slp = &range->upper_bound;
89 if (!bldominates(&range->upper_bound, &range->lower_bound))
166 * check label range
211 * check label range
247 * check label range
276 * label range
/osnet-11/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
/osnet-11/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...]
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dexpand.c278 char comma, range=0; local
286 range = comma = brace = 0;
346 range = 2;
367 range = 1;
413 if(range)
415 if(range==1)
462 if(!range)
/osnet-11/usr/src/lib/libparted/common/libparted/
H A Dunit.c304 * is created in \p *range describing a 2 units large area centered on
305 * \p *sector. If the \p range as described here would be partially outside
314 PedGeometry** range)
316 return ped_unit_parse_custom (str, dev, default_unit, sector, range);
369 PedGeometry** range)
416 if (range)
417 *range = ped_geometry_new (dev, *sector, 1);
419 return !range || *range != NULL;
424 if (range)
313 ped_unit_parse(const char* str, const PedDevice* dev, PedSector *sector, PedGeometry** range) argument
368 parse_chs(const char* str, const PedDevice* dev, PedSector* sector, PedGeometry** range) argument
500 ped_unit_parse_custom(const char* str, const PedDevice* dev, PedUnit unit, PedSector* sector, PedGeometry** range) argument
[all...]
/osnet-11/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...]
/osnet-11/usr/src/lib/libc/amd64/unwind/
H A Deh_frame.c87 uint64_t range = 0; local
146 range = _Unw_get_val(&data, reloc, SIZE, 1, 1, code_enc);
147 if ((ctx->pc < func) || (ctx->pc > (func+range)))
150 ctx->range = range;
365 * Invariant -- if there is a containing range,
376 /* Return fde if tpc is in this range. */
H A Dunwind_context.h51 uint64_t range; member in struct:_Unwind_Context
/osnet-11/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...]
/osnet-11/usr/src/lib/libcmd/common/
H A Dcut.c136 register int range = 0; local
171 if(range)
173 --range;
174 if((n = (n ? (n-range) : (HUGE-1))) < 0)
175 error(ERROR_exit(1),"invalid range for c/f option");
176 *lp++ = range;
191 for(n=0,range= -2,dp=lp; *lp!=HUGE; lp+=2)
193 if(lp[0] <= range)
200 if((c = lp[0]+lp[1]-range)>0)
202 range
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/boot/i386/pc/
H A Dlzma_decode.S84 #define range -12(%ebp) define
128 movl range, %edx
135 movl %eax, range
143 cmpl $kTopValue, range
148 shll $8, range
153 subl %eax, range
314 movl %eax, range
575 shrl $1, range
578 movl range, %eax
587 shll $8, range
[all...]
/osnet-11/usr/src/lib/libast/common/tm/
H A Dtmxdate.c68 * parse cron range into set
73 range(register char* s, char** e, char* set, int lo, int hi) function
567 if ((k = range(t, &t, hit, 0, 59)) < 0)
588 if ((k = range(t, &t, hit, 0, 23)) < 0)
609 if ((k = range(t, &t, hit, 1, 31)) < 0)
618 if ((k = range(t, &t, mon, 1, 12)) < 0)
630 if ((k = range(t, &t, day, 0, 6)) < 0)
/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdladm.c270 s = "invalid time range";
315 s = "invalid range";
1262 mac_propval_type_t type, mac_propval_range_t **range)
1273 /* Allocate range structure */
1293 /* range of elements */
1316 *range = rangep;
1321 *range = NULL;
1381 /* range of elements */
1407 mac_propval_range_t **range)
1420 /* Allocate range structur
1261 dladm_strs2range(char **prop_val, uint_t val_cnt, mac_propval_type_t type, mac_propval_range_t **range) argument
1406 dladm_list2range(void *elem, uint_t nelem, mac_propval_type_t type, mac_propval_range_t **range) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/
H A DLzmaDec.c40 #define NORMALIZE if (range < kTopValue) { range <<= 8; code = (code << 8) | (*buf++); }
42 #define IF_BIT_0(p) ttt = *(p); NORMALIZE; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound)
43 #define UPDATE_0(p) range = bound; *(p) = (CLzmaProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits));
44 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits));
70 #define NORMALIZE_CHECK if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR; range <<= 8; code = (code << 8) | (*buf++); }
72 #define IF_BIT_0_CHECK(p) ttt = *(p); NORMALIZE_CHECK; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound)
73 #define UPDATE_0_CHECK range = bound;
74 #define UPDATE_1_CHECK range
184 UInt32 range = p->range; local
361 range >>= 1; local
525 UInt32 range = p->range; local
689 range >>= 1; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/xzembed/
H A Dxz_dec_lzma2.c99 uint32_t range; member in struct:rc_dec
197 * when the distance is in the range [4, 127].
436 /* Reset the range decoder. */
439 rc->range = (uint32_t)-1;
468 * Return true if it is possible (from point of view of range decoder) that
479 if (rc->range < RC_TOP_VALUE) {
480 rc->range <<= RC_SHIFT_BITS;
502 bound = (rc->range >> RC_BIT_MODEL_TOTAL_BITS) * *prob;
504 rc->range = bound;
508 rc->range
[all...]
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dntfsundelete.c102 } range; typedef in typeref:struct:__anon69
106 static range *ranges; /* Array containing all Inode-Ranges for undelete */
107 static long nr_entries; /* Number of range entries */
141 /* alloc mem for range table */
142 ranges = (range *) malloc((p + 1) * sizeof(range));
160 /* RANGE - Check for range */
162 /* get range end */
166 ntfs_log_error("ERROR: Missing range end!\n");
196 /* put inode into range lis
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/unicode/
H A Dure.c118 * Structure used to handle a compacted range of characters.
473 * Insert a range into a character class, removing duplicates and ordering
474 * them in increasing range-start order.
485 * range are converted to lower case.
493 * Swap the range endpoints if they are not in increasing order.
565 _ure_range_t range; local
572 range.min_code = range.max_code = '\t';
573 _ure_add_range(&sym->sym.ccl, &range, b);
574 range
587 _ure_range_t range; local
729 _ure_range_t range; local
[all...]
/osnet-11/usr/src/cmd/parted/
H A Dparted.c276 * within the required range.
279 snap (PedSector* sector, PedSector new_sector, PedGeometry* range) argument
281 PED_ASSERT (ped_geometry_test_sector_inside (range, *sector), return 0);
282 if (!ped_geometry_test_sector_inside (range, new_sector))
300 /* Find the preferred way to adjust the sector s inside range.
301 * If a move isn't allowed or is out of range it can't be selected.
310 prefer_snap (PedSector s, int what, PedGeometry* range, EMoves* allow, argument
326 if (ped_geometry_test_sector_inside (range, new_sect))
334 if (ped_geometry_test_sector_inside (range, new_sect))
H A Dui.c423 "subscript out of range)"), stdout);
926 PedGeometry** range)
941 if (range) {
942 *range = ped_geometry_new (dev, *value, 1);
944 return *range != NULL;
954 if (range)
955 *range = NULL;
959 valid = ped_unit_parse (input, dev, value, range);
925 command_line_get_sector(const char* prompt, PedDevice* dev, PedSector* value, PedGeometry** range) argument

Completed in 137 milliseconds

12