Home
last modified time | relevance | path

Searched refs:depth (Results 126 - 150 of 4941) sorted by relevance

12345678910>>...198

/kernel/linux/linux-5.10/sound/isa/gus/
H A Dgus_volume.c123 long depth;
137 /* value to produce the appropriate depth for the hardware. The depth */
139 depth = (((int) (*(vi2 + 1) - *vi1) * (pcents - *vi1) / (*vi2 - *vi1)) + v1) * fc_register >> 14;
140 if (depth)
141 depth++;
142 if (depth > 255)
143 depth = 255;
144 return cents < 0 ? -(short) depth : (short) depth;
[all...]
/kernel/linux/linux-6.6/sound/isa/gus/
H A Dgus_volume.c123 long depth;
137 /* value to produce the appropriate depth for the hardware. The depth */
139 depth = (((int) (*(vi2 + 1) - *vi1) * (pcents - *vi1) / (*vi2 - *vi1)) + v1) * fc_register >> 14;
140 if (depth)
141 depth++;
142 if (depth > 255)
143 depth = 255;
144 return cents < 0 ? -(short) depth : (short) depth;
[all...]
/third_party/cups-filters/cupsfilters/
H A Dimage-pix.c48 depth; /* Depth of image (bits) */ in _cupsImageReadPIX() local
66 depth = read_short(fp); in _cupsImageReadPIX()
75 (depth != 8 && depth != 24)) in _cupsImageReadPIX()
78 width, height, depth); in _cupsImageReadPIX()
83 if (depth == 8) in _cupsImageReadPIX()
95 if ((in = malloc(img->xsize * (depth / 8))) == NULL) in _cupsImageReadPIX()
114 if (depth == 8) in _cupsImageReadPIX()
/kernel/linux/linux-5.10/drivers/of/
H A Dfdt.c258 /* In-depth first */ in reverse_nodes()
293 int offset = 0, depth = 0, initial_depth = 0; in unflatten_dt_nodes() local
304 * possibly multiple nodes in the first level of depth. We need in unflatten_dt_nodes()
305 * set @depth to 1 to make fdt_next_node() happy as it bails in unflatten_dt_nodes()
306 * immediately when negative @depth is found. Otherwise, the device in unflatten_dt_nodes()
310 depth = initial_depth = 1; in unflatten_dt_nodes()
313 nps[depth] = dad; in unflatten_dt_nodes()
316 offset >= 0 && depth >= initial_depth; in unflatten_dt_nodes()
317 offset = fdt_next_node(blob, offset, &depth)) { in unflatten_dt_nodes()
318 if (WARN_ON_ONCE(depth > in unflatten_dt_nodes()
544 __fdt_scan_reserved_mem(unsigned long node, const char *uname, int depth, void *data) __fdt_scan_reserved_mem() argument
628 of_scan_flat_dt(int (*it)(unsigned long node, const char *uname, int depth, void *data), void *data) of_scan_flat_dt() argument
635 int offset, rc = 0, depth = -1; of_scan_flat_dt() local
784 int depth; global() member
955 early_init_dt_scan_root(unsigned long node, const char *uname, int depth, void *data) early_init_dt_scan_root() argument
991 early_init_dt_scan_memory(unsigned long node, const char *uname, int depth, void *data) early_init_dt_scan_memory() argument
1038 early_init_dt_scan_chosen(unsigned long node, const char *uname, int depth, void *data) early_init_dt_scan_chosen() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawImageObjectUtil.cpp47 int depth, in pack()
62 const vk::VkDeviceSize size = depthPitch * depth; in pack()
80 for (int d = 0; d < depth; d++) in pack()
99 int depth, in unpack()
114 const vk::VkDeviceSize size = depthPitch * depth; in unpack()
131 for (size_t d = 0; d < (size_t)depth; d++) in unpack()
216 int depth, in readVolume()
221 m_pixelAccessData.resize(width * height * depth * vk::mapVkFormat(m_format).getPixelSize()); in readVolume()
225 read(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, vk::VK_IMAGE_TYPE_3D, in readVolume()
230 readUsingBuffer(queue, allocator, layout, offset, width, height, depth, mipLeve in readVolume()
44 pack(int pixelSize, int width, int height, int depth, vk::VkDeviceSize rowPitchOrZero, vk::VkDeviceSize depthPitchOrZero, const void * srcBuffer, void * destBuffer) pack() argument
96 unpack(int pixelSize, int width, int height, int depth, vk::VkDeviceSize rowPitchOrZero, vk::VkDeviceSize depthPitchOrZero, const void * srcBuffer, void * destBuffer) unpack() argument
210 readVolume(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readVolume() argument
259 read(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, vk::VkImageType type, void * data) read() argument
280 readUsingBuffer(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, void * data) readUsingBuffer() argument
414 readSurfaceLinear(vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readSurfaceLinear() argument
427 readLinear(vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, void * data) readLinear() argument
592 uploadSurfaceLinear(const tcu::ConstPixelBufferAccess& access, vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurfaceLinear() argument
604 upload(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, vk::VkImageType type, const void * data) upload() argument
682 uploadUsingBuffer(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, const void * data) uploadUsingBuffer() argument
776 uploadLinear(vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, const void * data) uploadLinear() argument
[all...]
H A DvktDrawImageObjectUtil.hpp46 int depth,
55 int depth,
109 int depth,
117 int depth,
128 int depth,
141 int depth,
150 int depth,
187 int depth,
198 int depth,
211 int depth,
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawImageObjectUtil.cpp47 int depth, in pack()
62 const vk::VkDeviceSize size = depthPitch * depth; in pack()
80 for (int d = 0; d < depth; d++) in pack()
99 int depth, in unpack()
114 const vk::VkDeviceSize size = depthPitch * depth; in unpack()
131 for (size_t d = 0; d < (size_t)depth; d++) in unpack()
216 int depth, in readVolume()
221 m_pixelAccessData.resize(width * height * depth * vk::mapVkFormat(m_format).getPixelSize()); in readVolume()
225 read(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, vk::VK_IMAGE_TYPE_3D, in readVolume()
230 readUsingBuffer(queue, allocator, layout, offset, width, height, depth, mipLeve in readVolume()
44 pack(int pixelSize, int width, int height, int depth, vk::VkDeviceSize rowPitchOrZero, vk::VkDeviceSize depthPitchOrZero, const void * srcBuffer, void * destBuffer) pack() argument
96 unpack(int pixelSize, int width, int height, int depth, vk::VkDeviceSize rowPitchOrZero, vk::VkDeviceSize depthPitchOrZero, const void * srcBuffer, void * destBuffer) unpack() argument
210 readVolume(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readVolume() argument
259 read(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, vk::VkImageType type, void * data) read() argument
280 readUsingBuffer(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, void * data) readUsingBuffer() argument
414 readSurfaceLinear(vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readSurfaceLinear() argument
427 readLinear(vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, void * data) readLinear() argument
592 uploadSurfaceLinear(const tcu::ConstPixelBufferAccess& access, vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurfaceLinear() argument
604 upload(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, vk::VkImageType type, const void * data) upload() argument
682 uploadUsingBuffer(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, const void * data) uploadUsingBuffer() argument
776 uploadLinear(vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, const void * data) uploadLinear() argument
[all...]
H A DvktDrawImageObjectUtil.hpp46 int depth,
55 int depth,
109 int depth,
117 int depth,
128 int depth,
141 int depth,
150 int depth,
187 int depth,
198 int depth,
211 int depth,
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_amplify.c45 int depth; member
131 dst[x] = clip(src + amp, depth); \
141 #define CLIP8(x, depth) av_clip_uint8(lrintf(x))
142 #define CLIP16(x, depth) av_clip_uintp2_c(lrintf(x), depth)
143 #define NOP(x, depth) (x)
157 const int depth = s->depth; in amplify_frame() local
159 if (s->depth <= 8) { in amplify_frame()
161 } else if (s->depth < in amplify_frame()
[all...]
H A Dvf_colorize.c34 int depth; member
187 static void rgb2yuv(float r, float g, float b, int *y, int *u, int *v, int depth) in rgb2yuv() argument
190 (0.07220*219.0/255.0) * b) * ((1 << depth) - 1); in rgb2yuv()
192 (0.50000*224.0/255.0) * b + 0.5) * ((1 << depth) - 1); in rgb2yuv()
194 (0.04585*224.0/255.0) * b + 0.5) * ((1 << depth) - 1); in rgb2yuv()
204 rgb2yuv(c[0], c[1], c[2], &s->c[0], &s->c[1], &s->c[2], s->depth); in filter_frame()
238 int depth; in config_input() local
240 s->depth = depth = desc->comp[0].depth; in config_input()
[all...]
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_box.h16 box->depth = 1; in u_box_1d()
27 box->depth = 1; in u_box_2d()
38 box->depth = 1; in u_box_origin_2d()
50 box->depth = 1; in u_box_2d_zslice()
63 box->depth = d; in u_box_3d()
120 return (int64_t)box->width * box->height * box->depth; in u_box_volume_3d()
191 dst->depth = MAX2(a->z + a->depth, b->z + b->depth) - z; in u_box_union_3d()
240 dst->depth in u_box_minify_3d()
[all...]
/third_party/node/lib/internal/perf/
H A Dperformance_entry.js45 [kInspect](depth, options) {
46 if (depth < 0) return this;
50 depth: options.depth == null ? null : options.depth - 1,
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace_functions_graph.c24 int depth; member
196 .depth = 0, in __trace_graph_function()
200 .depth = 0, in __trace_graph_function()
649 * Comments display at + 1 to depth. Since in print_graph_entry_leaf()
651 * equal to this depth. in print_graph_entry_leaf()
653 cpu_data->depth = call->depth - 1; in print_graph_entry_leaf()
655 /* No need to keep this function around for this depth */ in print_graph_entry_leaf()
656 if (call->depth < FTRACE_RETFUNC_DEPTH && in print_graph_entry_leaf()
657 !WARN_ON_ONCE(call->depth < in print_graph_entry_leaf()
774 check_irq_entry(struct trace_iterator *iter, u32 flags, unsigned long addr, int depth) check_irq_entry() argument
821 check_irq_return(struct trace_iterator *iter, u32 flags, int depth) check_irq_return() argument
977 int depth = 0; print_graph_comment() local
1222 int *depth = &(per_cpu_ptr(data->cpu_data, cpu)->depth); graph_trace_open() local
[all...]
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_functions_graph.c24 int depth; member
201 .depth = 0, in __trace_graph_function()
205 .depth = 0, in __trace_graph_function()
703 * Comments display at + 1 to depth. Since in print_graph_entry_leaf()
705 * equal to this depth. in print_graph_entry_leaf()
707 cpu_data->depth = call->depth - 1; in print_graph_entry_leaf()
709 /* No need to keep this function around for this depth */ in print_graph_entry_leaf()
710 if (call->depth < FTRACE_RETFUNC_DEPTH && in print_graph_entry_leaf()
711 !WARN_ON_ONCE(call->depth < in print_graph_entry_leaf()
836 check_irq_entry(struct trace_iterator *iter, u32 flags, unsigned long addr, int depth) check_irq_entry() argument
883 check_irq_return(struct trace_iterator *iter, u32 flags, int depth) check_irq_return() argument
1048 int depth = 0; print_graph_comment() local
1293 int *depth = &(per_cpu_ptr(data->cpu_data, cpu)->depth); graph_trace_open() local
[all...]
/kernel/linux/linux-5.10/fs/quota/
H A Dquota_tree.c26 static int __get_index(struct qtree_mem_dqinfo *info, qid_t id, int depth) in __get_index() argument
30 depth = info->dqi_qtree_depth - depth - 1; in __get_index()
31 while (depth--) in __get_index()
36 static int get_index(struct qtree_mem_dqinfo *info, struct kqid qid, int depth) in get_index() argument
40 return __get_index(info, id, depth); in get_index()
334 uint *treeblk, int depth) in do_insert_tree()
359 newblk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in do_insert_tree()
362 if (depth == info->dqi_qtree_depth - 1) { in do_insert_tree()
368 dquot->dq_id, depth)])); in do_insert_tree()
333 do_insert_tree(struct qtree_mem_dqinfo *info, struct dquot *dquot, uint *treeblk, int depth) do_insert_tree() argument
513 remove_tree(struct qtree_mem_dqinfo *info, struct dquot *dquot, uint *blk, int depth) remove_tree() argument
617 find_tree_dqentry(struct qtree_mem_dqinfo *info, struct dquot *dquot, uint blk, int depth) find_tree_dqentry() argument
732 find_next_id(struct qtree_mem_dqinfo *info, qid_t *id, unsigned int blk, int depth) find_next_id() argument
[all...]
/kernel/linux/linux-6.6/fs/quota/
H A Dquota_tree.c26 static int __get_index(struct qtree_mem_dqinfo *info, qid_t id, int depth) in __get_index() argument
30 depth = info->dqi_qtree_depth - depth - 1; in __get_index()
31 while (depth--) in __get_index()
36 static int get_index(struct qtree_mem_dqinfo *info, struct kqid qid, int depth) in get_index() argument
40 return __get_index(info, id, depth); in get_index()
330 uint *treeblk, int depth) in do_insert_tree()
355 newblk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in do_insert_tree()
362 if (depth == info->dqi_qtree_depth - 1) { in do_insert_tree()
368 dquot->dq_id, depth)])); in do_insert_tree()
329 do_insert_tree(struct qtree_mem_dqinfo *info, struct dquot *dquot, uint *treeblk, int depth) do_insert_tree() argument
513 remove_tree(struct qtree_mem_dqinfo *info, struct dquot *dquot, uint *blk, int depth) remove_tree() argument
615 find_tree_dqentry(struct qtree_mem_dqinfo *info, struct dquot *dquot, uint blk, int depth) find_tree_dqentry() argument
728 find_next_id(struct qtree_mem_dqinfo *info, qid_t *id, unsigned int blk, int depth) find_next_id() argument
[all...]
/kernel/linux/linux-5.10/drivers/thunderbolt/
H A Dicm.c92 int (*get_route)(struct tb *tb, u8 link, u8 depth, u64 *route);
172 static inline u8 phy_port_from_route(u64 route, u8 depth) in phy_port_from_route() argument
176 link = depth ? route >> ((depth - 1) * 8) : route; in phy_port_from_route()
192 int depth = tb_route_length(route); in get_parent_route() local
193 return depth ? route & ~(0xffULL << (depth - 1) * TB_ROUTE_SHIFT) : 0; in get_parent_route()
382 static int icm_fr_get_route(struct tb *tb, u8 link, u8 depth, u64 *route) in icm_fr_get_route() argument
409 for (i = 1; i < depth; i++) { in icm_fr_get_route()
552 request.link_info = xd->depth << ICM_LINK_INFO_DEPTH_SHIF in icm_fr_approve_xdomain_paths()
627 update_switch(struct tb_switch *parent_sw, struct tb_switch *sw, u64 route, u8 connection_id, u8 connection_key, u8 link, u8 depth, bool boot) update_switch() argument
661 add_xdomain(struct tb_switch *sw, u64 route, const uuid_t *local_uuid, const uuid_t *remote_uuid, u8 link, u8 depth) add_xdomain() argument
712 u8 link, depth; icm_fr_device_connected() local
855 u8 link, depth; icm_fr_device_disconnected() local
884 u8 link, depth; icm_fr_xdomain_connected() local
1478 icm_ar_get_route(struct tb *tb, u8 link, u8 depth, u64 *route) icm_ar_get_route() argument
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dfuzzer_pass_obfuscate_constants.cpp39 uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, in ObfuscateBoolConstantViaConstantPair()
107 // We randomly decide, based on the current depth of obfuscation, whether in ObfuscateBoolConstantViaConstantPair()
109 if (GetFuzzerContext()->GoDeeperInConstantObfuscation(depth)) { in ObfuscateBoolConstantViaConstantPair()
115 ObfuscateConstant(depth + 1, in_operand_use); in ObfuscateBoolConstantViaConstantPair()
121 uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, in ObfuscateBoolConstantViaFloatConstantPair()
158 depth, bool_constant_use, greater_than_opcodes, less_than_opcodes, in ObfuscateBoolConstantViaFloatConstantPair()
164 uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, in ObfuscateBoolConstantViaSignedIntConstantPair()
198 depth, bool_constant_use, greater_than_opcodes, less_than_opcodes, in ObfuscateBoolConstantViaSignedIntConstantPair()
205 uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, in ObfuscateBoolConstantViaUnsignedIntConstantPair()
240 depth, bool_constant_us in ObfuscateBoolConstantViaUnsignedIntConstantPair()
38 ObfuscateBoolConstantViaConstantPair( uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, const std::vector<SpvOp>& greater_than_opcodes, const std::vector<SpvOp>& less_than_opcodes, uint32_t constant_id_1, uint32_t constant_id_2, bool first_constant_is_larger) ObfuscateBoolConstantViaConstantPair() argument
120 ObfuscateBoolConstantViaFloatConstantPair( uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, uint32_t float_constant_id_1, uint32_t float_constant_id_2) ObfuscateBoolConstantViaFloatConstantPair() argument
163 ObfuscateBoolConstantViaSignedIntConstantPair( uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, uint32_t signed_int_constant_id_1, uint32_t signed_int_constant_id_2) ObfuscateBoolConstantViaSignedIntConstantPair() argument
204 ObfuscateBoolConstantViaUnsignedIntConstantPair( uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, uint32_t unsigned_int_constant_id_1, uint32_t unsigned_int_constant_id_2) ObfuscateBoolConstantViaUnsignedIntConstantPair() argument
268 ObfuscateBoolConstant( uint32_t depth, const protobufs::IdUseDescriptor& constant_use) ObfuscateBoolConstant() argument
391 ObfuscateConstant( uint32_t depth, const protobufs::IdUseDescriptor& constant_use) ObfuscateConstant() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dfuzzer_pass_obfuscate_constants.cpp39 uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, in ObfuscateBoolConstantViaConstantPair()
107 // We randomly decide, based on the current depth of obfuscation, whether in ObfuscateBoolConstantViaConstantPair()
109 if (GetFuzzerContext()->GoDeeperInConstantObfuscation(depth)) { in ObfuscateBoolConstantViaConstantPair()
115 ObfuscateConstant(depth + 1, in_operand_use); in ObfuscateBoolConstantViaConstantPair()
121 uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, in ObfuscateBoolConstantViaFloatConstantPair()
158 depth, bool_constant_use, greater_than_opcodes, less_than_opcodes, in ObfuscateBoolConstantViaFloatConstantPair()
164 uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, in ObfuscateBoolConstantViaSignedIntConstantPair()
198 depth, bool_constant_use, greater_than_opcodes, less_than_opcodes, in ObfuscateBoolConstantViaSignedIntConstantPair()
205 uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, in ObfuscateBoolConstantViaUnsignedIntConstantPair()
240 depth, bool_constant_us in ObfuscateBoolConstantViaUnsignedIntConstantPair()
38 ObfuscateBoolConstantViaConstantPair( uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, const std::vector<SpvOp>& greater_than_opcodes, const std::vector<SpvOp>& less_than_opcodes, uint32_t constant_id_1, uint32_t constant_id_2, bool first_constant_is_larger) ObfuscateBoolConstantViaConstantPair() argument
120 ObfuscateBoolConstantViaFloatConstantPair( uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, uint32_t float_constant_id_1, uint32_t float_constant_id_2) ObfuscateBoolConstantViaFloatConstantPair() argument
163 ObfuscateBoolConstantViaSignedIntConstantPair( uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, uint32_t signed_int_constant_id_1, uint32_t signed_int_constant_id_2) ObfuscateBoolConstantViaSignedIntConstantPair() argument
204 ObfuscateBoolConstantViaUnsignedIntConstantPair( uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, uint32_t unsigned_int_constant_id_1, uint32_t unsigned_int_constant_id_2) ObfuscateBoolConstantViaUnsignedIntConstantPair() argument
268 ObfuscateBoolConstant( uint32_t depth, const protobufs::IdUseDescriptor& constant_use) ObfuscateBoolConstant() argument
391 ObfuscateConstant( uint32_t depth, const protobufs::IdUseDescriptor& constant_use) ObfuscateConstant() argument
[all...]
/third_party/spirv-tools/source/fuzz/
H A Dfuzzer_pass_obfuscate_constants.cpp39 uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, in ObfuscateBoolConstantViaConstantPair()
107 // We randomly decide, based on the current depth of obfuscation, whether in ObfuscateBoolConstantViaConstantPair()
109 if (GetFuzzerContext()->GoDeeperInConstantObfuscation(depth)) { in ObfuscateBoolConstantViaConstantPair()
115 ObfuscateConstant(depth + 1, in_operand_use); in ObfuscateBoolConstantViaConstantPair()
121 uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, in ObfuscateBoolConstantViaFloatConstantPair()
158 depth, bool_constant_use, greater_than_opcodes, less_than_opcodes, in ObfuscateBoolConstantViaFloatConstantPair()
164 uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, in ObfuscateBoolConstantViaSignedIntConstantPair()
199 depth, bool_constant_use, greater_than_opcodes, less_than_opcodes, in ObfuscateBoolConstantViaSignedIntConstantPair()
206 uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, in ObfuscateBoolConstantViaUnsignedIntConstantPair()
242 depth, bool_constant_us in ObfuscateBoolConstantViaUnsignedIntConstantPair()
38 ObfuscateBoolConstantViaConstantPair( uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, const std::vector<spv::Op>& greater_than_opcodes, const std::vector<spv::Op>& less_than_opcodes, uint32_t constant_id_1, uint32_t constant_id_2, bool first_constant_is_larger) ObfuscateBoolConstantViaConstantPair() argument
120 ObfuscateBoolConstantViaFloatConstantPair( uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, uint32_t float_constant_id_1, uint32_t float_constant_id_2) ObfuscateBoolConstantViaFloatConstantPair() argument
163 ObfuscateBoolConstantViaSignedIntConstantPair( uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, uint32_t signed_int_constant_id_1, uint32_t signed_int_constant_id_2) ObfuscateBoolConstantViaSignedIntConstantPair() argument
205 ObfuscateBoolConstantViaUnsignedIntConstantPair( uint32_t depth, const protobufs::IdUseDescriptor& bool_constant_use, uint32_t unsigned_int_constant_id_1, uint32_t unsigned_int_constant_id_2) ObfuscateBoolConstantViaUnsignedIntConstantPair() argument
270 ObfuscateBoolConstant( uint32_t depth, const protobufs::IdUseDescriptor& constant_use) ObfuscateBoolConstant() argument
393 ObfuscateConstant( uint32_t depth, const protobufs::IdUseDescriptor& constant_use) ObfuscateConstant() argument
[all...]
/kernel/linux/linux-5.10/block/
H A Dblk-rq-qos.c114 * Return true, if we can't increase the depth further by scaling
118 unsigned int depth; in rq_depth_calc_max_depth() local
123 * to have one request ready when one completes, so force a depth of in rq_depth_calc_max_depth()
124 * 2 for those devices. On the backend, it'll be a depth of 1 anyway, in rq_depth_calc_max_depth()
140 * writes, and we allow a temporarily higher depth to in rq_depth_calc_max_depth()
143 depth = min_t(unsigned int, rqd->default_depth, in rq_depth_calc_max_depth()
146 depth = 1 + ((depth - 1) >> min(31, rqd->scale_step)); in rq_depth_calc_max_depth()
150 depth = 1 + ((depth in rq_depth_calc_max_depth()
[all...]
/kernel/linux/linux-5.10/arch/xtensa/kernel/
H A Dstacktrace.c26 void xtensa_backtrace_user(struct pt_regs *regs, unsigned int depth, in xtensa_backtrace_user() argument
38 if (!depth--) in xtensa_backtrace_user()
69 for (index = WSBITS - 1; (index > 0) && depth; depth--, index--) in xtensa_backtrace_user()
90 if (!depth) in xtensa_backtrace_user()
95 while (a0 != 0 && depth--) { in xtensa_backtrace_user()
115 void xtensa_backtrace_kernel(struct pt_regs *regs, unsigned int depth, in xtensa_backtrace_kernel() argument
135 while (a1 > sp_start && a1 < sp_end && depth--) { in xtensa_backtrace_kernel()
149 xtensa_backtrace_user(regs, depth, ufn, data); in xtensa_backtrace_kernel()
/kernel/linux/linux-6.6/arch/xtensa/kernel/
H A Dstacktrace.c27 void xtensa_backtrace_user(struct pt_regs *regs, unsigned int depth, in xtensa_backtrace_user() argument
39 if (!depth--) in xtensa_backtrace_user()
70 for (index = WSBITS - 1; (index > 0) && depth; depth--, index--) in xtensa_backtrace_user()
91 if (!depth) in xtensa_backtrace_user()
96 while (a0 != 0 && depth--) { in xtensa_backtrace_user()
116 void xtensa_backtrace_kernel(struct pt_regs *regs, unsigned int depth, in xtensa_backtrace_kernel() argument
136 while (a1 > sp_start && a1 < sp_end && depth--) { in xtensa_backtrace_kernel()
150 xtensa_backtrace_user(regs, depth, ufn, data); in xtensa_backtrace_kernel()
/kernel/linux/linux-6.6/drivers/infiniband/hw/efa/
H A Defa_com.c128 u16 size = aq->depth * sizeof(*sq->entries); in efa_com_admin_init_sq()
152 EFA_SET(&aq_caps, EFA_REGS_AQ_CAPS_AQ_DEPTH, aq->depth); in efa_com_admin_init_sq()
165 u16 size = aq->depth * sizeof(*cq->entries); in efa_com_admin_init_cq()
186 EFA_SET(&acq_caps, EFA_REGS_ACQ_CAPS_ACQ_DEPTH, aq->depth); in efa_com_admin_init_cq()
217 aenq->depth = EFA_ASYNC_QUEUE_DEPTH; in efa_com_admin_init_aenq()
227 EFA_SET(&aenq_caps, EFA_REGS_AENQ_CAPS_AENQ_DEPTH, aenq->depth); in efa_com_admin_init_aenq()
270 u16 ctx_id = cmd_id & (aq->depth - 1); in efa_com_put_comp_ctx()
280 u16 ctx_id = cmd_id & (aq->depth - 1); in efa_com_get_comp_ctx()
312 queue_size_mask = aq->depth - 1; in __efa_com_submit_admin_cmd()
357 size_t pool_size = aq->depth * sizeo in efa_com_init_comp_ctxt()
1210 efa_com_eq_init(struct efa_com_dev *edev, struct efa_com_eq *eeq, efa_eqe_handler cb, u16 depth, u8 msix_vec) efa_com_eq_init() argument
[all...]
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_cb_texture.c160 GLsizei width, GLsizei height, GLint depth, in create_dst_texture()
167 /* create the destination texture of size (width X height X depth) */ in create_dst_texture()
174 st_gl_texture_dims_to_pipe_dims(gl_target, width, height, depth, in create_dst_texture()
184 GLsizei width, GLsizei height, GLint depth, in copy_to_staging_dest()
203 0, 0, 0, width, height, depth, &tex_xfer); in copy_to_staging_dest()
218 for (slice = 0; slice < depth; slice++) { in copy_to_staging_dest()
254 for (slice = 0; slice < depth; slice++) { in copy_to_staging_dest()
676 GLuint width, GLuint height, GLuint depth, GLuint level, in guess_base_level_size()
681 assert(depth >= 1); in guess_base_level_size()
715 if (width == 1 || height == 1 || depth in guess_base_level_size()
158 create_dst_texture(struct gl_context *ctx, enum pipe_format dst_format, enum pipe_texture_target pipe_target, GLsizei width, GLsizei height, GLint depth, GLenum gl_target, unsigned bind) create_dst_texture() argument
182 copy_to_staging_dest(struct gl_context * ctx, struct pipe_resource *dst, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLint depth, GLenum format, GLenum type, void * pixels, struct gl_texture_image *texImage) copy_to_staging_dest() argument
675 guess_base_level_size(GLenum target, GLuint width, GLuint height, GLuint depth, GLuint level, GLuint *width0, GLuint *height0, GLuint *depth0) guess_base_level_size() argument
827 GLuint lastLevel, width, height, depth; guess_and_alloc_texture() local
931 GLuint depth = texImage->Depth; st_AllocTextureImageBuffer() local
1587 try_pbo_upload(struct gl_context *ctx, GLuint dims, struct gl_texture_image *texImage, GLenum format, GLenum type, enum pipe_format dst_format, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, const void *pixels, const struct gl_pixelstore_attrib *unpack) try_pbo_upload() argument
1702 try_pbo_download(struct st_context *st, struct gl_texture_image *texImage, enum pipe_format src_format, enum pipe_format dst_format, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, const struct gl_pixelstore_attrib *pack, void *pixels) try_pbo_download() argument
1879 st_TexSubImage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *unpack) st_TexSubImage() argument
2402 st_GetTexSubImage(struct gl_context * ctx, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLint depth, GLenum format, GLenum type, void * pixels, struct gl_texture_image *texImage) st_GetTexSubImage() argument
2963 uint16_t height, depth; st_finalize_texture() local
3073 GLuint depth; st_finalize_texture() local
3175 st_texture_storage(struct gl_context *ctx, struct gl_texture_object *texObj, GLsizei levels, GLsizei width, GLsizei height, GLsizei depth, struct gl_memory_object *memObj, GLuint64 offset) st_texture_storage() argument
3297 st_AllocTextureStorage(struct gl_context *ctx, struct gl_texture_object *texObj, GLsizei levels, GLsizei width, GLsizei height, GLsizei depth) st_AllocTextureStorage() argument
3309 st_TestProxyTexImage(struct gl_context *ctx, GLenum target, GLuint numLevels, GLint level, mesa_format format, GLuint numSamples, GLint width, GLint height, GLint depth) st_TestProxyTexImage() argument
3455 st_ClearTexSubImage(struct gl_context *ctx, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, const void *clearValue) st_ClearTexSubImage() argument
3511 st_SetTextureStorageForMemoryObject(struct gl_context *ctx, struct gl_texture_object *texObj, struct gl_memory_object *memObj, GLsizei levels, GLsizei width, GLsizei height, GLsizei depth, GLuint64 offset) st_SetTextureStorageForMemoryObject() argument
3540 st_TexturePageCommitment(struct gl_context *ctx, struct gl_texture_object *tex_obj, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, bool commit) st_TexturePageCommitment() argument
[all...]

Completed in 20 milliseconds

12345678910>>...198