Searched refs:available (Results 76 - 100 of 451) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/diagnostics/
H A Ddiagnostics_model_unittest.cc91 int available = model_->GetTestAvailableCount(); local
92 EXPECT_EQ(DiagnosticsModel::kDiagnosticsTestCount, available);
/external/chromium_org/content/renderer/media/
H A Dwebaudio_capturer_source.cc89 int available = fifo_->max_frames() - fifo_->frames(); local
90 if (available < static_cast<int>(number_of_frames)) {
H A Dwebrtc_audio_device_impl.cc220 int32_t WebRtcAudioDeviceImpl::PlayoutIsAvailable(bool* available) { argument
221 *available = initialized_;
229 int32_t WebRtcAudioDeviceImpl::RecordingIsAvailable(bool* available) { argument
230 *available = (!capturers_.empty());
398 int32_t WebRtcAudioDeviceImpl::StereoPlayoutIsAvailable(bool* available) const {
400 *available = (output_channels() == 2);
405 bool* available) const {
413 *available = (capturer->audio_parameters().channels() == 2);
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/test/
H A Dfakeaudiocapturemodule.cc215 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/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/tcp/
H A DSocketConnector.java105 public boolean available() method in class:SocketConnector
109 return in.available() > 0;
/external/smack/src/org/jivesoftware/smack/compression/
H A DJava7ZlibInputOutputStream.java30 * needed is available since Java7, so it will only work with Java7 or higher (hence it's name).
70 * @return 0 if no data is available, 1 otherwise
74 public int available() throws IOException {
77 * This is one of the funny code blocks. InflaterInputStream.available violates the contract of
78 * InputStream.available, which breaks kXML2.
88 return super.available();
/external/qemu/distrib/sdl-1.2.15/src/audio/esd/
H A DSDL_esdaudio.c123 int available; local
125 available = 0;
127 return available;
131 available = 1;
135 return(available);
/external/chromium/third_party/libjingle/source/talk/base/
H A Dstream.cc567 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/third_party/tcmalloc/chromium/src/
H A Ddeep-heap-profile.cc314 // 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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
H A DPipedOutputStreamTest.java44 public int available() { method in class:PipedOutputStreamTest.PReader
46 return reader.available();
143 assertTrue("Bytes written before flush", reader.available() != 0);
H A DBufferedInputStreamTest.java76 // still be available.
114 * @tests java.io.BufferedInputStream#available()
117 assertTrue("Returned incorrect number of available bytes", is
118 .available() == fileString.length());
120 // Test that a closed stream throws an IOE for available()
124 int available = bis.available();
126 assertTrue(available != 0);
129 bis.available();
361 if (toRead > available()) {
[all...]
H A DSequenceInputStreamTest.java101 * @tests java.io.SequenceInputStream#available()
104 // Test for method int java.io.SequenceInputStream.available()
107 assertTrue("Returned incorrect number of bytes: " + si.available(),
108 si.available() == s1.length());
110 fail("IOException during available test : " + e.getMessage());
/external/chromium/chrome/browser/
H A Dbrowsing_data_database_helper_browsertest.cc31 int64 available; local
34 &available);
41 &size, &available);
/external/chromium_org/courgette/
H A Dassembly_program.cc48 uint32 info_ : 28; // Remaining bits in first word available to subclass.
286 // First see which indexes have not been used. The 'available' vector could
289 std::vector<bool> available(labels->size(), true);
295 while (static_cast<size_t>(index) >= available.size())
296 available.push_back(true);
297 available.at(index) = false;
315 if (index < static_cast<int>(available.size()) && available.at(index)) {
317 available.at(index) = false;
338 prev_index = static_cast<uint32>(available
[all...]
/external/oprofile/libop/
H A Dop_alloc_counter.c134 /* If ctr_arc is not available, counter_map is -1 */
171 * return >= 0 number of counters that are available
179 /* assume nothing is available */
180 u32 available=0; local
189 available |= 1 << atoi(counterlist[i]->d_name);
192 *mask=~available;
/external/chromium_org/chrome/browser/renderer_host/pepper/
H A Dpepper_flash_clipboard_message_filter.cc164 bool available = false; local
171 available = plain || plainw;
175 available = clipboard->IsFormatAvailable(
179 available = clipboard->IsFormatAvailable(
191 available = IsFormatAvailableInPickle(UTF8ToUTF16(format_name), pickle);
196 return available ? PP_OK : PP_ERROR_FAILED;
224 // If the PlainTextW format isn't available or is empty, take the
/external/chromium_org/chrome/tools/build/win/
H A Dversion.bat31 :: Look if subversion client is available. It may not be available on Windows
34 :: If not available, just skip getting the revision number.
/external/chromium_org/third_party/leveldatabase/src/helpers/memenv/
H A Dmemenv.cc56 const uint64_t available = size_ - offset; local
57 if (n > available) {
58 n = available;
170 const size_t available = file_->Size() - pos_; local
171 if (n > available) {
172 n = available;
/external/chromium_org/chrome/browser/resources/file_manager/js/photo/
H A Dgallery_testapi.js131 * Responds whether autofix tool is available.
225 function autofix(available) {
226 if (available) {
/external/guava/guava-tests/test/com/google/common/io/
H A DMultiInputStreamTest.java89 assertEquals(10, in.available());
94 assertEquals(0, in.available());
/external/jmonkeyengine/engine/src/core/com/jme3/util/
H A DLittleEndien.java157 public int available() throws IOException { method in class:LittleEndien
158 return in.available();
/external/bluetooth/bluedroid/stack/rfcomm/
H A Dport_api.c1511 int available = 0; local
1512 //if(ioctl(fd, FIONREAD, &available) < 0)
1513 if(p_port->p_data_co_callback(handle, (UINT8*)&available, sizeof(available),
1516 RFCOMM_TRACE_ERROR1("p_data_co_callback DATA_CO_CALLBACK_TYPE_INCOMING_SIZE failed, available:%d", available);
1519 if(available == 0)
1530 && (((int)p_buf->len + available) <= (int)p_port->peer_mtu)
1531 && (((int)p_buf->len + available) <= (int)length))
1533 //if(recv(fd, (UINT8 *)(p_buf + 1) + p_buf->offset + p_buf->len, available,
[all...]
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dstream.cc664 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...]
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
H A DZipInputStreamTest.java224 while (zis1.available() > 0) {
229 fail("ZipInputStream.available or ZipInputStream.skip does not " +
234 assertEquals(0, zis1.available());
236 assertEquals(1, zis.available());
239 zis1.available();
/external/arduino/hardware/arduino/cores/arduino/
H A DHardwareSerial.h53 virtual int available(void);

Completed in 614 milliseconds

1234567891011>>