/external/llvm/bindings/python/llvm/tests/ |
D | test_core.py | 2 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/ |
D | core.py | 27 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/ |
D | WebSocketFrame.h | 40 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;
|
D | WebSocketPerMessageDeflateTest.cpp | 49 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 …]
|
D | MainThreadWebSocketChannel.h | 144 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;
|
D | WebSocketFrame.cpp | 116 frame.opCode = static_cast<WebSocketFrame::OpCode>(opCode); in parseFrame() 188 WebSocketFrame::WebSocketFrame(OpCode opCode, const char* payload, size_t payloadLength, Flags flag… in WebSocketFrame()
|
D | MainThreadWebSocketChannel.cpp | 705 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()
|
D | NewWebSocketChannelImpl.cpp | 421 …WebSocketFrame::OpCode opcode = m_receivingMessageTypeIsText ? WebSocketFrame::OpCodeText : WebSoc… in didReceiveData()
|
/external/chromium_org/net/websockets/ |
D | websocket_frame.h | 25 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);
|
D | websocket_channel.h | 72 WebSocketFrameHeader::OpCode op_code, 187 ChannelState HandleFrame(const WebSocketFrameHeader::OpCode opcode, 198 WebSocketFrameHeader::OpCode op_code,
|
D | websocket_deflate_stream.h | 94 WebSocketFrameHeader::OpCode current_reading_opcode_; 95 WebSocketFrameHeader::OpCode current_writing_opcode_;
|
D | websocket_frame_parser.cc | 99 typedef WebSocketFrameHeader::OpCode OpCode; in DecodeFrameHeader() typedef 119 OpCode opcode = first_byte & kOpCodeMask; in DecodeFrameHeader()
|
D | websocket_channel.cc | 172 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()
|
D | websocket_basic_stream.cc | 294 const WebSocketFrameHeader::OpCode opcode = current_frame_header_->opcode; in ConvertChunkToFrame() 367 const WebSocketFrameHeader::OpCode opcode = current_frame_header_->opcode; in CreateFrame()
|
D | websocket_deflate_stream.cc | 197 const WebSocketFrameHeader::OpCode opcode = current_writing_opcode_; in AppendCompressedFrame() 225 const WebSocketFrameHeader::OpCode opcode = current_writing_opcode_; in AppendPossiblyCompressedMessage()
|
D | websocket_frame.cc | 60 WebSocketFrame::WebSocketFrame(WebSocketFrameHeader::OpCode opcode) in WebSocketFrame()
|
D | websocket_frame_parser_test.cc | 461 WebSocketFrameHeader::OpCode opcode; in TEST() 488 WebSocketFrameHeader::OpCode opcode = kTests[i].opcode; in TEST()
|
D | websocket_frame_test.cc | 113 WebSocketFrameHeader::OpCode opcode; in TEST()
|
D | websocket_deflate_stream_test.cc | 75 WebSocketFrameHeader::OpCode opcode, in AppendTo() 87 WebSocketFrameHeader::OpCode opcode, in AppendTo()
|
/external/chromium_org/content/browser/renderer_host/ |
D | websocket_host.cc | 24 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/ |
D | Instruction.h | 91 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/ |
D | web_socket.cc | 148 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/ |
D | Instruction.cpp | 186 const char *Instruction::getOpcodeName(unsigned OpCode) { in getOpcodeName() argument 187 switch (OpCode) { in getOpcodeName()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.h | 470 void visitBinary(const User &I, unsigned OpCode);
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.cpp | 491 unsigned OpCode = Is64Bit ? PPC::ISEL8 : PPC::ISEL; in insertSelect() local 525 BuildMI(MBB, MI, dl, get(OpCode), DestReg) in insertSelect()
|