Home
last modified time | relevance | path

Searched refs:binaryData (Results 1 – 14 of 14) sorted by relevance

/external/apache-http/src/org/apache/commons/codec/binary/
DBase64.java177 public static byte[] encodeBase64(byte[] binaryData) { in encodeBase64() argument
178 return encodeBase64(binaryData, false); in encodeBase64()
188 public static byte[] encodeBase64Chunked(byte[] binaryData) { in encodeBase64Chunked() argument
189 return encodeBase64(binaryData, true); in encodeBase64Chunked()
232 public static byte[] encodeBase64(byte[] binaryData, boolean isChunked) { in encodeBase64() argument
233 int lengthDataBits = binaryData.length * EIGHTBIT; in encodeBase64()
271 b1 = binaryData[dataIndex]; in encodeBase64()
272 b2 = binaryData[dataIndex + 1]; in encodeBase64()
273 b3 = binaryData[dataIndex + 2]; in encodeBase64()
322 b1 = binaryData[dataIndex]; in encodeBase64()
[all …]
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DWebSocket.cpp393 void WebSocket::send(ArrayBuffer* binaryData, ExceptionState& exceptionState) in send() argument
395 WTF_LOG(Network, "WebSocket %p send() Sending ArrayBuffer %p", this, binaryData); in send()
396 ASSERT(binaryData); in send()
402 updateBufferedAmountAfterClose(binaryData->byteLength()); in send()
406 handleSendResult(m_channel->send(*binaryData, 0, binaryData->byteLength()), exceptionState); in send()
426 void WebSocket::send(Blob* binaryData, ExceptionState& exceptionState) in send() argument
428 … WTF_LOG(Network, "WebSocket %p send() Sending Blob '%s'", this, binaryData->uuid().utf8().data()); in send()
429 ASSERT(binaryData); in send()
435 updateBufferedAmountAfterClose(static_cast<unsigned long>(binaryData->size())); in send()
439 handleSendResult(m_channel->send(binaryData->blobDataHandle()), exceptionState); in send()
[all …]
DWorkerThreadableWebSocketChannel.cpp94 WebSocketChannel::SendResult WorkerThreadableWebSocketChannel::send(const ArrayBuffer& binaryData, … in send() argument
98 return m_bridge->send(binaryData, byteOffset, byteLength); in send()
208 void WorkerThreadableWebSocketChannel::Peer::send(const ArrayBuffer& binaryData) in send() argument
213 …el::SendResult sendRequestResult = m_mainWebSocketChannel->send(binaryData, 0, binaryData.byteLeng… in send()
308 …ThreadableWebSocketChannelClientWrapper> workerClientWrapper, PassOwnPtr<Vector<char> > binaryData) in workerGlobalScopeDidReceiveBinaryData() argument
311 workerClientWrapper->didReceiveBinaryData(binaryData); in workerGlobalScopeDidReceiveBinaryData()
314 … WorkerThreadableWebSocketChannel::Peer::didReceiveBinaryData(PassOwnPtr<Vector<char> > binaryData) in didReceiveBinaryData() argument
317 …llbackTask(&workerGlobalScopeDidReceiveBinaryData, m_workerClientWrapper, binaryData), m_taskMode); in didReceiveBinaryData()
506 …sult WorkerThreadableWebSocketChannel::Bridge::send(const ArrayBuffer& binaryData, unsigned byteOf… in send() argument
512 if (binaryData.byteLength()) in send()
[all …]
DThreadableWebSocketChannelClientWrapper.cpp166 …ThreadableWebSocketChannelClientWrapper::didReceiveBinaryData(PassOwnPtr<Vector<char> > binaryData) in didReceiveBinaryData() argument
168 m_pendingTasks.append(createCallbackTask(&didReceiveBinaryDataCallback, this, binaryData)); in didReceiveBinaryData()
248 … PassRefPtr<ThreadableWebSocketChannelClientWrapper> wrapper, PassOwnPtr<Vector<char> > binaryData) in didReceiveBinaryDataCallback() argument
252 wrapper->m_client->didReceiveBinaryData(binaryData); in didReceiveBinaryDataCallback()
DMainThreadWebSocketChannel.cpp140 WebSocketChannel::SendResult MainThreadWebSocketChannel::send(const ArrayBuffer& binaryData, unsign… in send() argument
142 … %p send() Sending ArrayBuffer %p byteOffset=%u byteLength=%u", this, &binaryData, byteOffset, byt… in send()
143 …enqueueRawFrame(WebSocketFrame::OpCodeBinary, static_cast<const char*>(binaryData.data()) + byteOf… in send()
148 WebSocketChannel::SendResult MainThreadWebSocketChannel::send(PassRefPtr<BlobDataHandle> binaryData) in send() argument
150 …WTF_LOG(Network, "MainThreadWebSocketChannel %p send() Sending Blob '%s'", this, binaryData->uuid(… in send()
151 enqueueBlobFrame(WebSocketFrame::OpCodeBinary, binaryData); in send()
632 OwnPtr<Vector<char> > binaryData = adoptPtr(new Vector<char>(frame.payloadLength)); in processFrame() local
633 memcpy(binaryData->data(), frame.payload, frame.payloadLength); in processFrame()
635 m_client->didReceiveBinaryData(binaryData.release()); in processFrame()
DNewWebSocketChannelImpl.cpp435 OwnPtr<Vector<char> > binaryData = adoptPtr(new Vector<char>); in didReceiveData() local
436 binaryData->swap(m_receivingMessageData); in didReceiveData()
437 m_client->didReceiveBinaryData(binaryData.release()); in didReceiveData()
/external/chromium_org/third_party/WebKit/Source/web/
DWebSocketImpl.cpp136 void WebSocketImpl::didReceiveBinaryData(PassOwnPtr<Vector<char> > binaryData) in didReceiveBinaryData() argument
143 …nt->didReceiveArrayBuffer(WebArrayBuffer(ArrayBuffer::create(binaryData->data(), binaryData->size(… in didReceiveBinaryData()
DWebSocketImpl.h71 virtual void didReceiveBinaryData(PassOwnPtr<Vector<char> > binaryData) OVERRIDE;
DWebDragData.cpp83 item.binaryData = originalItem->sharedBuffer(); in items()
/external/chromium_org/content/renderer/
Ddrop_data_builder.cc52 result.file_contents.assign(item.binaryData.data(), in Build()
53 item.binaryData.size()); in Build()
/external/apache-http/src/org/apache/http/impl/auth/
DDigestScheme.java451 private static String encode(byte[] binaryData) { in encode() argument
452 if (binaryData.length != 16) { in encode()
458 int low = (binaryData[i] & 0x0f); in encode()
459 int high = ((binaryData[i] & 0xf0) >> 4); in encode()
/external/chromium_org/content/renderer/pepper/
Dpepper_websocket_host.cc93 const blink::WebArrayBuffer& binaryData) { in didReceiveArrayBuffer() argument
99 uint8_t* data = static_cast<uint8_t*>(binaryData.data()); in didReceiveArrayBuffer()
100 std::vector<uint8_t> array_message(data, data + binaryData.byteLength()); in didReceiveArrayBuffer()
Dpepper_websocket_host.h44 virtual void didReceiveArrayBuffer(const blink::WebArrayBuffer& binaryData);
/external/chromium_org/third_party/WebKit/public/platform/
DWebDragData.h76 WebData binaryData; member