Home
last modified time | relevance | path

Searched refs:tuple (Results 1 – 25 of 196) sorted by relevance

12345678

/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/
DPidfParserUtils.java193 public static String getTupleStatus(Tuple tuple) { in getTupleStatus() argument
194 if (tuple == null) { in getTupleStatus()
197 Status status = tuple.getStatus(); in getTupleStatus()
210 public static String getTupleServiceId(Tuple tuple) { in getTupleServiceId() argument
211 if (tuple == null) { in getTupleServiceId()
214 ServiceDescription servDescription = tuple.getServiceDescription(); in getTupleServiceId()
227 public static String getTupleServiceVersion(Tuple tuple) { in getTupleServiceVersion() argument
228 if (tuple == null) { in getTupleServiceVersion()
231 ServiceDescription servDescription = tuple.getServiceDescription(); in getTupleServiceVersion()
244 public static String getTupleServiceDescription(Tuple tuple) { in getTupleServiceDescription() argument
[all …]
DPidfParser.java212 presence.getTupleList().forEach(tuple -> { in convertToRcsContactUceCapability()
214 if (!tuple.getMalformed()) { in convertToRcsContactUceCapability()
215 RcsContactPresenceTuple capabilityTuple = getRcsContactPresenceTuple(tuple); in convertToRcsContactUceCapability()
230 private static RcsContactPresenceTuple getRcsContactPresenceTuple(Tuple tuple) { in getRcsContactPresenceTuple() argument
231 if (tuple == null) { in getRcsContactPresenceTuple()
236 if (Basic.OPEN.equals(PidfParserUtils.getTupleStatus(tuple))) { in getRcsContactPresenceTuple()
240 String serviceId = PidfParserUtils.getTupleServiceId(tuple); in getRcsContactPresenceTuple()
241 String serviceVersion = PidfParserUtils.getTupleServiceVersion(tuple); in getRcsContactPresenceTuple()
242 String serviceDescription = PidfParserUtils.getTupleServiceDescription(tuple); in getRcsContactPresenceTuple()
248 String contact = PidfParserUtils.getTupleContact(tuple); in getRcsContactPresenceTuple()
[all …]
/frameworks/libs/binary_translation/heavy_optimizer/riscv64/
Dcall_intrinsic_tests.cc94 __attribute__((naked)) std::tuple<uint64_t> CopyU64(uint64_t) { in CopyU64()
150 CallOneArgumentIntrinsicUseRegister(reinterpret_cast<std::tuple<uint32_t> (*)(uint64_t)>(CopyU64), in TEST()
156 CallOneArgumentIntrinsicUseRegister(reinterpret_cast<std::tuple<uint32_t> (*)(uint64_t)>(CopyU64), in TEST()
164 CallOneArgumentIntrinsicUseRegister(reinterpret_cast<std::tuple<int32_t> (*)(uint64_t)>(CopyU64), in TEST()
171 reinterpret_cast<std::tuple<int32_t> (*)(uint64_t)>(CopyU64), 0xcccc'eeffULL, &result); in TEST()
177 CallOneArgumentIntrinsicUseRegister(reinterpret_cast<std::tuple<uint64_t> (*)(uint8_t)>(CopyU64), in TEST()
183 CallOneArgumentIntrinsicUseIntegral(reinterpret_cast<std::tuple<uint64_t> (*)(uint8_t)>(CopyU64), in TEST()
191 CallOneArgumentIntrinsicUseRegister(reinterpret_cast<std::tuple<uint64_t> (*)(uint16_t)>(CopyU64), in TEST()
198 reinterpret_cast<std::tuple<uint64_t> (*)(uint16_t)>(CopyU64), 0xeeffULL, &result); in TEST()
202 CallOneArgumentIntrinsicUseIntegral(reinterpret_cast<std::tuple<uint64_t> (*)(uint16_t)>(CopyU64), in TEST()
[all …]
Dinline_intrinsic.h60 std::tuple args_tuple = std::make_tuple(args...); in TryInlineWithHostRounding()
200 static_assert(kDependentTypeFalse<std::tuple<DestRegClass, SrcRegClass>>); in Mov()
213 static_assert(kDependentTypeFalse<std::tuple<DestRegClass, SrcRegClass>>); in Mov()
226 static_assert(kDependentTypeFalse<std::tuple<DestRegClass, SrcRegClass>>); in Mov()
304 input_args_(std::tuple{args...}),
309 std::tuple<MacroAssembler<x86_64::Assembler>>,
368 std::tuple_cat(std::tuple<x86_64::MachineIRBuilder&>{*builder_}, in operator()
381 return std::tuple{imm}; in operator()
398 std::is_same_v<std::tuple_element_t<arg_info.from, std::tuple<ArgType...>>, in ProcessArgInput()
402 return std::tuple{xmm_reg}; in ProcessArgInput()
[all …]
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/pidfparser/pidf/
DTupleTest.java73 Tuple tuple = new Tuple(); in testElementName() local
75 assertEquals(PidfConstant.NAMESPACE, tuple.getNamespace()); in testElementName()
76 assertEquals(Tuple.ELEMENT_NAME, tuple.getElementName()); in testElementName()
82 Tuple tuple = new Tuple(); in testSerializing() local
87 tuple.setStatus(status); in testSerializing()
96 tuple.setServiceDescription(serviceDescription); in testSerializing()
107 tuple.setServiceCaps(serviceCaps); in testSerializing()
110 tuple.addNote(note); in testSerializing()
114 tuple.setTimestamp(timestamp); in testSerializing()
121 tuple.serialize(serializer); in testSerializing()
[all …]
DPresenceTest.java166 Tuple tuple = tupleList.get(0); in testParsing() local
167 assertEquals(serviceId, PidfParserUtils.getTupleServiceId(tuple)); in testParsing()
168 assertEquals(version, PidfParserUtils.getTupleServiceVersion(tuple)); in testParsing()
169 assertEquals(description, PidfParserUtils.getTupleServiceDescription(tuple)); in testParsing()
170 assertEquals(contact, PidfParserUtils.getTupleContact(tuple)); in testParsing()
246 Tuple tuple = tupleList.get(0); in testMalformedParsing() local
247 assertEquals(contact, PidfParserUtils.getTupleContact(tuple)); in testMalformedParsing()
249 assertEquals(serviceId, PidfParserUtils.getTupleServiceId(tuple)); in testMalformedParsing()
250 assertEquals(version, PidfParserUtils.getTupleServiceVersion(tuple)); in testMalformedParsing()
251 assertEquals(description, PidfParserUtils.getTupleServiceDescription(tuple)); in testMalformedParsing()
[all …]
/frameworks/libs/binary_translation/intrinsics/riscv64/include/berberis/intrinsics/riscv64/
Dvector_intrinsics.h51 [[nodiscard]] inline std::tuple<NoInactiveProcessing> FullMaskForRegister(NoInactiveProcessing) { in FullMaskForRegister()
56 [[nodiscard]] inline std::tuple<
73 [[nodiscard]] inline std::tuple<NoInactiveProcessing> MaskForRegisterInSequence( in MaskForRegisterInSequence()
80 [[nodiscard]] inline std::tuple<
99 [[nodiscard]] inline std::tuple<SIMD128Register> MakeBitmaskFromVlForTests(size_t vl) { in MakeBitmaskFromVlForTests()
108 [[nodiscard]] inline std::tuple<SIMD128Register> MakeBitmaskFromVl(size_t vl) { in MakeBitmaskFromVl()
114 [[nodiscard]] inline std::tuple<SIMD128Register> MakeBitmaskFromVl(size_t vl) { in MakeBitmaskFromVl()
120 [[nodiscard]] inline std::tuple<SIMD128Register> BitMaskToSimdMaskForTests(size_t mask) { in BitMaskToSimdMaskForTests()
137 [[nodiscard]] inline std::tuple<SIMD128Register> BitMaskToSimdMask(size_t mask) { in BitMaskToSimdMask()
144 [[nodiscard]] inline std::tuple<
[all …]
/frameworks/libs/binary_translation/intrinsics/riscv64/
Dintrinsics.cc24 std::tuple<uint64_t> Bclri(uint64_t src, uint8_t imm) { in Bclri()
28 std::tuple<uint64_t> Bexti(uint64_t src, uint8_t imm) { in Bexti()
32 std::tuple<uint64_t> Binvi(uint64_t src, uint8_t imm) { in Binvi()
36 std::tuple<uint64_t> Bseti(uint64_t src, uint8_t imm) { in Bseti()
40 std::tuple<uint64_t> CPUClockCount() { in CPUClockCount()
46 std::tuple<uint64_t> Slliuw(uint32_t src, uint8_t imm) { in Slliuw()
Dvector_intrinsics.cc57 std::tuple<uint64_t, uint64_t> Vsetivli(uint8_t avl, uint16_t vtype) { in Vsetivli()
61 std::tuple<uint64_t, uint64_t> Vsetvl(uint64_t avl, uint64_t vtype) { in Vsetvl()
71 std::tuple<uint64_t, uint64_t> Vsetvli(uint64_t avl, uint16_t vtype) { in Vsetvli()
81 std::tuple<uint64_t, uint64_t> Vsetvlmax(uint64_t vtype) { in Vsetvlmax()
85 std::tuple<uint64_t, uint64_t> Vsetvlimax(uint16_t vtype) { in Vsetvlimax()
89 std::tuple<uint64_t, uint64_t> Vtestvl(uint8_t vl_orig, uint64_t vtype_orig, uint64_t vtype_new) { in Vtestvl()
101 std::tuple<uint64_t, uint64_t> Vtestvli(uint8_t vl_orig, uint64_t vtype_orig, uint16_t vtype_new) { in Vtestvli()
Dvector_intrinsics_test.cc155 std::tuple{result_to_check}); in TEST()
164 std::tuple{result_to_check}); in TEST()
195 std::tuple{result_to_check}); in TEST()
201 std::tuple{result_to_check}); in TEST()
239 std::tuple{result_to_check_agnostic}); in TEST()
242 std::tuple{result_to_check_undisturbed}); in TEST()
251 std::tuple{result_to_check_agnostic}); in TEST()
260 std::tuple{result_to_check_agnostic}); in TEST()
269 std::tuple{result_to_check_undisturbed}); in TEST()
278 std::tuple{result_to_check_undisturbed}); in TEST()
[all …]
/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/
Dintrinsics_floating_point_impl.h34 std::tuple<FloatType> FAdd(int8_t rm, int8_t frm, FloatType arg1, FloatType arg2) { in FAdd()
46 std::tuple<FloatType> FAddHostRounding(FloatType arg1, FloatType arg2) { in FAddHostRounding()
51 std::tuple<uint64_t> FClass(FloatType arg) { in FClass()
75 std::tuple<TargetOperandType> FCvtFloatToFloat(int8_t rm, int8_t frm, SourceOperandType arg) { in FCvtFloatToFloat()
93 std::tuple<TargetOperandType> FCvtFloatToInteger(int8_t rm, int8_t frm, SourceOperandType arg) { in FCvtFloatToInteger()
137 std::tuple<TargetOperandType> FCvtIntegerToFloat(int8_t /*rm*/, in FCvtIntegerToFloat()
150 std::tuple<FloatType> FDiv(int8_t rm, int8_t frm, FloatType arg1, FloatType arg2) { in FDiv()
162 std::tuple<FloatType> FDivHostRounding(FloatType arg1, FloatType arg2) { in FDivHostRounding()
168 std::tuple<FloatType> FMAdd(int8_t rm, int8_t frm, FloatType arg1, FloatType arg2, FloatType arg3) { in FMAdd()
182 std::tuple<FloatType> FMAddHostRounding(FloatType arg1, FloatType arg2, FloatType arg3) { in FMAddHostRounding()
[all …]
Dintrinsics_atomics_impl.h58 std::tuple<IntType> AmoAdd(int64_t arg1, IntType arg2) { in AmoAdd()
66 std::tuple<IntType> AmoAnd(int64_t arg1, IntType arg2) { in AmoAnd()
74 std::tuple<IntType> AmoMax(int64_t arg1, IntType arg2) { in AmoMax()
81 std::tuple<IntType> AmoMin(int64_t arg1, IntType arg2) { in AmoMin()
88 std::tuple<IntType> AmoOr(int64_t arg1, IntType arg2) { in AmoOr()
96 std::tuple<IntType> AmoSwap(int64_t arg1, IntType arg2) { in AmoSwap()
104 std::tuple<IntType> AmoXor(int64_t arg1, IntType arg2) { in AmoXor()
/frameworks/libs/binary_translation/base/
Dbit_util_test.cc89 static_assert(Add(SatInt8{126}, SatInt8{1}) == std::tuple{SatInt8{127}, false});
90 static_assert(Add(SatInt8{127}, SatInt8{1}) == std::tuple{SatInt8{127}, true});
94 static_assert(Add(SatUInt8{254}, SatUInt8{1}) == std::tuple{SatUInt8{255}, false});
95 static_assert(Add(SatUInt8{255}, SatUInt8{1}) == std::tuple{SatUInt8{255}, true});
99 static_assert(Sub(SatInt8{-127}, SatInt8{1}) == std::tuple{SatInt8{-128}, false});
100 static_assert(Sub(SatInt8{-128}, SatInt8{1}) == std::tuple{SatInt8{-128}, true});
104 static_assert(Sub(SatUInt8{1}, SatUInt8{1}) == std::tuple{SatUInt8{0}, false});
105 static_assert(Sub(SatUInt8{0}, SatUInt8{1}) == std::tuple{SatUInt8{0}, true});
109 static_assert(Mul(SatInt8{127}, SatInt8{1}) == std::tuple{SatInt8{127}, false});
110 static_assert(Mul(SatInt8{-128}, SatInt8{1}) == std::tuple{SatInt8{-128}, false});
[all …]
/frameworks/libs/binary_translation/backend/include/berberis/backend/x86_64/
Dmachine_ir_test_corpus.h28 std::tuple<const MachineBasicBlock*,
35 std::tuple<const MachineBasicBlock*, const MachineBasicBlock*, const MachineBasicBlock*, MachineReg>
38 std::tuple<const MachineBasicBlock*, const MachineBasicBlock*, const MachineBasicBlock*, MachineReg>
41 std::tuple<const MachineBasicBlock*,
47 std::tuple<const MachineBasicBlock*,
Dmachine_insn_intrinsics.h54 tuple_cat_t<std::conditional_t<Predicate<Ts>::value, std::tuple<Ts>, std::tuple<>>...>;
63 using type = std::tuple<typename ArgTraits<T>::Class::Type>;
75 using type = std::tuple<MachineReg, int32_t>;
84 using type = std::tuple<MachineReg>;
121 class MachineInsn<AsmCallInfo, kMnemo, kOpcode, std::tuple<CtorArgs...>, Bindings...> final
151 std::tuple_cat(std::tuple<CodeEmitter&>{*as},
225 struct GenMachineInsnInfoT<std::tuple<T...>> {
281 return std::tuple{};
288 std::tuple{static_cast<constructor_one_arg_t<T>>(MachineInsnX86_64::imm())},
291 return std::tuple_cat(std::tuple{GetXReg(this->RegAt(reg_idx))},
[all …]
/frameworks/libs/binary_translation/assembler/
Dgen_asm_tests_x86.py103 'VecReg128': tuple('%%XMM%d' % N for N in (0, 4, 7)),
104 'XmmReg': tuple('%%XMM%d' % N for N in (0, 4, 7)),
105 'FpReg32': tuple('%%XMM%d' % N for N in range(8)),
106 'FpReg64': tuple('%%XMM%d' % N for N in range(8)),
132 'VecReg128': tuple('%%XMM%d' % N for N in range(0, 16, 5)),
133 'XmmReg': tuple('%%XMM%d' % N for N in range(0, 16, 5)),
134 'FpReg32': tuple('%%XMM%d' % N for N in range(16)),
135 'FpReg64': tuple('%%XMM%d' % N for N in range(16)),
185 'VecReg128': tuple('Assembler::xmm%d' % N for N in (0, 4, 7)),
186 'XmmReg': tuple('Assembler::xmm%d' % N for N in (0, 4, 7)),
[all …]
/frameworks/native/include/ftl/
Dinitializer_list.h60 return {std::tuple_cat(std::move(tuple), std::forward_as_tuple(std::forward<Args>(args)...))};
66 std::tuple<Types...> tuple;
81 std::tuple<K&&>, std::tuple<Args&&...>> {
83 std::move(tuple),
88 std::tuple<Types...> tuple;
/frameworks/base/core/java/android/animation/
DStateListAnimator.java83 Tuple tuple = new Tuple(specs, animator); in addState() local
84 tuple.mAnimator.addListener(mAnimatorListener); in addState()
85 mTuples.add(tuple); in addState()
147 final Tuple tuple = mTuples.get(i); in clone() local
148 final Animator animatorClone = tuple.mAnimator.clone(); in clone()
150 clone.addState(tuple.mSpecs, animatorClone); in clone()
167 final Tuple tuple = mTuples.get(i); in setState() local
168 if (StateSet.stateSetMatches(tuple.mSpecs, state)) { in setState()
169 match = tuple; in setState()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/pidf/
DPresence.java93 public void addTuple(@NonNull Tuple tuple) { in addTuple() argument
94 mTupleList.add(tuple); in addTuple()
119 for (Tuple tuple : mTupleList) { in serialize()
120 tuple.serialize(serializer); in serialize()
155 Tuple tuple = new Tuple(); in parse() local
159 tuple.parse(parser); in parse()
163 tuple.setMalformed(true); in parse()
165 mTupleList.add(tuple); in parse()
/frameworks/libs/binary_translation/intrinsics/common_to_x86_64/
Dtuple_test.cc30 extern "C" std::tuple<uint64_t> AsmTupleTest(std::tuple<uint64_t>*);
52 std::tuple<uint64_t> result_if_on_regs{}; in TupleIsReturnedOnRegisters()
53 std::tuple<uint64_t> result_if_on_stack{}; in TupleIsReturnedOnRegisters()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/pidfparser/
DPidfParserTest.java190 for(RcsContactPresenceTuple tuple : presenceTupleList) { in testConvertFromNewlineIncludedPidfToRcsContactUceCapability()
191 String serviceId = tuple.getServiceId(); in testConvertFromNewlineIncludedPidfToRcsContactUceCapability()
197 assertEquals(expectedTuple.getStatus(), tuple.getStatus()); in testConvertFromNewlineIncludedPidfToRcsContactUceCapability()
198 assertEquals(expectedTuple.getServiceVersion(), tuple.getServiceVersion()); in testConvertFromNewlineIncludedPidfToRcsContactUceCapability()
199 assertEquals(expectedTuple.getServiceDescription(), tuple.getServiceDescription()); in testConvertFromNewlineIncludedPidfToRcsContactUceCapability()
200 assertEquals(mPidfTimestamp, tuple.getTime()); in testConvertFromNewlineIncludedPidfToRcsContactUceCapability()
201 assertEquals(expectedTuple.getContactUri(), tuple.getContactUri()); in testConvertFromNewlineIncludedPidfToRcsContactUceCapability()
204 ServiceCapabilities resultCap = tuple.getServiceCapabilities(); in testConvertFromNewlineIncludedPidfToRcsContactUceCapability()
220 for (RcsContactPresenceTuple tuple : expectedTupleList) { in findTuple()
221 if (serviceId.equalsIgnoreCase(tuple.getServiceId())) { in findTuple()
[all …]
/frameworks/libs/binary_translation/intrinsics/riscv64_to_x86_64/include/berberis/intrinsics/
Dvector_intrinsics.h33 [[nodiscard]] inline const std::tuple<SIMD128Register>& VectorBroadcast() { in VectorBroadcast()
34 return *bit_cast<const std::tuple<SIMD128Register>*>(static_cast<uintptr_t>( in VectorBroadcast()
38 [[nodiscard, gnu::pure]] inline std::tuple<SIMD128Register> MakeBitmaskFromVl(size_t vl) { in MakeBitmaskFromVl()
45 [[nodiscard, gnu::pure]] inline std::tuple<SIMD128Register> BitMaskToSimdMask(size_t mask) { in BitMaskToSimdMask()
80 [[nodiscard, gnu::pure]] inline std::tuple<SIMD128Register> VectorMaskedElementTo( in VectorMaskedElementTo()
98 [[nodiscard, gnu::pure]] inline std::tuple<
118 [[nodiscard, gnu::pure]] inline std::tuple<SIMD128Register> Vidv(size_t index) { in Vidv()
/frameworks/libs/binary_translation/lite_translator/riscv64_to_x86_64/
Dinline_intrinsic.h56 std::tuple args_tuple = std::make_tuple(args...); in TryInlineWithHostRounding()
239 input_args_(std::tuple{args...}),
244 std::tuple<MacroAssembler<x86_64::Assembler>>,
278 std::tuple_cat(std::tuple<MacroAssembler<x86_64::Assembler>&>{as_}, in operator()
339 return std::tuple{std::get<arg_info.from>(input_args_)}; in ProcessArgInput()
348 return std::tuple{reg}; in ProcessArgInput()
352 return std::tuple{std::get<arg_info.from>(input_args_)}; in ProcessArgInput()
365 return std::tuple{result_xmm_reg_}; in ProcessArgInput()
369 return std::tuple{result_}; in ProcessArgInput()
375 return std::tuple{}; in ProcessArgInput()
[all …]
Dinline_intrinsic_tests.cc69 AllocArg<Args, I>(std::tuple{std::forward<ExplicitArgs>(args)...})...); in Call()
75 if constexpr (std::is_same_v<Result, std::tuple<uint32_t>> || in AllocResult()
76 std::is_same_v<Result, std::tuple<int32_t>> || in AllocResult()
77 std::is_same_v<Result, std::tuple<uint64_t>> || in AllocResult()
78 std::is_same_v<Result, std::tuple<int64_t>>) { in AllocResult()
80 } else if constexpr (std::is_same_v<Result, std::tuple<SIMD128Register, uint32_t>>) { in AllocResult()
82 } else if constexpr (std::is_same_v<Result, std::tuple<SIMD128Register>> || in AllocResult()
83 std::is_same_v<Result, std::tuple<Float32>> || in AllocResult()
84 std::is_same_v<Result, std::tuple<Float64>>) { in AllocResult()
/frameworks/libs/binary_translation/backend/x86_64/
Dmachine_insn_intrinsics_tests.cc46 std::tuple<MachineReg, int32_t>>);
50 std::tuple<MachineReg>>);
53 std::tuple<int32_t>>);
60 std::tuple<int16_t, MachineReg, int32_t, MachineReg>>);

12345678