/external/apache-http/src/org/apache/http/impl/auth/ |
NTLMScheme.java | 91 final CharArrayBuffer buffer, int pos, int len) throws MalformedChallengeException { 92 String challenge = buffer.substringTrimmed(pos, len); 134 CharArrayBuffer buffer = new CharArrayBuffer(32); local 136 buffer.append(AUTH.PROXY_AUTH_RESP); 138 buffer.append(AUTH.WWW_AUTH_RESP); 140 buffer.append(": NTLM "); 141 buffer.append(response); 142 return new BufferedHeader(buffer);
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
AVT.java | 182 FastStringBuffer buffer = null; local 185 buffer = StringBufferPool.get(); 188 buffer = new FastStringBuffer(6); 218 buffer.append(t); 234 buffer.append(lookahead); 251 if (buffer.length() > 0) 253 m_parts.addElement(new AVTPartSimple(buffer.toString())); 254 buffer.setLength(0); 306 buffer.setLength(0); 359 buffer.append(lookahead) [all...] |
/external/chromium/base/ |
sync_socket.h | 46 // buffer is a pointer to the data to send. 49 size_t Send(const void* buffer, size_t length); 52 // buffer is a pointer to the buffer to receive data. 55 size_t Receive(void* buffer, size_t length);
|
/external/chromium/chrome/browser/autofill/crypto/ |
rc4_decryptor.h | 34 scoped_array<wchar_t> buffer(new wchar_t[data.length() + 1]); 35 memset(buffer.get(), 0, (data.length() + 1) * sizeof(wchar_t)); 36 memcpy(buffer.get(), data.c_str(), data_size); 38 RunInternal(reinterpret_cast<uint8 *>(buffer.get()), data_size); 40 std::wstring result(buffer.get()); 43 memset(buffer.get(), 0, data_size); 80 void RunInternal(uint8 *buffer, int buffer_len) { 94 buffer[counter] ^= state[xor_index];
|
/external/chromium/crypto/ |
encryptor_nss.cc | 61 std::vector<unsigned char> buffer(ciphertext_len); 65 &buffer[0], 76 &buffer[op_len], 82 ciphertext->assign(reinterpret_cast<char *>(&buffer[0]), 99 std::vector<unsigned char> buffer(plaintext_len); 103 &buffer[0], 114 &buffer[op_len], 120 plaintext->assign(reinterpret_cast<char *>(&buffer[0]),
|
/external/chromium/net/spdy/ |
spdy_io_buffer.h | 23 // |buffer| is the actual data buffer. 24 // |size| is the size of the data buffer. 25 // |priority| is the priority of this buffer. Lower numbers are higher 27 // |stream| is a pointer to the stream which is managing this buffer. 28 SpdyIOBuffer(IOBuffer* buffer, int size, int priority, SpdyStream* stream); 33 DrainableIOBuffer* buffer() const { return buffer_; } function in class:net::SpdyIOBuffer
|
/external/chromium_org/base/ |
os_compat_android_unittest.cc | 26 char* buffer = const_cast<char*>(sub_dir_string.c_str()); local 27 EXPECT_EQ(NULL, mkdtemp(buffer));
|
rand_util_unittest.cc | 34 char buffer[buffer_size]; local 35 memset(buffer, 0, buffer_size); 36 base::RandBytes(buffer, buffer_size); 37 std::sort(buffer, buffer + buffer_size); 40 EXPECT_GT(std::unique(buffer, buffer + buffer_size) - buffer, 25);
|
/external/chromium_org/components/autofill/core/browser/crypto/ |
rc4_decryptor.h | 39 scoped_ptr<wchar_t[]> buffer(new wchar_t[data.length() + 1]); 40 memset(buffer.get(), 0, (data.length() + 1) * sizeof(wchar_t)); 41 memcpy(buffer.get(), data.c_str(), data_size); 43 RunInternal(reinterpret_cast<uint8 *>(buffer.get()), data_size); 45 std::wstring result(buffer.get()); 48 memset(buffer.get(), 0, data_size); 85 void RunInternal(uint8 *buffer, int buffer_len) { 99 buffer[counter] ^= state[xor_index];
|
/external/chromium_org/content/public/test/ |
unittest_test_suite.cc | 22 virtual void cryptographicallyRandomValues(unsigned char* buffer, 24 base::RandBytes(buffer, length);
|
/external/chromium_org/device/bluetooth/ |
bluetooth_socket_chromeos.h | 36 virtual bool Receive(net::GrowableIOBuffer* buffer) OVERRIDE; 37 virtual bool Send(net::DrainableIOBuffer* buffer) OVERRIDE;
|
bluetooth_socket_win.h | 34 virtual bool Receive(net::GrowableIOBuffer* buffer) OVERRIDE; 35 virtual bool Send(net::DrainableIOBuffer* buffer) OVERRIDE;
|
/external/chromium_org/gpu/command_buffer/service/ |
vertex_attrib_manager.cc | 47 Buffer* buffer, 55 buffer_ = buffer; 64 void VertexAttrib::Unbind(Buffer* buffer) { 65 if (buffer_.get() == buffer) { 138 void VertexAttribManager::SetElementArrayBuffer(Buffer* buffer) { 139 element_array_buffer_ = buffer; 154 void VertexAttribManager::Unbind(Buffer* buffer) 199 Buffer* buffer = attrib->buffer(); local 244 Buffer* buffer = attrib->buffer(); local [all...] |
/external/chromium_org/ipc/ |
file_descriptor_set_posix.h | 26 // because the control message kernel interface has to be given a buffer which 71 // buffer: (output) a buffer of, at least, size() integers. 72 void GetDescriptors(int* buffer) const; 87 // Set the contents of the set from the given buffer. This set must be empty 90 void SetDescriptors(const int* buffer, unsigned count);
|
/external/chromium_org/media/filters/ |
blocking_url_protocol_unittest.cc | 51 uint8 buffer[32]; local 52 EXPECT_EQ(32, url_protocol_.Read(32, buffer)); 57 EXPECT_EQ(32, url_protocol_.Read(32, buffer)); 65 EXPECT_EQ(32, url_protocol_.Read(32, buffer)); 69 EXPECT_EQ(16, url_protocol_.Read(32, buffer)); 73 EXPECT_EQ(0, url_protocol_.Read(32, buffer)); 81 uint8 buffer[32]; local 83 EXPECT_EQ(AVERROR(EIO), url_protocol_.Read(32, buffer));
|
/external/chromium_org/net/tools/quic/ |
quic_socket_utils.h | 43 static int ReadPacket(int fd, char* buffer, size_t buf_len, 50 static int WritePacket(int fd, const char* buffer, size_t buf_len,
|
/external/chromium_org/ppapi/cpp/private/ |
udp_socket_private.h | 29 int32_t RecvFrom(char* buffer, 33 int32_t SendTo(const char* buffer,
|
/external/chromium_org/ppapi/thunk/ |
ppb_tcp_socket_api.h | 26 virtual int32_t Read(char* buffer, 29 virtual int32_t Write(const char* buffer,
|
ppb_udp_socket_api.h | 25 virtual int32_t RecvFrom(char* buffer, 29 virtual int32_t SendTo(const char* buffer,
|
ppb_udp_socket_private_api.h | 27 virtual int32_t RecvFrom(char* buffer, 31 virtual int32_t SendTo(const char* buffer,
|
/external/chromium_org/remoting/client/ |
frame_consumer_proxy.h | 34 webrtc::DesktopFrame* buffer, 36 virtual void ReturnBuffer(webrtc::DesktopFrame* buffer) OVERRIDE;
|
/external/chromium_org/remoting/client/jni/ |
jni_frame_consumer.h | 20 // FrameConsumer implementation that draws onto a JNI direct byte buffer. 34 webrtc::DesktopFrame* buffer, 36 virtual void ReturnBuffer(webrtc::DesktopFrame* buffer) OVERRIDE; 47 // buffer instead of passing it back to the producer. 54 // If |provide_buffer_|, allocates a new buffer of |view_size_|, informs
|
/external/chromium_org/remoting/protocol/ |
message_decoder_unittest.cc | 22 std::string* buffer) { 26 buffer->append(encoded_msg->data(), encoded_msg->size()); 30 static void PrepareData(uint8** buffer, int* size) { 44 *buffer = new uint8[*size]; 45 memcpy(*buffer, encoded_data.c_str(), *size); 71 scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(read)); 72 memcpy(buffer->data(), test_data + pos, read); 73 decoder.AddData(buffer, read);
|
/external/chromium_org/sandbox/win/src/ |
sharedmem_ipc_client.h | 33 // 3) client writes the data into the channel buffer 47 // [ channel buffer 0 ] 1024 bytes 48 // [ channel buffer 1 ] 1024 bytes 49 // [ channel buffer N ] 1024 bytes 51 // By default each channel buffer is 1024 bytes 74 // points to be beginning of the channel buffer, where data goes 79 // the buffer 105 // locks a free channel and returns the channel buffer memory base. This call 111 void FreeBuffer(void* buffer); 127 // Return the channel index given the address of the buffer [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/mediasource/ |
WebKitMediaSource.cpp | 103 RefPtr<WebKitSourceBuffer> buffer = WebKitSourceBuffer::create(sourceBufferPrivate.release(), this); 105 m_sourceBuffers->add(buffer); 106 m_activeSourceBuffers->add(buffer); 108 return buffer.get(); 111 void WebKitMediaSource::removeSourceBuffer(WebKitSourceBuffer* buffer, ExceptionState& es) 116 if (!buffer) { 132 if (!m_sourceBuffers->remove(buffer)) { 138 m_activeSourceBuffers->remove(buffer);
|