Home
last modified time | relevance | path

Searched refs:Consts (Results 1 – 12 of 12) 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/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.h370 const void *Consts[PIPE_MAX_CONSTANT_BUFFERS]; member
Dtgsi_exec.c1040 mach->Consts[i] = bufs[i]; in tgsi_exec_set_constant_buffers()
1497 assert(mach->Consts[index2D->i[i]]); in fetch_src_file_channel()
1504 const uint *buf = (const uint *)mach->Consts[constbuf]; in fetch_src_file_channel()
/external/v8/src/
Dapi.h21 class Consts {
Dapi.cc1239 InitializeTemplate(info, Consts::FUNCTION_TEMPLATE); in InitializeFunctionTemplate()
1557 InitializeTemplate(obj, Consts::OBJECT_TEMPLATE); in ObjectTemplateNew()
/external/tensorflow/tensorflow/docs_src/mobile/
Dprepare_models.md63 checkpoints, and then converts all Consts to Variables. You can then load the