/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | getdevicerange.c | 38 * 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/lib/pam_modules/tsol_acct/ |
H A D | tsol_acct.c | 42 * 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);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_zip.c | 45 uint16_t range; local 152 range = get_short(&p[4]); 181 "Network number = %d-%d", net, range); 204 range = get_short(&p[4]);
|
/illumos-gate/usr/src/common/tsol/ |
H A D | blabel.c | 135 * 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 D | dist.c | 36 * 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/libshell/common/bltins/ |
H A D | hist.c | 50 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...] |
/illumos-gate/usr/src/lib/libtsnet/common/ |
H A D | tsol_sgettpent.c | 73 get_tn_sl_range(brange_t *range, char *min, char *max) argument 84 slp = &range->lower_bound; 87 slp = &range->upper_bound; 90 if (!bldominates(&range->upper_bound, &range->lower_bound)) 163 * check label range 207 * label range
|
/illumos-gate/usr/src/lib/libxcurses/h/ |
H A D | collate.h | 82 m_collel_t *cindex, /* index to range table map */ 83 *range; /* Range table */ member in struct:_m_cinfo
|
/illumos-gate/usr/src/common/lzma/ |
H A D | LzmaDec.h | 52 UInt32 range, code; member in struct:__anon1987
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ippool_y.y | 83 %type <ipp> ipftree range addrlist 216 | range next addrlist { $1->ipn_next = $3; $$ = $1; } 217 | range next { $$ = $1; } 218 | range 285 range: addrmask { $$ = calloc(1, sizeof(*$$)); label
|
H A D | ipnat_y.y | 107 %type <num> hexnumber compare range proto 647 | portspec range portspec { $$.pc = $2; $$.p1 = $1; $$.p2 = $3; } 769 range: label 811 { "range", IPNY_RANGE },
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | expand.c | 278 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)
|
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | Distribution.java | 37 * 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/libtsol/common/ |
H A D | misc.c | 415 * 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/libproc/common/ |
H A D | proc_arg.c | 145 * 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/libc/amd64/unwind/ |
H A D | eh_frame.c | 87 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 D | unwind_context.h | 51 uint64_t range; member in struct:_Unwind_Context
|
/illumos-gate/usr/src/cmd/zinject/ |
H A D | translate.c | 194 * 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, argument 206 * Determine the numeric range from the string. 208 if (range == NULL) { 210 * If range is unspecified, set the range to [0,-1], which 220 record->zi_start = strtoull(range, &end, 10); 229 (void) fprintf(stderr, "invalid range '%s': must be " 230 "a numeric range o 332 translate_record(err_type_t type, const char *object, const char *range, int level, zinject_record_t *record, char *poolname, char *dataset) argument [all...] |
H A D | zinject.c | 57 * <type,level,range,object> 79 * a range is given, this corresponds to the indirect block 80 * corresponding to the specific range. 82 * range A numerical range [start,end) within the object. Defaults to 91 * <type,objset,object,level,range> 105 * [-r range] <object> 291 "\tzinject [-q] <-t type> [-e errno] [-l level] [-r range]\n" 304 "\t\t-r\tInject error over a particular logical range of an\n" 596 (void) printf(" range 656 char *range = NULL; local [all...] |
/illumos-gate/usr/src/cmd/diff/ |
H A D | diffh.c | 63 static void range(long a, int b); 250 range(a, b); 252 range(c, d); 257 range(long a, int b) function
|
/illumos-gate/usr/src/cmd/avs/sdbc/ |
H A D | sd_stats.c | 116 static char *range; variable 160 "[-d delay_time] [-l logfile] [-r range]"); 182 range = malloc(100); 185 !rate_prev || !cs_cur || !cs_prev || !cs_persec || !range) { 190 *range = '\0'; 222 range = realloc((char *)range, 223 (strlen(range) + strlen(optarg) + 1) 227 (void) strcat(range, ","); 228 (void) strcat(range, optar 494 setup_ranges(char *range) argument [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | atexit.c | 195 * 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/boot/sys/amd64/include/pc/ |
H A D | bios.h | 110 struct bios_oem_range range; member in struct:bios_oem
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | cut.c | 138 register int range = 0; local 173 if(range) 175 --range; 176 if((n = (n ? (n-range) : (HUGE-1))) < 0) 177 error(ERROR_exit(1),"invalid range for c/f option"); 178 *lp++ = range; 193 for(n=0,range= -2,dp=lp; *lp!=HUGE; lp+=2) 195 if(lp[0] <= range) 202 if((c = lp[0]+lp[1]-range)>0) 204 range [all...] |
/illumos-gate/usr/src/cmd/diff3/ |
H A D | diff3prog.c | 52 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...] |