/third_party/mesa3d/src/amd/llvm/ |
H A D | ac_llvm_build.c | 560 LLVMValueRef vec = NULL; in ac_build_varying_gather_values() local 571 vec = LLVMGetUndef(LLVMVectorType(LLVMTypeOf(value), value_count)); in ac_build_varying_gather_values() 573 vec = LLVMBuildInsertElement(ctx->builder, vec, value, index, ""); in ac_build_varying_gather_values() 575 return vec; in ac_build_varying_gather_values() 583 LLVMValueRef vec = NULL; in ac_build_gather_values_extended() local 595 vec = LLVMGetUndef(LLVMVectorType(LLVMTypeOf(value), value_count)); in ac_build_gather_values_extended() 597 vec = LLVMBuildInsertElement(builder, vec, value, index, ""); in ac_build_gather_values_extended() 599 return vec; in ac_build_gather_values_extended() [all...] |
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/ |
H A D | self_cure_state_machine_test.cpp | 2561 std::vector<uint32_t> vec = {1, 2, 3, 4}; in HWTEST_F() local 2562 pSelfCureStateMachine->TransVecToIpAddress(vec); in HWTEST_F() 2564 vec = {0, 0, 0, 0}; in HWTEST_F() 2565 pSelfCureStateMachine->TransVecToIpAddress(vec); in HWTEST_F() 2567 vec = {}; in HWTEST_F() 2568 EXPECT_EQ(pSelfCureStateMachine->TransVecToIpAddress(vec), ""); in HWTEST_F()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl_rendering_context_base.cpp | 98 vector<string> vec {}; in GetSupportedExtensions() 99 Util::SplitString(str, vec, " "); in GetSupportedExtensions() 101 napi_create_array_with_length(env, vec.size(), &result); in GetSupportedExtensions() 102 for (vector<string>::size_type i = 0; i != vec.size(); ++i) { in GetSupportedExtensions() 103 LOGD("WebGL %{public}s", vec[i].c_str()); in GetSupportedExtensions() 104 napi_set_element(env, result, i, NVal::CreateUTF8String(env, vec[i]).val_); in GetSupportedExtensions()
|
/kernel/linux/linux-5.10/mm/ |
H A D | memcontrol.c | 2931 void *vec; in memcg_alloc_page_obj_cgroups() local 2934 vec = kcalloc_node(objects, sizeof(struct obj_cgroup *), gfp, in memcg_alloc_page_obj_cgroups() 2936 if (!vec) in memcg_alloc_page_obj_cgroups() 2940 (struct obj_cgroup **) ((unsigned long)vec | 0x1UL))) in memcg_alloc_page_obj_cgroups() 2941 kfree(vec); in memcg_alloc_page_obj_cgroups() 2943 kmemleak_not_leak(vec); in memcg_alloc_page_obj_cgroups()
|
/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()
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_service.cpp | 1429 inline bool IsContained(const std::vector<std::string> &vec, const std::string &target) in IsContained() argument 1433 auto iter = vec.begin(); in IsContained() 1434 while (iter != vec.end()) { in IsContained()
|
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
H A D | js_card_parser.cpp | 572 std::string GetArrStrFromVec(const std::vector<std::string>& vec) in GetArrStrFromVec() argument 575 for (auto iter = vec.begin(); iter != vec.end(); ++iter) { in GetArrStrFromVec()
|
/foundation/communication/ipc/ipc/native/src/napi_common/source/ |
H A D | napi_message_sequence_write.cpp | 1894 std::vector<T> vec; in BufferToVector() local 1895 std::copy(dataPtr, dataPtr + byteLength / sizeof(T), std::back_inserter(vec)); in BufferToVector() 1896 return vec; in BufferToVector()
|
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scene_session_test.cpp | 1963 std::vector<sptr<SceneSession>> vec; in HWTEST_F() 1964 vec.push_back(sceneSession); in HWTEST_F() 1965 return vec; in HWTEST_F()
|
/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()
|
/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()
|