/external/webrtc/src/system_wrappers/source/spreadsortlib/ |
H A D | spreadsort.hpp | 63 //Start from the second item, as max and min are initialized to the first
125 spread_sort_rec(RandomAccessIter first, RandomAccessIter last, std::vector<RandomAccessIter> &bin_cache, unsigned cache_offset
argument 129 //If you know the maximum and minimum ahead of time, you can pass those values in and skip this step for the first iteration
131 find_extremes(first, last, max, min);
132 //max and min will be the same (the first item) iff all values are equivalent
136 unsigned log_divisor = get_log_divisor(last - first, rough_log_2_size((size_t)(*max >> 0) - (*min >> 0)));
144 for (RandomAccessIter current = first; current != last;)
147 bins[0] = first;
153 RandomAccessIter nextbinstart = first;
187 size_t max_count = get_max_count(log_divisor, last - first);
242 spread_sort_rec(RandomAccessIter first, RandomAccessIter last, std::vector<RandomAccessIter> &bin_cache, unsigned cache_offset , std::vector<size_t> &bin_sizes, right_shift shift, compare comp) argument 290 spread_sort_rec(RandomAccessIter first, RandomAccessIter last, std::vector<RandomAccessIter> &bin_cache, unsigned cache_offset , std::vector<size_t> &bin_sizes, right_shift shift) argument 338 spread_sort(RandomAccessIter first, RandomAccessIter last, div_type, data_type) argument 347 spread_sort(RandomAccessIter first, RandomAccessIter last, div_type, data_type, right_shift shift, compare comp) argument 356 spread_sort(RandomAccessIter first, RandomAccessIter last, div_type, data_type, right_shift shift) argument 366 integer_sort(RandomAccessIter first, RandomAccessIter last) argument 377 integer_sort(RandomAccessIter first, RandomAccessIter last, right_shift shift, compare comp) argument 387 integer_sort(RandomAccessIter first, RandomAccessIter last, right_shift shift) argument 483 positive_float_sort_rec(RandomAccessIter first, RandomAccessIter last, std::vector<RandomAccessIter> &bin_cache, unsigned cache_offset , std::vector<size_t> &bin_sizes) argument 532 negative_float_sort_rec(RandomAccessIter first, RandomAccessIter last, std::vector<RandomAccessIter> &bin_cache, unsigned cache_offset , std::vector<size_t> &bin_sizes) argument 583 negative_float_sort_rec(RandomAccessIter first, RandomAccessIter last, std::vector<RandomAccessIter> &bin_cache, unsigned cache_offset , std::vector<size_t> &bin_sizes, right_shift shift) argument 632 negative_float_sort_rec(RandomAccessIter first, RandomAccessIter last, std::vector<RandomAccessIter> &bin_cache, unsigned cache_offset , std::vector<size_t> &bin_sizes, right_shift shift, compare comp) argument 682 float_sort_rec(RandomAccessIter first, RandomAccessIter last, std::vector<RandomAccessIter> &bin_cache, unsigned cache_offset , std::vector<size_t> &bin_sizes) argument 766 float_sort_rec(RandomAccessIter first, RandomAccessIter last, std::vector<RandomAccessIter> &bin_cache, unsigned cache_offset , std::vector<size_t> &bin_sizes, right_shift shift) argument 850 float_sort_rec(RandomAccessIter first, RandomAccessIter last, std::vector<RandomAccessIter> &bin_cache, unsigned cache_offset , std::vector<size_t> &bin_sizes, right_shift shift, compare comp) argument 934 float_Sort(RandomAccessIter first, RandomAccessIter last, cast_type, data_type) argument 943 float_Sort(RandomAccessIter first, RandomAccessIter last, div_type, data_type, right_shift shift) argument 952 float_Sort(RandomAccessIter first, RandomAccessIter last, div_type, data_type, right_shift shift, compare comp) argument 963 float_sort_cast(RandomAccessIter first, RandomAccessIter last, cast_type cVal) argument 974 float_sort_cast_to_int(RandomAccessIter first, RandomAccessIter last) argument 982 float_sort(RandomAccessIter first, RandomAccessIter last, right_shift shift) argument 991 float_sort(RandomAccessIter first, RandomAccessIter last, right_shift shift, compare comp) argument 1004 update_offset(RandomAccessIter first, RandomAccessIter finish, unsigned &char_offset) argument 1026 update_offset(RandomAccessIter first, RandomAccessIter finish, unsigned &char_offset, get_char getchar, get_length length) argument 1104 string_sort_rec(RandomAccessIter first, RandomAccessIter last, unsigned char_offset, std::vector<RandomAccessIter> &bin_cache , unsigned cache_offset, std::vector<size_t> &bin_sizes) argument 1191 reverse_string_sort_rec(RandomAccessIter first, RandomAccessIter last, unsigned char_offset, std::vector<RandomAccessIter> &bin_cache , unsigned cache_offset, std::vector<size_t> &bin_sizes) argument 1281 string_sort_rec(RandomAccessIter first, RandomAccessIter last, unsigned char_offset, std::vector<RandomAccessIter> &bin_cache , unsigned cache_offset, std::vector<size_t> &bin_sizes, get_char getchar, get_length length) argument 1368 string_sort_rec(RandomAccessIter first, RandomAccessIter last, unsigned char_offset, std::vector<RandomAccessIter> &bin_cache , unsigned cache_offset, std::vector<size_t> &bin_sizes, get_char getchar, get_length length, compare comp) argument 1456 reverse_string_sort_rec(RandomAccessIter first, RandomAccessIter last, unsigned char_offset, std::vector<RandomAccessIter> &bin_cache , unsigned cache_offset, std::vector<size_t> &bin_sizes, get_char getchar, get_length length, compare comp) argument 1547 string_sort(RandomAccessIter first, RandomAccessIter last, data_type, unsignedchar_type) argument 1557 reverse_string_sort(RandomAccessIter first, RandomAccessIter last, data_type, unsignedchar_type) argument 1567 string_sort(RandomAccessIter first, RandomAccessIter last, get_char getchar, get_length length, data_type, unsignedchar_type) argument 1577 string_sort(RandomAccessIter first, RandomAccessIter last, get_char getchar, get_length length, compare comp, data_type, unsignedchar_type) argument 1587 reverse_string_sort(RandomAccessIter first, RandomAccessIter last, get_char getchar, get_length length, compare comp, data_type, unsignedchar_type) argument 1597 string_sort(RandomAccessIter first, RandomAccessIter last, unsignedchar_type unused) argument 1608 string_sort(RandomAccessIter first, RandomAccessIter last) argument 1616 reverse_string_sort(RandomAccessIter first, RandomAccessIter last, compare comp, unsignedchar_type unused) argument 1627 reverse_string_sort(RandomAccessIter first, RandomAccessIter last, compare comp) argument 1634 string_sort(RandomAccessIter first, RandomAccessIter last, get_char getchar, get_length length) argument 1651 string_sort(RandomAccessIter first, RandomAccessIter last, get_char getchar, get_length length, compare comp) argument 1668 reverse_string_sort(RandomAccessIter first, RandomAccessIter last, get_char getchar, get_length length, compare comp) argument [all...] |
/external/libcxx/test/std/containers/unord/unord.multimap/ |
H A D | rehash.pass.cpp | 31 assert(std::distance(eq.first, eq.second) == 2); 32 typename C::const_iterator i = eq.first; 33 assert(i->first == 1); 36 assert(i->first == 1); 39 assert(std::distance(eq.first, eq.second) == 2); 40 i = eq.first; 41 assert(i->first == 2); 44 assert(i->first == 2); 48 assert(std::distance(eq.first, eq.second) == 1); 49 i = eq.first; [all...] |
/external/llvm/lib/TableGen/ |
H A D | StringMatcher.cpp | 19 /// FindFirstNonCommonLetter - Find the first character in the keys of the 26 for (unsigned i = 0, e = Matches[0]->first.size(); i != e; ++i) { 28 char Letter = Matches[0]->first[i]; 31 if (Matches[str]->first[i] != Letter) 35 return Matches[0]->first.size(); 51 if (CharNo == Matches[0]->first.size()) { 58 OS << Indent << Split.first << "\t // \"" << Matches[0]->first << "\"\n"; 63 OS << Indent << Split.first << "\n"; 73 MatchesByLetter[Matches[i]->first[CharN [all...] |
/external/libcxx/test/std/algorithms/alg.sorting/alg.min.max/ |
H A D | minmax_element_comp.pass.cpp | 15 // minmax_element(Iter first, Iter last, Compare comp); 25 test(Iter first, Iter last) argument 29 std::pair<Iter, Iter> p = std::minmax_element(first, last, comp); 30 if (first != last) 32 for (Iter j = first; j != last; ++j) 34 assert(!comp(*j, *p.first)); 40 assert(p.first == last); 76 assert(base(p.first) == a);
|
/external/libcxx/test/std/containers/associative/map/map.modifiers/ |
H A D | emplace.pass.cpp | 35 assert(r.first == m.begin()); 37 assert(m.begin()->first == 0); 43 assert(r.first == next(m.begin())); 45 assert(next(m.begin())->first == 1); 51 assert(r.first == next(m.begin())); 53 assert(next(m.begin())->first == 1); 65 assert(r.first == m.begin()); 67 assert(m.begin()->first == 2); 72 assert(r.first == m.begin()); 74 assert(m.begin()->first [all...] |
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/ |
H A D | move.pass.cpp | 94 assert(std::distance(eq.first, eq.second) == 2); 95 C::const_iterator i = eq.first; 96 assert(i->first == 1); 99 assert(i->first == 1); 102 assert(std::distance(eq.first, eq.second) == 2); 103 i = eq.first; 104 assert(i->first == 2); 107 assert(i->first == 2); 111 assert(std::distance(eq.first, eq.second) == 1); 112 i = eq.first; [all...] |
H A D | copy_alloc.pass.cpp | 56 assert(i->first == 1); 59 assert(i->first == 1); 62 assert(i->first == 2); 65 assert(i->first == 2); 68 assert(i->first == 3); 71 assert(i->first == 4); 110 assert(i->first == 1); 113 assert(i->first == 1); 116 assert(i->first == 2); 119 assert(i->first [all...] |
/external/libcxx/test/std/containers/associative/set/ |
H A D | equal_range.pass.cpp | 43 assert(r.first == next(m.begin(), 0)); 46 assert(r.first == next(m.begin(), 1)); 49 assert(r.first == next(m.begin(), 2)); 52 assert(r.first == next(m.begin(), 3)); 55 assert(r.first == next(m.begin(), 4)); 58 assert(r.first == next(m.begin(), 5)); 61 assert(r.first == next(m.begin(), 6)); 64 assert(r.first == next(m.begin(), 7)); 67 assert(r.first == next(m.begin(), 0)); 70 assert(r.first [all...] |
/external/mockito/src/org/mockito/ |
H A D | AdditionalMatchers.java | 569 * @param first 570 * placeholder for the first argument matcher. 575 public static boolean and(boolean first, boolean second) { argument 584 * @param first 585 * placeholder for the first argument matcher. 590 public static byte and(byte first, byte second) { argument 599 * @param first 600 * placeholder for the first argument matcher. 605 public static char and(char first, char second) { argument 614 * @param first 620 and(double first, double second) argument 635 and(float first, float second) argument 650 and(int first, int second) argument 665 and(long first, long second) argument 680 and(short first, short second) argument 697 and(T first, T second) argument 712 or(boolean first, boolean second) argument 729 or(T first, T second) argument 744 or(short first, short second) argument 759 or(long first, long second) argument 774 or(int first, int second) argument 789 or(float first, float second) argument 804 or(double first, double second) argument 819 or(char first, char second) argument 834 or(byte first, byte second) argument 849 not(T first) argument 862 not(short first) argument 875 not(int first) argument 888 not(long first) argument 901 not(float first) argument 914 not(double first) argument 927 not(char first) argument 940 not(boolean first) argument 953 not(byte first) argument [all...] |
/external/libcxx/test/std/re/re.alg/re.alg.match/ |
H A D | egrep.pass.cpp | 14 // regex_match(BidirectionalIterator first, BidirectionalIterator last, 33 assert(m.prefix().first == s); 34 assert(m.prefix().second == m[0].first); 36 assert(m.suffix().first == m[0].second); 56 assert(m.prefix().first == s); 57 assert(m.prefix().second == m[0].first); 59 assert(m.suffix().first == m[0].second); 72 assert(m.prefix().first == s); 73 assert(m.prefix().second == m[0].first); 75 assert(m.suffix().first [all...] |
H A D | grep.pass.cpp | 14 // regex_match(BidirectionalIterator first, BidirectionalIterator last, 33 assert(m.prefix().first == s); 34 assert(m.prefix().second == m[0].first); 36 assert(m.suffix().first == m[0].second);
|
/external/icu/icu4c/source/common/ |
H A D | filterednormalizer2.cpp | 87 FilteredNormalizer2::normalizeSecondAndAppend(UnicodeString &first, argument 90 return normalizeSecondAndAppend(first, second, TRUE, errorCode); 94 FilteredNormalizer2::append(UnicodeString &first, argument 97 return normalizeSecondAndAppend(first, second, FALSE, errorCode); 101 FilteredNormalizer2::normalizeSecondAndAppend(UnicodeString &first, argument 105 uprv_checkCanGetBuffer(first, errorCode); 108 return first; 110 if(&first==&second) { 112 return first; 114 if(first [all...] |
/external/libcxx/test/std/containers/sequences/vector.bool/ |
H A D | construct_iter_iter.pass.cpp | 13 // template <class InputIter> vector(InputIter first, InputIter last); 23 test(Iterator first, Iterator last) argument 25 C c(first, last); 27 assert(c.size() == std::distance(first, last)); 28 for (typename C::const_iterator i = c.cbegin(), e = c.cend(); i != e; ++i, ++first) 29 assert(*i == *first);
|
/external/libcxx/test/std/re/re.results/re.results.acc/ |
H A D | index.pass.cpp | 28 assert(m[0].first == s+2); 32 assert(m[1].first == s+4); 36 assert(m[2].first == s+4); 40 assert(m[3].first == s+11); 44 assert(m[4].first == s+11);
|
/external/strace/ |
H A D | affinity.c | 6 int first = 1; local 17 if (first) 21 first = 0; 25 if (first) 31 tprints(first ? "{}" : "}");
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/util/ |
H A D | ASMifierClassVisitor.java | 434 boolean first = true;
437 first = false;
441 first = false;
445 first = false;
448 if (!first) {
452 first = false;
455 if (!first) {
459 first = false;
462 if (!first) {
470 first [all...] |
/external/boringssl/src/crypto/asn1/ |
H A D | t_bitst.c | 68 char first = 1; local 72 if(!first) BIO_puts(out, ", "); 74 first = 0;
|
/external/elfutils/src/libebl/ |
H A D | eblmachineflagname.c | 53 int first = 1; local 59 if (! first) 83 first = 0;
|
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
H A D | ChainedData.java | 30 * Note: If you have elements foo.1, foo.2, foo.3 in first Data object and foo.4, foo.5, foo.6 in 31 * second Data object, then fetching children of foo will return only foo.1 foo.2 foo.3 from first 73 Data first = dataList[0]; 74 if (first == null) { 77 return first; 84 Data first = dataList.get(0); 85 if (first == null) { 88 return first; 94 Data first = null; 99 // If not in debug mode just return the first matc [all...] |
/external/libcxx/test/std/re/re.alg/re.alg.search/ |
H A D | egrep.pass.cpp | 14 // regex_search(BidirectionalIterator first, BidirectionalIterator last, 33 assert(m.prefix().first == s); 34 assert(m.prefix().second == m[0].first); 36 assert(m.suffix().first == m[0].second); 49 assert(m.prefix().first == s); 50 assert(m.prefix().second == m[0].first); 52 assert(m.suffix().first == m[0].second); 65 assert(m.prefix().first == s); 66 assert(m.prefix().second == m[0].first); 68 assert(m.suffix().first [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AddressPool.cpp | 23 return IterBool.first->second.Number; 40 ? Asm.getObjFileLowering().getDebugThreadLocalSymbol(I.first) 41 : MCSymbolRefExpr::Create(I.first, Asm.OutContext);
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_quad_pipe.c | 37 quad->next = sp->quad.first; 38 sp->quad.first = quad; 53 sp->quad.first = sp->quad.blend;
|
/external/pdfium/testing/ |
H A D | embedder_test_timer_handling_delegate.h | 24 if (iter->second.first == id) { 39 if (t.first > imaginary_elapsed_msecs_) { 43 t.second(t.first); // Fire timer.
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
H A D | UninitializedMessageException.java | 88 boolean first = true; 90 if (first) { 91 first = false;
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/EncodedValue/ |
H A D | ArrayEncodedValueAdaptor.java | 53 boolean first = true; 55 if (!first) { 58 first = false;
|