/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_private.h | 1757 const VkImageSubresourceRange *range, bool value); 1760 const VkImageSubresourceRange *range, bool value); 2310 unsigned context_states_per_bin; /* allowed range: [1, 6] */ 2311 unsigned persistent_states_per_bin; /* allowed range: [1, 32] */ 2312 unsigned fpovs_per_batch; /* allowed range: [0, 255], 0 = unlimited */ 2644 radv_get_layerCount(const struct radv_image *image, const VkImageSubresourceRange *range) 2646 return range->layerCount == VK_REMAINING_ARRAY_LAYERS 2647 ? image->info.array_size - range->baseArrayLayer 2648 : range->layerCount; 2652 radv_get_levelCount(const struct radv_image *image, const VkImageSubresourceRange *range) [all...] |
/third_party/skia/src/gpu/vk/ |
H A D | GrVkGpu.cpp | 1190 auto& range = ranges.push_back(); in onCreateTexture() local 1191 range.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in onCreateTexture() 1192 range.baseArrayLayer = 0; in onCreateTexture() 1193 range.baseMipLevel = i; in onCreateTexture() 1194 range.layerCount = 1; in onCreateTexture() 1195 range.levelCount = 1; in onCreateTexture() 1786 VkImageSubresourceRange range; in onClearBackendTexture() local 1787 range.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in onClearBackendTexture() 1788 range.baseArrayLayer = 0; in onClearBackendTexture() 1789 range in onClearBackendTexture() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | textpicker_model_ng.cpp | 252 for (auto& range : value) { 253 rangeValue_.emplace_back(std::move(range)); 916 for (auto& range : value) { 917 rangeValue_.emplace_back(std::move(range)); 1011 [&value](const NG::RangeContent& range) { return range.text_ == value; }); 1095 for (auto range : rangeValue_) { 1096 result.append(range.text_ + ";"); 1103 for (auto range : option.rangeResult) { 1104 result.append(range [all...] |
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
H A D | route_manager.cpp | 355 for (auto range : uidRanges) { in UpdateVirtualNetwork() 357 ret += UpdateVpnUidRangeRule(table, range.begin_, range.end_, add); in UpdateVirtualNetwork() 358 ret += UpdateExplicitNetworkRuleWithUid(netId, table, PERMISSION_NONE, range.begin_, range.end_, add); in UpdateVirtualNetwork() 359 ret += UpdateOutputInterfaceRulesWithUid(interfaceName, table, PERMISSION_NONE, range.begin_, range.end_, add); in UpdateVirtualNetwork() 367 for (const auto &range : uidRanges) { in UpdateVnicUidRangesRule() 380 ret += UpdateRuleInfo(add ? RTM_NEWRULE : RTM_DELRULE, FR_ACT_TO_TBL, ruleInfo, range.begin_, range in UpdateVnicUidRangesRule() [all...] |
/kernel/linux/linux-5.10/drivers/misc/cxl/ |
H A D | native.c | 645 ctx->elem->ivte_ranges[r] = cpu_to_be16(ctx->irqs.range[r]); in update_ivtes_directed() 706 if (ctx->irqs.range[0] == 0) { in process_element_entry_psl9() 708 ctx->irqs.range[0] = 1; in process_element_entry_psl9() 769 if (ctx->irqs.range[0] == 0) { in cxl_attach_afu_directed_psl8() 771 ctx->irqs.range[0] = 1; in cxl_attach_afu_directed_psl8() 884 ctx->elem->ivte_ranges[r] = cpu_to_be16(ctx->irqs.range[r]); in cxl_update_dedicated_ivtes_psl9() 898 (((u64)ctx->irqs.range[0] & 0xffff) << 48) | in cxl_update_dedicated_ivtes_psl8() 899 (((u64)ctx->irqs.range[1] & 0xffff) << 32) | in cxl_update_dedicated_ivtes_psl8() 900 (((u64)ctx->irqs.range[2] & 0xffff) << 16) | in cxl_update_dedicated_ivtes_psl8() 901 ((u64)ctx->irqs.range[ in cxl_update_dedicated_ivtes_psl8() [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | lm85.c | 174 /* These are the zone temperature range encodings in .001 degree C */ 180 static int RANGE_TO_REG(long range) in RANGE_TO_REG() argument 182 return find_closest(range, lm85_range_map, ARRAY_SIZE(lm85_range_map)); in RANGE_TO_REG() 267 u8 range; /* Temp range, encoded */ member 511 data->zone[i].range = val >> 4; in lm85_update_device() 820 (data->zone[nr].range << 4) in pwm_freq_store() 1198 data->zone[nr].range = RANGE_TO_REG( in temp_auto_temp_min_store() 1202 ((data->zone[nr].range & 0x0f) << 4) in temp_auto_temp_min_store() 1216 RANGE_FROM_REG(data->zone[nr].range)); in temp_auto_temp_max_show() [all...] |
/kernel/linux/linux-5.10/sound/soc/ti/ |
H A D | davinci-mcasp.c | 1354 struct snd_interval range; in davinci_mcasp_hw_rule_rate() local 1360 snd_interval_any(&range); in davinci_mcasp_hw_rule_rate() 1361 range.empty = 1; in davinci_mcasp_hw_rule_rate() 1379 if (range.empty) { in davinci_mcasp_hw_rule_rate() 1380 range.min = davinci_mcasp_dai_rates[i]; in davinci_mcasp_hw_rule_rate() 1381 range.empty = 0; in davinci_mcasp_hw_rule_rate() 1383 range.max = davinci_mcasp_dai_rates[i]; in davinci_mcasp_hw_rule_rate() 1390 ri->min, ri->max, range.min, range.max, sbits, slots); in davinci_mcasp_hw_rule_rate() 1393 &range); in davinci_mcasp_hw_rule_rate() [all...] |
/kernel/linux/linux-6.6/drivers/misc/cxl/ |
H A D | native.c | 641 ctx->elem->ivte_ranges[r] = cpu_to_be16(ctx->irqs.range[r]); in update_ivtes_directed() 702 if (ctx->irqs.range[0] == 0) { in process_element_entry_psl9() 704 ctx->irqs.range[0] = 1; in process_element_entry_psl9() 765 if (ctx->irqs.range[0] == 0) { in cxl_attach_afu_directed_psl8() 767 ctx->irqs.range[0] = 1; in cxl_attach_afu_directed_psl8() 880 ctx->elem->ivte_ranges[r] = cpu_to_be16(ctx->irqs.range[r]); in cxl_update_dedicated_ivtes_psl9() 894 (((u64)ctx->irqs.range[0] & 0xffff) << 48) | in cxl_update_dedicated_ivtes_psl8() 895 (((u64)ctx->irqs.range[1] & 0xffff) << 32) | in cxl_update_dedicated_ivtes_psl8() 896 (((u64)ctx->irqs.range[2] & 0xffff) << 16) | in cxl_update_dedicated_ivtes_psl8() 897 ((u64)ctx->irqs.range[ in cxl_update_dedicated_ivtes_psl8() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ttm.c | 173 * @mm_cur: range to map 661 struct hmm_range **range) in amdgpu_ttm_tt_get_user_pages() 672 *range = NULL; in amdgpu_ttm_tt_get_user_pages() 697 readonly, NULL, pages, range); in amdgpu_ttm_tt_get_user_pages() 708 /* amdgpu_ttm_tt_discard_user_pages - Discard range and pfn array allocations 711 struct hmm_range *range) in amdgpu_ttm_tt_discard_user_pages() 715 if (gtt && gtt->userptr && range) in amdgpu_ttm_tt_discard_user_pages() 716 amdgpu_hmm_range_get_pages_done(range); in amdgpu_ttm_tt_discard_user_pages() 721 * Check if the pages backing this ttm range have been invalidated 726 struct hmm_range *range) in amdgpu_ttm_tt_get_user_pages_done() 660 amdgpu_ttm_tt_get_user_pages(struct amdgpu_bo *bo, struct page **pages, struct hmm_range **range) amdgpu_ttm_tt_get_user_pages() argument 710 amdgpu_ttm_tt_discard_user_pages(struct ttm_tt *ttm, struct hmm_range *range) amdgpu_ttm_tt_discard_user_pages() argument 725 amdgpu_ttm_tt_get_user_pages_done(struct ttm_tt *ttm, struct hmm_range *range) amdgpu_ttm_tt_get_user_pages_done() argument [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | lm85.c | 174 /* These are the zone temperature range encodings in .001 degree C */ 180 static int RANGE_TO_REG(long range) in RANGE_TO_REG() argument 182 return find_closest(range, lm85_range_map, ARRAY_SIZE(lm85_range_map)); in RANGE_TO_REG() 267 u8 range; /* Temp range, encoded */ member 511 data->zone[i].range = val >> 4; in lm85_update_device() 820 (data->zone[nr].range << 4) in pwm_freq_store() 1198 data->zone[nr].range = RANGE_TO_REG( in temp_auto_temp_min_store() 1202 ((data->zone[nr].range & 0x0f) << 4) in temp_auto_temp_min_store() 1216 RANGE_FROM_REG(data->zone[nr].range)); in temp_auto_temp_max_show() [all...] |
/kernel/linux/linux-6.6/sound/soc/ti/ |
H A D | davinci-mcasp.c | 1386 struct snd_interval range; in davinci_mcasp_hw_rule_rate() local 1392 snd_interval_any(&range); in davinci_mcasp_hw_rule_rate() 1393 range.empty = 1; in davinci_mcasp_hw_rule_rate() 1411 if (range.empty) { in davinci_mcasp_hw_rule_rate() 1412 range.min = davinci_mcasp_dai_rates[i]; in davinci_mcasp_hw_rule_rate() 1413 range.empty = 0; in davinci_mcasp_hw_rule_rate() 1415 range.max = davinci_mcasp_dai_rates[i]; in davinci_mcasp_hw_rule_rate() 1422 ri->min, ri->max, range.min, range.max, sbits, slots); in davinci_mcasp_hw_rule_rate() 1425 &range); in davinci_mcasp_hw_rule_rate() [all...] |
/third_party/backends/backend/ |
H A D | teco1.c | 104 /* Gamma range */ 1088 dev->opt[OPT_RESOLUTION].constraint.range = &dev->def->res_range; in teco_init_options() 1106 dev->opt[OPT_TL_X].constraint.range = &x_range; in teco_init_options() 1116 dev->opt[OPT_TL_Y].constraint.range = &y_range; in teco_init_options() 1126 dev->opt[OPT_BR_X].constraint.range = &x_range; in teco_init_options() 1136 dev->opt[OPT_BR_Y].constraint.range = &y_range; in teco_init_options() 1175 dev->opt[OPT_GAMMA_VECTOR_R].constraint.range = &gamma_range; in teco_init_options() 1187 dev->opt[OPT_GAMMA_VECTOR_G].constraint.range = &gamma_range; in teco_init_options() 1199 dev->opt[OPT_GAMMA_VECTOR_B].constraint.range = &gamma_range; in teco_init_options() 1211 dev->opt[OPT_GAMMA_VECTOR_GRAY].constraint.range in teco_init_options() [all...] |
H A D | mustek_usb.c | 283 s->opt[OPT_RESOLUTION].constraint.range = &s->hw->dpi_range; in init_options() 313 s->opt[OPT_TL_X].constraint.range = &s->hw->x_range; in init_options() 323 s->opt[OPT_TL_Y].constraint.range = &s->hw->y_range; in init_options() 333 s->opt[OPT_BR_X].constraint.range = &s->hw->x_range; in init_options() 343 s->opt[OPT_BR_Y].constraint.range = &s->hw->y_range; in init_options() 361 s->opt[OPT_THRESHOLD].constraint.range = &u8_range; in init_options() 381 s->opt[OPT_GAMMA_VECTOR].constraint.range = &u8_range; in init_options() 393 s->opt[OPT_GAMMA_VECTOR_R].constraint.range = &u8_range; in init_options() 405 s->opt[OPT_GAMMA_VECTOR_G].constraint.range = &u8_range; in init_options() 417 s->opt[OPT_GAMMA_VECTOR_B].constraint.range in init_options() [all...] |
H A D | teco3.c | 96 /* Gamma range */ 146 {1, 1200, 1}, /* resolution range */ 913 dev->opt[OPT_RESOLUTION].constraint.range = &dev->def->res_range; in teco_init_options() 931 dev->opt[OPT_TL_X].constraint.range = &x_range; in teco_init_options() 941 dev->opt[OPT_TL_Y].constraint.range = &y_range; in teco_init_options() 951 dev->opt[OPT_BR_X].constraint.range = &x_range; in teco_init_options() 961 dev->opt[OPT_BR_Y].constraint.range = &y_range; in teco_init_options() 1000 dev->opt[OPT_GAMMA_VECTOR_R].constraint.range = &gamma_range; in teco_init_options() 1012 dev->opt[OPT_GAMMA_VECTOR_G].constraint.range = &gamma_range; in teco_init_options() 1024 dev->opt[OPT_GAMMA_VECTOR_B].constraint.range in teco_init_options() [all...] |
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_descriptor_set.c | 360 const VkPushConstantRange *range = pCreateInfo->pPushConstantRanges + i; in v3dv_CreatePipelineLayout() local 362 MAX2(layout->push_constant_size, range->offset + range->size); in v3dv_CreatePipelineLayout() 1003 if (buffer_info->range == VK_WHOLE_SIZE) { in write_buffer_descriptor() 1004 descriptor->range = buffer->size - buffer_info->offset; in write_buffer_descriptor() 1006 assert(descriptor->range <= UINT32_MAX); in write_buffer_descriptor() 1007 descriptor->range = buffer_info->range; in write_buffer_descriptor() 1087 * descriptors when they are written, so we define the range of an inline in write_inline_uniform_descriptor() 1088 * buffer as the largest range o in write_inline_uniform_descriptor() [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_descriptor_set.c | 1584 VkDeviceSize range) in anv_descriptor_set_write_buffer() 1599 .range = range, in anv_descriptor_set_write_buffer() 1615 uint64_t bind_range = vk_buffer_range(&buffer->vk, offset, range); in anv_descriptor_set_write_buffer() 1631 .range = bind_range, in anv_descriptor_set_write_buffer() 1644 bview->range = bind_range; in anv_descriptor_set_write_buffer() 1712 desc_data.range = accel->size; in anv_descriptor_set_write_acceleration_structure() 1777 write->pBufferInfo[j].range); in anv_UpdateDescriptorSets() 1877 src_desc[j].range); in anv_UpdateDescriptorSets() 1957 info->offset, info->range); in anv_descriptor_set_write_template() 1576 anv_descriptor_set_write_buffer(struct anv_device *device, struct anv_descriptor_set *set, struct anv_state_stream *alloc_stream, VkDescriptorType type, struct anv_buffer *buffer, uint32_t binding, uint32_t element, VkDeviceSize offset, VkDeviceSize range) anv_descriptor_set_write_buffer() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageAtomicOperationTests.cpp | 953 const VkDeviceSize& range, 966 const VkDeviceSize& range, 1205 const VkDeviceSize& range, in shaderFillImage() 1211 const VkDescriptorBufferInfo descResultBufferInfo = makeDescriptorBufferInfo(buffer, 0, range); in shaderFillImage() 1356 const VkDeviceSize& range, 1420 const VkDeviceSize& range, in commandsAfterCompute() 1455 const VkDescriptorBufferInfo descResultBufferInfo = makeDescriptorBufferInfo(m_outputBuffer->get(), 0, range); in commandsAfterCompute() 1639 const VkDeviceSize& range, 1745 const VkDeviceSize& range, in commandsAfterCompute() 1777 const VkDescriptorBufferInfo descResultBufferInfo = makeDescriptorBufferInfo(m_outputBuffer->get(), 0, range); in commandsAfterCompute() 1200 shaderFillImage(const VkCommandBuffer cmdBuffer, const VkBuffer& buffer, const VkPipeline pipeline, const VkPipelineLayout pipelineLayout, const VkDescriptorSet descriptorSet, const VkDeviceSize& range, const tcu::UVec3& gridSize) shaderFillImage() argument 1416 commandsAfterCompute(const VkCommandBuffer cmdBuffer, const VkPipeline pipeline, const VkPipelineLayout pipelineLayout, const VkDescriptorSet descriptorSet, const VkDeviceSize& range, const bool useTransfer) commandsAfterCompute() argument 1741 commandsAfterCompute(const VkCommandBuffer cmdBuffer, const VkPipeline pipeline, const VkPipelineLayout pipelineLayout, const VkDescriptorSet descriptorSet, const VkDeviceSize& range, const bool useTransfer) commandsAfterCompute() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageAtomicOperationTests.cpp | 957 const VkDeviceSize& range, 970 const VkDeviceSize& range, 1209 const VkDeviceSize& range, in shaderFillImage() 1215 const VkDescriptorBufferInfo descResultBufferInfo = makeDescriptorBufferInfo(buffer, 0, range); in shaderFillImage() 1360 const VkDeviceSize& range, 1424 const VkDeviceSize& range, in commandsAfterCompute() 1459 const VkDescriptorBufferInfo descResultBufferInfo = makeDescriptorBufferInfo(m_outputBuffer->get(), 0, range); in commandsAfterCompute() 1643 const VkDeviceSize& range, 1749 const VkDeviceSize& range, in commandsAfterCompute() 1781 const VkDescriptorBufferInfo descResultBufferInfo = makeDescriptorBufferInfo(m_outputBuffer->get(), 0, range); in commandsAfterCompute() 1204 shaderFillImage(const VkCommandBuffer cmdBuffer, const VkBuffer& buffer, const VkPipeline pipeline, const VkPipelineLayout pipelineLayout, const VkDescriptorSet descriptorSet, const VkDeviceSize& range, const tcu::UVec3& gridSize) shaderFillImage() argument 1420 commandsAfterCompute(const VkCommandBuffer cmdBuffer, const VkPipeline pipeline, const VkPipelineLayout pipelineLayout, const VkDescriptorSet descriptorSet, const VkDeviceSize& range, const bool useTransfer) commandsAfterCompute() argument 1745 commandsAfterCompute(const VkCommandBuffer cmdBuffer, const VkPipeline pipeline, const VkPipelineLayout pipelineLayout, const VkDescriptorSet descriptorSet, const VkDeviceSize& range, const bool useTransfer) commandsAfterCompute() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/ |
H A D | vktMemoryMappingTests.cpp | 813 const VkMappedMemoryRange range = 823 ranges.push_back(range); 845 const VkMappedMemoryRange range = 855 ranges.push_back(range); 897 MemoryMapping (const MemoryRange& range, 913 MemoryMapping::MemoryMapping (const MemoryRange& range, 916 : m_range (range) 920 DE_ASSERT(range.size > 0); 994 const VkMappedMemoryRange range = 1003 ranges[rangeNdx] = range; [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkCommandBuffer.cpp | 773 CmdClearColorImage(vk::Image *image, const VkClearColorValue &color, const VkImageSubresourceRange &range) in CmdClearColorImage() argument 776 , range(range) in CmdClearColorImage() 782 image->clear(color, range); 790 const VkImageSubresourceRange range; member in __anon22994::CmdClearColorImage 796 CmdClearDepthStencilImage(vk::Image *image, const VkClearDepthStencilValue &depthStencil, const VkImageSubresourceRange &range) in CmdClearDepthStencilImage() argument 799 , range(range) in CmdClearDepthStencilImage() 805 image->clear(depthStencil, range); 813 const VkImageSubresourceRange range; member in __anon22994::CmdClearDepthStencilImage [all...] |
/third_party/toybox/toys/pending/ |
H A D | xzcat.c | 1252 uint32_t range; member 1350 * when the distance is in the range [4, 127]. 1580 /* Reset the range decoder. */ 1583 rc->range = (uint32_t)-1; in rc_reset() 1611 * Return true if it is possible (from point of view of range decoder) that 1622 if (rc->range < RC_TOP_VALUE) { in rc_normalize() 1623 rc->range <<= RC_SHIFT_BITS; in rc_normalize() 1645 bound = (rc->range >> RC_BIT_MODEL_TOTAL_BITS) * *prob; in rc_bit() 1647 rc->range = bound; in rc_bit() 1651 rc->range in rc_bit() [all...] |
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | parser.cc | 249 AddError("Integer out of range."); in ConsumeInteger() 280 AddError("Integer out of range."); in ConsumeInteger64() 302 AddError("Integer out of range."); in ConsumeNumber() 828 // extension range, and sets them to the type-specific maximum. The actual max 842 // reserved range, and sets them to the type-specific maximum. The actual max 1276 // Parse the integer to verify that it is not out-of-range. in ParseDefaultAssignment() 1299 // Parse the integer to verify that it is not out-of-range. in ParseDefaultAssignment() 1603 DescriptorProto::ExtensionRange* range = message->add_extension_range(); in ParseExtensions() local 1604 location.RecordLegacyLocation(range, in ParseExtensions() 1614 DO(ConsumeInteger(&start, "Expected field number range in ParseExtensions() 1728 DescriptorProto::ReservedRange* range = message->add_reserved_range(); ParseReservedNumbers() local 1805 EnumDescriptorProto::EnumReservedRange* range = ParseReservedNumbers() local [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | descriptor.cc | 2109 DescriptorProto::ReservedRange* range = proto->add_reserved_range(); in CopyTo() local 2110 range->set_start(reserved_range(i)->start); in CopyTo() 2111 range->set_end(reserved_range(i)->end); in CopyTo() 2212 EnumDescriptorProto::EnumReservedRange* range = proto->add_reserved_range(); in CopyTo() local 2213 range->set_start(reserved_range(i)->start); in CopyTo() 2214 range->set_end(reserved_range(i)->end); in CopyTo() 2628 const Descriptor::ReservedRange* range = reserved_range(i); in DebugString() local 2629 if (range->end == range->start + 1) { in DebugString() 2630 strings::SubstituteAndAppend(contents, "$0, ", range in DebugString() 2833 const EnumDescriptor::ReservedRange* range = reserved_range(i); DebugString() local 4683 const Descriptor::ExtensionRange* range = result->extension_range(j); BuildMessage() local 4694 const Descriptor::ReservedRange* range = result->reserved_range(j); BuildMessage() local 5270 const EnumDescriptor::ReservedRange* range = result->reserved_range(j); BuildEnum() local 5562 CrossLinkExtensionRange( Descriptor::ExtensionRange* range, const DescriptorProto::ExtensionRange& proto) CrossLinkExtensionRange() argument [all...] |
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
H A D | hcodec_list.cpp | 225 Range range(hdiVideoCap.measuredFrameRate[index + MIN_RATE], hdiVideoCap.measuredFrameRate[index + MAX_RATE]); in GetMeasuredFrameRate() 226 userRateMap[imageSize] = range; in GetMeasuredFrameRate()
|
/foundation/graphic/graphic_2d/rosen/test/texgine/unittest/ |
H A D | font_parser_test.cpp | 271 struct Ranges::Range range = { 0, 2, 1 }; in HWTEST_F() local 272 ranges.AddRange(range); in HWTEST_F()
|