/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ |
Problem.java | 12 private final Optional<Range> range; field in class:Problem 15 Problem(String message, Optional<Range> range, Optional<Throwable> cause) { 17 this.range = assertNotNull(range); 24 range.ifPresent(r -> str.append(" ").append(r)); 32 public Optional<Range> getRange() { 33 return range;
|
/external/libchrome/base/metrics/ |
bucket_ranges.h | 41 HistogramBase::Sample range(size_t i) const { return ranges_[i]; } function in class:base::BucketRanges
|
/external/libchrome/base/ |
rand_util.cc | 22 uint64_t range = static_cast<uint64_t>(max) - min + 1; local 23 // |range| is at most UINT_MAX + 1, so the result of RandGenerator(range) 26 static_cast<int>(min + static_cast<int64_t>(base::RandGenerator(range))); 39 // produce output in the range [0, 1). For IEEE 754 doubles, the mantissa 52 uint64_t RandGenerator(uint64_t range) { 53 DCHECK_GT(range, 0u); 56 // MAX_UINT64 was 7 and |range| was 5, then a result of 1 would be twice 59 (std::numeric_limits<uint64_t>::max() / range) * range - 1 [all...] |
/external/libtextclassifier/ |
tokenizer.cc | 30 for (const TokenizationCodepointRange* range : codepoint_ranges) { 31 codepoint_ranges_.emplace_back(range->UnPack()); 45 [](const std::unique_ptr<const TokenizationCodepointRangeT>& range, 47 // This function compares range with the codepoint for the purpose of 48 // finding the first greater or equal range. Because of the use of 49 // std::lower_bound it needs to return true when range < codepoint; 53 // It might seem weird that the condition is range.end <= codepoint 54 // here but when codepoint == range.end it means it's actually just 55 // outside of the range, thus the range is less than the codepoint 69 const TokenizationCodepointRangeT* range = FindTokenizationRange(codepoint); local [all...] |
tokenizer_test.cc | 61 const TokenizationCodepointRangeT* range = local 63 if (range != nullptr) { 64 return range->role;
|
/external/libvpx/libvpx/vp8/encoder/ |
boolhuff.h | 30 unsigned int range; member in struct:__anon26146 62 unsigned int range = br->range; local 77 split = 1 + (((range - 1) * probability) >> 8); 79 range = split; 83 range = br->range - split; 86 shift = vp8_norm[range]; 88 range <<= shift; 117 br->range = range [all...] |
/external/libvpx/libvpx/vpx_dsp/ |
bitwriter.h | 24 unsigned int range; member in struct:vpx_writer 36 unsigned int range = br->range; local 40 split = 1 + (((range - 1) * probability) >> 8); 42 range = split; 46 range = br->range - split; 49 shift = vpx_norm[range]; 51 range <<= shift; 78 br->range = range [all...] |
/external/llvm/unittests/ADT/ |
DAGDeltaAlgorithmTest.cpp | 49 std::set<unsigned> range(unsigned Start, unsigned End) { function in namespace:__anon28263 56 std::set<unsigned> range(unsigned N) { function in namespace:__anon28263 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));
|
DeltaAlgorithmTest.cpp | 64 std::set<unsigned> range(unsigned Start, unsigned End) { function in namespace:__anon28264 71 std::set<unsigned> range(unsigned N) { function in namespace:__anon28264 72 return range(0, N); 80 EXPECT_EQ(fixed_set(3, 3, 5, 7), FDA.Run(range(20))); 85 EXPECT_EQ(range(10,20), FDA.Run(range(10,20))); 94 FDA = FixedDeltaAlgorithm(range(10)); 95 EXPECT_EQ(range(4), FDA.Run(range(4)));
|
/external/ltp/testcases/kernel/hotplug/memory_hotplug/ |
segment.h | 43 * range: optional (offset, length) arguments 45 typedef struct range { struct
|
/external/skia/src/gpu/effects/ |
GrDitherEffect.cpp | 29 "half value;\nhalf range;\n@switch (%d) {\n case 0:\n range = " 30 "0.0039215686274509803;\n break;\n case 1:\n range = " 31 "0.015873015873015872;\n break;\n default:\n range = " 42 "half4(clamp(float3(%s.xyz + value * range), 0.0, float(%s.w)), %s.w);\n", 73 float range = testData->fRandom->nextRangeF(0.001f, 0.05f); local 74 return std::unique_ptr<GrFragmentProcessor>(new GrDitherEffect(range));
|
/external/skqp/src/gpu/effects/ |
GrDitherEffect.cpp | 29 "half value;\nhalf range;\n@switch (%d) {\n case 0:\n range = " 30 "0.0039215686274509803;\n break;\n case 1:\n range = " 31 "0.015873015873015872;\n break;\n default:\n range = " 42 "half4(clamp(float3(%s.xyz + value * range), 0.0, float(%s.w)), %s.w);\n", 73 float range = testData->fRandom->nextRangeF(0.001f, 0.05f); local 74 return std::unique_ptr<GrFragmentProcessor>(new GrDitherEffect(range));
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/stress/ |
StressEmitterTest.java | 47 int[] range = new int[] { 1000, 2000 /* , 8000 */}; local 49 for (int number : range) { 64 for (int number : range) {
|
/external/strace/tests/ |
nlattr_fib_rule_hdr.c | 109 static const struct fib_rule_uid_range range = { local 115 FRA_UID_RANGE, pattern, range, 116 PRINT_FIELD_U("{", range, start); 117 PRINT_FIELD_U(", ", range, end);
|
/external/strace/tests-m32/ |
nlattr_fib_rule_hdr.c | 109 static const struct fib_rule_uid_range range = { local 115 FRA_UID_RANGE, pattern, range, 116 PRINT_FIELD_U("{", range, start); 117 PRINT_FIELD_U(", ", range, end);
|
/external/strace/tests-mx32/ |
nlattr_fib_rule_hdr.c | 109 static const struct fib_rule_uid_range range = { local 115 FRA_UID_RANGE, pattern, range, 116 PRINT_FIELD_U("{", range, start); 117 PRINT_FIELD_U(", ", range, end);
|
/external/swiftshader/third_party/LLVM/unittests/ADT/ |
DAGDeltaAlgorithmTest.cpp | 49 std::set<unsigned> range(unsigned Start, unsigned End) { function in namespace:__anon36478 56 std::set<unsigned> range(unsigned N) { function in namespace:__anon36478 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));
|
DeltaAlgorithmTest.cpp | 64 std::set<unsigned> range(unsigned Start, unsigned End) { function in namespace:__anon36479 71 std::set<unsigned> range(unsigned N) { function in namespace:__anon36479 72 return range(0, N); 80 EXPECT_EQ(fixed_set(3, 3, 5, 7), FDA.Run(range(20))); 85 EXPECT_EQ(range(10,20), FDA.Run(range(10,20))); 94 FDA = FixedDeltaAlgorithm(range(10)); 95 EXPECT_EQ(range(4), FDA.Run(range(4)));
|
/external/v8/tools/clang/base_bind_rewriters/ |
BaseBindRewriters.cpp | 63 auto range = clang::CharSourceRange::getTokenRange( variable 67 replacements_->emplace_back(*result.SourceManager, range, "");
|
/external/webp/src/utils/ |
bit_reader_inl_utils.h | 109 // 'range' *before* calling VP8LoadNewBytes(), even if this function doesn't 111 range_t range = br->range_; local 117 const range_t split = (range * prob) >> 8; 121 range -= split; 124 range = split + 1; 127 const int shift = 7 ^ BitsLog2Floor(range); 128 range <<= shift; 131 br->range_ = range - 1; 157 // 'range' *before* calling VP8LoadNewBytes(), even if this function doesn't 159 range_t range = br->range_ local [all...] |
/frameworks/base/core/jni/ |
android_view_InputDevice.cpp | 73 const InputDeviceInfo::MotionRange& range = ranges.itemAt(i); local 74 env->CallVoidMethod(inputDeviceObj.get(), gInputDeviceClassInfo.addMotionRange, range.axis, 75 range.source, range.min, range.max, range.flat, range.fuzz, range.resolution);
|
/frameworks/base/media/java/android/media/ |
Utils.java | 28 import android.util.Range; 43 * Sorts distinct (non-intersecting) range array in ascending order. 46 public static <T extends Comparable<? super T>> void sortDistinctRanges(Range<T>[] ranges) { 47 Arrays.sort(ranges, new Comparator<Range<T>>() { 49 public int compare(Range<T> lhs, Range<T> rhs) { 68 Range<T>[] intersectSortedDistinctRanges(Range<T>[] one, Range<T>[] another) { 70 Vector<Range<T>> result = new Vector<Range<T>>() [all...] |
/frameworks/base/services/core/jni/ |
com_android_server_PersistentDataBlockService.cpp | 50 uint64_t range[2]; local 54 range[0] = 0; 55 range[1] = len; 57 if (range[1] == 0) 60 ret = ioctl(fd, BLKSECDISCARD, &range); 63 range[0] = 0; 64 range[1] = len; 65 ret = ioctl(fd, BLKDISCARD, &range);
|
/frameworks/minikin/libs/minikin/ |
MeasuredText.cpp | 35 const Range& range = run->getRange(); local 36 const uint32_t runOffset = range.getStart(); 44 for (uint32_t i = range.getStart(); i < range.getEnd(); ++i) { 58 void MeasuredText::buildLayout(const U16StringPiece& textBuf, const Range& range, 62 layout->doLayoutWithPrecomputedPieces(textBuf, range, bidiFlags, paint, startHyphen, endHyphen, 66 MinikinRect MeasuredText::getBounds(const U16StringPiece& textBuf, const Range& range) { [all...] |
/frameworks/support/samples/SupportSliceDemos/src/main/java/com/example/androidx/slice/demos/ |
SliceBroadcastReceiver.java | 56 int range = i.getExtras().getInt(EXTRA_RANGE_VALUE, 0); local 57 Toast.makeText(context, "value: " + range, Toast.LENGTH_SHORT).show();
|