/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_dictcomps.py | 14 actual = {k: k + 10 for k in range(10)} 18 actual = {k: v for k in range(10) for v in range(10) if k == v} 26 actual = {k: None for k in range(10)} 36 actual = {k: v for v in range(10) for k in range(v * 9, v * 10)} 43 actual = {g: None for g in range(10)} 53 actual = {g: v for v in range(10) for g in range(v * 9, v * 10)} 63 actual = {k: g for k in range(10) [all...] |
test_pow.py | 7 for i in range(-1000, 1000): 13 for i in range(-100, 100): 17 for i in range(0,31): 22 for i in range(-10, 0) + range(1, 10): 24 for j in range(1, 11): 29 for i in range(1, 100): 47 for i in range(il, ih+1): 48 for j in range(jl, jh+1): 49 for k in range(kl, kh+1) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_dictcomps.py | 14 actual = {k: k + 10 for k in range(10)} 18 actual = {k: v for k in range(10) for v in range(10) if k == v} 26 actual = {k: None for k in range(10)} 36 actual = {k: v for v in range(10) for k in range(v * 9, v * 10)} 43 actual = {g: None for g in range(10)} 53 actual = {g: v for v in range(10) for g in range(v * 9, v * 10)} 63 actual = {k: g for k in range(10) [all...] |
test_pow.py | 7 for i in range(-1000, 1000): 13 for i in range(-100, 100): 17 for i in range(0,31): 22 for i in range(-10, 0) + range(1, 10): 24 for j in range(1, 11): 29 for i in range(1, 100): 47 for i in range(il, ih+1): 48 for j in range(jl, jh+1): 49 for k in range(kl, kh+1) [all...] |
/external/libsepol/src/ |
mls.c | 113 unsigned int i, l, len, range; local 121 range = 0; 124 p_sens_val_to_name[context->range.level[l].sens - 127 ebitmap_for_each_bit(&context->range.level[l].cat, cnode, i) { 129 if (range) { 130 range++; 136 range++; 138 if (range > 1) 143 range = 0; 146 /* Handle case where last category is the end of range */ 172 unsigned int i, l, range, wrote_sep; local [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRMismatchedRangeException.h | 34 NSRange range; variable 37 @property (assign) NSRange range; variable
|
/external/chromium_org/content/renderer/ |
text_input_client_observer.h | 12 #include "ui/gfx/range/range.h" 39 void OnFirstRectForCharacterRange(gfx::Range range); 40 void OnStringForRange(gfx::Range range);
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
themeChromiumLinux.css | 40 input[type=range] {
|
CSSPropertySourceData.cpp | 62 CSSPropertySourceData::CSSPropertySourceData(const String& name, const String& value, bool important, bool disabled, bool parsedOk, const SourceRange& range) 68 , range(range) 78 , range(other.range) 88 , range(SourceRange(0, 0))
|
/external/llvm/test/MC/ARM/ |
invalid-hint-arm.s | 6 @ CHECK: error: immediate operand must be in the range [0,4] 7 @ CHECK: error: immediate operand must be in the range [0,4]
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
DateTimeFieldElements.cpp | 81 DateTimeDayFieldElement::DateTimeDayFieldElement(Document& document, FieldOwner& fieldOwner, const String& placeholder, const Range& range) 82 : DateTimeNumericFieldElement(document, fieldOwner, range, Range(1, 31), placeholder) 86 PassRefPtr<DateTimeDayFieldElement> DateTimeDayFieldElement::create(Document& document, FieldOwner& fieldOwner, const String& placeholder, const Range& range) 89 RefPtr<DateTimeDayFieldElement> field = adoptRef(new DateTimeDayFieldElement(document, fieldOwner, placeholder.isEmpty() ? "--" : placeholder, range)); 112 if (range().isInRange(static_cast<int>(value))) { 122 DateTimeHourFieldElementBase::DateTimeHourFieldElementBase(Document& document, FieldOwner& fieldOwner, const Range& range, const Range& hardLimits, const Step& step [all...] |
/external/chromium_org/ui/base/ime/ |
dummy_text_input_client.cc | 62 bool DummyTextInputClient::GetTextRange(gfx::Range* range) const { 66 bool DummyTextInputClient::GetCompositionTextRange(gfx::Range* range) const { 70 bool DummyTextInputClient::GetSelectionRange(gfx::Range* range) const { 74 bool DummyTextInputClient::SetSelectionRange(const gfx::Range& range) { 78 bool DummyTextInputClient::DeleteRange(const gfx::Range& range) { [all...] |
dummy_text_input_client.h | 33 virtual bool GetTextRange(gfx::Range* range) const OVERRIDE; 34 virtual bool GetCompositionTextRange(gfx::Range* range) const OVERRIDE; 35 virtual bool GetSelectionRange(gfx::Range* range) const OVERRIDE; 36 virtual bool SetSelectionRange(const gfx::Range& range) OVERRIDE; 37 virtual bool DeleteRange(const gfx::Range& range) OVERRIDE [all...] |
text_input_client.h | 16 #include "ui/gfx/range/range.h" 82 // Returns false if there is no composition text or |index| is out of range. 92 // Retrieves the UTF-16 based character range containing accessibled text in 93 // the View. It must cover the composition and selection range. 95 virtual bool GetTextRange(gfx::Range* range) const = 0; 97 // Retrieves the UTF-16 based character range of current composition text. 99 virtual bool GetCompositionTextRange(gfx::Range* range) const = 0 [all...] |
/external/guava/guava/src/com/google/common/collect/ |
RegularContiguousSet.java | 37 private final Range<C> range; field in class:RegularContiguousSet 39 RegularContiguousSet(Range<C> range, DiscreteDomain<C> domain) { 41 this.range = range; 46 return range.intersection(Ranges.upTo(toElement, BoundType.forBoolean(inclusive))) 58 return range.intersection(Ranges.range(fromElement, BoundType.forBoolean(fromInclusive), 64 return range.intersection(Ranges.downTo(fromElement, BoundType.forBoolean(inclusive)) 144 @Override public Range<C> range() { method 148 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) { method 173 final Range<C> range; field in class:SerializedForm [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
UnicodeRange.cpp | 40 // This table depends on unicode range definitions. 41 // Each item's index must correspond to a unicode range value 380 // code points so that the number of entries in the tertiary range 381 // table for that range is obtained by dividing (0x1700 - 0x0700) by 128. 422 // A two level index is almost enough for locating a range, with the 423 // exception of u03xx and u05xx. Since we don't really care about range for 435 unsigned int range; local 438 range = gUnicodeSubrangeTable[0][ch >> 12]; 440 if (range < cRangeTableBase) 441 // we try to get a specific range [all...] |
/external/chromium_org/base/metrics/ |
histogram_unittest.cc | 94 EXPECT_EQ(0, ranges.range(0)); 97 EXPECT_EQ(power_of_2, ranges.range(i)); 100 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges.range(8)); 112 EXPECT_EQ(0, ranges2.range(0)); 113 EXPECT_EQ(1, ranges2.range(1)); 114 EXPECT_EQ(2, ranges2.range(2)); 115 EXPECT_EQ(3, ranges2.range(3)); 116 EXPECT_EQ(4, ranges2.range(4)); 117 EXPECT_EQ(5, ranges2.range(5)); 118 EXPECT_EQ(6, ranges2.range(6)) 436 int range; local [all...] |
/libcore/luni/src/main/java/java/text/ |
AttributedString.java | 39 Map<AttributedCharacterIterator.Attribute, List<Range>> attributeMap; 41 static class Range { 48 Range(int s, int e, Object v) { 154 private boolean inRange(Range range) { 155 if (!(range.value instanceof Annotation)) { 158 return range.start >= begin && range.start < end 159 && range.end > begin && range.end <= end 165 Range range = it.next(); local 209 Range range = it.next(); local 257 Range range = it.previous(); local 305 Range range = it.next(); local 634 Range range = it.next(); local [all...] |
/external/chromium_org/base/ |
rand_util.cc | 21 uint64 range = static_cast<uint64>(max) - min + 1; local 22 int result = min + static_cast<int>(base::RandGenerator(range)); 35 // produce output in the range [0, 1). For IEEE 754 doubles, the mantissa 47 uint64 RandGenerator(uint64 range) { 48 DCHECK_GT(range, 0u); 51 // MAX_UINT64 was 7 and |range| was 5, then a result of 1 would be twice 54 (std::numeric_limits<uint64>::max() / range) * range - 1; 61 return value % range;
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
TextRange.js | 70 * @param {!WebInspector.TextRange} range 73 immediatelyPrecedes: function(range) 75 if (!range) 77 return this.endLine === range.startLine && this.endColumn === range.startColumn; 81 * @param {!WebInspector.TextRange} range 84 immediatelyFollows: function(range) 86 if (!range) 88 return range.immediatelyPrecedes(this);
|
/pdk/apps/CameraITS/tests/ |
test_param_noise_reduction.py | 63 for j in range(3): 68 for i in range(3): 80 for j in range(3): 87 for j in range(3): 88 pylab.plot(range(3), variances[j], "rgb"[j]) 95 for j in range(3): 96 for i in range(1,3):
|
/external/clang/include/clang/Rewrite/Core/ |
Rewriter.h | 88 /// ReplaceText - This method replaces a range of characters in the input 135 /// \brief Given a source range, true to include previous inserts at the 136 /// beginning of the range as part of the range itself (true by default). 138 /// \brief Given a source range, true to include previous inserts at the 139 /// end of the range as part of the range itself (true by default). 170 /// getRangeSize - Return the size in bytes of the specified range if they 172 int getRangeSize(SourceRange Range, 174 int getRangeSize(const CharSourceRange &Range, [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/ |
FastQueue.java | 49 protected int range = -1; // how deep have we gone? field in class:FastQueue 70 public int range() { return range; } method in class:FastQueue 86 if ( absIndex>range ) range = absIndex;
|
/external/chromium_org/ui/views/controls/ |
styled_label.h | 14 #include "ui/gfx/range/range.h" 31 // Parameters that define label style for a styled label's text range. 36 // Creates a range style info with default values for link. 39 // The font style that will be applied to the range. Should be a bitmask of 43 // The text color for the range. 46 // Tooltip for the range. 49 // If set, the whole range will be put on a single line. 52 // If set, the range will be created as a link. 63 // Marks the given range within |text_| with style defined by |style_info| 103 gfx::Range range; member in struct:views::StyledLabel::StyleRange [all...] |
/external/libppp/src/ |
ncp.c | 371 ncp_IsUrgentPort(struct port_range *range, u_short src, u_short dst) 375 for (f = 0; f < range->nports; f++) 376 if (range->port[f] == src || range->port[f] == dst) 383 ncp_AddUrgentPort(struct port_range *range, u_short port) 388 if (range->nports == range->maxports) { 389 range->maxports += 10; 390 newport = (u_short *)realloc(range->port, 391 range->maxports * sizeof(u_short)) [all...] |