/external/chromium_org/chrome/browser/diagnostics/ |
H A D | diagnostics_writer.cc | 90 DWORD read = arraysize(buf); local 91 ::ReadConsoleW(std_in_, buf, read, &read, NULL);
|
/external/chromium_org/chrome/installer/mini_installer/ |
H A D | decompress.cc | 93 DWORD read = 0; local 94 if (!::ReadFile(reinterpret_cast<HANDLE>(hf), pv, cb, &read, NULL)) 95 read = static_cast<DWORD>(-1L); 96 return read; 169 PFNOPEN open, PFNREAD read,
|
/external/chromium_org/gpu/gles2_conform_support/egl/ |
H A D | display.cc | 260 bool Display::MakeCurrent(EGLSurface draw, EGLSurface read, EGLContext ctx) { argument 265 DCHECK(IsValidSurface(read));
|
/external/chromium_org/jingle/glue/ |
H A D | fake_ssl_client_socket.cc | 245 size_t read = static_cast<size_t>(status); local 246 return ProcessVerifyServerHelloDone(read); 256 size_t read = static_cast<size_t>(status); local 257 status = ProcessVerifyServerHelloDone(read); 269 net::Error FakeSSLClientSocket::ProcessVerifyServerHelloDone(size_t read) { argument 270 DCHECK_LE(read, static_cast<size_t>(read_buf_->BytesRemaining())); 271 if (read == 0U) { 277 if (std::memcmp(expected_data_start, read_buf_->data(), read) != 0) { 280 if (read < static_cast<size_t>(read_buf_->BytesRemaining())) { 282 read_buf_->DidConsume(read); [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
H A D | fuse.h | 82 // Some functions (e.g. read, write) also return a positive count, which is the 83 // number of bytes read/written. 119 // Called by read(). Note that FUSE specifies that all reads will fill the 122 int (*read)(const char* path, member in struct:fuse_operations
|
/external/chromium_org/remoting/base/ |
H A D | compound_buffer.cc | 256 int read = std::min(count, chunk.size - current_chunk_position_); local 259 current_chunk_position_ += read; 260 position_ += read; 261 count -= read; 263 // If the current buffer is fully read, then advance to the next buffer.
|
/external/chromium_org/sandbox/win/src/ |
H A D | Wow64.cc | 212 SIZE_T read; local 214 &read)) 216 if (kBufferSize != read)
|
H A D | service_resolver_64.cc | 145 SIZE_T read; local 147 sizeof(function_code), &read)) 150 if (sizeof(function_code) != read)
|
/external/chromium_org/third_party/freetype/src/pshinter/ |
H A D | pshglob.c | 14 /* this file you indicate that you have read the license and */ 142 FT_Short* read, 161 /* read blue zone entry, and select target top/bottom zone */ 165 reference = read[1]; 166 delta = read[0] - reference; 174 reference = read[0]; 175 delta = read[1] - reference; 222 read += 2; 230 /* Re-read blue zones from the original fonts and store them into out */ 257 /* read th 139 psh_blues_set_zones_0( PSH_Blues target, FT_Bool is_others, FT_UInt read_count, FT_Short* read, PSH_Blue_Table top_table, PSH_Blue_Table bot_table ) argument 656 FT_Short* read; local [all...] |
/external/chromium_org/third_party/freetype/src/sfnt/ |
H A D | sfobjs.c | 13 /* this file you indicate that you have read the license and */ 55 FT_Byte* read = (FT_Byte*)entry->string; local 66 code = FT_NEXT_USHORT( read ); 90 FT_Byte* read = (FT_Byte*)entry->string; local 101 code = *read++; 415 /* now read the offsets of each font in the file */
|
/external/chromium_org/third_party/freetype/src/smooth/ |
H A D | ftsmooth.c | 13 /* this file you indicate that you have read the license and */ 348 FT_Byte* read = bitmap->buffer + ( height - height_org ) * pitch; local 355 ft_memcpy( write, read, pitch ); 358 ft_memcpy( write, read, pitch ); 361 ft_memcpy( write, read, pitch ); 363 read += pitch;
|
/external/chromium_org/third_party/google_appengine_cloudstorage/cloudstorage/ |
H A D | storage_api.py | 222 The contents of the read buffer are not stored, only the current offset for 223 data read by the client. A new read buffer is established at unpickling. 245 Along with restoring the state, pre-fetch the next read buffer. 291 size: Maximum number of bytes to read. If not specified, readline stops 295 The data read as a string. 307 data = self._buffer.read(size) 323 def read(self, size=-1): member in class:ReadBuffer 327 size: Number of bytes to read as integer. Actual number of bytes 328 read i 544 def read(self, size=-1): member in class:_Buffer [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | simplethread.cpp | 70 # if defined(read) // read being defined as cma_read causes trouble with iostream::read 71 # undef read macro
|
/external/chromium_org/third_party/libjingle/source/talk/session/tunnel/ |
H A D | tunnelsessionclient_unittest.cc | 152 // tunnel. All data has been read out at this point. 178 // Flow() doesn't work here because it won't write if the read blocks. 181 size_t read, position; local 183 while ((res = remote_tunnel_->Read(block, sizeof(block), &read, NULL)) == 185 recv_stream_.Write(block, read, NULL, NULL);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/core/ |
H A D | compat.hpp | 220 read(char *p, size_t n) { function in class:clover::compat::istream
|
/external/chromium_org/third_party/mesa/src/src/glx/ |
H A D | indirect_glx.c | 65 GLXDrawable draw, GLXDrawable read, 72 if (draw == read) { 97 req->readdrawable = read; 113 req->readable = read; 129 GLXDrawable draw, GLXDrawable read) 144 SendMakeCurrentRequest(dpy, opcode, gc->xid, tag, draw, read, &reply); 63 SendMakeCurrentRequest(Display * dpy, CARD8 opcode, GLXContextID gc_id, GLXContextTag gc_tag, GLXDrawable draw, GLXDrawable read, xGLXMakeCurrentReply * reply) argument 128 indirect_bind_context(struct glx_context *gc, struct glx_context *old, GLXDrawable draw, GLXDrawable read) argument
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkFontStream.cpp | 39 static bool read(SkStream* stream, void* buffer, size_t amount) { function 40 return stream->read(buffer, amount) == amount; 60 if (!read(stream, header, sizeof(SkSharedTTHeader))) { 75 if (ttcIndex > 0) { // need to read more of the shared header 79 if (!read(stream, header, amount)) { 89 if (!read(stream, header, sizeof(SkSFNTHeader))) { 129 return read(stream, fDir, size); 142 if (!read(stream, &shared, sizeof(shared))) { 202 if (!read(stream, data, length)) {
|
H A D | SkReader32.h | 96 void read(void* dst, size_t size) { function in class:SkReader32
|
/external/chromium_org/third_party/skia/src/utils/win/ |
H A D | SkDWriteFontFileStream.cpp | 33 size_t SkDWriteFontFileStream::read(void* buffer, size_t size) { function in class:SkDWriteFontFileStream 59 //The read may have failed because we asked for too much data. 66 size_t read = fileSize - fPos; local 67 hr = fFontFileStream->ReadFileFragment(&start, fPos, read, &fragmentLock); 69 memcpy(buffer, start, read); 72 return read; 209 if (fStream->read(streamData.get(), static_cast<size_t>(fragmentSize)) != fragmentSize) {
|
/external/chromium_org/third_party/tlslite/tlslite/ |
H A D | tlsrecordlayer.py | 98 @sort: __init__, read, readAsync, write, writeAsync, close, closeAsync, 105 #My session object (Session instance; read-only) 121 self.version = (0,0) #read-only 131 self.closed = True #read-only 135 self.resumed = False #read-only 161 def read(self, max=None, min=1): member in class:TLSRecordLayer 191 """Start a read operation on the TLS connection. 194 read(). Successive invocations of the generator will return 0 195 if it is waiting to read from the socket, 1 if it is waiting 196 to write to the socket, or a string if the read operatio [all...] |
/external/chromium_org/third_party/webrtc/base/ |
H A D | httpbase_unittest.cc | 201 size_t read = 0; local 203 EXPECT_EQ(SR_BLOCK, http_stream->Read(buffer, sizeof(buffer), &read, NULL)); 230 size_t read = 0; local 233 EXPECT_EQ(SR_SUCCESS, http_stream->Read(buffer, amt_to_read, &read, NULL)); 234 EXPECT_EQ(amt_to_read, read); 235 EXPECT_TRUE(0 == memcmp(expected_data + verified_length, buffer, read)); 236 verified_length += read; 245 size_t read = 0; local 247 EXPECT_EQ(SR_EOS, http_stream->Read(buffer, sizeof(buffer), &read, NULL)); 474 // The document is still open, until we attempt to read [all...] |
H A D | multipart.cc | 139 size_t* read, int* error) { 144 if (!read) read = &local_read; 146 StreamResult result = parts_[current_]->Read(buffer, buffer_len, read, 150 position_ += *read; 138 Read(void* buffer, size_t buffer_len, size_t* read, int* error) argument
|
H A D | socketadapters.cc | 66 size_t read = 0; local 69 read = _min(cb, data_len_); 70 memcpy(pv, buffer_, read); 71 data_len_ -= read; 73 memmove(buffer_, buffer_ + read, data_len_); 75 pv = static_cast<char *>(pv) + read; 76 cb -= read; 79 // FIX: If cb == 0, we won't generate another read event 85 return res + static_cast<int>(read);
|
H A D | ssladapter_unittest.cc | 93 int read = socket->Recv(buffer, sizeof(buffer) - 1); local 94 if (read != -1) { 95 buffer[read] = '\0'; 211 size_t read; local 217 sizeof(buffer) - 1, &read, &error); 219 buffer[read] = '\0';
|
H A D | stream_unittest.cc | 27 size_t* read, int* error) { 32 if (read) 33 *read = buffer_len; 188 // Try a full read 193 // Try a read that should block 200 // Try a too-big read 253 // Try using GetReadData to do a full read 370 // Write to the stream, close it, read the remaining bytes 423 // There's 4 bytes bypassed and 4 bytes no read so skip them and verify the 425 size_t read; local 26 Read(void* buffer, size_t buffer_len, size_t* read, int* error) argument [all...] |