Home
last modified time | relevance | path

Searched refs:OpCode (Results 1 – 18 of 18) sorted by relevance

/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DWebSocketFrame.java17 private OpCode opCode;
26 private WebSocketFrame(OpCode opCode, boolean fin) { in WebSocketFrame()
31 public WebSocketFrame(OpCode opCode, boolean fin, byte[] payload, byte[] maskingKey) { in WebSocketFrame()
37 public WebSocketFrame(OpCode opCode, boolean fin, byte[] payload) { in WebSocketFrame()
41 …public WebSocketFrame(OpCode opCode, boolean fin, String payload, byte[] maskingKey) throws Charac… in WebSocketFrame()
47 …public WebSocketFrame(OpCode opCode, boolean fin, String payload) throws CharacterCodingException { in WebSocketFrame()
58 public WebSocketFrame(OpCode opCode, List<WebSocketFrame> fragments) throws WebSocketException { in WebSocketFrame()
81 public OpCode getOpCode() { in getOpCode()
85 public void setOpCode(OpCode opcode) { in setOpCode()
148 OpCode opCode = OpCode.find((byte) (head & 0x0F)); in read()
[all …]
DWebSocket.java5 import fi.iki.elonen.WebSocketFrame.OpCode;
23 protected WebSocketFrame.OpCode continuousOpCode = null;
82 if (frame.getOpCode() == OpCode.Close) { in handleWebsocketFrame()
84 } else if (frame.getOpCode() == OpCode.Ping) { in handleWebsocketFrame()
85 sendFrame(new WebSocketFrame(OpCode.Pong, true, frame.getBinaryPayload())); in handleWebsocketFrame()
86 } else if (frame.getOpCode() == OpCode.Pong) { in handleWebsocketFrame()
88 } else if (!frame.isFin() || frame.getOpCode() == OpCode.Continuation) { in handleWebsocketFrame()
92 } else if (frame.getOpCode() == OpCode.Text || frame.getOpCode() == OpCode.Binary) { in handleWebsocketFrame()
121 if (frame.getOpCode() != OpCode.Continuation) { in handleFrameFragment()
187 sendFrame(new WebSocketFrame(OpCode.Ping, true, payload)); in ping()
[all …]
/external/llvm/include/llvm/IR/
DInstruction.h119 static const char* getOpcodeName(unsigned OpCode);
121 static inline bool isTerminator(unsigned OpCode) {
122 return OpCode >= TermOpsBegin && OpCode < TermOpsEnd;
146 static inline bool isCast(unsigned OpCode) {
147 return OpCode >= CastOpsBegin && OpCode < CastOpsEnd;
/external/llvm/bindings/python/llvm/tests/
Dtest_core.py7 from ..core import OpCode
117 inst_list = [('arg1', OpCode.ExtractValue),
118 ('arg2', OpCode.ExtractValue),
119 ('', OpCode.Call),
120 ('', OpCode.Ret)]
Dtest_bitreader.py2 from ..core import OpCode
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp80 unsigned OpCode = CE->getOpcode(); in createReplacementInstr() local
81 switch (OpCode) { in createReplacementInstr()
105 Builder.CreateBinOp((Instruction::BinaryOps)OpCode, in createReplacementInstr()
121 Builder.CreateCast((Instruction::CastOps)OpCode, in createReplacementInstr()
DXCoreRegisterInfo.cpp169 unsigned OpCode = MI.getOpcode(); in InsertSPConstInst() local
172 if (OpCode==XCore::STWFI) { in InsertSPConstInst()
182 switch (OpCode) { in InsertSPConstInst()
/external/llvm/bindings/python/llvm/
Dbit_reader.py8 from .core import OpCode
Dcore.py82 class OpCode(LLVMEnumeration): class
88 super(OpCode, self).__init__(name, value)
417 return OpCode.from_value(lib.LLVMGetInstructionOpcode(self))
597 (OpCode, enumerations.OpCodes),
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp775 unsigned OpCode) const;
856 unsigned OpCode) const { in GetSCEVByOpCode()
857 if (OpCode == Instruction::Add) in GetSCEVByOpCode()
859 if (OpCode == Instruction::Sub) in GetSCEVByOpCode()
861 if (OpCode == Instruction::Mul) in GetSCEVByOpCode()
874 const unsigned OpCode = DU.NarrowUse->getOpcode(); in GetExtendedOperandRecurrence() local
876 if (OpCode != Instruction::Add && OpCode != Instruction::Sub && in GetExtendedOperandRecurrence()
877 OpCode != Instruction::Mul) in GetExtendedOperandRecurrence()
911 dyn_cast<SCEVAddRecExpr>(GetSCEVByOpCode(lhs, rhs, OpCode)); in GetExtendedOperandRecurrence()
/external/llvm/lib/IR/
DInstruction.cpp184 const char *Instruction::getOpcodeName(unsigned OpCode) { in getOpcodeName() argument
185 switch (OpCode) { in getOpcodeName()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h724 void visitBinary(const User &I, unsigned OpCode);
DSelectionDAGBuilder.cpp2828 void SelectionDAGBuilder::visitBinary(const User &I, unsigned OpCode) { in visitBinary() argument
2844 SDValue BinNodeValue = DAG.getNode(OpCode, getCurSDLoc(), Op1.getValueType(), in visitBinary()
2955 ISD::NodeType OpCode = Cond.getValueType().isVector() ? in visitSelect() local
2959 Values[i] = DAG.getNode(OpCode, getCurSDLoc(), in visitSelect()
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp658 unsigned OpCode = Is64Bit ? PPC::ISEL8 : PPC::ISEL; in insertSelect() local
694 BuildMI(MBB, MI, dl, get(OpCode), DestReg) in insertSelect()
/external/mesa3d/src/mesa/main/
Ddlist.c493 } OpCode; typedef
510 OpCode opcode;
595 is_ext_opcode(OpCode opcode) in is_ext_opcode()
651 const OpCode opcode = n[0].opcode; in _mesa_delete_list()
977 dlist_alloc(struct gl_context *ctx, OpCode opcode, GLuint bytes) in dlist_alloc()
1030 Node *n = dlist_alloc(ctx, (OpCode) opcode, bytes); in _mesa_dlist_alloc()
1078 alloc_instruction(struct gl_context *ctx, OpCode opcode, GLuint nparams) in alloc_instruction()
7692 const OpCode opcode = n[0].opcode; in execute_list()
10703 const OpCode opcode = n[0].opcode; in print_list()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp397 static Value *getIdentityValue(Instruction::BinaryOps OpCode, Value *V) { in getIdentityValue() argument
401 if (OpCode == Instruction::Mul) in getIdentityValue()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp613 int OpCode = doesNotReturn ? HexagonISD::CALLv3nr : HexagonISD::CALLv3; in LowerCall() local
614 Chain = DAG.getNode(OpCode, dl, NodeTys, Ops); in LowerCall()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp6692 unsigned OpCode = Left ? (ByteShift ? X86ISD::VSHLDQ : X86ISD::VSHLI) in lowerVectorShuffleAsShift() local
6707 V = DAG.getNode(OpCode, DL, ShiftVT, V, DAG.getConstant(ShiftAmt, MVT::i8)); in lowerVectorShuffleAsShift()
15568 unsigned OpCode = ((MOV64ri | N86R11) << 8) | REX_WB; // movabsq r11 in LowerINIT_TRAMPOLINE() local
15570 OutChains[0] = DAG.getStore(Root, dl, DAG.getConstant(OpCode, MVT::i16), in LowerINIT_TRAMPOLINE()
15582 OpCode = ((MOV64ri | N86R10) << 8) | REX_WB; // movabsq r10 in LowerINIT_TRAMPOLINE()
15585 OutChains[2] = DAG.getStore(Root, dl, DAG.getConstant(OpCode, MVT::i16), in LowerINIT_TRAMPOLINE()
15596 OpCode = (JMP64r << 8) | REX_WB; // jmpq *... in LowerINIT_TRAMPOLINE()
15599 OutChains[4] = DAG.getStore(Root, dl, DAG.getConstant(OpCode, MVT::i16), in LowerINIT_TRAMPOLINE()