/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
LongPrimitiveOpsTests.java | 42 long sum = LongStream.range(1, 10).filter(i -> i % 2 == 0).sum(); 47 long sum = LongStream.range(1, 10).filter(i -> i % 2 == 0).map(i -> i * 2).sum(); 52 long sum = LongStream.range(1, 10).parallel().filter(i -> i % 2 == 0).sum(); 59 long sum = LongStream.range(1, 10).filter(i -> i % 2 == 0).peek(i -> { teeSum[0] = teeSum[0] + i; }).sum(); 66 LongStream.range(1, 10).filter(i -> i % 2 == 0).forEach(i -> { sum[0] = sum[0] + i; }); 73 LongStream.range(1, 10).parallel().filter(i -> i % 2 == 0).forEach(ai::addAndGet); 78 List<Long> l = LongStream.range(1, 10).parallel().boxed().collect(Collectors.toList()); 90 long[] array = LongStream.range(1, 10).map(i -> i * 2).toArray(); 95 long[] array = LongStream.range(1, 10).parallel().map(i -> i * 2).toArray(); 138 long[] expected = LongStream.range(1, 1000).toArray() [all...] |
/prebuilts/go/darwin-x86/src/go/doc/ |
filter.go | 13 for _, field := range fields.List { 14 for _, name := range field.Names { 25 for _, d := range d.Specs { 28 for _, name := range v.Names { 54 for _, vd := range a { 65 for _, fd := range a { 76 for _, td := range a {
|
/prebuilts/go/darwin-x86/test/ |
stringrange.go | 7 // Test range over strings. 25 for i, c = range s { 36 fmt.Printf("unexpected rune %d from range: %x not %x\n", i, r, expect[cnum]) 49 for i, c = range "" { 52 fmt.Println("range empty string assigned to index:", i) 56 fmt.Println("range empty string assigned to value:", c) 60 for _, c := range "a\xed\xa0\x80a" {
|
/prebuilts/go/linux-x86/src/go/doc/ |
filter.go | 13 for _, field := range fields.List { 14 for _, name := range field.Names { 25 for _, d := range d.Specs { 28 for _, name := range v.Names { 54 for _, vd := range a { 65 for _, fd := range a { 76 for _, td := range a {
|
/prebuilts/go/linux-x86/test/ |
stringrange.go | 7 // Test range over strings. 25 for i, c = range s { 36 fmt.Printf("unexpected rune %d from range: %x not %x\n", i, r, expect[cnum]) 49 for i, c = range "" { 52 fmt.Println("range empty string assigned to index:", i) 56 fmt.Println("range empty string assigned to value:", c) 60 for _, c := range "a\xed\xa0\x80a" {
|
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
hostapd_constants.py | 215 range(6, 14), range(40, 65, 8), range(104, 137, 8), [153, 161])), 218 range(1, 8), range(36, 61, 8), range(100, 133, 8), [149, 157]))
|
/external/google-benchmark/test/ |
benchmark_test.cc | 67 while (state.KeepRunning()) pi = CalculatePi(state.range(0)); 87 std::set<int> data = ConstructRandomSet(state.range(0)); 89 for (int j = 0; j < state.range(1); ++j) data.insert(rand()); 91 state.SetItemsProcessed(state.iterations() * state.range(1)); 92 state.SetBytesProcessed(state.iterations() * state.range(1) * sizeof(int)); 102 for (int i = state.range(0); --i;) c.push_back(v); 104 const size_t items_processed = state.iterations() * state.range(0); 109 ->Range(1 << 0, 1 << 10); 110 BENCHMARK_TEMPLATE(BM_Sequential, std::list<int>)->Range(1 << 0, 1 << 10); 117 std::string s1(state.range(0), '-') [all...] |
/external/iptables/extensions/ |
libipt_REDIRECT.c | 21 " Port (range) to map to.\n" 46 mr->range[0].flags |= NF_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 |= NF_NAT_RANGE_PROTO_RANDOM; 102 mr->range[0].flags |= NF_NAT_RANGE_PROTO_RANDOM; 111 const struct nf_nat_ipv4_range *r = &mr->range[0]; 118 if (mr->range[0].flags & NF_NAT_RANGE_PROTO_RANDOM [all...] |
libxt_iprange.c | 31 "[!] --src-range ip[-ip] Match source IP in the specified range\n" 32 "[!] --dst-range ip[-ip] Match destination IP in the specified range\n"); 36 {.name = "src-range", .id = O_SRC_RANGE, .type = XTTYPE_STRING, 38 {.name = "dst-range", .id = O_DST_RANGE, .type = XTTYPE_STRING, 44 iprange_parse_spec(const char *from, const char *to, union nf_inet_addr *range, 52 memset(range, 0, sizeof(union nf_inet_addr) * 2); 60 range[i].in6 = *ia6; 68 range[i].in = *ia4 99 union nf_inet_addr range[2]; local [all...] |
/external/libcxx/utils/google-benchmark/test/ |
benchmark_test.cc | 67 while (state.KeepRunning()) pi = CalculatePi(state.range(0)); 87 std::set<int> data = ConstructRandomSet(state.range(0)); 89 for (int j = 0; j < state.range(1); ++j) data.insert(rand()); 91 state.SetItemsProcessed(state.iterations() * state.range(1)); 92 state.SetBytesProcessed(state.iterations() * state.range(1) * sizeof(int)); 102 for (int i = state.range(0); --i;) c.push_back(v); 104 const size_t items_processed = state.iterations() * state.range(0); 109 ->Range(1 << 0, 1 << 10); 110 BENCHMARK_TEMPLATE(BM_Sequential, std::list<int>)->Range(1 << 0, 1 << 10); 117 std::string s1(state.range(0), '-') [all...] |
/external/swiftshader/third_party/LLVM/lib/DebugInfo/ |
DWARFDebugAranges.cpp | 19 // Compare function DWARFDebugAranges::Range structures 20 static bool RangeLessThan(const DWARFDebugAranges::Range &range1, 21 const DWARFDebugAranges::Range &range2) { 41 DWARFDebugAranges::Range range; local 42 range.Offset = set.getCompileUnitDIEOffset(); 45 range.LoPC = arange_desc_ptr->Address; 46 range.Length = arange_desc_ptr->Length; 52 range, RangeLessThan); 53 RangeCollection.insert(insert_pos, range); 69 Range range; local 102 const Range &range = Aranges[i]; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
deringing_luma.cpp | 34 int thres[4], range[4], max_range_blk, max_thres_blk; local 66 range[blks] = max_blk - min_blk; 68 if (range[blks] >= max_range_blk) 70 max_range_blk = range[blks]; 86 if (range[blks]<32 && max_range_blk >= 64) 120 range[blks] = max_blk - min_blk; 122 if (range[blks] >= max_range_blk) 124 max_range_blk = range[blks]; 140 if (range[blks]<32 && max_range_blk >= 64) 178 range[blks] = max_blk - min_blk [all...] |
/frameworks/base/core/java/android/view/ |
InputDevice.java | 98 * Use {@link #getMotionRange} to query the range of the pointing device. Some devices permit 99 * touches outside the display area so the effective range may be somewhat smaller or larger 112 * Use {@link #getMotionRange} to query the range of motion. 123 * Use {@link #getMotionRange} to query the range of positions. 132 * Use {@link #getMotionRange} to query the range of positions. 297 * Constant for retrieving the range of values for {@link MotionEvent#AXIS_X}. 306 * Constant for retrieving the range of values for {@link MotionEvent#AXIS_Y}. 315 * Constant for retrieving the range of values for {@link MotionEvent#AXIS_PRESSURE}. 324 * Constant for retrieving the range of values for {@link MotionEvent#AXIS_SIZE}. 333 * Constant for retrieving the range of values for {@link MotionEvent#AXIS_TOUCH_MAJOR} 696 final MotionRange range = mMotionRanges.get(i); local 721 final MotionRange range = mMotionRanges.get(i); local 936 MotionRange range = mMotionRanges.get(i); local 993 MotionRange range = mMotionRanges.get(i); local [all...] |
/external/llvm/test/MC/ARM/ |
diagnostics.s | 14 @ Out of range shift immediate values. 28 @ CHECK-ERRORS: error: immediate shift value out of range 31 @ CHECK-ERRORS: error: immediate shift value out of range 34 @ CHECK-ERRORS: error: immediate shift value out of range 37 @ CHECK-ERRORS: error: immediate shift value out of range 40 @ CHECK-ERRORS: error: immediate shift value out of range 43 @ CHECK-ERRORS: error: immediate shift value out of range 46 @ CHECK-ERRORS: error: immediate shift value out of range 49 @ CHECK-ERRORS: error: immediate shift value out of range 52 @ Out of range shift immediate values for load/store [all...] |
thumb1-relax-8m-baseline.s | 4 @ CHECK-V8MBASE-NOT: out of range pc-relative fixup value 5 @ CHECK-V6M: out of range pc-relative fixup value
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/ |
clockres.py | 19 spin_loops = range(1000)
29 for i in range(len(values) - 1):
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/ |
comparecodecs.py | 17 for i in range(sys.maxunicode):
32 for i in range(256):
|
/external/bison/examples/calc++/ |
stack.hh | 111 slice (const S& stack, unsigned int range) 113 , range_ (range)
|
/external/icu/icu4c/source/common/unicode/ |
usetiter.h | 85 * iteration range, if <tt>codepoint != IS_STRING</tt>. If 129 * code point range, depending on whether <tt>next()</tt> or 136 * of the range, and <tt>getCodepointEnd()</tt> returns the end 137 * of the range. 150 * Returns the end of the current code point range, if 195 * Returns the next element in the set, either a code point range 199 * range of one or more code points from <tt>getCodepoint()</tt> to 255 /** End range 259 /** Range 262 int32_t range; member in class:UnicodeSetIterator [all...] |
/external/icu/icu4c/source/i18n/ |
digitgrouping.cpp | 38 int32_t positiveValue, const IntDigitCountRange &range) const { 40 SmallIntFormatter::estimateDigitCount(positiveValue, range)) == 0;
|
/external/icu/icu4c/source/samples/layout/ |
cmaps.cpp | 187 le_int32 range = 0; local 190 range = fRangeOffset; 196 if (SWAPU32(fGroups[range + probe].startCharCode) <= unicode32) { 197 range += probe; 201 if (SWAPU32(fGroups[range].startCharCode) <= unicode32 && SWAPU32(fGroups[range].endCharCode) >= unicode32) { 202 return (LEGlyphID) (SWAPU32(fGroups[range].startGlyphCode) + unicode32 - SWAPU32(fGroups[range].startCharCode));
|
/external/libvpx/libvpx/test/ |
acm_random.h | 53 int PseudoUniform(int range) { return random_.Generate(range); }
|
/external/llvm/bindings/go/ |
conftest.go | 10 for _, tag := range build.Default.ReleaseTags {
|
/external/llvm/test/MC/Mips/ |
micromips-diagnostic-fixup.s | 4 # CHECK: error: out of range PC16 fixup 5 # CHECK: error: out of range PC16 fixup
|
mips-diagnostic-fixup.s | 4 # CHECK: error: out of range PC16 fixup 5 # CHECK: error: out of range PC16 fixup
|