HomeSort by relevance Sort by last modified time
    Searched refs:opCode (Results 1 - 25 of 54) sorted by null

1 2 3

  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/SPIRV/
SPVRemapper.cpp 61 // hash opcode, with special handling for OpExtInst
64 const spv::Op opCode = asOpCode(word);
68 switch (opCode) {
75 return opCode * 19 + offset; // 19 = small prime
78 spirvbin_t::range_t spirvbin_t::literalRange(spv::Op opCode) const
82 switch (opCode) {
97 spirvbin_t::range_t spirvbin_t::typeRange(spv::Op opCode) const
101 if (isConstOp(opCode))
104 switch (opCode) {
118 spirvbin_t::range_t spirvbin_t::constRange(spv::Op opCode) cons
    [all...]
disassemble.cpp 116 void disassembleInstruction(Id resultId, Id typeId, Op opCode, int numOperands);
177 // Instruction wordCount and opcode
180 Op opCode = (Op)(firstWord & OpCodeMask);
193 if (InstructionDesc[opCode].hasType()) {
200 if (InstructionDesc[opCode].hasResult()) {
213 disassembleInstruction(resultId, typeId, opCode, numOperands);
332 void SpirvStream::disassembleInstruction(Id resultId, Id /*typeId*/, Op opCode, int numOperands)
334 // Process the opcode
336 out << (OpcodeString(opCode) + 2); // leave out the "Op"
338 if (opCode == OpLoopMerge || opCode == OpSelectionMerge
    [all...]
SPVRemapper.h 170 bool isConstOp(spv::Op opCode) const;
171 bool isTypeOp(spv::Op opCode) const;
172 bool isStripOp(spv::Op opCode) const;
173 bool isFlowCtrl(spv::Op opCode) const;
174 range_t literalRange(spv::Op opCode) const;
175 range_t typeRange(spv::Op opCode) const;
176 range_t constRange(spv::Op opCode) const;
spvIR.h 91 Instruction(Id resultId, Id typeId, Op opCode) : resultId(resultId), typeId(typeId), opCode(opCode), block(nullptr) { }
92 explicit Instruction(Op opCode) : resultId(NoResult), typeId(NoType), opCode(opCode), block(nullptr) { }
124 Op getOpCode() const { return opCode; }
143 out.push_back(((wordCount) << WordCountShift) | opCode);
158 Op opCode;
SpvBuilder.cpp 621 Id Builder::findScalarConstant(Op typeClass, Op opcode, Id typeId, unsigned value) const
626 if (constant->getOpCode() == opcode &&
636 Id Builder::findScalarConstant(Op typeClass, Op opcode, Id typeId, unsigned v1, unsigned v2) const
641 if (constant->getOpCode() == opcode &&
651 // Return true if consuming 'opcode' means consuming a constant.
654 bool Builder::isConstantOpCode(Op opcode) const
656 switch (opcode) {
675 // Return true if consuming 'opcode' means consuming a specialization constant.
676 bool Builder::isSpecConstantOpCode(Op opcode) const
678 switch (opcode) {
694 Op opcode = specConstant ? (b ? OpSpecConstantTrue : OpSpecConstantFalse) : (b ? OpConstantTrue : OpConstantFalse); local
721 Op opcode = specConstant ? OpSpecConstant : OpConstant; local
742 Op opcode = specConstant ? OpSpecConstant : OpConstant; local
767 Op opcode = specConstant ? OpSpecConstant : OpConstant; local
792 Op opcode = specConstant ? OpSpecConstant : OpConstant; local
821 Op opcode = specConstant ? OpSpecConstant : OpConstant; local
879 Op opcode = specConstant ? OpSpecConstantComposite : OpConstantComposite; local
    [all...]
GlslangToSpv.cpp     [all...]
  /frameworks/rs/rsov/compiler/spirit/
instructions.h 48 Instruction(uint32_t opCode) : mCodeAndCount(opCode) {}
49 Instruction(uint32_t opCode, uint32_t fixedWordCount)
50 : mCodeAndCount(opCode), mFixedWordCount(fixedWordCount) {}
76 bool DeserializeFirstWord(InputWordStream &IS, OpCode opcode) {
83 if (codeAndCount.mOpCode != opcode) {
  /external/skia/src/sksl/
SkSLSPIRVCodeGenerator.h 264 void writeOpCode(SpvOp_ opCode, int length, OutputStream& out);
272 void writeInstruction(SpvOp_ opCode, OutputStream& out);
274 void writeInstruction(SpvOp_ opCode, StringFragment string, OutputStream& out);
276 void writeInstruction(SpvOp_ opCode, int32_t word1, OutputStream& out);
278 void writeInstruction(SpvOp_ opCode, int32_t word1, StringFragment string, OutputStream& out);
280 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, StringFragment string,
283 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, OutputStream& out);
285 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, int32_t word3,
288 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, int32_t word3, int32_t word4,
291 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, int32_t word3, int32_t word4
    [all...]
  /external/skqp/src/sksl/
SkSLSPIRVCodeGenerator.h 264 void writeOpCode(SpvOp_ opCode, int length, OutputStream& out);
272 void writeInstruction(SpvOp_ opCode, OutputStream& out);
274 void writeInstruction(SpvOp_ opCode, StringFragment string, OutputStream& out);
276 void writeInstruction(SpvOp_ opCode, int32_t word1, OutputStream& out);
278 void writeInstruction(SpvOp_ opCode, int32_t word1, StringFragment string, OutputStream& out);
280 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, StringFragment string,
283 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, OutputStream& out);
285 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, int32_t word3,
288 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, int32_t word3, int32_t word4,
291 void writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, int32_t word3, int32_t word4
    [all...]
  /frameworks/base/telephony/java/android/telephony/
LocationAccessPolicy.java 77 final int opCode = AppOpsManager.permissionToOpCode(
79 if (opCode != AppOpsManager.OP_NONE && context.getSystemService(AppOpsManager.class)
80 .noteOpNoThrow(opCode, uid, pkgName) != AppOpsManager.MODE_ALLOWED) {
  /frameworks/base/telephony/java/com/android/internal/telephony/
TelephonyPermissions.java 207 int opCode = AppOpsManager.permissionToOpCode(android.Manifest.permission.READ_SMS);
208 if (opCode != AppOpsManager.OP_NONE) {
209 return appOps.noteOp(opCode, uid, callingPackage) == AppOpsManager.MODE_ALLOWED;
219 int opCode = AppOpsManager.permissionToOpCode(
221 if (opCode != AppOpsManager.OP_NONE) {
222 return appOps.noteOp(opCode, uid, callingPackage) == AppOpsManager.MODE_ALLOWED;
  /external/capstone/arch/PowerPC/
PPCInstPrinter.c 746 const char *opCode;
756 opCode = "b%s";
759 opCode = "b%sa";
762 opCode = "b%sctr";
765 opCode = "b%sctrl";
768 opCode = "b%sl";
771 opCode = "b%sla";
774 opCode = "b%slr";
777 opCode = "b%slrl";
785 SStream_concat(&ss, opCode, "dnzf")
    [all...]
  /external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
NanoWSD.java 53 import fi.iki.elonen.NanoWSD.WebSocketFrame.OpCode;
71 private WebSocketFrame.OpCode continuousOpCode = null;
191 if (frame.getOpCode() != OpCode.Continuation) {
218 if (frame.getOpCode() == OpCode.Close) {
220 } else if (frame.getOpCode() == OpCode.Ping) {
221 sendFrame(new WebSocketFrame(OpCode.Pong, true, frame.getBinaryPayload()));
222 } else if (frame.getOpCode() == OpCode.Pong) {
224 } else if (!frame.isFin() || frame.getOpCode() == OpCode.Continuation) {
228 } else if (frame.getOpCode() == OpCode.Text || frame.getOpCode() == OpCode.Binary)
    [all...]
  /external/python/cpython2/Mac/Modules/cg/
CFMLateImport.c 267 // Given a pointer to the start of an opcode (inOpStart), work out the
268 // count argument for that opcode (*outCount). Returns the number of
269 // bytes consumed by the opcode and count combination.
276 // Simple case, count encoded in opcode.
292 UInt8 opCode;
312 opCode = packedData[offset];
314 switch (PEFPkDataOpcode(opCode)) {
414 DebugStr("\pUnpackPEFDataSection: Unexpected data opcode");
    [all...]
  /frameworks/base/obex/javax/obex/
ClientSession.java 449 * @param opCode the type of request to send to the client
459 public boolean sendRequest(int opCode, byte[] head, HeaderSet header,
472 if (opCode == ObexHelper.OBEX_OPCODE_PUT) {
475 } else if (opCode == ObexHelper.OBEX_OPCODE_GET) {
479 } else if (opCode == ObexHelper.OBEX_OPCODE_GET_FINAL) {
489 out.write((byte)opCode);
521 if (opCode == ObexHelper.OBEX_OPCODE_CONNECT) {
562 if (opCode == ObexHelper.OBEX_OPCODE_ABORT) {
598 return sendRequest(opCode, sendHeaders, header, privateInput, false);
ClientOperation.java 436 * @param opCode the request code to send to the client
441 private boolean sendRequest(int opCode) throws IOException {
489 if (!mParent.sendRequest(opCode, sendHeader, mReplyHeader, mPrivateInput, false)) {
512 opCode |= ObexHelper.OBEX_OPCODE_FINAL_BIT_MASK;
537 && ((opCode & ObexHelper.OBEX_OPCODE_FINAL_BIT_MASK) != 0)) {
555 if ((opCode & ObexHelper.OBEX_OPCODE_FINAL_BIT_MASK) == 0) {
568 if (!mParent.sendRequest(opCode, null, mReplyHeader, mPrivateInput, mSrmActive)) {
576 && (!mParent.sendRequest(opCode, out.toByteArray(),
  /external/skia/tools/
remote_demo.cpp 44 enum class OpCode : int32_t {
54 Op(OpCode opCode, SkFontID typefaceId, const SkScalerContextRec& rec)
55 : opCode{opCode}
58 const OpCode opCode;
82 Op* op = this->createOp(OpCode::kFontMetrics, tf, rec);
92 Op* op = this->createOp(OpCode::kGlyphMetrics, tf, rec);
104 Op* op = this->createOp(OpCode::kGlyphImage, tf, rec)
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/
classpnp.h 39 #define IS_SCSIOP_READ(opCode) \
40 ((opCode == SCSIOP_READ6) || \
41 (opCode == SCSIOP_READ) || \
42 (opCode == SCSIOP_READ12) || \
43 (opCode == SCSIOP_READ16))
45 #define IS_SCSIOP_WRITE(opCode) \
46 ((opCode == SCSIOP_WRITE6) || \
47 (opCode == SCSIOP_WRITE) || \
48 (opCode == SCSIOP_WRITE12) || \
49 (opCode == SCSIOP_WRITE16)
    [all...]
  /frameworks/native/libs/gui/tests/
SurfaceParcelable_test.cpp 123 uint32_t opCode = GetParam();
126 status_t error = mService->transact(opCode, data, &reply);
  /packages/apps/DocumentsUI/src/com/android/documentsui/
Metrics.java 580 @FileOp int opCode = FILEOP_OTHER_ERROR;
583 opCode = FILEOP_COPY_ERROR;
586 opCode = FILEOP_COMPRESS_ERROR;
589 opCode = FILEOP_EXTRACT_ERROR;
592 opCode = FILEOP_DELETE_ERROR;
595 opCode = FILEOP_MOVE_ERROR;
599 logHistogram(context, COUNT_FILEOP_SYSTEM, opCode);
602 logHistogram(context, COUNT_FILEOP_EXTERNAL, opCode);
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
mxdc.h 50 ULONG opCode;
  /frameworks/base/services/net/java/android/net/util/
ConnectivityPacketSummary.java 129 final int opCode = asUint(mPacket.getShort());
136 if (opCode == ARP_REQUEST) {
138 } else if (opCode == ARP_REPLY) {
141 sj.add("unknown opcode").add(asString(opCode));
  /frameworks/base/media/native/midi/
midi.cpp 72 * + OpCode (AMIDI_OPCODE_DATA)
184 message->opcode = readBuffer[0];
186 if (message->opcode == AMIDI_OPCODE_DATA && readCount >= AMIDI_PACKET_OVERHEAD) {
262 uint8_t opCode = AMIDI_OPCODE_FLUSH;
264 ssize_t numWritten = write(((AMIDI_Port*)inputPort)->ufd, &opCode, numTransferBytes);
  /frameworks/base/services/tests/servicestests/src/com/android/server/appops/
AppOpsServiceTest.java 200 private void assertContainsOp(List<PackageOps> loggedOps, int opCode, long minMillis,
210 if (opCode != opEntry.getOp()) {
  /frameworks/native/libs/binder/
IAppOpsService.cpp 206 const int32_t opCode = permissionToOpCode(permission);
208 reply->writeInt32(opCode);

Completed in 991 milliseconds

1 2 3