Home
last modified time | relevance | path

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

12

/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/syzkaller/sys/syz-extract/
Dfreebsd.go56 for _, val := range info.Consts {
62 info.Consts = append(info.Consts, compat)
67 info.Consts = append(info.Consts, compat)
Dnetbsd.go72 for _, val := range info.Consts {
79 info.Consts = append(info.Consts, compat)
85 info.Consts = append(info.Consts, compat)
Dfetch.go25 Values: info.Consts,
35 for _, val := range info.Consts {
54 for _, v := range info.Consts {
Dextract.go286 if len(file.info.Consts) == 0 {
/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-7.0/llvm/lib/Target/AMDGPU/
DR600EmitClauseMarkers.cpp138 const SmallVectorImpl<std::pair<MachineOperand *, int64_t>> &Consts = in SubstituteKCacheBank() local
143 for (unsigned i = 0, n = Consts.size(); i < n; ++i) { in SubstituteKCacheBank()
144 if (Consts[i].first->getReg() != R600::ALU_CONST) in SubstituteKCacheBank()
146 unsigned Sel = Consts[i].second; in SubstituteKCacheBank()
174 for (unsigned i = 0, j = 0, n = Consts.size(); i < n; ++i) { in SubstituteKCacheBank()
175 if (Consts[i].first->getReg() != R600::ALU_CONST) in SubstituteKCacheBank()
179 Consts[i].first->setReg( in SubstituteKCacheBank()
183 Consts[i].first->setReg( in SubstituteKCacheBank()
DR600InstrInfo.cpp584 R600InstrInfo::fitsConstReadLimitations(const std::vector<unsigned> &Consts) in fitsConstReadLimitations()
586 assert (Consts.size() <= 12 && "Too many operands in instructions group"); in fitsConstReadLimitations()
588 for (unsigned i = 0, n = Consts.size(); i < n; ++i) { in fitsConstReadLimitations()
589 unsigned ReadConstHalf = Consts[i] & 2; in fitsConstReadLimitations()
590 unsigned ReadConstIndex = Consts[i] & (~3); in fitsConstReadLimitations()
611 std::vector<unsigned> Consts; in fitsConstReadLimitations() local
624 Consts.push_back(Src.second); in fitsConstReadLimitations()
629 Consts.push_back((Index << 2) | Chan); in fitsConstReadLimitations()
633 return fitsConstReadLimitations(Consts); in fitsConstReadLimitations()
DR600ISelLowering.cpp2117 std::vector<unsigned> Consts; in FoldOperand() local
2131 Consts.push_back(Cst->getZExtValue()); in FoldOperand()
2137 Consts.push_back(Cst->getZExtValue()); in FoldOperand()
2138 if (!TII->fitsConstReadLimitations(Consts)) { in FoldOperand()
/external/syzkaller/pkg/compiler/
Dconsts_test.go43 if !reflect.DeepEqual(info.Consts, wantConsts) {
44 t.Fatalf("got consts:\n%q\nwant:\n%q", info.Consts, wantConsts)
Dconsts.go22 Consts []string member
131 Consts: toArray(info.consts),
/external/syzkaller/prog/
Dtarget.go26 Consts []ConstValue member
108 for _, c := range target.Consts {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp2129 MutableArrayRef<ConstantInt*> Consts) const { in getBuildVectorConstInts()
2138 Consts[i] = ConstantInt::get(IntTy, 0); in getBuildVectorConstInts()
2144 Consts[i] = ConstantInt::get(IntTy, CI->getValue().getSExtValue()); in getBuildVectorConstInts()
2148 Consts[i] = ConstantInt::get(IntTy, A.getZExtValue()); in getBuildVectorConstInts()
2162 SmallVector<ConstantInt*,4> Consts(Elem.size()); in buildVector32() local
2163 bool AllConst = getBuildVectorConstInts(Elem, VecTy, DAG, Consts); in buildVector32()
2173 llvm::all_of(Consts, [](ConstantInt *CI) { return CI->isZero(); })) in buildVector32()
2179 uint32_t V = (Consts[0]->getZExtValue() & 0xFFFF) | in buildVector32()
2180 Consts[1]->getZExtValue() << 16; in buildVector32()
2191 int32_t V = (Consts[0]->getZExtValue() & 0xFF) | in buildVector32()
[all …]
DHexagonISelLoweringHVX.cpp391 SmallVector<ConstantInt*, 128> Consts(VecLen); in buildHvxVectorReg() local
392 bool AllConst = getBuildVectorConstInts(Values, VecTy, DAG, Consts); in buildHvxVectorReg()
394 ArrayRef<Constant*> Tmp((Constant**)Consts.begin(), in buildHvxVectorReg()
395 (Constant**)Consts.end()); in buildHvxVectorReg()
DHexagonISelLowering.h321 MutableArrayRef<ConstantInt*> Consts) const;
/external/syzkaller/sys/test/gen/
D64_fork.go10 …lls_64_fork, Resources: resources_64_fork, Structs: structDescs_64_fork, Consts: consts_64_fork}, …
D32_shmem.go10 …_32_shmem, Resources: resources_32_shmem, Structs: structDescs_32_shmem, Consts: consts_32_shmem},…
D32_fork_shmem.go10 … Resources: resources_32_fork_shmem, Structs: structDescs_32_fork_shmem, Consts: consts_32_fork_sh…
/external/spirv-llvm/lib/SPIRV/
DOCL20ToSPIRV.cpp932 auto Consts = getInt32(M, PreOps); in visitCallGroupBuiltin() local
948 Ops.insert(Ops.begin(), Consts.begin(), Consts.end()); in visitCallGroupBuiltin()
1343 auto Consts = getInt32(M, PreOps); in visitCallVecLoadStore() local
1351 Ops.insert(Ops.end(), Consts.begin(), Consts.end()); in visitCallVecLoadStore()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.h374 const void *Consts[PIPE_MAX_CONSTANT_BUFFERS]; member
/external/v8/src/
Dapi.h31 class Consts {

12