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

1234

/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/servlets/
H A DDefaultServlet.java238 * Full range marker.
537 Range range = parseContentRange(req, resp);
544 // Assume just one range is specified for now
545 if (range != null) {
546 contentFile = executePartialPut(req, range, path);
582 protected File executePartialPut(HttpServletRequest req, Range range, argument
631 randAccessContentFile.setLength(range.length);
634 randAccessContentFile.seek(range.start);
953 // Parse range specifier
1062 Range range
1786 checkSendfile(HttpServletRequest request, HttpServletResponse response, CacheEntry entry, long length, Range range) argument
2090 copy(CacheEntry cacheEntry, ServletOutputStream ostream, Range range) argument
2123 copy(CacheEntry cacheEntry, PrintWriter writer, Range range) argument
[all...]
/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/classfile/
H A DExceptionTable.java69 public void addElement(ExceptionRange range) { argument
70 theVector.addElement(range);
/illumos-gate/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);
/illumos-gate/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...]
/illumos-gate/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)
/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/libtsnet/common/
H A Dtsol_sgettpent.c73 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/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/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/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/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/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
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcut.c138 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/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, 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 Dzinject.c57 * <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/common/lzma/
H A DLzmaDec.h52 UInt32 range, code; member in struct:__anon1987
/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/cmd-inet/usr.sbin/snoop/
H A Dsnoop_zip.c45 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/cmd/diff/
H A Ddiffh.c63 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/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/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/cmd/avs/sdbc/
H A Dsd_stats.c116 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/cmd/ipf/tools/
H A Dipnat_y.y107 %type <num> hexnumber compare range proto
647 | portspec range portspec { $$.pc = $2; $$.p1 = $1; $$.p2 = $3; }
769 range: label
811 { "range", IPNY_RANGE },
H A Dippool_y.y83 %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

Completed in 157 milliseconds

1234