Home
last modified time | relevance | path

Searched refs:range (Results 101 - 125 of 2479) sorted by relevance

12345678910>>...100

/third_party/skia/third_party/externals/tint/src/ast/
H A Dstruct_member_test.cc30 EXPECT_EQ(st->source.range.begin.line, 0u); in TEST_F()
31 EXPECT_EQ(st->source.range.begin.column, 0u); in TEST_F()
32 EXPECT_EQ(st->source.range.end.line, 0u); in TEST_F()
33 EXPECT_EQ(st->source.range.end.column, 0u); in TEST_F()
43 EXPECT_EQ(st->source.range.begin.line, 27u); in TEST_F()
44 EXPECT_EQ(st->source.range.begin.column, 4u); in TEST_F()
45 EXPECT_EQ(st->source.range.end.line, 27u); in TEST_F()
46 EXPECT_EQ(st->source.range.end.column, 8u); in TEST_F()
/base/print/print_fwk/frameworks/helper/print_helper/src/
H A Dprint_range_helper.cpp26 napi_value PrintRangeHelper::MakeJsObject(napi_env env, const PrintRange &range) in MakeJsObject() argument
30 if (range.HasStartPage()) { in MakeJsObject()
31 NapiPrintUtils::SetUint32Property(env, jsObj, PARAM_RANGE_STARTPAGE, range.GetStartPage()); in MakeJsObject()
33 if (range.HasEndPage()) { in MakeJsObject()
34 NapiPrintUtils::SetUint32Property(env, jsObj, PARAM_RANGE_ENDPAGE, range.GetEndPage()); in MakeJsObject()
37 if (range.HasPages()) { in MakeJsObject()
39 range.GetPages(pages); in MakeJsObject()
40 if (range.GetStartPage() == 0 && range.GetEndPage() == 0 && pages.size() > 0) { in MakeJsObject()
60 PRINT_HILOGE("Invalid property of print range"); in BuildFromJs()
[all...]
/third_party/node/lib/internal/test_runner/
H A Dcoverage.js163 const range = ranges[k];
165 mapRangeToLines(range, lines);
168 if (range.count !== 0 ||
169 range.ignoredLines === range.lines.length) {
178 const range = ranges[0];
180 if (range.count !== 0 || range.ignoredLines === range.lines.length) {
304 function mapRangeToLines(range, line
[all...]
/third_party/node/deps/v8/src/compiler/backend/
H A Dspill-placer.cc24 void SpillPlacer::Add(TopLevelLiveRange* range) { in Add() argument
25 DCHECK(range->HasGeneralSpillRange()); in Add()
26 InstructionOperand spill_operand = range->GetSpillRangeOperand(); in Add()
27 range->FilterSpillMoves(data(), spill_operand); in Add()
31 code->GetInstructionBlock(range->Start().ToInstructionIndex()); in Add()
46 if (range->GetSpillMoveInsertionLocations(data()) == nullptr || in Add()
47 range->spilled() || top_start_block->IsDeferred() || in Add()
48 (!FLAG_stress_turbo_late_spilling && !range->is_loop_phi())) { in Add()
49 range->CommitSpillMoves(data(), spill_operand); in Add()
53 // Iterate through the range an in Add()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DSubresourceStorage.h32 // can act on a whole range of subresources at once if they have the same state.
36 // texture while a small minority will select a sub-range. We want to optimize the common case
50 // subresources.Iterate([](const SubresourceRange& range, const T& data) {
51 // // Do something with the knowledge that all the subresources in `range` have value
124 // arguments of type (const SubresourceRange& range, const T& data) and returns void,
129 // subresources.Iterate([&](const SubresourceRange& range, const T& data) {
130 // // Do something with range and data.
136 // arguments of type (const SubresourceRange& range, T* data) and returns void,
137 // calls it with ranges that in aggregate form `range` and pass for each of the
138 // sub-ranges a pointer to modify the value for that sub-range
241 Update(const SubresourceRange& range, F&& updateFunc) Update() argument
363 SubresourceRange range = Iterate() local
372 SubresourceRange range = GetFullLayerRange(aspect, layer); Iterate() local
379 SubresourceRange range = SubresourceRange::MakeSingle(aspect, layer, level); Iterate() local
[all...]
/third_party/skia/third_party/externals/angle2/src/common/
H A DFloat16ToFloat32.py32 elif i in range(1, 31):
38 elif i in range(33, 63):
64 for i in range(0, 2048):
69 for i in range(0, 64):
74 for i in range(0, 64):
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_meta_clear.c50 nir_load_push_constant(&fs_b, 4, 32, nir_imm_int(&fs_b, 0), .range = 16); in build_color_shaders()
407 nir_load_push_constant(&fs_b, 1, 32, nir_imm_int(&fs_b, 0), .range = 4); in build_depthstencil_shader()
416 z = nir_load_push_constant(&vs_b, 1, 32, nir_imm_int(&vs_b, 0), .range = 4); in build_depthstencil_shader()
707 .range = size}}}); in clear_htile_mask()
881 VkImageSubresourceRange range = { in radv_fast_clear_depth() local
889 flush_bits = radv_clear_htile(cmd_buffer, iview->image, &range, clear_word); in radv_fast_clear_depth()
920 nir_ssa_def *constants = nir_load_push_constant(&b, 2, 32, nir_imm_int(&b, 0), .range = 8); in build_clear_htile_mask_shader()
1017 nir_ssa_def *dcc_block_size = nir_load_push_constant(&b, 2, 32, nir_imm_int(&b, 0), .range = 8); in build_clear_dcc_comp_to_single_shader()
1032 nir_ssa_def *clear_values = nir_load_push_constant(&b, 2, 32, nir_imm_int(&b, 8), .range = 8); in build_clear_dcc_comp_to_single_shader()
1260 const VkImageSubresourceRange *range, uint32_ in radv_clear_cmask()
1259 radv_clear_cmask(struct radv_cmd_buffer *cmd_buffer, struct radv_image *image, const VkImageSubresourceRange *range, uint32_t value) radv_clear_cmask() argument
1280 radv_clear_fmask(struct radv_cmd_buffer *cmd_buffer, struct radv_image *image, const VkImageSubresourceRange *range, uint32_t value) radv_clear_fmask() argument
1298 radv_clear_dcc(struct radv_cmd_buffer *cmd_buffer, struct radv_image *image, const VkImageSubresourceRange *range, uint32_t value) radv_clear_dcc() argument
1350 radv_clear_dcc_comp_to_single(struct radv_cmd_buffer *cmd_buffer, struct radv_image *image, const VkImageSubresourceRange *range, uint32_t color_values[2]) radv_clear_dcc_comp_to_single() argument
1463 radv_clear_htile(struct radv_cmd_buffer *cmd_buffer, const struct radv_image *image, const VkImageSubresourceRange *range, uint32_t value) radv_clear_htile() argument
1793 VkImageSubresourceRange range = { radv_fast_clear_color() local
2053 radv_clear_image_layer(struct radv_cmd_buffer *cmd_buffer, struct radv_image *image, VkImageLayout image_layout, const VkImageSubresourceRange *range, VkFormat format, int level, unsigned layer_count, const VkClearValue *clear_val) radv_clear_image_layer() argument
2150 radv_fast_clear_range(struct radv_cmd_buffer *cmd_buffer, struct radv_image *image, VkFormat format, VkImageLayout image_layout, bool in_render_loop, const VkImageSubresourceRange *range, const VkClearValue *clear_val) radv_fast_clear_range() argument
2241 const VkImageSubresourceRange *range = &ranges[r]; radv_cmd_clear_image() local
2262 const VkImageSubresourceRange *range = &ranges[r]; radv_cmd_clear_image() local
[all...]
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
H A Dcommands.c162 static int get_range(char *args, range_t * range, char **nextarg) in get_range() argument
169 range->offset = get_scaled_value(args, "offset"); in get_range()
170 if (range->offset == BOGUS_SIZE) in get_range()
180 range->length = in get_range()
182 if (range->length == BOGUS_SIZE) in get_range()
185 range->length = 0; /* map to end of file */ in get_range()
674 range_t range = { 0L, 0L }; in anon_seg() local
687 range.length = get_scaled_value(args, "size"); in anon_seg()
688 if (range.length == BOGUS_SIZE) in anon_seg()
698 if (!segment_register(SEGT_ANON, segname, &range, segfla in anon_seg()
712 range_t range = { 0L, 0L }; file_seg() local
833 range_t range = { 0L, 0L }; touch_seg() local
887 range_t range = { 0L, 0L }; map_seg() local
927 range_t range = { 0L, 0L }; mbind_seg() local
990 range_t range = { 0L, 0L }; shmem_seg() local
1027 range_t range = { 0L, 0L }; where_seg() local
[all...]
/third_party/mesa3d/src/compiler/nir/
H A Dnir_search_helpers.h510 (v.range == lt_zero || v.range == gt_zero || v.range == ne_zero); in is_finite_not_zero()
521 return v.range == r; \
530 return v.is_a_number && v.range == r; \
544 return v.range == ge_zero || v.range == gt_zero || v.range == eq_zero; in is_not_negative()
554 (v.range == ge_zero || v.range in is_a_number_not_negative()
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
H A Dir3_const.h101 for (uint32_t i = 0; i < ARRAY_SIZE(state->range); i++) { in ir3_user_consts_size()
102 if (state->range[i].start < state->range[i].end) { in ir3_user_consts_size()
103 *size += state->range[i].end - state->range[i].start; in ir3_user_consts_size()
122 unsigned ubo = state->range[i].ubo.block; in ir3_emit_constant_data()
126 uint32_t size = state->range[i].end - state->range[i].start; in ir3_emit_constant_data()
131 if (16 * v->constlen <= state->range[i].offset) in ir3_emit_constant_data()
137 size = MIN2(size, (16 * v->constlen) - state->range[ in ir3_emit_constant_data()
[all...]
/third_party/lzma/C/
H A DBcj2.c22 p->range = 0; in Bcj2Dec_Init()
32 if (p->range <= 5) in Bcj2Dec_Decode()
36 for (; p->range != 5; p->range++) in Bcj2Dec_Decode()
38 if (p->range == 1 && code != 0) in Bcj2Dec_Decode()
50 p->range = 0xffffffff; in Bcj2Dec_Decode()
98 if (p->range < kTopValue) in Bcj2Dec_Decode()
106 p->range <<= 8; in Bcj2Dec_Decode()
222 bound = (p->range >> kNumBitModelTotalBits) * ttt; in Bcj2Dec_Decode()
226 p->range in Bcj2Dec_Decode()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dnumbers_benchmark.cc31 const int inc = state.range(0); in BM_FastIntToBuffer()
54 const int digits = state.range(0); in BM_safe_strto32_string()
55 const int base = state.range(1); in BM_safe_strto32_string()
81 const int digits = state.range(0); in BM_safe_strto64_string()
82 const int base = state.range(1); in BM_safe_strto64_string()
109 const int digits = state.range(0); in BM_safe_strtou32_string()
110 const int base = state.range(1); in BM_safe_strtou32_string()
136 const int digits = state.range(0); in BM_safe_strtou64_string()
137 const int base = state.range(1); in BM_safe_strtou64_string()
207 const int num_strings = state.range( in BM_SimpleAtof()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dmss3.c65 uint32_t range, low; member
287 c->range = 0xFFFFFFFF; in rac_init()
294 c->range <<= 8; in rac_normalise()
302 if (c->low > c->range) { in rac_normalise()
306 if (c->range >= RAC_BOTTOM) in rac_normalise()
315 c->range >>= 1; in rac_get_bit()
317 bit = (c->range <= c->low); in rac_get_bit()
319 c->low -= c->range; in rac_get_bit()
321 if (c->range < RAC_BOTTOM) in rac_get_bit()
331 c->range >> in rac_get_bits()
[all...]
/third_party/python/Lib/test/
H A Dtest_heapq.py55 for i in range(256):
86 for size in list(range(30)) + [20000]:
87 heap = [random.random() for dummy in range(size)]
94 data = [random.randrange(2000) for i in range(1000)]
117 data = [random.randrange(2000) for i in range(1000)]
130 data = [random.randrange(2000) for i in range(1000)]
166 for trial in range(100):
168 data = [random.randrange(25) for i in range(size)]
176 heap_sorted = [self.module.heappop(heap) for i in range(size)]
181 for i in range(rando
[all...]
/third_party/icu/icu4c/source/common/
H A Dusetiter.cpp55 if (range < endRange) { in next()
56 loadRange(++range); in next()
71 * else the value is a range of codepoints in the <codepoint, codepointEnd> fields.
87 if (range < endRange) { in nextRange()
88 loadRange(++range); in nextRange()
121 range = 0; in reset()
125 loadRange(range); in reset()
/third_party/node/deps/icu-small/source/common/
H A Dusetiter.cpp55 if (range < endRange) { in next()
56 loadRange(++range); in next()
71 * else the value is a range of codepoints in the <codepoint, codepointEnd> fields.
87 if (range < endRange) { in nextRange()
88 loadRange(++range); in nextRange()
121 range = 0; in reset()
125 loadRange(range); in reset()
/third_party/node/deps/v8/src/interpreter/
H A Dblock-coverage-builder.h17 // Used to generate IncBlockCounter bytecodes and the {source range, slot}
36 SourceRange range = ranges->GetRange(kind); in AllocateBlockCoverageSlot()
37 if (range.IsEmpty()) return kNoCoverageArraySlot; in AllocateBlockCoverageSlot()
40 slots_.emplace_back(range); in AllocateBlockCoverageSlot()
49 SourceRange range = ranges->GetRangeAtIndex(index); in AllocateNaryBlockCoverageSlot()
50 if (range.IsEmpty()) return kNoCoverageArraySlot; in AllocateNaryBlockCoverageSlot()
53 slots_.emplace_back(range); in AllocateNaryBlockCoverageSlot()
70 // Contains source range information for allocated block coverage counter
71 // slots. Slot i covers range slots_[i].
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
H A Dtoken_test.cc66 src.range.begin = Source::Location{3, 9}; in TEST_F()
67 src.range.end = Source::Location{4, 3}; in TEST_F()
70 EXPECT_EQ(t.source().range.begin.line, 3u); in TEST_F()
71 EXPECT_EQ(t.source().range.begin.column, 9u); in TEST_F()
72 EXPECT_EQ(t.source().range.end.line, 4u); in TEST_F()
73 EXPECT_EQ(t.source().range.end.column, 3u); in TEST_F()
H A Dparser_impl_variable_decl_test.cc32 EXPECT_EQ(v->source.range, (Source::Range{{1u, 5u}, {1u, 11u}})); in TEST_F()
33 EXPECT_EQ(v->type->source.range, (Source::Range{{1u, 14u}, {1u, 17u}})); in TEST_F()
45 EXPECT_EQ(v->source.range, (Source::Range{{1u, 5u}, {1u, 11u}})); in TEST_F()
78 EXPECT_EQ(v->source.range.begin.line, 1u); in TEST_F()
79 EXPECT_EQ(v->source.range.begin.column, 14u); in TEST_F()
80 EXPECT_EQ(v->source.range.end.line, 1u); in TEST_F()
81 EXPECT_EQ(v->source.range.end.column, 20u); in TEST_F()
/third_party/skia/tools/skpbench/
H A D_hardware_pixel2.py42 done''' % tuple(CPU_CLOCK_RATE for _ in range(3)),
62 tuple(MEM_CLOCK_RATE for _ in range(8)),
69 tuple(GPU_CLOCK_RATE for _ in range(2)),
75 tuple(GPU_POWER_LEVEL for _ in range(2))]))
95 for i in range(4, 7)] + \
111 for i in range(4, 7)] + \
/third_party/skia/third_party/externals/icu/source/common/
H A Dusetiter.cpp55 if (range < endRange) { in next()
56 loadRange(++range); in next()
71 * else the value is a range of codepoints in the <codepoint, codepointEnd> fields.
87 if (range < endRange) { in nextRange()
88 loadRange(++range); in nextRange()
121 range = 0; in reset()
125 loadRange(range); in reset()
/third_party/node/deps/v8/src/compiler/
H A Dgraph-visualizer.cc435 void PrintLiveRange(const LiveRange* range, const char* type, int vreg);
436 void PrintLiveRangeChain(const TopLevelLiveRange* range, const char* type);
706 for (const TopLevelLiveRange* range : data->fixed_double_live_ranges()) { in PrintLiveRanges()
707 PrintLiveRangeChain(range, "fixed"); in PrintLiveRanges()
710 for (const TopLevelLiveRange* range : data->fixed_live_ranges()) { in PrintLiveRanges()
711 PrintLiveRangeChain(range, "fixed"); in PrintLiveRanges()
714 for (const TopLevelLiveRange* range : data->live_ranges()) { in PrintLiveRanges()
715 PrintLiveRangeChain(range, "object"); in PrintLiveRanges()
719 void GraphC1Visualizer::PrintLiveRangeChain(const TopLevelLiveRange* range, in PrintLiveRangeChain() argument
721 if (range in PrintLiveRangeChain()
729 PrintLiveRange(const LiveRange* range, const char* type, int vreg) PrintLiveRange() argument
960 const LiveRange& range = live_range_json.range_; operator <<() local
[all...]
/third_party/lzma/CS/7zip/Compress/RangeCoder/
H A DRangeCoder.cs184 uint range = Range; in DecodeDirectBits()
189 range >>= 1; in DecodeDirectBits()
192 if (code >= range) in DecodeDirectBits()
194 code -= range; in DecodeDirectBits()
198 uint t = (code - range) >> 31; in DecodeDirectBits()
199 code -= range & (t - 1); in DecodeDirectBits()
202 if (range < kTopValue) in DecodeDirectBits()
205 range <<= 8; in DecodeDirectBits()
208 Range = range; in DecodeDirectBits()
/third_party/rust/crates/codespan/codespan-reporting/examples/
H A Dreusable_diagnostic.rs64 Label::primary((), right.range.clone()).with_message(format!( in report()
68 Label::secondary((), left.range.clone()).with_message("expected due to this"), in report()
77 Label::secondary((), original.range.clone()).with_message(unindent::unindent( in report()
86 Label::primary((), mutating.range.clone()) in report()
96 range: Range<usize>,
101 fn new(range: Range<usize>, content: impl Into<String>) -> Item { in new()
103 Item { range, content } in new()
/third_party/python/Modules/_decimal/libmpdec/literature/
H A Dfnt.py114 for i in range(3):
154 for i in range(3):
176 for i in range(d):
178 for j in range(d):
185 for j in range(d):
187 for i in range(d):
197 for i in range(len(a)):

Completed in 18 milliseconds

12345678910>>...100