/external/chromium_org/ui/views/controls/ |
styled_label.cc | 80 return range.start() > other.range.start(); 99 void StyledLabel::AddStyleRange(const gfx::Range& range, 101 DCHECK(!range.is_reversed()); 102 DCHECK(!range.is_empty()); 103 DCHECK(gfx::Range(0, text_.size()).Contains(range)); 105 style_ranges_.push(StyleRange(range, style_info)); 176 gfx::Range range(gfx::Range::InvalidRange()) [all...] |
prefix_selector.h | 42 virtual bool GetTextRange(gfx::Range* range) const OVERRIDE; 43 virtual bool GetCompositionTextRange(gfx::Range* range) const OVERRIDE; 44 virtual bool GetSelectionRange(gfx::Range* range) const OVERRIDE; 45 virtual bool SetSelectionRange(const gfx::Range& range) OVERRIDE; 46 virtual bool DeleteRange(const gfx::Range& range) OVERRIDE [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRFastQueue.h | 39 NSUInteger range; variable 44 @property (assign) NSUInteger range; variable 57 - (NSUInteger) range;
|
/external/chromium_org/content/renderer/android/ |
content_detector.cc | 36 blink::WebRange range = FindContentRange(hit_test, &content_text); local 37 if (range.isNull()) 41 return Result(range, content_text, intent_url); 71 WebRange range = surrounding_text.rangeFromContentOffsets( local 73 DCHECK(!range.isNull()); 74 return range;
|
/external/chromium_org/content/renderer/ |
text_input_client_observer.cc | 53 void TextInputClientObserver::OnFirstRectForCharacterRange(gfx::Range range) { 64 frame->firstRectForCharacterRange(range.start(), range.length(), 72 void TextInputClientObserver::OnStringForRange(gfx::Range range) { 78 frame, range.start(), range.length());
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
SurroundingText.cpp | 35 #include "core/dom/Range.h" 56 RefPtr<Range> forwardRange = forwardIterator.range(); 57 if (!forwardRange || !Range::create(*document, position, forwardRange->startPosition())->text().length()) { 66 RefPtr<Range> backwardsRange = backwardsIterator.range(); 72 m_positionOffsetInContent = Range::create(*document, backwardsRange->endPosition(), position)->text().length(); 73 m_contentRange = Range::create(*document, backwardsRange->endPosition(), forwardRange->startPosition()); 77 PassRefPtr<Range> SurroundingText::rangeFromContentOffsets(unsigned startOffsetInContent, unsigned endOffsetInContent) 87 ASSERT(iterator.range()); [all...] |
/external/chromium_org/third_party/icu/source/common/ |
usetiter.cpp | 53 if (range < endRange) { 54 loadRange(++range); 69 * else the value is a range of codepoints in the <codepoint, codepointEnd> fields. 85 if (range < endRange) { 86 loadRange(++range); 119 range = 0; 123 loadRange(range);
|
/external/icu4c/common/ |
usetiter.cpp | 53 if (range < endRange) { 54 loadRange(++range); 69 * else the value is a range of codepoints in the <codepoint, codepointEnd> fields. 85 if (range < endRange) { 86 loadRange(++range); 119 range = 0; 123 loadRange(range);
|
/external/llvm/unittests/ADT/ |
DAGDeltaAlgorithmTest.cpp | 49 std::set<unsigned> range(unsigned Start, unsigned End) { function in namespace:__anon22403 56 std::set<unsigned> range(unsigned N) { function in namespace:__anon22403 57 return range(0, N); 72 EXPECT_EQ(fixed_set(4, 1, 3, 5, 7), FDA.Run(range(20), Deps)); 91 EXPECT_EQ(fixed_set(4, 0, 1, 2, 3), FDA2.Run(range(5), Deps)); 100 EXPECT_EQ(fixed_set(2, 0, 4), FDA3.Run(range(5), Deps));
|
/cts/tests/tests/hardware/src/android/hardware/consumerir/cts/ |
ConsumerIrTest.java | 64 for (ConsumerIrManager.CarrierFrequencyRange range : freqs) { 65 // Each range must be valid 66 assertTrue(range.getMinFrequency() > 0); 67 assertTrue(range.getMaxFrequency() > 0); 68 assertTrue(range.getMinFrequency() <= range.getMaxFrequency()); 79 // Transmit two seconds for min and max for each frequency range 87 for (ConsumerIrManager.CarrierFrequencyRange range : freqs) { 90 mCIR.transmit(range.getMinFrequency(), pattern); 99 mCIR.transmit(range.getMaxFrequency(), pattern) [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/tools/ |
generate_transposeGLSL.py | 13 for i in range(x): 14 for j in range(y):
|
/external/libvpx/libvpx/test/ |
acm_random.h | 44 int PseudoUniform(int range) { 45 return random_.Generate(range);
|
/external/mesa3d/src/glsl/builtins/tools/ |
generate_transposeGLSL.py | 13 for i in range(x): 14 for j in range(y):
|
/frameworks/base/core/jni/ |
android_view_InputDevice.cpp | 68 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i); local 69 env->CallVoidMethod(inputDeviceObj.get(), gInputDeviceClassInfo.addMotionRange, range.axis, 70 range.source, range.min, range.max, range.flat, range.fuzz, range.resolution);
|
/external/clang/lib/Edit/ |
Commit.cpp | 60 CharSourceRange range, 64 if (!canRemoveRange(range, RangeOffs, RangeLen)) { 77 PPRec->areInDifferentConditionalDirectiveRegion(loc, range.getBegin())) { 86 bool Commit::remove(CharSourceRange range) { 89 if (!canRemoveRange(range, Offs, Len)) { 94 addRemove(range.getBegin(), Offs, Len); 98 bool Commit::insertWrap(StringRef before, CharSourceRange range, 100 bool commitableBefore = insert(range.getBegin(), before, /*afterToken=*/false, 103 if (range.isTokenRange()) 104 commitableAfter = insertAfterToken(range.getEnd(), after) [all...] |
/external/iptables/extensions/ |
libipt_REDIRECT.c | 21 " Port (range) to map to.\n" 46 mr->range[0].flags |= IP_NAT_RANGE_PROTO_SPECIFIED; 54 mr->range[0].min.tcp.port 55 = mr->range[0].max.tcp.port 66 mr->range[0].min.tcp.port = htons(port); 67 mr->range[0].max.tcp.port = htons(maxport); 98 mr->range[0].flags |= IP_NAT_RANGE_PROTO_RANDOM; 102 mr->range[0].flags |= IP_NAT_RANGE_PROTO_RANDOM; 111 const struct nf_nat_range *r = &mr->range[0]; 118 if (mr->range[0].flags & IP_NAT_RANGE_PROTO_RANDOM [all...] |
libipt_SAME.c | 38 /* Parses range of IPs */ 39 static void parse_to(const char *orig_arg, struct nf_nat_range *range) 47 range->flags |= IP_NAT_RANGE_MAP_IPS; 57 range->min_ip = ip->s_addr; 65 range->max_ip = ip->s_addr; 67 if (range->min_ip > range->max_ip) 68 xtables_error(PARAMETER_PROBLEM, "Bad IP range \"%s-%s\"\n", 86 parse_to(cb->arg, &mr->range[mr->rangesize]); 89 mr->range[mr->rangesize].flags [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
MidpointDisplacementHeightMap.java | 48 private float range; // The offset in which randomness will be added
field in class:MidpointDisplacementHeightMap 57 * The random value is generated between the values <code>-range</code>
58 * and <code>range</code>. The <code>range</code> parameter is multiplied by
66 * @param range
67 * The range in which randomness will be added. A value of 1 will
70 * The factor by which the range will evolve at each iteration.
71 * A value of 0.5f will halve the range at each iteration and is
77 public MidpointDisplacementHeightMap(int size, float range, float persistence, long seed) throws Exception {
83 this.range = range; [all...] |
/external/chromium_org/tools/gn/ |
err.cc | 26 void FillRangeOnLine(const LocationRange& range, int line_number, 28 // Only bother if the range's begin or end overlaps the line. If the entire 29 // line is highlighted as a result of this range, it's not very helpful. 30 if (range.begin().line_number() != line_number && 31 range.end().line_number() != line_number) 37 if (range.begin().line_number() < line_number) 40 begin_char = range.begin().char_offset() - 1; 43 if (range.end().line_number() > line_number) 46 end_char = range.end().char_offset() - 1; 98 Err::Err(const LocationRange& range, 126 LocationRange range = node->GetRange(); local 139 LocationRange range = value.origin()->GetRange(); local [all...] |
/external/clang/lib/ARCMigrate/ |
TransformActions.cpp | 23 /// with applyRewrites(). E.g. if the same source range 64 /// \brief A range to remove. It is a character range. 68 CharRange(CharSourceRange range, SourceManager &srcMgr, Preprocessor &PP) { 69 SourceLocation beginLoc = range.getBegin(), endLoc = range.getEnd(); 71 if (range.isTokenRange()) { 136 void remove(SourceRange range); 138 void replace(SourceRange range, StringRef text); 139 void replace(SourceRange range, SourceRange replacementRange) 568 CharSourceRange range = CharSourceRange::getCharRange(I->first.Begin, local 575 CharSourceRange range = CharSourceRange::getCharRange(I->Begin, I->End); local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_slicing.py | 9 b = range(1100, 1200) 23 a[0:5] = range(5, 10) 24 self.assertEqual(a[0:5], range(5, 10)) 25 self.assertEqual(a[0:5:], range(5, 10)) 26 self.assertEqual(a[4::-1], range(9, 4, -1)) 30 b = range(1100, 1200) 32 a[32:47] = range(32, 47) 33 self.assertEqual(a[32:47], range(32, 47)) 34 a[32:47] = range(132, 147) 35 self.assertEqual(a[32:47:], range(132, 147) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_slicing.py | 9 b = range(1100, 1200) 23 a[0:5] = range(5, 10) 24 self.assertEqual(a[0:5], range(5, 10)) 25 self.assertEqual(a[0:5:], range(5, 10)) 26 self.assertEqual(a[4::-1], range(9, 4, -1)) 30 b = range(1100, 1200) 32 a[32:47] = range(32, 47) 33 self.assertEqual(a[32:47], range(32, 47)) 34 a[32:47] = range(132, 147) 35 self.assertEqual(a[32:47:], range(132, 147) [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
TokenStream.java | 45 int range(); method in interface:TokenStream
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRMismatchedRangeException.h | 34 NSRange range; variable
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRMismatchedRangeException.h | 34 NSRange range; variable
|