Home
last modified time | relevance | path

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

/external/libese/apps/weaver/card/src/com/android/weaver/core/
DCoreSlots.java24 import com.android.weaver.Consts;
44 Consts.SLOT_VALUE_BYTES, JCSystem.CLEAR_ON_RESET); in CoreSlots()
85 ISOException.throwIt(Consts.SW_INVALID_SLOT_ID); in validateSlotId()
93 private byte[] mKey = new byte[Consts.SLOT_KEY_BYTES];
94 private byte[] mValue = new byte[Consts.SLOT_VALUE_BYTES];
109 Util.arrayCopy(keyBuffer, keyOffset, mKey, (short) 0, Consts.SLOT_KEY_BYTES); in write()
110 Util.arrayCopy(valueBuffer, valueOffset, mValue, (short) 0, Consts.SLOT_VALUE_BYTES); in write()
121 Util.arrayFillNonAtomic(mValue, (short) 0, Consts.SLOT_VALUE_BYTES, (byte) 0); in eraseValue()
129 arrayFill(mKey, (short) 0, Consts.SLOT_KEY_BYTES, (byte) 0); in erase()
130 arrayFill(mValue, (short) 0, Consts.SLOT_VALUE_BYTES, (byte) 0); in erase()
[all …]
/external/libese/apps/weaver/card/src/com/android/weaver/
DWeaver.java104 case Consts.INS_GET_NUM_SLOTS: in process()
108 case Consts.INS_WRITE: in process()
112 case Consts.INS_READ: in process()
116 case Consts.INS_ERASE_VALUE: in process()
120 case Consts.INS_ERASE_ALL: in process()
151 = Consts.SLOT_ID_BYTES + Consts.SLOT_KEY_BYTES + Consts.SLOT_VALUE_BYTES;
154 = WRITE_DATA_SLOT_ID_OFFSET + Consts.SLOT_ID_BYTES;
156 = WRITE_DATA_KEY_OFFSET + Consts.SLOT_KEY_BYTES;
175 = Consts.SLOT_ID_BYTES + Consts.SLOT_KEY_BYTES;
178 = WRITE_DATA_SLOT_ID_OFFSET + Consts.SLOT_ID_BYTES;
[all …]
DConsts.java20 public class Consts { class
/external/llvm/lib/Target/AMDGPU/
DR600EmitClauseMarkers.cpp126 const SmallVectorImpl<std::pair<MachineOperand *, int64_t>> &Consts = in SubstituteKCacheBank() local
131 for (unsigned i = 0, n = Consts.size(); i < n; ++i) { in SubstituteKCacheBank()
132 if (Consts[i].first->getReg() != AMDGPU::ALU_CONST) in SubstituteKCacheBank()
134 unsigned Sel = Consts[i].second; in SubstituteKCacheBank()
162 for (unsigned i = 0, j = 0, n = Consts.size(); i < n; ++i) { in SubstituteKCacheBank()
163 if (Consts[i].first->getReg() != AMDGPU::ALU_CONST) in SubstituteKCacheBank()
167 Consts[i].first->setReg( in SubstituteKCacheBank()
171 Consts[i].first->setReg( in SubstituteKCacheBank()
DR600InstrInfo.cpp593 R600InstrInfo::fitsConstReadLimitations(const std::vector<unsigned> &Consts) in fitsConstReadLimitations()
595 assert (Consts.size() <= 12 && "Too many operands in instructions group"); in fitsConstReadLimitations()
597 for (unsigned i = 0, n = Consts.size(); i < n; ++i) { in fitsConstReadLimitations()
598 unsigned ReadConstHalf = Consts[i] & 2; in fitsConstReadLimitations()
599 unsigned ReadConstIndex = Consts[i] & (~3); in fitsConstReadLimitations()
620 std::vector<unsigned> Consts; in fitsConstReadLimitations() local
635 Consts.push_back(Src.second); in fitsConstReadLimitations()
640 Consts.push_back((Index << 2) | Chan); in fitsConstReadLimitations()
644 return fitsConstReadLimitations(Consts); in fitsConstReadLimitations()
DR600ISelLowering.cpp2215 std::vector<unsigned> Consts; in FoldOperand() local
2229 Consts.push_back(Cst->getZExtValue()); in FoldOperand()
2235 Consts.push_back(Cst->getZExtValue()); in FoldOperand()
2236 if (!TII->fitsConstReadLimitations(Consts)) { in FoldOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DR600EmitClauseMarkers.cpp137 const SmallVectorImpl<std::pair<MachineOperand *, int64_t>> &Consts = in SubstituteKCacheBank() local
142 for (unsigned i = 0, n = Consts.size(); i < n; ++i) { in SubstituteKCacheBank()
143 if (Consts[i].first->getReg() != R600::ALU_CONST) in SubstituteKCacheBank()
145 unsigned Sel = Consts[i].second; in SubstituteKCacheBank()
173 for (unsigned i = 0, j = 0, n = Consts.size(); i < n; ++i) { in SubstituteKCacheBank()
174 if (Consts[i].first->getReg() != R600::ALU_CONST) in SubstituteKCacheBank()
178 Consts[i].first->setReg( in SubstituteKCacheBank()
182 Consts[i].first->setReg( in SubstituteKCacheBank()
DR600InstrInfo.cpp583 R600InstrInfo::fitsConstReadLimitations(const std::vector<unsigned> &Consts) in fitsConstReadLimitations()
585 assert (Consts.size() <= 12 && "Too many operands in instructions group"); in fitsConstReadLimitations()
587 for (unsigned i = 0, n = Consts.size(); i < n; ++i) { in fitsConstReadLimitations()
588 unsigned ReadConstHalf = Consts[i] & 2; in fitsConstReadLimitations()
589 unsigned ReadConstIndex = Consts[i] & (~3); in fitsConstReadLimitations()
610 std::vector<unsigned> Consts; in fitsConstReadLimitations() local
623 Consts.push_back(Src.second); in fitsConstReadLimitations()
628 Consts.push_back((Index << 2) | Chan); in fitsConstReadLimitations()
632 return fitsConstReadLimitations(Consts); in fitsConstReadLimitations()
DR600ISelLowering.cpp2115 std::vector<unsigned> Consts; in FoldOperand() local
2129 Consts.push_back(Cst->getZExtValue()); in FoldOperand()
2135 Consts.push_back(Cst->getZExtValue()); in FoldOperand()
2136 if (!TII->fitsConstReadLimitations(Consts)) { in FoldOperand()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DR600EmitClauseMarkers.cpp137 const SmallVectorImpl<std::pair<MachineOperand *, int64_t>> &Consts = in SubstituteKCacheBank() local
142 for (unsigned i = 0, n = Consts.size(); i < n; ++i) { in SubstituteKCacheBank()
143 if (Consts[i].first->getReg() != R600::ALU_CONST) in SubstituteKCacheBank()
145 unsigned Sel = Consts[i].second; in SubstituteKCacheBank()
173 for (unsigned i = 0, j = 0, n = Consts.size(); i < n; ++i) { in SubstituteKCacheBank()
174 if (Consts[i].first->getReg() != R600::ALU_CONST) in SubstituteKCacheBank()
178 Consts[i].first->setReg( in SubstituteKCacheBank()
182 Consts[i].first->setReg( in SubstituteKCacheBank()
DR600InstrInfo.cpp583 R600InstrInfo::fitsConstReadLimitations(const std::vector<unsigned> &Consts) in fitsConstReadLimitations()
585 assert (Consts.size() <= 12 && "Too many operands in instructions group"); in fitsConstReadLimitations()
587 for (unsigned i = 0, n = Consts.size(); i < n; ++i) { in fitsConstReadLimitations()
588 unsigned ReadConstHalf = Consts[i] & 2; in fitsConstReadLimitations()
589 unsigned ReadConstIndex = Consts[i] & (~3); in fitsConstReadLimitations()
610 std::vector<unsigned> Consts; in fitsConstReadLimitations() local
623 Consts.push_back(Src.second); in fitsConstReadLimitations()
628 Consts.push_back((Index << 2) | Chan); in fitsConstReadLimitations()
632 return fitsConstReadLimitations(Consts); in fitsConstReadLimitations()
DR600ISelLowering.cpp2121 std::vector<unsigned> Consts; in FoldOperand() local
2135 Consts.push_back(Cst->getZExtValue()); in FoldOperand()
2141 Consts.push_back(Cst->getZExtValue()); in FoldOperand()
2142 if (!TII->fitsConstReadLimitations(Consts)) { in FoldOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp2154 MutableArrayRef<ConstantInt*> Consts) const { in getBuildVectorConstInts()
2163 Consts[i] = ConstantInt::get(IntTy, 0); in getBuildVectorConstInts()
2169 Consts[i] = ConstantInt::get(IntTy, CI->getValue().getSExtValue()); in getBuildVectorConstInts()
2173 Consts[i] = ConstantInt::get(IntTy, A.getZExtValue()); in getBuildVectorConstInts()
2187 SmallVector<ConstantInt*,4> Consts(Elem.size()); in buildVector32() local
2188 bool AllConst = getBuildVectorConstInts(Elem, VecTy, DAG, Consts); in buildVector32()
2198 llvm::all_of(Consts, [](ConstantInt *CI) { return CI->isZero(); })) in buildVector32()
2204 uint32_t V = (Consts[0]->getZExtValue() & 0xFFFF) | in buildVector32()
2205 Consts[1]->getZExtValue() << 16; in buildVector32()
2216 int32_t V = (Consts[0]->getZExtValue() & 0xFF) | in buildVector32()
[all …]
DHexagonISelLoweringHVX.cpp399 SmallVector<ConstantInt*, 128> Consts(VecLen); in buildHvxVectorReg() local
400 bool AllConst = getBuildVectorConstInts(Values, VecTy, DAG, Consts); in buildHvxVectorReg()
402 ArrayRef<Constant*> Tmp((Constant**)Consts.begin(), in buildHvxVectorReg()
403 (Constant**)Consts.end()); in buildHvxVectorReg()
DHexagonISelLowering.h343 MutableArrayRef<ConstantInt*> Consts) const;
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp2302 MutableArrayRef<ConstantInt*> Consts) const { in getBuildVectorConstInts()
2311 Consts[i] = ConstantInt::get(IntTy, 0); in getBuildVectorConstInts()
2317 Consts[i] = ConstantInt::get(IntTy, CI->getValue().getSExtValue()); in getBuildVectorConstInts()
2321 Consts[i] = ConstantInt::get(IntTy, A.getZExtValue()); in getBuildVectorConstInts()
2335 SmallVector<ConstantInt*,4> Consts(Elem.size()); in buildVector32() local
2336 bool AllConst = getBuildVectorConstInts(Elem, VecTy, DAG, Consts); in buildVector32()
2347 llvm::all_of(Consts, [](ConstantInt *CI) { return CI->isZero(); })) in buildVector32()
2353 uint32_t V = (Consts[0]->getZExtValue() & 0xFFFF) | in buildVector32()
2354 Consts[1]->getZExtValue() << 16; in buildVector32()
2365 int32_t V = (Consts[0]->getZExtValue() & 0xFF) | in buildVector32()
[all …]
DHexagonISelLowering.h357 MutableArrayRef<ConstantInt*> Consts) const;
DHexagonISelLoweringHVX.cpp525 SmallVector<ConstantInt*, 128> Consts(VecLen); in buildHvxVectorReg() local
526 bool AllConst = getBuildVectorConstInts(Values, VecTy, DAG, Consts); in buildHvxVectorReg()
528 ArrayRef<Constant*> Tmp((Constant**)Consts.begin(), in buildHvxVectorReg()
529 (Constant**)Consts.end()); in buildHvxVectorReg()
/external/rust/crates/bindgen/src/ir/
Denum_ty.rs215 EnumVariation::Consts in computed_enum_variation()
/external/rust/crates/bindgen/src/codegen/
Dmod.rs2450 Consts, enumerator
2467 EnumVariation::Consts | EnumVariation::ModuleConsts => true, in is_const()
2475 EnumVariation::Consts in default()
2492 "consts" => Ok(EnumVariation::Consts), in from_str()
2522 Consts { enumerator
2541 EnumBuilder::Consts { codegen_depth, .. } => codegen_depth, in codegen_depth()
2588 EnumVariation::Consts => { in new()
2596 EnumBuilder::Consts { in new()
2701 EnumBuilder::Consts { ref repr, .. } => { in with_variant()
2822 EnumBuilder::Consts { variants, .. } => quote! { #( #variants )* }, in build()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.h363 const void *Consts[PIPE_MAX_CONSTANT_BUFFERS]; member
Dtgsi_exec.c1074 mach->Consts[i] = bufs[i]; in tgsi_exec_set_constant_buffers()
1483 assert(mach->Consts[index2D->i[i]]); in fetch_src_file_channel()
1490 const uint *buf = (const uint *)mach->Consts[constbuf]; in fetch_src_file_channel()
/external/rust/crates/bindgen/src/
Dlib.rs272 codegen::EnumVariation::Consts => "consts", in command_line_flags()
/external/libabigail/tests/data/test-annotate/
Dtest20-pr19025-libvtkParallelCore-6.1.so.abi8024 <!-- enum vtkMultiProcessController::Consts -->
8025 …<enum-decl name='Consts' filepath='/tmp/legendre/spack-stage/spack-stage-R_crTC/VTK-6.1.0/Parallel…
/external/libabigail/tests/data/test-read-dwarf/
Dtest20-pr19025-libvtkParallelCore-6.1.so.abi4869 …<enum-decl name='Consts' filepath='/tmp/legendre/spack-stage/spack-stage-R_crTC/VTK-6.1.0/Parallel…