Home
last modified time | relevance | path

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

12

/external/llvm/bindings/python/llvm/tests/
Dtest_core.py2 from ..core import OpCode
7 self.assertTrue(hasattr(OpCode, 'Ret'))
8 self.assertTrue(isinstance(OpCode.Ret, OpCode))
9 self.assertEqual(OpCode.Ret.value, 1)
11 op = OpCode.from_value(1)
12 self.assertTrue(isinstance(op, OpCode))
13 self.assertEqual(op, OpCode.Ret)
/external/llvm/bindings/python/llvm/
Dcore.py27 class OpCode(object): class
42 result = OpCode._value_map.get(value, None)
56 if value in OpCode._value_map:
59 opcode = OpCode(name, value)
60 OpCode._value_map[value] = opcode
61 setattr(OpCode, name, opcode)
95 OpCode.register(name, value)
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DWebSocketFrame.h40 enum OpCode { enum
56 …static bool isNonControlOpCode(OpCode opCode) { return opCode == OpCodeContinuation || opCode == O… in isNonControlOpCode()
57 …static bool isControlOpCode(OpCode opCode) { return opCode == OpCodeClose || opCode == OpCodePing … in isControlOpCode()
58 …static bool isReservedOpCode(OpCode opCode) { return !isNonControlOpCode(opCode) && !isControlOpCo… in isReservedOpCode()
76 WebSocketFrame(OpCode, const char* payload, size_t payloadLength, Flags = EmptyFlags);
79 OpCode opCode;
DWebSocketPerMessageDeflateTest.cpp49 WebSocketFrame::OpCode opcode = WebSocketFrame::OpCodeText; in TEST()
71 WebSocketFrame::OpCode opcode = WebSocketFrame::OpCodeText; in TEST()
92 WebSocketFrame::OpCode text = WebSocketFrame::OpCodeText; in TEST()
112 WebSocketFrame::OpCode opcode = !i ? text : WebSocketFrame::OpCodeContinuation; in TEST()
125 WebSocketFrame::OpCode opcode = !i ? text : WebSocketFrame::OpCodeContinuation; in TEST()
143 WebSocketFrame::OpCode opcode = WebSocketFrame::OpCodeBinary; in TEST()
220 WebSocketFrame::OpCode opcode = WebSocketFrame::OpCodeClose; in TEST()
233 WebSocketFrame::OpCode close = WebSocketFrame::OpCodeClose; in TEST()
234 WebSocketFrame::OpCode text = WebSocketFrame::OpCodeText; in TEST()
235 WebSocketFrame::OpCode continuation = WebSocketFrame::OpCodeContinuation; in TEST()
[all …]
DMainThreadWebSocketChannel.h144 WebSocketFrame::OpCode opCode;
152 void enqueueRawFrame(WebSocketFrame::OpCode, const char* data, size_t dataLength);
153 void enqueueBlobFrame(WebSocketFrame::OpCode, PassRefPtr<BlobDataHandle>);
174 bool sendFrame(WebSocketFrame::OpCode, const char* data, size_t dataLength);
210 WebSocketFrame::OpCode m_continuousFrameOpCode;
DWebSocketFrame.cpp116 frame.opCode = static_cast<WebSocketFrame::OpCode>(opCode); in parseFrame()
188 WebSocketFrame::WebSocketFrame(OpCode opCode, const char* payload, size_t payloadLength, Flags flag… in WebSocketFrame()
DMainThreadWebSocketChannel.cpp705 void MainThreadWebSocketChannel::enqueueRawFrame(WebSocketFrame::OpCode opCode, const char* data, s… in enqueueRawFrame()
717 void MainThreadWebSocketChannel::enqueueBlobFrame(WebSocketFrame::OpCode opCode, PassRefPtr<BlobDat… in enqueueBlobFrame()
797 bool MainThreadWebSocketChannel::sendFrame(WebSocketFrame::OpCode opCode, const char* data, size_t … in sendFrame()
DNewWebSocketChannelImpl.cpp421 …WebSocketFrame::OpCode opcode = m_receivingMessageTypeIsText ? WebSocketFrame::OpCodeText : WebSoc… in didReceiveData()
/external/chromium_org/net/websockets/
Dwebsocket_frame.h25 typedef int OpCode; typedef
42 static bool IsKnownDataOpCode(OpCode opcode) { in IsKnownDataOpCode()
49 static bool IsKnownControlOpCode(OpCode opcode) { in IsKnownControlOpCode()
63 explicit WebSocketFrameHeader(OpCode opCode) in WebSocketFrameHeader()
84 OpCode opcode;
97 explicit WebSocketFrame(WebSocketFrameHeader::OpCode opcode);
Dwebsocket_channel.h72 WebSocketFrameHeader::OpCode op_code,
187 ChannelState HandleFrame(const WebSocketFrameHeader::OpCode opcode,
198 WebSocketFrameHeader::OpCode op_code,
Dwebsocket_deflate_stream.h94 WebSocketFrameHeader::OpCode current_reading_opcode_;
95 WebSocketFrameHeader::OpCode current_writing_opcode_;
Dwebsocket_frame_parser.cc99 typedef WebSocketFrameHeader::OpCode OpCode; in DecodeFrameHeader() typedef
119 OpCode opcode = first_byte & kOpCodeMask; in DecodeFrameHeader()
Dwebsocket_channel.cc172 WebSocketFrameHeader::OpCode op_code, in SendFrame()
457 const WebSocketFrameHeader::OpCode opcode = frame->header.opcode; in ProcessFrame()
471 const WebSocketFrameHeader::OpCode opcode, in HandleFrame()
588 WebSocketFrameHeader::OpCode op_code, in SendIOBuffer()
Dwebsocket_basic_stream.cc294 const WebSocketFrameHeader::OpCode opcode = current_frame_header_->opcode; in ConvertChunkToFrame()
367 const WebSocketFrameHeader::OpCode opcode = current_frame_header_->opcode; in CreateFrame()
Dwebsocket_deflate_stream.cc197 const WebSocketFrameHeader::OpCode opcode = current_writing_opcode_; in AppendCompressedFrame()
225 const WebSocketFrameHeader::OpCode opcode = current_writing_opcode_; in AppendPossiblyCompressedMessage()
Dwebsocket_frame.cc60 WebSocketFrame::WebSocketFrame(WebSocketFrameHeader::OpCode opcode) in WebSocketFrame()
Dwebsocket_frame_parser_test.cc461 WebSocketFrameHeader::OpCode opcode; in TEST()
488 WebSocketFrameHeader::OpCode opcode = kTests[i].opcode; in TEST()
Dwebsocket_frame_test.cc113 WebSocketFrameHeader::OpCode opcode; in TEST()
Dwebsocket_deflate_stream_test.cc75 WebSocketFrameHeader::OpCode opcode, in AppendTo()
87 WebSocketFrameHeader::OpCode opcode, in AppendTo()
/external/chromium_org/content/browser/renderer_host/
Dwebsocket_host.cc24 net::WebSocketFrameHeader::OpCode MessageTypeToOpCode( in MessageTypeToOpCode()
29 typedef net::WebSocketFrameHeader::OpCode OpCode; in MessageTypeToOpCode() typedef
32 COMPILE_ASSERT(static_cast<OpCode>(WEB_SOCKET_MESSAGE_TYPE_CONTINUATION) == in MessageTypeToOpCode()
35 COMPILE_ASSERT(static_cast<OpCode>(WEB_SOCKET_MESSAGE_TYPE_TEXT) == in MessageTypeToOpCode()
38 COMPILE_ASSERT(static_cast<OpCode>(WEB_SOCKET_MESSAGE_TYPE_BINARY) == in MessageTypeToOpCode()
41 return static_cast<OpCode>(type); in MessageTypeToOpCode()
45 net::WebSocketFrameHeader::OpCode opCode) { in OpCodeToMessageType()
124 net::WebSocketFrameHeader::OpCode type, in OnDataFrame()
/external/llvm/include/llvm/IR/
DInstruction.h91 static const char* getOpcodeName(unsigned OpCode);
93 static inline bool isTerminator(unsigned OpCode) { in isTerminator() argument
94 return OpCode >= TermOpsBegin && OpCode < TermOpsEnd; in isTerminator()
118 static inline bool isCast(unsigned OpCode) { in isCast() argument
119 return OpCode >= CastOpsBegin && OpCode < CastOpsEnd; in isCast()
/external/chromium_org/net/server/
Dweb_socket.cc148 typedef int OpCode; typedef
150 const OpCode kOpCodeContinuation = 0x0;
151 const OpCode kOpCodeText = 0x1;
152 const OpCode kOpCodeBinary = 0x2;
153 const OpCode kOpCodeClose = 0x8;
154 const OpCode kOpCodePing = 0x9;
155 const OpCode kOpCodePong = 0xA;
244 OpCode op_code_;
365 OpCode op_code = kOpCodeText; in EncodeFrameHybi17()
/external/llvm/lib/IR/
DInstruction.cpp186 const char *Instruction::getOpcodeName(unsigned OpCode) { in getOpcodeName() argument
187 switch (OpCode) { in getOpcodeName()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h470 void visitBinary(const User &I, unsigned OpCode);
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp491 unsigned OpCode = Is64Bit ? PPC::ISEL8 : PPC::ISEL; in insertSelect() local
525 BuildMI(MBB, MI, dl, get(OpCode), DestReg) in insertSelect()

12