/aosp_15_r20/external/virtio-media/driver/ |
H A D | virtio_media_driver.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0+ 4 * Virtio-media driver. 6 * Copyright (c) 2023-2024 Google LLC. 20 #include <media/v4l2-dev.h> 21 #include <media/v4l2-event.h> 22 #include <media/videobuf2-memops.h> 30 #include <media/v4l2-device.h> 31 #include <media/v4l2-ioctl.h> 47 * Name of the driver to expose to user-space. 49 * This is configurable because v4l2-compliance has workarounds specific to [all …]
|
H A D | virtio_media_ioctls.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0+ 4 * Ioctls implementations for the virtio-media driver. 6 * Copyright (c) 2023-2024 Google LLC. 11 #include <media/v4l2-event.h> 12 #include <media/v4l2-ioctl.h> 26 struct video_device *video_dev = fh->vdev; in virtio_media_send_r_ioctl() 27 struct virtio_media *vv = to_virtio_media(video_dev); in virtio_media_send_r_ioctl() local 31 .descs = session->command_sgs.sgl, in virtio_media_send_r_ioctl() 34 .shadow_buffer = session->shadow_buf, in virtio_media_send_r_ioctl() 56 v4l2_err(&vv->v4l2_dev, in virtio_media_send_r_ioctl() [all …]
|
/aosp_15_r20/external/libdav1d/src/riscv/64/ |
H A D | cdef16.S | 47 vmin.vv \vec_tmp1, \vec1, \vec_tmp1 48 vmin.vv \vec_tmp2, \vec2, \vec_tmp2 57 li t5, -32768 # INT16_MIN 60 li t2, -2 # y_start 87 addi t5, t5, -2 93 addi t3, t3, -2 97 li t0, -2 # x_start 108 addi t5, t5, -2 116 addi t0, t0, -1 134 addi t1, t1, -1 [all …]
|
H A D | cdef.S | 47 vmin.vv \vec_tmp1, \vec1, \vec_tmp1 48 vmin.vv \vec_tmp2, \vec2, \vec_tmp2 57 li t5, -32768 # INT16_MIN 60 li t2, -2 # y_start 87 addi t5, t5, -2 93 addi t3, t3, -2 97 li t0, -2 # x_start 108 addi t5, t5, -2 116 addi t0, t0, -1 134 addi t1, t1, -1 [all …]
|
H A D | itx.S | 106 li t1, (5793-4096)*8 112 vsadd.vv v0, v0, v4 113 vsadd.vv v1, v1, v5 114 vsadd.vv v2, v2, v6 115 vsadd.vv v3, v3, v7 121 vadd.vv v0, v0, v1 122 vsub.vv v5, v2, v3 123 vsub.vv v4, v0, v5 125 vsub.vv v2, v4, v1 126 vsub.vv v1, v4, v3 [all …]
|
/aosp_15_r20/prebuilts/clang-tools/linux-x86/lib64/clang/19/include/ |
H A D | hvx_hexagon_protos.h | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===// 74 …R_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1),__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)(… 85 …R_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1),__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)(… 96 …P(__builtin_HEXAGON_V6_pred_not)(__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1))),-1) 107 …R_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1),__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)(… 118 …R_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1),__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)(… 129 …AP(__builtin_HEXAGON_V6_vandqrt)((__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_pred_scalar2)(Rt)),-1) [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/lib/clang/19/include/ |
D | hvx_hexagon_protos.h | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===// 74 …R_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1),__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)(… 85 …R_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1),__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)(… 96 …P(__builtin_HEXAGON_V6_pred_not)(__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1))),-1) 107 …R_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1),__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)(… 118 …R_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1),__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)(… 129 …AP(__builtin_HEXAGON_V6_vandqrt)((__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_pred_scalar2)(Rt)),-1) [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/lib/clang/19/include/ |
D | hvx_hexagon_protos.h | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===// 74 …R_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1),__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)(… 85 …R_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1),__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)(… 96 …P(__builtin_HEXAGON_V6_pred_not)(__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1))),-1) 107 …R_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1),__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)(… 118 …R_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1),__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)(… 129 …AP(__builtin_HEXAGON_V6_vandqrt)((__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_pred_scalar2)(Rt)),-1) [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/lib/clang/18/include/ |
D | hvx_hexagon_protos.h | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===// 74 …R_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1),__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)(… 85 …R_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1),__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)(… 96 …P(__builtin_HEXAGON_V6_pred_not)(__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1))),-1) 107 …R_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1),__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)(… 118 …R_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1),__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)(… 129 …AP(__builtin_HEXAGON_V6_vandqrt)((__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_pred_scalar2)(Rt)),-1) [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/lib/clang/19/include/ |
D | hvx_hexagon_protos.h | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===// 74 …R_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1),__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)(… 85 …R_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1),__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)(… 96 …P(__builtin_HEXAGON_V6_pred_not)(__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1))),-1) 107 …R_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1),__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)(… 118 …R_WRAP(__builtin_HEXAGON_V6_vandvrt)((Qs),-1),__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vandvrt)(… 129 …AP(__builtin_HEXAGON_V6_vandqrt)((__BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_pred_scalar2)(Rt)),-1) [all …]
|
/aosp_15_r20/external/tcpdump/tests/ |
H A D | TESTLIST | 1 # The options -# and -n are useless in TESTLIST. They are already set 6 # We cannot rely on, for example, "print-x.out" and 7 # "print-X.out" being different files - we might be running 8 # this on a case-insensitive file system, e.g. a Windows 9 # file system or a case-insensitive HFS+ file system on 12 # Therefore, for "X" and "XX", we have "print-capX.out" 13 # and "print-capXX.out". 15 print-x print-flags.pcap print-x.out -x 16 print-xx print-flags.pcap print-xx.out -xx 17 print-X print-flags.pcap print-capX.out -X [all …]
|
H A D | printf_z.tests | 1 # -*- perl -*- 6 name => 'ospf-gmpls', 7 input => 'ospf-gmpls.pcap', 8 output => 'ospf-gmpls.out', 9 args => '-v' 13 name => 'ospf-nssa-bitnt', 14 input => 'ospf-nssa-bitnt.pcap', 15 output => 'ospf-nssa-bitnt.out', 16 args => '-v' 20 name => 'ospf3_ah-vv', [all …]
|
/aosp_15_r20/external/skia/resources/sksl/folding/ |
H A D | MatrixVectorNoOpFolding.rts | 10 const float2x2 n = float2x2(-1.0); 12 float2 v, vv; 24 if (v != -testInputs.xy) return false; 26 vv = v * z; 27 vv = z * v; 28 return vv == z[0]; 34 const float3x3 n = float3x3(-1.0); 36 float3 v, vv; 48 if (v != -testInputs.xyz) return false; 50 vv = v * z; [all …]
|
/aosp_15_r20/external/skia/tests/sksl/folding/ |
H A D | MatrixVectorNoOpFolding.glsl | 10 vec2 vv; 15 v = -testInputs.xy; 16 v = -testInputs.xy; 17 if (v != -testInputs.xy) return false; 18 vv = vec2(0.0); 19 vv = vec2(0.0); 20 return vv == vec2(0.0); 24 vec3 vv; 29 v = -testInputs.xyz; 30 v = -testInputs.xyz; [all …]
|
H A D | MatrixVectorNoOpFolding.wgsl | 12 fn test_no_op_mat2_X_vec2_b() -> bool { 15 var vv: vec2<f32>; 24 v = -_globalUniforms.testInputs.xy; 25 v = -_globalUniforms.testInputs.xy; 26 if any(v != (-_globalUniforms.testInputs.xy)) { 29 vv = vec2<f32>(0.0); 30 vv = vec2<f32>(0.0); 31 return all(vv == vec2<f32>(0.0)); 34 fn test_no_op_mat3_X_vec3_b() -> bool { 37 var vv: vec3<f32>; [all …]
|
/aosp_15_r20/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonInstrAlias.td | 1 //==- HexagonInstrAlias.td - Hexagon Instruction Aliases ---*- tablegen -*--==// 8 //===----------------------------------------------------------------------===// 10 //===----------------------------------------------------------------------===// 279 // Alias of: memXX($Rs + $u6_X) |= $Rt, also &=, +=, -= 293 def : InstAlias<"memb($Rs) -= $Rt", 301 def : InstAlias<"memb($Rs) -= #$U5", 317 def : InstAlias<"memh($Rs) -= $Rt", 325 def : InstAlias<"memh($Rs) -= #$U5", 341 def : InstAlias<"memw($Rs) -= $Rt", 349 def : InstAlias<"memw($Rs) -= #$U5", [all …]
|
/aosp_15_r20/art/disassembler/ |
H A D | disassembler_riscv64.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 19 #include "android-base/logging.h" 20 #include "android-base/stringprintf.h" 97 return static_cast<int32_t>(imm12) - static_cast<int32_t>(sign << 12); // Sign-extend. in Decode32Imm12() 109 return static_cast<int32_t>(imm) - static_cast<int32_t>(bit11 << 12); // Sign-extend. in Decode32StoreOffset() 129 // Re-orders raw immediatate into real value 136 // Re-orders raw immediatate to form real value 143 // Re-orders raw immediatate to form real value 150 // Re-orders raw immediatate to form real value 161 return static_cast<int32_t>(bits) - static_cast<int32_t>(sign_bit << kWidth); in SignExtendBits() [all …]
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/spirit/test/qi/ |
D | auto.cpp | 1 // Copyright (c) 2001-2011 Hartmut Kaiser 106 boost::variant<double, bool, std::vector<char> > vv; in main() local 107 BOOST_TEST(test_create_parser("true", vv) && vv.which() == 1 && in main() 108 boost::get<bool>(vv) == true); in main() 109 BOOST_TEST(test_create_parser("1.0", vv) && vv.which() == 0 && in main() 110 boost::get<double>(vv) == 1.0); in main() 111 BOOST_TEST(test_create_parser("some_string", vv) && vv.which() == 2 && in main() 112 boost::equals(boost::get<std::vector<char> >(vv), "some_string")); in main() 136 boost::variant<double, bool, std::vector<char> > vv; in main() local 137 BOOST_TEST(test_create_parser_auto("true", vv) && vv.which() == 1 && in main() [all …]
|
/aosp_15_r20/external/pytorch/c10/core/ |
H A D | Scalar.h | 26 * Scalar represents a 0-dimensional tensor which contains a single element. 30 * circumstances where you statically know a tensor is 0-dim and single size, 49 Scalar(type vv) : Scalar(vv, true) {} 70 Scalar(long vv) : Scalar(vv, true) {} in Scalar() argument 76 Scalar(long vv) : Scalar(vv, true) {} in Scalar() argument 82 Scalar(long long vv) : Scalar(vv, true) {} in Scalar() argument 85 Scalar(uint16_t vv) : Scalar(vv, true) {} in Scalar() argument 86 Scalar(uint32_t vv) : Scalar(vv, true) {} in Scalar() argument 87 Scalar(uint64_t vv) { in Scalar() argument 88 if (vv > static_cast<uint64_t>(INT64_MAX)) { in Scalar() [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonPatternsHVX.td | 1 //===- HexagonPatternsHVX.td - Selection Patterns for HVX --*- tablegen -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 40 const auto &ST = CurDAG->getSubtarget<HexagonSubtarget>(); 41 return CurDAG->getTargetConstant(ST.getVectorLength()/2, SDLoc(N), MVT::i32); 44 def Q2V: OutPatFrag<(ops node:$Qs), (V6_vandqrt $Qs, (ToI32 -1))>; 55 (ToI32 -1))>; 95 int32_t V = N->getSExtValue(); 96 int32_t VecSize = HRI->getSpillSize(Hexagon::HvxVRRegClass); 98 if ((uint32_t(V) & (uint32_t(VecSize)-1)) != 0) [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/clang/Basic/ |
D | BuiltinsPPC.def | 1 //===--- BuiltinsPPC.def - PowerPC Builtin function database ----*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file defines the PowerPC-specific builtin function database. Users of 14 //===----------------------------------------------------------------------===// 50 // XL Compatibility built-ins 64 BUILTIN(__builtin_ppc_dcbt, "vv*", "") 65 BUILTIN(__builtin_ppc_dcbtst, "vv*", "") 66 BUILTIN(__builtin_ppc_dcbz, "vv*", "") 67 TARGET_BUILTIN(__builtin_ppc_icbt, "vv*", "", "isa-v207-instructions") [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/clang/Basic/ |
D | BuiltinsPPC.def | 1 //===--- BuiltinsPPC.def - PowerPC Builtin function database ----*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file defines the PowerPC-specific builtin function database. Users of 14 //===----------------------------------------------------------------------===// 50 // XL Compatibility built-ins 64 BUILTIN(__builtin_ppc_dcbt, "vv*", "") 65 BUILTIN(__builtin_ppc_dcbtst, "vv*", "") 66 BUILTIN(__builtin_ppc_dcbz, "vv*", "") 67 TARGET_BUILTIN(__builtin_ppc_icbt, "vv*", "", "isa-v207-instructions") [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/clang/Basic/ |
D | BuiltinsPPC.def | 1 //===--- BuiltinsPPC.def - PowerPC Builtin function database ----*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file defines the PowerPC-specific builtin function database. Users of 14 //===----------------------------------------------------------------------===// 50 // XL Compatibility built-ins 64 BUILTIN(__builtin_ppc_dcbt, "vv*", "") 65 BUILTIN(__builtin_ppc_dcbtst, "vv*", "") 66 BUILTIN(__builtin_ppc_dcbz, "vv*", "") 67 TARGET_BUILTIN(__builtin_ppc_icbt, "vv*", "", "isa-v207-instructions") [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/Basic/ |
D | BuiltinsPPC.def | 1 //===--- BuiltinsPPC.def - PowerPC Builtin function database ----*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file defines the PowerPC-specific builtin function database. Users of 14 //===----------------------------------------------------------------------===// 50 // XL Compatibility built-ins 64 BUILTIN(__builtin_ppc_dcbt, "vv*", "") 65 BUILTIN(__builtin_ppc_dcbtst, "vv*", "") 66 BUILTIN(__builtin_ppc_dcbz, "vv*", "") 67 TARGET_BUILTIN(__builtin_ppc_icbt, "vv*", "", "isa-v207-instructions") [all …]
|
/aosp_15_r20/external/mksh/src/ |
H A D | Build.sh | 3 #- 11 # is granted to deal in this work without restriction, including un- 23 #- 36 if test -n "${ZSH_VERSION+x}" && (emulate sh) >/dev/null 2>&1; then 41 if test -d /usr/xpg4/bin/. >/dev/null 2>&1; then 83 rm -f "$bn.gen" 121 test -f "$srcfile" || genopt_die Source file \$srcfile not set. 152 0:/\*-|0:\ \**|0:) 216 set x -G "$srcfile" 219 if test x"$1" = x"-G"; then [all …]
|