/external/chromium/chrome/browser/safe_browsing/ |
chunk_range_unittest.cc | 5 // Test program to convert lists of integers into ranges, and vice versa. 42 // Test no chunk numbers in contiguous ranges. 92 std::vector<ChunkRange> ranges; local 95 EXPECT_TRUE(StringToRanges(input, &ranges)); 96 EXPECT_EQ(ranges.size(), static_cast<size_t>(5)); 97 EXPECT_EQ(ranges[0].start(), 1); 98 EXPECT_EQ(ranges[0].stop(), 100); 99 EXPECT_EQ(ranges[1].start(), 398); 100 EXPECT_EQ(ranges[1].stop(), 398); 101 EXPECT_EQ(ranges[3].start(), 1138) 134 std::vector<ChunkRange> ranges; local 152 std::vector<ChunkRange> ranges; local [all...] |
/external/icu4c/i18n/ |
ucol_bld.h | 41 WeightRange ranges[7]; member in struct:__anon6007
|
/external/chromium/net/disk_cache/ |
stats_histogram.cc | 66 Histogram::Sample StatsHistogram::ranges(size_t i) const { function in class:disk_cache::StatsHistogram
|
/external/easymock/src/org/easymock/internal/ |
Results.java | 29 private final LinkedList<Range> ranges = new LinkedList<Range>();
field in class:Results 34 if (!ranges.isEmpty()) {
35 Range lastRange = ranges.getLast();
41 ranges.add(range);
47 for (int i = 0; i < ranges.size(); i++) {
48 Range interval = ranges.get(i);
74 for (Range interval : ranges) {
|
/external/webkit/Source/WebCore/css/ |
CSSFontFace.h | 53 const Vector<UnicodeRange>& ranges() const { return m_ranges; } function in class:WebCore::CSSFontFace
|
CSSSegmentedFontFace.cpp | 108 const Vector<CSSFontFace::UnicodeRange>& ranges = m_fontFaces[i]->ranges(); local 109 unsigned numRanges = ranges.size(); 114 fontData->appendRange(FontDataRange(ranges[j].from(), ranges[j].to(), faceFontData));
|
/libcore/luni/src/main/java/java/text/ |
AttributedString.java | 162 private boolean inRange(List<Range> ranges) { 163 Iterator<Range> it = ranges.iterator(); 197 List<Range> ranges = entry.getValue(); local 198 if (inRange(ranges)) { 206 private Object currentValue(List<Range> ranges) { 207 Iterator<Range> it = ranges.iterator(); 223 ArrayList<Range> ranges = (ArrayList<Range>) attrString.attributeMap local 225 if (ranges == null) { 228 return currentValue(ranges); 253 private int runLimit(List<Range> ranges) { 276 ArrayList<Range> ranges = (ArrayList<Range>) attrString.attributeMap local 324 ArrayList<Range> ranges = (ArrayList<Range>) attrString.attributeMap local 556 ArrayList<Range> ranges = new ArrayList<Range>(1); local 584 List<Range> ranges = attributeMap.get(attribute); local 625 List<Range> ranges = attributeMap.get(attribute); local [all...] |
/frameworks/base/opengl/libagl/ |
Tokenizer.cpp | 164 const run_t* ranges = mRanges.array(); local 168 LOGD("%u: (%u, %u)\n", i, ranges[i].first, ranges[i].length);
|
/external/chromium/net/http/ |
http_util_unittest.cc | 657 std::vector<net::HttpByteRange> ranges; local 659 &ranges); 662 EXPECT_EQ(tests[i].expected_ranges_size, ranges.size()); 663 for (size_t j = 0; j < ranges.size(); ++j) { 665 ranges[j].first_byte_position()); 667 ranges[j].last_byte_position()); 669 ranges[j].suffix_length());
|
/external/chromium/net/url_request/ |
url_request_file_job.cc | 286 std::vector<HttpByteRange> ranges; local 287 if (HttpUtil::ParseRangeHeader(range_header, &ranges)) { 288 if (ranges.size() == 1) { 289 byte_range_ = ranges[0];
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
CheckSecuritySyntaxOnly.cpp | 250 llvm::SmallVector<SourceRange, 2> ranges; local 258 ranges.push_back(drCond->getSourceRange()); 259 ranges.push_back(drInc->getSourceRange()); 263 FS->getLocStart(), ranges.data(), ranges.size());
|
/external/clang/lib/StaticAnalyzer/Core/ |
RangeConstraintManager.cpp | 73 /// RangeSet contains a set of ranges. If the set is empty, then 78 PrimRangeSet ranges; // no need to make const, since it is an member in class:__anon4472::RangeSet 85 RangeSet(PrimRangeSet RS) : ranges(RS) {} 87 iterator begin() const { return ranges.begin(); } 88 iterator end() const { return ranges.end(); } 90 bool isEmpty() const { return ranges.isEmpty(); } 94 : ranges(F.add(F.getEmptySet(), Range(from, to))) {} 98 void Profile(llvm::FoldingSetNodeID &ID) const { ranges.Profile(ID); } 104 return ranges.isSingleton() ? ranges.begin()->getConcreteValue() : 0 [all...] |
/external/opencv/cv/src/ |
cvthresh.cpp | 336 float* ranges = _ranges; local 343 CV_CALL( hist = cvCreateHist( 1, &hist_size, CV_HIST_ARRAY, &ranges ));
|
cvmotempl.cpp | 299 float* ranges = _ranges; local 328 CV_CALL( hist = cvCreateHist( 1, &hist_size, CV_HIST_ARRAY, &ranges ));
|
/external/webkit/Source/WebCore/platform/graphics/gtk/ |
FontGtk.cpp | 294 int ranges[] = {start - utf8, end - utf8}; local 295 partialRegion = gdk_pango_layout_line_get_clip_region(layoutLine, 0, 0, ranges, 1);
|
/external/bluetooth/bluez/attrib/ |
gatt.c | 110 GSList *ranges, *last; local 121 ranges = dec_find_by_type_resp(ipdu, iplen); 122 if (ranges == NULL) 125 dp->primaries = g_slist_concat(dp->primaries, ranges); 127 last = g_slist_last(ranges);
|
/external/webkit/Source/WebKit/chromium/src/ |
WebMediaPlayerClientImpl.cpp | 386 // FIXME: Save the time ranges in a member variable and update it when needed. 387 RefPtr<TimeRanges> ranges = TimeRanges::create(); local 389 ranges->add(webRanges[i].start, webRanges[i].end); 390 return ranges.release();
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
GameControllerInput.java | 159 final List<MotionRange> ranges = device.getMotionRanges(); local 160 for (MotionRange range : ranges) { 169 for (MotionRange range : ranges) {
|
/development/tools/emulator/opengl/host/libs/Translator/GLcommon/ |
GLEScontext.cpp | 274 int bytesRangesToIndices(RangeList& ranges,GLESpointer* p,GLushort* indices) { 281 for(int i=0;i<ranges.size();i++) { 282 int startIndex = (ranges[i].getStart() - offset) / stride; 283 int nElements = ranges[i].getSize()/attribSize; 310 RangeList ranges; local 320 directToBytesRanges(first,count,p,ranges); //converting indices range to buffer bytes ranges by offset 321 p->getBufferConversions(ranges,conversions); // getting from the buffer the relevant ranges that still needs to be converted 325 int nIndices = bytesRangesToIndices(conversions,p,indices); //converting bytes ranges by offset to indices in this arra 369 RangeList ranges; local [all...] |
/external/icu4c/tools/genuca/ |
genuca.cpp | 927 } ranges[] = local [all...] |
/frameworks/base/media/libstagefright/mpeg2ts/ |
ESQueue.cpp | 308 Vector<size_t> ranges; local 370 ranges.push(aac_frame_length); 384 for (size_t i = 0; i < ranges.size(); ++i) { 385 int64_t tmpUs = fetchTimestamp(ranges.itemAt(i));
|
/external/chromium/base/metrics/ |
histogram.cc | 122 DCHECK_GE(value, ranges(index)); 123 DCHECK_LT(value, ranges(index + 1)); 315 int new_range = ranges(index); 356 Histogram::Sample Histogram::ranges(size_t i) const { function in class:base::Histogram 469 DCHECK_LE(ranges(0), value); 470 DCHECK_GT(ranges(bucket_count()), value); 480 if (ranges(mid) <= value) 486 DCHECK_LE(ranges(mid), value); 487 CHECK_GT(ranges(mid+1), value); 497 DCHECK_GT(ranges(i + 1), ranges(i)) 912 std::vector<int> ranges = custom_ranges; local [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
task_manager_gtk.cc | 925 std::set<std::pair<int, int> > ranges; local [all...] |
/external/clang/bindings/python/clang/ |
cindex.py | 181 well as additional source ranges and associated fix-it hints. 209 def ranges(self): member in class:Diagnostic [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
PathDiagnostic.h | 176 std::vector<SourceRange> ranges; member in class:clang::ento::PathDiagnosticPiece 202 void addRange(SourceRange R) { ranges.push_back(R); } 205 ranges.push_back(SourceRange(B,E)); 215 return ranges.empty() ? NULL : &ranges[0]; 219 return ranges_begin() + ranges.size();
|