/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_bufmgr.cpp | 208 d3d12_bo_map(struct d3d12_bo *bo, D3D12_RANGE *range) in d3d12_bo_map() argument 217 if (!range || range->Begin >= range->End) { in d3d12_bo_map() 220 range = &offset_range; in d3d12_bo_map() 222 offset_range.Begin = range->Begin + offset; in d3d12_bo_map() 223 offset_range.End = range->End + offset; in d3d12_bo_map() 224 range = &offset_range; in d3d12_bo_map() 227 if (FAILED(base_bo->res->Map(0, range, &ptr))) in d3d12_bo_map() 230 return (uint8_t *)ptr + (range in d3d12_bo_map() 234 d3d12_bo_unmap(struct d3d12_bo *bo, D3D12_RANGE *range) d3d12_bo_unmap() argument [all...] |
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl_param_list_test.cc | 34 ASSERT_EQ(e.value[0]->source.range.begin.line, 1u); in TEST_F() 35 ASSERT_EQ(e.value[0]->source.range.begin.column, 1u); in TEST_F() 36 ASSERT_EQ(e.value[0]->source.range.end.line, 1u); in TEST_F() 37 ASSERT_EQ(e.value[0]->source.range.end.column, 2u); in TEST_F() 52 ASSERT_EQ(e.value[0]->source.range.begin.line, 1u); in TEST_F() 53 ASSERT_EQ(e.value[0]->source.range.begin.column, 1u); in TEST_F() 54 ASSERT_EQ(e.value[0]->source.range.end.line, 1u); in TEST_F() 55 ASSERT_EQ(e.value[0]->source.range.end.column, 2u); in TEST_F() 61 ASSERT_EQ(e.value[1]->source.range.begin.line, 1u); in TEST_F() 62 ASSERT_EQ(e.value[1]->source.range in TEST_F() [all...] |
/third_party/gn/src/gn/ |
H A D | err.cc | 28 void FillRangeOnLine(const LocationRange& range, in FillRangeOnLine() argument 31 // Only bother if the range's begin or end overlaps the line. If the entire in FillRangeOnLine() 32 // line is highlighted as a result of this range, it's not very helpful. in FillRangeOnLine() 33 if (range.begin().line_number() != line_number && in FillRangeOnLine() 34 range.end().line_number() != line_number) in FillRangeOnLine() 40 if (range.begin().line_number() < line_number) in FillRangeOnLine() 43 begin_char = range.begin().column_number() - 1; in FillRangeOnLine() 46 if (range.end().line_number() > line_number) in FillRangeOnLine() 49 end_char = range.end().column_number() - 1; in FillRangeOnLine() 70 for (const auto& range in OutputHighlighedPosition() 99 Err(const LocationRange& range, const std::string& msg, const std::string& help) Err() argument 117 LocationRange range = node->GetRange(); Err() local 128 LocationRange range = value.origin()->GetRange(); Err() local [all...] |
H A D | compile_commands_writer.cc | 166 for (const auto& range : tool->command().ranges()) { in WriteCommand() 168 if (range.type == &SubstitutionLiteral) { in WriteCommand() 169 EscapeJSONStringToStream(out, range.literal, no_quoting); in WriteCommand() 170 } else if (range.type == &SubstitutionOutput) { in WriteCommand() 172 } else if (range.type == &CSubstitutionDefines) { in WriteCommand() 174 } else if (range.type == &CSubstitutionFrameworkDirs) { in WriteCommand() 176 } else if (range.type == &CSubstitutionFrameworks) { in WriteCommand() 178 } else if (range.type == &CSubstitutionIncludeDirs) { in WriteCommand() 180 } else if (range.type == &CSubstitutionCFlags) { in WriteCommand() 182 } else if (range in WriteCommand() [all...] |
/third_party/musl/porting/liteos_a/kernel/src/time/ |
H A D | strptime.c | 11 int i, w, neg, adj, min, range, *dest, dummy; in strptime() local 37 range = 7; in strptime() 42 range = 12; in strptime() 56 range = 31; in strptime() 65 range = 24; in strptime() 70 range = 12; in strptime() 75 range = 366; in strptime() 81 range = 12; in strptime() 87 range = 60; in strptime() 120 range in strptime() [all...] |
/third_party/musl/porting/liteos_m/kernel/src/time/ |
H A D | strptime.c | 11 int i, w, neg, adj, min, range, *dest, dummy; in strptime() local 37 range = 7; in strptime() 42 range = 12; in strptime() 56 range = 31; in strptime() 65 range = 24; in strptime() 70 range = 12; in strptime() 75 range = 366; in strptime() 81 range = 12; in strptime() 87 range = 60; in strptime() 120 range in strptime() [all...] |
/third_party/musl/porting/uniproton/kernel/src/time/ |
H A D | strptime.c | 11 int i, w, neg, adj, min, range, *dest, dummy; in strptime() local 37 range = 7; in strptime() 42 range = 12; in strptime() 56 range = 31; in strptime() 65 range = 24; in strptime() 70 range = 12; in strptime() 75 range = 366; in strptime() 81 range = 12; in strptime() 87 range = 60; in strptime() 120 range in strptime() [all...] |
/third_party/skia/third_party/externals/libwebp/src/utils/ |
H A D | bit_reader_inl_utils.h | 110 // 'range' *before* calling VP8LoadNewBytes(), even if this function doesn't in VP8GetBit() 112 range_t range = br->range_; in VP8GetBit() local 118 const range_t split = (range * prob) >> 8; in VP8GetBit() 122 range -= split; in VP8GetBit() 125 range = split + 1; in VP8GetBit() 128 const int shift = 7 ^ BitsLog2Floor(range); in VP8GetBit() 129 range <<= shift; in VP8GetBit() 132 br->range_ = range - 1; in VP8GetBit() 162 // 'range' *before* calling VP8LoadNewBytes(), even if this function doesn't in VP8GetBitAlt() 164 range_t range in VP8GetBitAlt() local [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ms-feature-ranges.cc | 74 /* Scan events and save features for each range. */ in hb_ms_setup_features() 83 /* Save a snapshot of active features and the range. */ in hb_ms_setup_features() 84 auto *range = range_records.push (); in hb_ms_setup_features() local 103 range->features.features = reinterpret_cast<hb_ms_feature_t *> (offset); in hb_ms_setup_features() 104 range->features.num_features = feature_records.length - offset; in hb_ms_setup_features() 105 range->index_first = last_index; in hb_ms_setup_features() 106 range->index_last = event->index - 1; in hb_ms_setup_features() 129 auto *range = &range_records[i]; in hb_ms_setup_features() local 130 range->features.features = (hb_ms_feature_t *) feature_records + reinterpret_cast<uintptr_t> (range in hb_ms_setup_features() 151 auto *range = last_range; hb_ms_make_feature_ranges() local [all...] |
/third_party/python/Modules/_decimal/tests/ |
H A D | randfloat.py | 20 for i in range(10 * TEST_SIZE): 56 for i in range(1000): 57 for j in range(TEST_SIZE): 92 for j in range(1000): 93 for i in range(TEST_SIZE): 106 for exponent in range(-400, -320): 108 for j in range(TEST_SIZE): 116 for i in range(100 * TEST_SIZE): 129 for i in range(1000): 130 for j in range(TEST_SIZ [all...] |
H A D | randdec.py | 153 lst = range(prec+30) 155 lst = sample(range(prec+30), itr) 170 lst = range(prec+30) 172 lst = sample(range(prec+30), itr) 272 for _ in range(itr): 279 for _ in range(itr): 290 for _ in range(itr): 315 lst = range(prec+30) 317 lst = sample(range(prec+30), itr) 328 lst = range(pre [all...] |
/third_party/skia/third_party/externals/tint/src/ |
H A D | source.h | 26 /// Source describes a range of characters within a source file. 99 /// @param loc the start and end location for the range 104 /// @param b the range start location 105 /// @param e the range end location 116 /// Returns true of `this` range is not equal to `rhs` 117 /// @param rhs range to compare against 123 /// Returns true of `this` range is equal to `rhs` 124 /// @param rhs range to compare against 128 /// The location of the first character in the range. 130 /// The location of one-past the last character in the range 202 Range range; global() member in tint::Source 223 operator <<(std::ostream& out, const Source::Range& range) operator <<() argument [all...] |
/third_party/python/Lib/ctypes/test/ |
H A D | test_slicing.py | 9 a = (c_int * 100)(*range(1100, 1200)) 10 b = list(range(1100, 1200)) 24 a[0:5] = range(5, 10) 25 self.assertEqual(a[0:5], list(range(5, 10))) 26 self.assertEqual(a[0:5:], list(range(5, 10))) 27 self.assertEqual(a[4::-1], list(range(9, 4, -1))) 30 a = (c_int * 100)(*range(1100, 1200)) 31 b = list(range(1100, 1200)) 33 a[32:47] = list(range(32, 47)) 34 self.assertEqual(a[32:47], list(range(3 [all...] |
/third_party/python/Lib/test/ |
H A D | test_pow.py | 8 for i in range(-1000, 1000): 14 for i in range(-100, 100): 18 for i in range(0, 31): 22 for i in list(range(-10, 0)) + list(range(1, 10)): 25 for jj in range(-10, 0): 29 for i in range(1, 100): 47 for i in range(il, ih+1): 48 for j in range(jl, jh+1): 49 for k in range(k [all...] |
H A D | test_iter.py | 131 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 151 self.check_iterator(iter(range(10)), list(range(10))) 155 seq = list(range(10)) 162 self.check_for_loop(iter(range(10)), list(range(10))) 166 seq = range(3) 176 seq = range(3) 183 seq = range(3) 189 self.check_for_loop(IteratingSequenceClass(10), list(range(1 [all...] |
H A D | test_deque.py | 33 d = deque(range(-5125, -5000)) 34 d.__init__(range(200)) 35 for i in range(200, 400): 37 for i in reversed(range(-200, 0)): 39 self.assertEqual(list(d), list(range(-200, 400))) 42 left = [d.popleft() for i in range(250)] 43 self.assertEqual(left, list(range(-200, 50))) 44 self.assertEqual(list(d), list(range(50, 400))) 46 right = [d.pop() for i in range(250)] 48 self.assertEqual(right, list(range(15 [all...] |
/third_party/backends/backend/ |
H A D | coolscan3.c | 398 SANE_Range *range = NULL; in sane_open() local 431 o.constraint.range = NULL; /* only one union member needs to be NULLed */ in sane_open() 484 range = (SANE_Range *) cs3_xmalloc (sizeof (SANE_Range)); in sane_open() 485 if (! range) in sane_open() 489 range->min = 1; in sane_open() 490 range->max = 16; in sane_open() 491 range->quant = 1; in sane_open() 492 o.constraint.range = range; in sane_open() 526 range in sane_open() [all...] |
H A D | coolscan2.c | 445 SANE_Range *range = NULL; in sane_open() local 475 o.constraint.range = NULL; /* only one union member needs to be NULLed */ in sane_open() 526 range = (SANE_Range *) cs2_xmalloc (sizeof (SANE_Range)); in sane_open() 527 if (! range) in sane_open() 531 range->min = 1; in sane_open() 532 range->max = 16; in sane_open() 533 range->quant = 1; in sane_open() 534 o.constraint.range = range; in sane_open() 566 range in sane_open() [all...] |
/third_party/musl/Benchmark/musl/ |
H A D | libc_math.cpp | 75 long double x = DIVIDEND_VALUES[state.range(0)]; in Bm_function_Fmodl() 76 long double y = DIVISOR_VALUES[state.range(0)]; in Bm_function_Fmodl() 84 float x = DIVIDEND_VALUES[state.range(0)]; in Bm_function_Fmodf() 85 float y = DIVISOR_VALUES[state.range(0)]; in Bm_function_Fmodf() 93 double x = DOUBLE_VALUES[state.range(0)]; in Bm_function_Exp() 102 double x = DOUBLE_VALUES[state.range(0)]; in Bm_function_Log() 111 double x = COSSIN_VALUES[state.range(0)]; in Bm_function_Cos() 121 long double x = DIVIDEND_VALUES[state.range(0)]; in Bm_function_Frexpl() 262 double x = (double)DIVIDEND_VALUES[state.range(0)]; in Bm_function_Fmod() 263 double y = (double)DIVISOR_VALUES[state.range( in Bm_function_Fmod() [all...] |
/third_party/mesa3d/src/util/ |
H A D | format_srgb.py | 61 for j in range(0, 256, 4): 63 print(' '.join(['%.7ef,' % srgb_to_linear(i / 255.0) for i in range(j, j + 4)])) 68 for j in range(0, 256, 16): 70 print(' '.join(['%3u,' % int(srgb_to_linear(i / 255.0) * 255.0 + 0.5) for i in range(j, j + 16)])) 75 for j in range(0, 256, 16): 77 print(' '.join(['%3u,' % int(linear_to_srgb(i / 255.0) * 255.0 + 0.5) for i in range(j, j + 16)])) 94 for i in range(0, bucketsize): 100 for bucket in range(0, nbuckets): 105 for i in range(0, bucketsize): 127 for j in range( [all...] |
/third_party/benchmark/bindings/python/google_benchmark/ |
H A D | example.py | 39 sum(range(1_000_000)) 47 random_list = [random.randint(0, 100) for _ in range(100)] 100 sum(range(1_000_000)) 107 sum(range(1_000_000)) 115 sum(range(state.range(0))) 119 @benchmark.option.range(8, limit=8 << 10) 122 sum(range(state.range(0))) 127 @benchmark.option.range( [all...] |
/third_party/skia/src/ports/skia_ohos/ |
H A D | FontInfo_ohos.h | 35 axisSet.range = font.axisSet.range; in FontInfo() 49 axisSet.range = std::move(font.axisSet.range); in FontInfo() 88 axisSet.range = font.axisSet.range; in operator =() 109 axisSet.range = std::move(font.axisSet.range); in operator =() 119 * \param range an array of AxisDefinition 122 const SkTypeface_FreeType::Scanner::AxisDefinition* range) in setAxisSet() 159 std::vector<SkTypeface_FreeType::Scanner::AxisDefinition> range; // the axis ranges global() member [all...] |
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
H A D | parser_impl_test.cc | 137 EXPECT_EQ(7u, s5.range.begin.line); in TEST_F() 138 EXPECT_EQ(0u, s5.range.begin.column); in TEST_F() 140 EXPECT_EQ(8u, s60.range.begin.line); in TEST_F() 141 EXPECT_EQ(0u, s60.range.begin.column); in TEST_F() 143 EXPECT_EQ(10u, s1.range.begin.line); in TEST_F() 144 EXPECT_EQ(0u, s1.range.begin.column); in TEST_F() 170 EXPECT_EQ(42u, s5.range.begin.line); in TEST_F() 171 EXPECT_EQ(53u, s5.range.begin.column); in TEST_F() 173 EXPECT_EQ(42u, s60.range.begin.line); in TEST_F() 174 EXPECT_EQ(53u, s60.range in TEST_F() [all...] |
/third_party/benchmark/test/ |
H A D | multiple_ranges_test.cc | 32 std::vector<int64_t> ranges = {state.range(0), state.range(1), 33 state.range(2)}; 69 int64_t product = state.range(0) * state.range(1) * state.range(2); in BENCHMARK_DEFINE_F() 82 // Test that the 'range()' without an argument is the same as 'range(0)'. in BM_CheckDefaultArgument() 83 assert(state.range() == state.range( in BM_CheckDefaultArgument() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/util/ |
H A D | UnicodeMapIterator.java | 70 * iteration range, if <tt>codepoint != IS_STRING</tt>. If 85 * The value associated with this element or range. 129 while (range < endRange) { in next() 130 if (loadRange(++range) == null) { in next() 147 * Returns the next element in the set, either a code point range 151 * range of one or more code points from <tt>codepoint</tt> to 172 while (range < endRange) { in nextRange() 173 if (loadRange(++range) == null) { in nextRange() 209 // we set them to fail this test, which will cause them to load the first range in reset() 212 range in reset() 238 private int range = 0; global() field in UnicodeMapIterator 247 loadRange(int range) loadRange() argument [all...] |