/external/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/ |
H A D | range_size_hash.pass.cpp | 68 assert(static_cast<std::size_t>(std::distance(c.begin(), c.end())) == c.size()); 69 assert(static_cast<std::size_t>(std::distance(c.cbegin(), c.cend())) == c.size()); 105 assert(static_cast<std::size_t>(std::distance(c.begin(), c.end())) == c.size()); 106 assert(static_cast<std::size_t>(std::distance(c.cbegin(), c.cend())) == c.size());
|
H A D | range_size_hash_equal.pass.cpp | 69 assert(static_cast<std::size_t>(std::distance(c.begin(), c.end())) == c.size()); 70 assert(static_cast<std::size_t>(std::distance(c.cbegin(), c.cend())) == c.size()); 107 assert(static_cast<std::size_t>(std::distance(c.begin(), c.end())) == c.size()); 108 assert(static_cast<std::size_t>(std::distance(c.cbegin(), c.cend())) == c.size());
|
H A D | assign_move.pass.cpp | 74 assert(static_cast<std::size_t>(std::distance(c.begin(), c.end())) == c.size()); 75 assert(static_cast<std::size_t>(std::distance(c.cbegin(), c.cend())) == c.size()); 119 assert(static_cast<std::size_t>(std::distance(c.begin(), c.end())) == c.size()); 120 assert(static_cast<std::size_t>(std::distance(c.cbegin(), c.cend())) == c.size()); 165 assert(static_cast<std::size_t>(std::distance(c.begin(), c.end())) == c.size()); 166 assert(static_cast<std::size_t>(std::distance(c.cbegin(), c.cend())) == c.size()); 211 assert(static_cast<std::size_t>(std::distance(c.begin(), c.end())) == c.size()); 212 assert(static_cast<std::size_t>(std::distance(c.cbegin(), c.cend())) == c.size());
|
H A D | size.fail.cpp | 45 assert(std::distance(c.begin(), c.end()) == 0); 65 assert(std::distance(c.begin(), c.end()) == 0);
|
H A D | size.pass.cpp | 45 assert(std::distance(c.begin(), c.end()) == 0); 65 assert(std::distance(c.begin(), c.end()) == 0);
|
H A D | size_hash.pass.cpp | 47 assert(std::distance(c.begin(), c.end()) == 0); 69 assert(std::distance(c.begin(), c.end()) == 0);
|
H A D | size_hash_equal.pass.cpp | 48 assert(std::distance(c.begin(), c.end()) == 0); 71 assert(std::distance(c.begin(), c.end()) == 0);
|
/external/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/ |
H A D | allocator.pass.cpp | 43 assert(std::distance(c.begin(), c.end()) == 0); 61 assert(std::distance(c.begin(), c.end()) == 0); 82 assert(std::distance(c.begin(), c.end()) == 0); 104 assert(std::distance(c.begin(), c.end()) == 0);
|
H A D | copy_alloc.pass.cpp | 73 assert(static_cast<std::size_t>(std::distance(c.begin(), c.end())) == c.size()); 74 assert(static_cast<std::size_t>(std::distance(c.cbegin(), c.cend())) == c.size()); 120 assert(static_cast<std::size_t>(std::distance(c.begin(), c.end())) == c.size()); 121 assert(static_cast<std::size_t>(std::distance(c.cbegin(), c.cend())) == c.size());
|
/external/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/ |
H A D | allocator.pass.cpp | 43 assert(std::distance(c.begin(), c.end()) == 0); 61 assert(std::distance(c.begin(), c.end()) == 0); 82 assert(std::distance(c.begin(), c.end()) == 0); 104 assert(std::distance(c.begin(), c.end()) == 0);
|
H A D | size.fail.cpp | 42 assert(std::distance(c.begin(), c.end()) == 0);
|
/external/skia/tools/skp/page_sets/ |
H A D | skia_unicodetable_desktop.py | 24 action_runner.ScrollPage(distance=100000)
|
/external/skqp/tools/skp/page_sets/ |
H A D | skia_unicodetable_desktop.py | 24 action_runner.ScrollPage(distance=100000)
|
/external/zopfli/src/zopfli/ |
H A D | lz77.h | 47 if > 0: length in corresponding litlens, this is the distance. */ 66 /* Cache for length/distance pairs found so far. */ 76 Finds the longest match (length and corresponding distance) for LZ77 87 smallest distance required to reach this length. Only 256 of its 259 values 94 unsigned short* sublen, unsigned short* distance, unsigned short* length); 103 Counts the number of literal, length and distance symbols in the given lz77
|
H A D | lz77.c | 56 Appends the length and distance to the LZ77 arrays of the ZopfliLZ77Store. 67 Gets a score of the length given the distance. Typically, the score of the 68 length is the length itself, but if the distance is very long, decrease the 77 -avoid using a length of 3 in combination with a long distance. This only has 87 static int GetLengthScore(int length, int distance) { argument 89 At 1024, the distance uses 9+ extra bits and this seems to be the sweet spot 92 return distance > 1024 ? length - 1 : length; 157 Gets distance, length and sublen values from the cache if possible. 164 unsigned short* sublen, unsigned short* distance, unsigned short* length) { 185 *distance 162 TryGetFromLongestMatchCache(ZopfliBlockState* s, size_t pos, size_t* limit, unsigned short* sublen, unsigned short* distance, unsigned short* length) argument 206 StoreInLongestMatchCache(ZopfliBlockState* s, size_t pos, size_t limit, const unsigned short* sublen, unsigned short distance, unsigned short length) argument 229 ZopfliFindLongestMatch(ZopfliBlockState* s, const ZopfliHash* h, const unsigned char* array, size_t pos, size_t size, size_t limit, unsigned short* sublen, unsigned short* distance, unsigned short* length) argument [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
H A D | XLocaleMatcher.java | 109 * @param distanceOption the distance option 247 * Set to null if the best match was not below the threshold distance. 284 int distance = delta + localeDistance.distanceRaw(desiredLSR, supportedLsrAndLocale.getKey(), 286 if (distance < bestDistance) { 287 bestDistance = distance; 290 if (distance == 0) { 318 * Set to null if the best match was not below the threshold distance. 347 int distance = localeDistance.distanceRaw(desiredLSR, supportedLsrAndLocale.getKey(), 349 if (distance < bestDistance) { 350 bestDistance = distance; 414 public int distance(ULocale desired, ULocale supported) { method in class:XLocaleMatcher 421 public int distance(String desiredLanguage, String supportedLanguage) { method in class:XLocaleMatcher [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
H A D | XLocaleMatcher.java | 107 * @param distanceOption the distance option 245 * Set to null if the best match was not below the threshold distance. 282 int distance = delta + localeDistance.distanceRaw(desiredLSR, supportedLsrAndLocale.getKey(), 284 if (distance < bestDistance) { 285 bestDistance = distance; 288 if (distance == 0) { 316 * Set to null if the best match was not below the threshold distance. 345 int distance = localeDistance.distanceRaw(desiredLSR, supportedLsrAndLocale.getKey(), 347 if (distance < bestDistance) { 348 bestDistance = distance; 412 public int distance(ULocale desired, ULocale supported) { method in class:XLocaleMatcher 419 public int distance(String desiredLanguage, String supportedLanguage) { method in class:XLocaleMatcher [all...] |
/external/autotest/client/site_tests/firmware_TouchMTB/geometry/ |
H A D | elements.py | 56 def distance(self, p): member in class:Point 57 """Calculate the distance between p and this point. 93 return self.center.distance(p) <= self.radius + TOLERANCE
|
/external/libcxx/test/std/containers/associative/multiset/multiset.cons/ |
H A D | copy_alloc.pass.cpp | 44 assert(distance(m.begin(), m.end()) == 9); 58 assert(distance(mo.begin(), mo.end()) == 9);
|
H A D | iter_iter_alloc.pass.cpp | 50 assert(distance(m.begin(), m.end()) == 9); 82 assert(distance(m.begin(), m.end()) == 9);
|
/external/libcxx/test/std/containers/sequences/vector/vector.special/ |
H A D | swap.pass.cpp | 47 assert(distance(c2.begin(), c2.end()) == 0); 60 assert(distance(c1.begin(), c1.end()) == 0); 74 assert(distance(c1.begin(), c1.end()) == 0); 76 assert(distance(c2.begin(), c2.end()) == 0); 132 assert(distance(c2.begin(), c2.end()) == 0); 145 assert(distance(c1.begin(), c1.end()) == 0); 159 assert(distance(c1.begin(), c1.end()) == 0); 161 assert(distance(c2.begin(), c2.end()) == 0);
|
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/ |
H A D | size.fail.cpp | 45 assert(std::distance(c.begin(), c.end()) == 0); 65 assert(std::distance(c.begin(), c.end()) == 0);
|
H A D | size.pass.cpp | 45 assert(std::distance(c.begin(), c.end()) == 0); 65 assert(std::distance(c.begin(), c.end()) == 0);
|
H A D | size_hash.pass.cpp | 47 assert(std::distance(c.begin(), c.end()) == 0); 69 assert(std::distance(c.begin(), c.end()) == 0);
|
H A D | size_hash_equal.pass.cpp | 48 assert(std::distance(c.begin(), c.end()) == 0); 71 assert(std::distance(c.begin(), c.end()) == 0);
|