/external/chromium_org/net/http/ |
H A D | http_stream_parser.cc | 627 int available = read_buf_->offset() - read_buf_unused_offset_; local 628 if (available) { 629 CHECK_GT(available, 0); 630 int bytes_from_buffer = std::min(available, user_read_buf_len_); 635 if (bytes_from_buffer == available) {
|
/external/chromium_org/net/third_party/nss/ssl/ |
H A D | sslsecur.c | 525 int available; local 529 available = ss->gs.writeOffset - ss->gs.readOffset; 530 if (available == 0) { 560 /* See if any clear data is now available */ 561 available = ss->gs.writeOffset - ss->gs.readOffset; 562 if (available == 0) { 564 ** No partial data is available. Force error code to 574 SSL_TRC(30, ("%d: SSL[%d]: partial data ready, available=%d", 575 SSL_GETPID(), ss->fd, available)); 579 amount = PR_MIN(len, available); [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
H A D | httpbase.cc | 118 size_t available = len - *processed; local 119 if (available <= 0) { 122 if ((data_size_ != SIZE_UNKNOWN) && (available > data_size_)) { 123 available = data_size_; 126 ProcessResult result = ProcessData(buffer + *processed, available, read, 527 // The most frequent use of this function is response to new data available 545 // We're can't make progress until more data is available. 567 // protocol element (such as http header, or chunk size) is available, 691 // No data currently available to send.
|
H A D | stream.cc | 664 size_t available = data_length_ - seek_position_; local 665 if (bytes > available) { 667 bytes = available; 679 size_t available = buffer_length_ - seek_position_; local 680 if (0 == available) { 691 available = buffer_length_ - seek_position_; 694 if (bytes > available) { 695 bytes = available; 986 const size_t available = data_length_ - offset; 988 const size_t copy = _min(bytes, available); 1105 size_t available = _min(buffer_len, str_.size() - read_pos_); local [all...] |
H A D | virtualsocketserver.cc | 858 size_t available = recv_buffer_capacity_ - recipient->recv_buffer_size_; local 859 size_t max_data_size = _min<size_t>(available, TCP_MSS - TCP_HEADER_SIZE);
|
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
H A D | rostermoduleimpl.cc | 158 XmppPresenceImpl::available() const { function in class:buzz::XmppPresenceImpl 171 XmppPresenceImpl::set_available(XmppPresenceAvailable available) { argument 175 if (available == XMPP_PRESENCE_AVAILABLE) 177 else if (available == XMPP_PRESENCE_UNAVAILABLE) 179 else if (available == XMPP_PRESENCE_ERROR)
|
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
H A D | RopeByteString.java | 892 public int available() throws IOException { method in class:RopeByteString.RopeInputStream
|
/external/chromium_org/third_party/sqlite/src/src/ |
H A D | vdbemem.c | 908 int available = 0; /* Number of bytes available on the local btree page */ local 917 zData = (char *)sqlite3BtreeKeyFetch(pCur, &available); 919 zData = (char *)sqlite3BtreeDataFetch(pCur, &available); 923 if( offset+amt<=available && (pMem->flags&MEM_Dyn)==0 ){ 947 /* This function is only available internally, it is not part of the
|
/external/llvm/lib/CodeGen/ |
H A D | ExecutionDepsFix.cpp | 12 // Some X86 SSE instructions like mov, and, or, xor are available in different 48 /// keep track of the fact that the register is now available in multiple 55 // Bitmask of available domains. For an open DomainValue, it is the still 57 // domains where the register is available for free. 69 // track of the domains where the registers are already available. 72 // Is domain available? 77 // Mark domain as available. 82 // Restrict to a single domain available. 87 // Return bitmask of domains that are available and in mask. 92 // First domain available 535 unsigned available = mask; local [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
H A D | SpdyStream.java | 422 @Override public int available() throws IOException { method in class:SpdyStream.SpdyDataInputStream 531 flowControlError = byteCount > buffer.length - available();
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
H A D | SDL_sysvideo.h | 61 /* List the available video modes for the given pixel format, sorted 331 int (*available)(void); member in struct:VideoBootStrap
|
/external/qemu/distrib/sdl-1.2.15/src/video/dga/ |
H A D | SDL_dgavideo.c | 72 int available = 0; local 74 /* The driver is available is available if the display is local 75 and the DGA 2.0+ extension is available, and we can map mem. 91 available = 1; 100 return(available); 351 SDL_SetError("DGA extension not available"); 412 /* Query for the list of available video modes */ 453 /* Various screen update functions available */ 715 /* Quick check for available me [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
H A D | SDL_fbevents.c | 378 int available; local 393 available = 0; 398 while ( !available && (pid=find_pid(proc, "gpm")) > 0 ) { 420 available = 1; 435 if ( available ) { 445 return available;
|
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/ |
H A D | SDL_gsevents.c | 351 int available; local 363 available = 0; 374 available = 1; 385 return available;
|
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | stream.cc | 567 size_t available = data_length_ - seek_position_; local 568 if (bytes > available) { 570 bytes = available; 582 size_t available = buffer_length_ - seek_position_; local 583 if (0 == available) { 594 available = buffer_length_ - seek_position_; 597 if (bytes > available) { 598 bytes = available; 761 const size_t available = data_length_; local 762 if (0 == available) { 792 const size_t available = buffer_length_ - data_length_; local 947 size_t available = _min(buffer_len, str_.size() - read_pos_); local [all...] |
/external/chromium_org/content/common/gpu/client/ |
H A D | gl_helper_unittests.cc | 483 // operations available. 690 int available = outsize - insize; local 698 return (available / 2) & ~1; 700 return available;
|
/external/chromium_org/content/common/gpu/media/ |
H A D | dxva_video_decode_accelerator.cc | 163 // available for rendering, the texture information, etc. 176 bool available() const { function in struct:content::DXVAVideoDecodeAccelerator::DXVAPictureBuffer 180 void set_available(bool available) { argument 181 available_ = available; 543 // Copy the picture buffers provided by the client to the available list, 544 // and mark these buffers as available for use. 866 // If we have available picture buffers to copy the output data then use the 867 // first one and then flag it as not being available for use. 906 if (index->second->available()) {
|
/external/chromium_org/net/spdy/ |
H A D | spdy_framer_test.cc | 370 const size_t available = header_buffer_size_ - header_buffer_length_; variable 371 if (len > available) { 446 const size_t available = variable 448 if (len > available) {
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/test/ |
H A D | fakeaudiocapturemodule.cc | 215 int32_t FakeAudioCaptureModule::PlayoutIsAvailable(bool* /*available*/) { 229 int32_t FakeAudioCaptureModule::RecordingIsAvailable(bool* /*available*/) { 305 int32_t FakeAudioCaptureModule::SpeakerIsAvailable(bool* available) { argument 307 *available = true; 321 int32_t FakeAudioCaptureModule::MicrophoneIsAvailable(bool* available) { argument 323 *available = true; 337 int32_t FakeAudioCaptureModule::SpeakerVolumeIsAvailable(bool* /*available*/) { 371 bool* /*available*/) { 404 int32_t FakeAudioCaptureModule::SpeakerMuteIsAvailable(bool* /*available*/) { 419 int32_t FakeAudioCaptureModule::MicrophoneMuteIsAvailable(bool* /*available*/) { [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | deep-heap-profile.cc | 314 // TODO(dmikurube): Consider gettimeofday if available. 446 int available = size_ - cursor_; local 449 appended = snprintf(position, available, "%s", value); 451 appended = snprintf(position, available, "%*s", 459 int available = size_ - cursor_; local 462 appended = snprintf(position, available, "%d", value); 464 appended = snprintf(position, available, "%0*d", width, value); 466 appended = snprintf(position, available, "%*d", width, value); 472 int available = size_ - cursor_; local 475 appended = snprintf(position, available, " 484 int available = size_ - cursor_; local 495 int available = size_ - cursor_; local 506 int available = size_ - cursor_; local [all...] |
/external/v8/test/cctest/ |
H A D | test-heap.cc | 1266 intptr_t available = new_space->EffectiveCapacity() - new_space->Size(); local 1267 intptr_t number_of_fillers = (available / FixedArray::SizeFor(1000)) - 10;
|
/external/chromium/net/disk_cache/ |
H A D | backend_impl.cc | 308 // number of available bytes. 309 int PreferedCacheSize(int64 available) { argument 310 // Return 80% of the available space if there is not enough space to use 312 if (available < kDefaultCacheSize * 10 / 8) 313 return static_cast<int32>(available * 8 / 10); 315 // Return kDefaultCacheSize if it uses 80% to 10% of the available space. 316 if (available < kDefaultCacheSize * 10) 319 // Return 10% of the available space if the target size 321 if (available < static_cast<int64>(kDefaultCacheSize) * 25) 322 return static_cast<int32>(available / 1 1423 int64 available = 10 * 1024 * 1024; // 10 MB local 1425 int64 available = base::SysInfo::AmountOfFreeDiskSpace(path_); local [all...] |
/external/chromium_org/net/disk_cache/ |
H A D | backend_impl.cc | 112 // number of available bytes. 113 int PreferedCacheSize(int64 available) { argument 114 // Return 80% of the available space if there is not enough space to use 116 if (available < kDefaultCacheSize * 10 / 8) 117 return static_cast<int32>(available * 8 / 10); 119 // Return kDefaultCacheSize if it uses 80% to 10% of the available space. 120 if (available < kDefaultCacheSize * 10) 123 // Return 10% of the available space if the target size 125 if (available < static_cast<int64>(kDefaultCacheSize) * 25) 126 return static_cast<int32>(available / 1 1334 int64 available = base::SysInfo::AmountOfFreeDiskSpace(path_); local [all...] |
/external/chromium_org/net/disk_cache/v3/ |
H A D | backend_impl_v3.cc | 811 int64 available = base::SysInfo::AmountOfFreeDiskSpace(path_); local 812 if (available < 0) { 818 available += data_->header.num_bytes; 820 max_size_ = PreferedCacheSize(available);
|
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/ |
H A D | ProgramBinary.cpp | 1023 bool available = true; local 1025 for (int y = 0; y < n && available; y++) 1027 for (int x = 0; x < m && available; x++) 1031 available = false; 1036 if (available) 1057 bool available = true; local 1059 for (int y = 0; y < n && available; y++) 1061 for (int x = 2; x < 4 && available; x++) 1065 available = false; 1070 if (available) [all...] |