/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineColorWriteEnableTests.cpp | 121 float depth; member 134 , depth (depth_) in MeshParams() 286 // Check color image format support (depth/stencil will be chosen at runtime). in checkSupport() 400 // Choose depth/stencil format. in iterate() 415 TCU_THROW(NotSupportedError, "Required depth/stencil image features not supported"); in iterate() 416 log << tcu::TestLog::Message << "Chosen depth/stencil format: " << dsFormat << tcu::TestLog::EndMessage; in iterate() 423 // Create color and depth/stencil images. in iterate() 905 m_testConfig.meshParams.depth, // float meshDepth; in iterate() 998 logErrors(log, "Depth", "Result depth image and error mask", depthAccess, depthErrorAccess); in iterate() 1076 config.meshParams.depth in AddSingleTestCaseStatic() [all...] |
H A D | vktPipelineVertexInputTests.cpp | 1798 void createMultipleAttributeCases (PipelineConstructionType pipelineConstructionType, deUint32 depth, deUint32 firstNdx, CompatibleFormats* compatibleFormats, de::Random& randomFunc, tcu::TestCaseGroup& testGroup, VertexInputTest::BindingMapping bindingMapping, VertexInputTest::AttributeLayout attributeLayout, VertexInputTest::LayoutSkip layoutSkip, VertexInputTest::LayoutOrder layoutOrder, const std::vector<VertexInputTest::AttributeInfo>& attributeInfos = std::vector<VertexInputTest::AttributeInfo>(0)) in createMultipleAttributeCases() argument 1803 for (deUint32 currentNdx = firstNdx; currentNdx < VertexInputTest::GLSL_TYPE_DOUBLE - depth; currentNdx++) in createMultipleAttributeCases() 1810 attributeInfo.inputRate = (depth % 2 == 0) ? VK_VERTEX_INPUT_RATE_VERTEX : VK_VERTEX_INPUT_RATE_INSTANCE; in createMultipleAttributeCases() 1817 if (depth == 0) in createMultipleAttributeCases() 1837 createMultipleAttributeCases(pipelineConstructionType, depth - 1u, currentNdx + 1u, compatibleFormats, randomFunc, *newTestGroup, bindingMapping, attributeLayout, layoutSkip, layoutOrder, newAttributeInfos); in createMultipleAttributeCases()
|
/third_party/mesa3d/src/amd/llvm/ |
H A D | ac_llvm_build.c | 858 * where d is the depth of the texture array and layer in ac_prepare_cube_coords() 2843 if (ctx->flow->depth > 0) in get_current_flow() 2844 return &ctx->flow->stack[ctx->flow->depth - 1]; in get_current_flow() 2850 for (unsigned i = ctx->flow->depth; i > 0; --i) { in get_innermost_loop() 2861 if (ctx->flow->depth >= ctx->flow->depth_max) { in push_flow() 2862 unsigned new_max = MAX2(ctx->flow->depth << 1, AC_LLVM_INITIAL_CF_DEPTH); in push_flow() 2868 flow = &ctx->flow->stack[ctx->flow->depth]; in push_flow() 2869 ctx->flow->depth++; in push_flow() 2887 assert(ctx->flow->depth >= 1); in append_basic_block() 2889 if (ctx->flow->depth > in append_basic_block() 4308 ac_export_mrt_z(struct ac_llvm_context *ctx, LLVMValueRef depth, LLVMValueRef stencil, LLVMValueRef samplemask, LLVMValueRef mrt0_alpha, bool is_last, struct ac_export_args *args) ac_export_mrt_z() argument [all...] |
/third_party/vulkan-loader/tests/ |
H A D | loader_phys_dev_inst_ext_tests.cpp | 1085 ASSERT_EQ(props.maxExtent.depth, props2.imageFormatProperties.maxExtent.depth); in TEST() 1137 ASSERT_EQ(props.maxExtent.depth, props2.imageFormatProperties.maxExtent.depth); in TEST() 1179 ASSERT_EQ(props.maxExtent.depth, props2.imageFormatProperties.maxExtent.depth); in TEST() 1228 ASSERT_EQ(props.maxExtent.depth, props2.imageFormatProperties.maxExtent.depth); in TEST() 1288 ASSERT_EQ(props.maxExtent.depth, props2.imageFormatProperties.maxExtent.depth); in TEST() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_enet.c | 2744 int depth = 0; in hns3_gro_complete() local 2749 if ((depth + VLAN_HLEN) > skb_headlen(skb)) in hns3_gro_complete() 2752 vh = (struct vlan_hdr *)(skb->data + depth); in hns3_gro_complete() 2754 depth += VLAN_HLEN; in hns3_gro_complete() 2757 skb_set_network_header(skb, depth); in hns3_gro_complete() 2762 depth += sizeof(struct iphdr); in hns3_gro_complete() 2763 skb_set_transport_header(skb, depth); in hns3_gro_complete() 2765 th->check = ~tcp_v4_check(skb->len - depth, iph->saddr, in hns3_gro_complete() 2770 depth += sizeof(struct ipv6hdr); in hns3_gro_complete() 2771 skb_set_transport_header(skb, depth); in hns3_gro_complete() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_threaded_context.c | 2730 assert(box->depth >= 1); in tc_texture_subdata() 2732 size = (box->depth - 1) * layer_stride + in tc_texture_subdata() 3926 float depth; member 3936 pipe->clear(pipe, p->buffers, p->scissor_state_set ? &p->scissor_state : NULL, &p->color, p->depth, p->stencil); in tc_call_clear() 3942 const union pipe_color_union *color, double depth, in tc_clear() 3953 p->depth = depth; in tc_clear() 4003 float depth; member 4019 pipe->clear_depth_stencil(pipe, p->dst, p->clear_flags, p->depth, p->stencil, in tc_call_clear_depth_stencil() 4029 double depth, unsigne in tc_clear_depth_stencil() 3941 tc_clear(struct pipe_context *_pipe, unsigned buffers, const struct pipe_scissor_state *scissor_state, const union pipe_color_union *color, double depth, unsigned stencil) tc_clear() argument 4027 tc_clear_depth_stencil(struct pipe_context *_pipe, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) tc_clear_depth_stencil() argument [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcPackedPixelsTests.cpp | 62 FORMAT_DEPTH, // depth, unsigned [fp|float] 63 FORMAT_DEPTH_STENCIL, // depth+stencil, unsigned [fp|float] 84 int depth; // depth bits member 1227 // "depth" will be 1 + skipped image layers. in makeGradient() 1229 int depth = 1 + m_unpackProperties.skipImages; in makeGradient() local 1237 m_unpackProperties.imagesCount = depth; in makeGradient() 1240 std::size_t bufferSize = elementSize * elementsInRow * rowCount * depth; in makeGradient() 1250 for (int k = m_unpackProperties.skipImages; k < depth; k++) in makeGradient() 1258 if ((k == depth in makeGradient() [all...] |
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | alloc.c | 577 int i, start = 0, depth = 0; in ocfs2_reinit_path() local 592 * Tree depth may change during truncate, or insert. If we're in ocfs2_reinit_path() 594 * structure reflects the proper depth. in ocfs2_reinit_path() 597 depth = le16_to_cpu(path_root_el(path)->l_tree_depth); in ocfs2_reinit_path() 601 path->p_tree_depth = depth; in ocfs2_reinit_path() 715 * Journal the buffer at depth idx. All idx>0 are extent_blocks, 1418 /* If this is our 1st tree depth shift, then last_eb_blk in ocfs2_shift_tree_depth() 1436 * leaf nodes. What we want to do is find the lowest tree depth 1517 * We might shift the tree depth in which case existing paths should 1520 * Tree depth afte 1530 int depth = le16_to_cpu(el->l_tree_depth); ocfs2_grow_tree() local 4911 int ret = 0, depth; ocfs2_split_and_insert() local 5278 int ret, depth, credits; ocfs2_split_tree() local [all...] |
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | alloc.c | 575 int i, start = 0, depth = 0; in ocfs2_reinit_path() local 590 * Tree depth may change during truncate, or insert. If we're in ocfs2_reinit_path() 592 * structure reflects the proper depth. in ocfs2_reinit_path() 595 depth = le16_to_cpu(path_root_el(path)->l_tree_depth); in ocfs2_reinit_path() 599 path->p_tree_depth = depth; in ocfs2_reinit_path() 713 * Journal the buffer at depth idx. All idx>0 are extent_blocks, 1416 /* If this is our 1st tree depth shift, then last_eb_blk in ocfs2_shift_tree_depth() 1434 * leaf nodes. What we want to do is find the lowest tree depth 1515 * We might shift the tree depth in which case existing paths should 1518 * Tree depth afte 1528 int depth = le16_to_cpu(el->l_tree_depth); ocfs2_grow_tree() local 4909 int ret = 0, depth; ocfs2_split_and_insert() local 5276 int ret, depth, credits; ocfs2_split_tree() local [all...] |
/third_party/backends/backend/genesys/ |
H A D | genesys.cpp | 772 session.params.depth = 8; in scanner_move() 938 session.params.depth = 8; in scanner_move_back_home() 1081 session.params.depth = 8; in scanner_move_back_home_ta() 1193 session.params.depth = 8; in scanner_search_strip() 1490 session.params.depth = 8; in scanner_offset_calibration() 1670 write_tiff_file("gl_offset_all.tiff", debug_image.data(), session.params.depth, channels, in scanner_offset_calibration() 1802 session.params.depth = dev.model->asic_type == AsicType::GL841 ? 16 : 8; in scanner_coarse_gain_calibration() 1997 session.params.depth = 16; in scanner_led_calibration() 3876 if (dev->session.params.depth == 16) { in genesys_warmup_lamp() 3890 write_tiff_file("gl_warmup1.tiff", first_line.data(), dev->session.params.depth, in genesys_warmup_lamp() [all...] |
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_context.c | 928 * When the state tracker asks for 000x swizzles, this is depth mode GL_ALPHA, in zink_create_sampler_view() 1574 unsigned depth = 1 + tmpl.u.tex.last_layer - tmpl.u.tex.first_layer; in create_image_surface() local 1577 if (depth < u_minify(res->base.b.depth0, view->u.tex.level)) { in create_image_surface() 1578 assert(depth == 1); in create_image_surface() 1592 if (depth < res->base.b.array_size && depth == 1) in create_image_surface() 2242 /* unset depth and stencil info: reset below */ in begin_rendering() 2255 /* depth may or may not be used but init it anyway */ in begin_rendering() 2305 ctx->dynamic_fb.attachments[PIPE_MAX_COLOR_BUFS].clearValue.depthStencil.depth = clear->zs.depth; in begin_rendering() [all...] |
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | f2fs.h | 508 TP_PROTO(struct inode *inode, nid_t *nid, int depth, int err), 510 TP_ARGS(inode, nid, depth, err), 516 __field(int, depth) 526 __entry->depth = depth; 531 "nid[0] = %u, nid[1] = %u, nid[2] = %u, depth = %d, err = %d", 536 __entry->depth,
|
/third_party/ffmpeg/libavcodec/ |
H A D | qsvenc.c | 565 q->param.mfx.FrameInfo.BitDepthLuma = desc->comp[0].depth; in init_video_param_jpeg() 566 q->param.mfx.FrameInfo.BitDepthChroma = desc->comp[0].depth; in init_video_param_jpeg() 567 q->param.mfx.FrameInfo.Shift = desc->comp[0].depth > 8; in init_video_param_jpeg() 664 q->param.mfx.FrameInfo.BitDepthLuma = desc->comp[0].depth; in init_video_param() 665 q->param.mfx.FrameInfo.BitDepthChroma = desc->comp[0].depth; in init_video_param() 666 q->param.mfx.FrameInfo.Shift = desc->comp[0].depth > 8; in init_video_param()
|
/third_party/backends/backend/ |
H A D | coolscan3.c | 217 int samples_per_scan, depth, real_depth, bytes_per_pixel, shift_bits, member 497 o.name = "depth"; in sane_open() 498 o.title = "Bit depth per channel"; in sane_open() 1017 s->depth = 8; in sane_open() 1102 *(SANE_Word *) v = s->depth; in sane_control_option() 1266 s->depth = *(SANE_Word *) v; in sane_control_option() 1451 p->depth = 8 * s->bytes_per_pixel; in sane_get_parameters() 2520 DBG(4, " maximum depth: %d\n", s->maxbits); in cs3_full_inquiry() 2788 s->real_depth = (s->preview ? 8 : s->depth); in cs3_convert_options() 2792 DBG(12, " depth in cs3_convert_options() [all...] |
H A D | coolscan2.c | 252 int samples_per_scan, depth, real_depth, bytes_per_pixel, shift_bits, member 538 o.name = "depth"; in sane_open() 539 o.title = "Bit depth per channel"; in sane_open() 1021 s->depth = 8; in sane_open() 1114 *(SANE_Word *) v = s->depth; in sane_control_option() 1268 s->depth = *(SANE_Word *) v; in sane_control_option() 1458 p->depth = 8 * s->bytes_per_pixel; in sane_get_parameters() 2636 s->real_depth = (s->preview ? 8 : s->depth); in cs2_convert_options()
|
/third_party/node/lib/internal/http2/ |
H A D | core.js | 1399 [kInspect](depth, opts) { 1400 if (typeof depth === 'number' && depth < 0) 2021 [kInspect](depth, opts) { 2022 if (typeof depth === 'number' && depth < 0)
|
/third_party/node/tools/inspector_protocol/encoding/ |
H A D | encoding_test.cc | 977 std::vector<uint8_t> MakeNestedCBOR(int depth) { in MakeNestedCBOR() argument 980 for (int ii = 0; ii < depth; ++ii) { in MakeNestedCBOR() 987 for (int ii = 0; ii < depth; ++ii) { in MakeNestedCBOR() 1686 std::string MakeNestedJson(int depth) { in MakeNestedJson() argument 1688 for (int ii = 0; ii < depth; ++ii) in MakeNestedJson() 1691 for (int ii = 0; ii < depth; ++ii) in MakeNestedJson()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageHostImageCopyTests.cpp | 694 deInt32Hash((deUint32)mipImageSize.depth)); in iterate() 743 mipImageSize.depth, in iterate() 1006 m_parameters.imageSize.depth, in iterate() 1272 const auto bufferCount = m_size.width * m_size.height * m_size.depth * m_arrayLayers * numChannels; in iterate() 1285 const vk::VkImageType imageType = m_size.depth > 1 ? vk::VK_IMAGE_TYPE_3D : vk::VK_IMAGE_TYPE_2D; in iterate() 1606 vk::VkImageType const imageType = m_size.depth > 1 ? vk::VK_IMAGE_TYPE_3D : vk::VK_IMAGE_TYPE_2D; in checkSupport()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
H A D | vktMeshShaderPropertyTestsEXT.cpp | 726 DE_ASSERT(fbExtent.depth == 1u); in iterate() 942 DE_ASSERT(fbExtent.depth == 1u); in iterate() 1436 const tcu::IVec3 iExtent3D (static_cast<int>(fbExtent.width), static_cast<int>(fbExtent.height), static_cast<int>(fbExtent.depth)); in iterate() 1466 DE_ASSERT(fbExtent.depth == 1u); in iterate() 1468 const auto verificationBufferSize = static_cast<VkDeviceSize>(pixelSize * fbExtent.width * fbExtent.height * fbExtent.depth); in iterate() 2260 DE_ASSERT(fbExtent.depth == 1u); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineMultisampleMixedAttachmentSamplesTests.cpp | 95 float depth; member 101 CompareData() : color(Vec4(0.0f)), depth(0.0f), stencil(0u) in CompareData() 245 VK_STENCIL_OP_INCREMENT_AND_CLAMP, // depth & stencil pass in preparePipelineWrapper() 246 VK_STENCIL_OP_KEEP, // depth only fail in preparePipelineWrapper() 252 // Always pass the depth test in preparePipelineWrapper() 329 //! Generate expected data for color, depth, and stencil samples of a given image. 357 cd.depth = wrapIncFloat(0.05f * static_cast<float>(1 + globalSample), 0.05f, 1.0f); in generateCompareData() 532 vertices.push_back(PositionColor(Vec4(loc.x(), loc.y() - y1, cd.depth, 1.0f), cd.color)); in generateSubpixelTriangles() 533 vertices.push_back(PositionColor(Vec4(loc.x() - x1, loc.y() + y2, cd.depth, 1.0f), cd.color)); in generateSubpixelTriangles() 534 vertices.push_back(PositionColor(Vec4(loc.x() + x1, loc.y() + y2, cd.depth, 1. in generateSubpixelTriangles() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRender.cpp | 1192 result.depth = std::max(baseExtents.depth >> mipLevel, 1u); 1203 result.z() = extent.depth / divisor.depth + ((extent.depth % divisor.depth != 0) ? 1u : 0u);
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/ |
H A D | vktMeshShaderPropertyTestsEXT.cpp | 726 DE_ASSERT(fbExtent.depth == 1u); in iterate() 942 DE_ASSERT(fbExtent.depth == 1u); in iterate() 1436 const tcu::IVec3 iExtent3D (static_cast<int>(fbExtent.width), static_cast<int>(fbExtent.height), static_cast<int>(fbExtent.depth)); in iterate() 1466 DE_ASSERT(fbExtent.depth == 1u); in iterate() 1468 const auto verificationBufferSize = static_cast<VkDeviceSize>(pixelSize * fbExtent.width * fbExtent.height * fbExtent.depth); in iterate() 2260 DE_ASSERT(fbExtent.depth == 1u); in iterate()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | ClearTest.cpp | 67 // Use a small shader to verify depth. in verifyDepth() 244 // Setup Color/Stencil FBO with a stencil format that's emulated with packed depth/stencil. 260 // Setup Color/Depth FBO with a depth format that's emulated with packed depth/stencil. 287 // Override a feature to force emulation of stencil-only and depth-only formats with a packed 288 // depth/stencil format 1254 // clear float color attachment & depth together in TEST_P() 1675 // Clear to a random color, 0.9 depth and 0x00 stencil in maskedScissoredColorDepthStencilClear() 1686 // still used to verify that the depth/stencil clear happened correctly. This allows in maskedScissoredColorDepthStencilClear() 1687 // testing for depth/stenci in maskedScissoredColorDepthStencilClear() 1895 GLRenderbuffer depth; TEST_P() local 2447 GLRenderbuffer depth; TEST_P() local [all...] |
/third_party/python/Lib/test/ |
H A D | test_dis.py | 735 got = self.get_disassembly(func, depth=0) 934 check(dis_nested_0, depth=0) 935 check(dis_nested_1, depth=1) 936 check(dis_nested_2, depth=2) 937 check(dis_nested_2, depth=3) 938 check(dis_nested_2, depth=None)
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | cord.cc | 74 // Minimum length required for a given depth tree -- a tree is considered 76 // length(t) >= min_length[depth(t)] 77 // The root node depth is allowed to become twice as large to reduce rebalancing 105 } else if (node->concat()->depth() <= 15) { in IsRootBalanced() 107 } else if (node->concat()->depth() > kMinLengthSize) { in IsRootBalanced() 110 // Allow depth to become twice as large as implied by fibonacci rule to in IsRootBalanced() 112 return (node->length >= min_length[node->concat()->depth() / 2]); in IsRootBalanced() 138 // Return the depth of a node 141 return rep->concat()->depth(); in Depth() 1099 if (concat_node->depth() > in Build() [all...] |