/kernel/linux/linux-6.6/mm/ |
H A D | memcontrol.c | 2923 void *vec; in memcg_alloc_slab_cgroups() local 2926 vec = kcalloc_node(objects, sizeof(struct obj_cgroup *), gfp, in memcg_alloc_slab_cgroups() 2928 if (!vec) in memcg_alloc_slab_cgroups() 2931 memcg_data = (unsigned long) vec | MEMCG_DATA_OBJCGS; in memcg_alloc_slab_cgroups() 2945 kfree(vec); in memcg_alloc_slab_cgroups() 2949 kmemleak_not_leak(vec); in memcg_alloc_slab_cgroups()
|
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/ |
H A D | nir_to_spirv.c | 1313 /* return the intended xfb output vec type based on base type and vector size */ 1547 /* nested matrix type: unwrap, update matrix offset, select a vec, handle below */ in emit_so_outputs() 1564 /* just extract the right vec and let it be handled below */ in emit_so_outputs() 2230 SpvId vec = spirv_builder_emit_composite_construct(&ctx->builder, vec_type, conv, 2); in emit_alu() local 2231 components[i] = emit_bitcast(ctx, dest_scalar_type, vec); in emit_alu() 2244 SpvId vec = emit_bitcast(ctx, vec_type, src[0]); in emit_alu() local 2245 result = spirv_builder_emit_composite_extract(&ctx->builder, dest_type, vec, &idx, 1); in emit_alu() 2265 SpvId vec = emit_bitcast(ctx, vec_type, src[0]); in emit_alu() local 2266 result = spirv_builder_emit_composite_extract(&ctx->builder, dest_type, vec, &idx, 1); in emit_alu() 2424 /* need to convert array -> vec */ in emit_load_shared() [all...] |
/third_party/skia/src/sksl/codegen/ |
H A D | SkSLSPIRVCodeGenerator.cpp | 2357 SpvId vec = this->nextId(&vecType); in writeBinaryExpression() local 2360 this->writeWord(vec, out); in writeBinaryExpression() 2364 rhs = vec; in writeBinaryExpression() 2377 SpvId vec = this->nextId(&vecType); in writeBinaryExpression() local 2380 this->writeWord(vec, out); in writeBinaryExpression() 2384 lhs = vec; in writeBinaryExpression()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuTexLookupVerifier.cpp | 122 static T minComp (const Vector<T, Size>& vec) in minComp() argument 124 T minVal = vec[0]; in minComp() 126 minVal = de::min(minVal, vec[ndx]); in minComp() 131 static T maxComp (const Vector<T, Size>& vec) in maxComp() argument 133 T maxVal = vec[0]; in maxComp() 135 maxVal = de::max(maxVal, vec[ndx]); in maxComp()
|
/kernel/linux/linux-5.10/arch/powerpc/xmon/ |
H A D | xmon.c | 183 static const char *getvecname(unsigned long vec); 1566 const char *getvecname(unsigned long vec) in getvecname() argument 1570 switch (vec) { in getvecname()
|
/kernel/linux/linux-5.10/drivers/vme/bridges/ |
H A D | vme_tsi148.c | 217 int vec, i, serviced = 0; in tsi148_VIRQ_irqhandler() local 229 vec = ioread8(bridge->base + TSI148_LCSR_VIACK[i] + 3); in tsi148_VIRQ_irqhandler() 231 vme_irq_handler(tsi148_bridge, i, vec); in tsi148_VIRQ_irqhandler()
|
/kernel/linux/linux-6.6/drivers/staging/vme_user/ |
H A D | vme_tsi148.c | 212 int vec, i, serviced = 0; in tsi148_VIRQ_irqhandler() local 224 vec = ioread8(bridge->base + TSI148_LCSR_VIACK[i] + 3); in tsi148_VIRQ_irqhandler() 226 vme_irq_handler(tsi148_bridge, i, vec); in tsi148_VIRQ_irqhandler()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineFramebufferAttachmentTests.cpp | 100 inline VkDeviceSize sizeInBytes(const vector<T>& vec) in sizeInBytes() argument 102 return vec.size() * sizeof(vec[0]); in sizeInBytes()
|
H A D | vktPipelineMultisampleImageTests.cpp | 85 inline VkDeviceSize sizeInBytes(const std::vector<T>& vec) in sizeInBytes() argument 87 return vec.size() * sizeof(vec[0]); in sizeInBytes() 652 str << (isUint ? "u" : isSint ? "i" : "") << "vec" << numComponents; in getColorFormatStr()
|
/third_party/protobuf/src/google/protobuf/ |
H A D | text_format.cc | 136 auto& vec = nested_[field]; in CreateNested() local 137 vec.emplace_back(new TextFormat::ParseInfoTree()); in CreateNested() 138 return vec.back().get(); in CreateNested()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineMultisampleImageTests.cpp | 83 inline VkDeviceSize sizeInBytes(const std::vector<T>& vec) in sizeInBytes() argument 85 return vec.size() * sizeof(vec[0]); in sizeInBytes() 648 str << (isUint ? "u" : isSint ? "i" : "") << "vec" << numComponents; in getColorFormatStr()
|
/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | node.c | 3347 void *vec[NAT_VEC_SIZE]; in f2fs_destroy_node_manager() local 3348 struct nat_entry **natvec = (struct nat_entry **)vec; in f2fs_destroy_node_manager() 3349 struct nat_entry_set **setvec = (struct nat_entry_set **)vec; in f2fs_destroy_node_manager() 3388 memset(vec, 0, sizeof(void *) * NAT_VEC_SIZE); in f2fs_destroy_node_manager()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | pmcraid.c | 4012 struct pmcraid_isr_param *vec = &pinstance->hrrq_vector[i]; in pmcraid_register_interrupt_handler() local 4014 vec->hrrq_id = i; in pmcraid_register_interrupt_handler() 4015 vec->drv_inst = pinstance; in pmcraid_register_interrupt_handler() 4017 PMCRAID_DRIVER_NAME, vec); in pmcraid_register_interrupt_handler()
|
/third_party/lwip/src/api/ |
H A D | sockets.c | 1263 struct iovec vec; in lwip_recvfrom_internal() local 1266 vec.iov_base = mem; in lwip_recvfrom_internal() 1267 vec.iov_len = len; in lwip_recvfrom_internal() 1271 msg.msg_iov = &vec; in lwip_recvfrom_internal()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | regextst.cpp | 3304 static void set(UVector &vec, int32_t val, UnicodeString index) { in set() argument 3312 while (vec.size()<idx+1) {vec.addElement(-1, status);} in set() 3313 vec.setElementAt(val, idx); in set() 3316 static void setInt(UVector &vec, int32_t val, int32_t idx) { in setInt() argument 3318 while (vec.size()<idx+1) {vec.addElement(-1, status);} in setInt() 3319 vec.setElementAt(val, idx); in setInt()
|
/kernel/linux/linux-5.10/drivers/char/ |
H A D | applicom.c | 622 static irqreturn_t ac_interrupt(int vec, void *dev_instance) in ac_interrupt() argument 629 // printk("Applicom interrupt on IRQ %d occurred\n", vec); in ac_interrupt()
|
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | policy.c | 284 profile->label.vec[0] = profile; in aa_alloc_profile()
|
/kernel/linux/linux-6.6/drivers/char/ |
H A D | applicom.c | 622 static irqreturn_t ac_interrupt(int vec, void *dev_instance) in ac_interrupt() argument 629 // printk("Applicom interrupt on IRQ %d occurred\n", vec); in ac_interrupt()
|
/kernel/linux/linux-6.6/rust/alloc/ |
H A D | boxed.rs | 181 use crate::vec::Vec; 1171 /// let x = vec![1, 2, 3].into_boxed_slice(); 1694 /// Like [`Vec::into_boxed_slice`], this is in-place if `vec.capacity() == N`, 1704 /// This can be used with [`vec!`] to create an array on the heap: 1707 /// let state: Box<[f32; 100]> = vec![1.0; 100].try_into().unwrap(); 1710 fn try_from(vec: Vec<T>) -> Result<Self, Self::Error> { in try_from() 1711 if vec.len() == N { in try_from() 1712 let boxed_slice = vec.into_boxed_slice(); in try_from() 1715 Err(vec) in try_from()
|
/third_party/nghttp2/lib/includes/nghttp2/ |
H A D | nghttp2.h | 5263 * the |veclen| size of buf vector |vec|. The each size of buffer 5266 * |vec| is not large enough to store the deflated header block, this 5277 * This function returns the number of bytes written to |vec| if it 5288 const nghttp2_vec *vec,
|
/third_party/node/deps/nghttp2/lib/includes/nghttp2/ |
H A D | nghttp2.h | 5247 * the |veclen| size of buf vector |vec|. The each size of buffer 5250 * |vec| is not large enough to store the deflated header block, this 5261 * This function returns the number of bytes written to |vec| if it 5272 const nghttp2_vec *vec,
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | ty.rs | 566 TypeKind::ObjCInterface(_) => vec![], in self_template_params() 904 let mut args = vec![]; in from_clang_ty()
|
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/ |
H A D | mod.rs | 662 pub fn mincore(addr: *mut ::c_void, len: ::size_t, vec: *mut ::c_char) -> ::c_int; in mincore()
|
/third_party/rust/crates/clap/src/output/ |
H A D | help_template.rs | 906 let mut spec_vals = vec![]; in sc_spec_vals()
|
/third_party/rust/crates/bindgen/bindgen-cli/ |
H A D | options.rs | 941 let mut args = vec![]; in builder_from_flags() 971 vec![] in builder_from_flags()
|