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

1234567891011>>

/external/llvm/test/CodeGen/SystemZ/Large/
H A Dspill-02.py2 # are out of range of MVC, and both of which need emergency spill slots.
39 for i in range(count):
46 for j in range(4):
47 for i in range(count):
66 for j in range(4):
67 for i in range(count):
H A Dspill-01.py1 # Test cases where MVC is used for spill slots that end up being out of range.
7 # That means we will have at least one out-of-range slot if:
11 # Add in some extra room and check both %r15+4096 (the first out-of-range slot)
27 for i in range(count):
35 for i in range(count):
/external/stlport/test/eh/
H A Drandom_number.cpp26 unsigned random_number( size_t range )
29 if (range == 0) return 0;
30 return (unsigned)(EH_STD::rand() + EH_STD::rand()) % range;
33 if (range==0) return 0;
34 return rnd(range);
H A Drandom_number.h21 // Return a random number in the given range.
22 unsigned random_number( size_t range );
/external/guava/guava-tests/test/com/google/common/collect/
H A DRangeTest.java42 Range<Integer> range = Ranges.open(4, 8);
43 checkContains(range);
44 assertTrue(range.hasLowerBound());
45 assertEquals(4, (int) range.lowerEndpoint());
46 assertEquals(OPEN, range.lowerBoundType());
47 assertTrue(range.hasUpperBound());
48 assertEquals(8, (int) range.upperEndpoint());
49 assertEquals(OPEN, range.upperBoundType());
50 assertFalse(range.isEmpty());
51 assertEquals("(4\u20258)", range
128 checkContains(Range<Integer> range) argument
250 assertUnboundedBelow(Range<Integer> range) argument
264 assertUnboundedAbove(Range<Integer> range) argument
[all...]
H A DGeneralRangeTest.java46 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 4, lboundType, 2, uboundType);
56 GeneralRange.range(ORDERING, i, OPEN, i, OPEN);
64 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, OPEN);
66 assertFalse(range.contains(j));
73 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, OPEN, i, CLOSED);
75 assertFalse(range.contains(j));
82 GeneralRange<Integer> range
[all...]
/external/qemu/distrib/ext4_utils/src/
H A Dwipe.c37 u64 range[2]; local
45 range[0] = 0;
46 range[1] = len;
47 ret = ioctl(fd, BLKSECDISCARD, &range);
49 range[0] = 0;
50 range[1] = len;
51 ret = ioctl(fd, BLKDISCARD, &range);
/external/chromium_org/printing/
H A Dpage_range_unittest.cc10 printing::PageRange range; local
11 range.from = 1;
12 range.to = 3;
13 ranges.push_back(range);
14 range.from = 10;
15 range.to = 12;
16 ranges.push_back(range);
17 range.from = 2;
18 range.to = 5;
19 ranges.push_back(range);
40 printing::PageRange range; local
[all...]
/external/chromium_org/net/http/
H A Dhttp_byte_range_unittest.cc27 net::HttpByteRange range; local
28 range.set_first_byte_position(tests[i].first_byte_position);
29 range.set_last_byte_position(tests[i].last_byte_position);
30 range.set_suffix_length(tests[i].suffix_length);
31 EXPECT_EQ(tests[i].valid, range.IsValid());
59 net::HttpByteRange range; local
60 range.set_first_byte_position(tests[i].first_byte_position);
61 range.set_last_byte_position(tests[i].last_byte_position);
62 range.set_suffix_length(tests[i].suffix_length);
64 bool return_value = range
82 net::HttpByteRange range; member in struct:__anon9285
[all...]
H A Dhttp_byte_range.cc30 HttpByteRange range; local
31 range.set_first_byte_position(first_byte_position);
32 range.set_last_byte_position(last_byte_position);
33 return range;
38 HttpByteRange range; local
39 range.set_first_byte_position(first_byte_position);
40 return range;
45 HttpByteRange range; local
46 range.set_suffix_length(suffix_length);
47 return range;
[all...]
/external/chromium_org/third_party/freetype/src/base/
H A Dftgasp.c38 TT_GaspRange range = ttface->gasp.gaspRanges; local
39 TT_GaspRange range_end = range + ttface->gasp.numRanges;
42 while ( ppem > range->maxPPEM )
44 range++;
45 if ( range >= range_end )
49 result = range->gaspFlag;
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_format_srgb.py61 for j in range(0, 256, 4):
63 for i in range(j, j + 4):
70 for j in range(0, 256, 16):
72 for i in range(j, j + 16):
79 for j in range(0, 256, 16):
81 for i in range(j, j + 16):
/external/clang/test/CodeGenCXX/
H A Dreference-in-blocks.cpp5 template<typename T> class range { class
8 range(T i) {_i = i;}; function in class:range
35 void (^bl)(range<int> ) = ^(range<int> i){printf("Hello Blocks %d\n", i.get()); };
38 void (^bl2)(range<int>& ) = ^(range<int>& i){printf("Hello Blocks %d\n", i.get()); };
/external/freetype/src/base/
H A Dftgasp.c38 TT_GaspRange range = ttface->gasp.gaspRanges; local
39 TT_GaspRange range_end = range + ttface->gasp.numRanges;
42 while ( ppem > range->maxPPEM )
44 range++;
45 if ( range >= range_end )
49 result = range->gaspFlag;
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format_srgb.py61 for j in range(0, 256, 4):
63 for i in range(j, j + 4):
70 for j in range(0, 256, 16):
72 for i in range(j, j + 16):
79 for j in range(0, 256, 16):
81 for i in range(j, j + 16):
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dftgasp.c38 TT_GaspRange range = ttface->gasp.gaspRanges; local
39 TT_GaspRange range_end = range + ttface->gasp.numRanges;
42 while ( ppem > range->maxPPEM )
44 range++;
45 if ( range >= range_end )
49 result = range->gaspFlag;
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DVisibleSelectionTest.cpp81 RefPtrWillBeRawPtr<Range> range = selection().firstRange(); local
82 EXPECT_EQ(0, range->startOffset());
83 EXPECT_EQ(0, range->endOffset());
84 EXPECT_EQ("", range->text());
94 RefPtrWillBeRawPtr<Range> range = selection().firstRange(); local
95 EXPECT_EQ(0, range->startOffset());
96 EXPECT_EQ(5, range->endOffset());
97 EXPECT_EQ("Lorem", range->text());
105 RefPtrWillBeRawPtr<Range> range = selection().firstRange(); local
106 EXPECT_EQ(6, range
118 RefPtrWillBeRawPtr<Range> range = selection().firstRange(); local
131 RefPtrWillBeRawPtr<Range> range = selection().firstRange(); local
142 RefPtrWillBeRawPtr<Range> range = selection().firstRange(); local
153 RefPtrWillBeRawPtr<Range> range = selection().firstRange(); local
164 RefPtrWillBeRawPtr<Range> range = selection().firstRange(); local
[all...]
/external/chromium_org/ui/gfx/range/
H A Drange_win.cc5 #include "ui/gfx/range/range.h"
13 Range::Range(const CHARRANGE& range, LONG total_length) { argument
14 // Check if this is an invalid range.
15 if (range.cpMin == -1 && range.cpMax == -1) {
18 DCHECK_GE(range.cpMin, 0);
19 set_start(range.cpMin);
20 // {0,-1} is the "whole range" but that doesn't mean much out of context,
22 if (range
[all...]
H A Drange.cc5 #include "ui/gfx/range/range.h"
60 bool Range::Intersects(const Range& range) const {
61 return IsValid() && range.IsValid() &&
62 !(range.GetMax() < GetMin() || range.GetMin() >= GetMax());
65 bool Range::Contains(const Range& range) const {
66 return IsValid() && range.IsValid() &&
67 GetMin() <= range.GetMin() && range
84 operator <<(std::ostream& os, const Range& range) argument
[all...]
/external/chromium-trace/trace-viewer/src/base/
H A Drange_test.js7 base.require('base.range');
9 base.unittest.testSuite('base.range', function() {
11 var range = new base.Range();
12 assertTrue(range.isEmpty);
13 range.addValue(1);
14 assertFalse(range.isEmpty);
15 assertEquals(range.min, 1);
16 assertEquals(range.max, 1);
18 range.addValue(2);
19 assertFalse(range
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DFloat16ToFloat32.py28 elif i in range(1, 31):
34 elif i in range(33, 63):
58 for i in range(0, 2048):
63 for i in range(0, 64):
68 for i in range(0, 64):
/external/chromium_org/tools/gn/
H A Dc_include_iterator_unittest.cc12 bool RangeIs(const LocationRange& range, argument
14 return range.begin().line_number() == line &&
15 range.end().line_number() == line &&
16 range.begin().char_offset() == begin_char &&
17 range.end().char_offset() == end_char;
42 LocationRange range; local
43 EXPECT_TRUE(iter.GetNextIncludeString(&contents, &range));
45 EXPECT_TRUE(RangeIs(range, 3, 11, 20)) << range.begin().Describe(true);
47 EXPECT_TRUE(iter.GetNextIncludeString(&contents, &range));
73 LocationRange range; local
95 LocationRange range; local
122 LocationRange range; local
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/decoder/
H A Ddboolhuff.h42 unsigned int range; member in struct:__anon13071
64 unsigned int range; local
66 split = 1 + (((br->range - 1) * probability) >> 8);
76 range = split;
80 range = br->range - split;
86 register unsigned int shift = vp8_norm[range];
87 range <<= shift;
93 br->range = range;
[all...]
/external/iptables/extensions/
H A Dlibip6t_SNAT.c47 parse_to(const char *orig_arg, int portok, struct nf_nat_range *range) argument
82 range->flags |= NF_NAT_RANGE_PROTO_SPECIFIED;
96 range->min_proto.tcp.port
97 = range->max_proto.tcp.port
109 "Port range `%s' funky\n", colon+1);
110 range->min_proto.tcp.port = htons(port);
111 range->max_proto.tcp.port = htons(maxport);
121 range->flags |= NF_NAT_RANGE_MAP_IPS;
133 range->min_addr.in6 = *ip;
139 range
150 struct nf_nat_range *range = cb->data; local
183 struct nf_nat_range *range = cb->data; local
189 print_range(const struct nf_nat_range *range) argument
212 const struct nf_nat_range *range = (const void *)target->data; local
224 const struct nf_nat_range *range = (const void *)target->data; local
[all...]
H A Dlibip6t_REDIRECT.c28 " Port (range) to map to.\n"
40 parse_ports(const char *arg, struct nf_nat_range *range) argument
45 range->flags |= NF_NAT_RANGE_PROTO_SPECIFIED;
53 range->min_proto.tcp.port
54 = range->max_proto.tcp.port
65 range->min_proto.tcp.port = htons(port);
66 range->max_proto.tcp.port = htons(maxport);
77 struct nf_nat_range *range = (void *)(*cb->target)->data; local
95 parse_ports(cb->arg, range);
97 range
109 const struct nf_nat_range *range = (const void *)target->data; local
123 const struct nf_nat_range *range = (const void *)target->data; local
[all...]

Completed in 682 milliseconds

1234567891011>>