/external/skqp/src/core/ |
SkBuffer.cpp | 15 if (fValid && size <= this->available()) { 30 if (fValid && n <= this->available()) {
|
SkReader32.h | 42 size_t available() const { return fStop - fCurr; } function in class:SkReader32 43 bool isAvailable(size_t size) const { return size <= this->available(); } 148 size_t size = obj->readFromMemory(this->peek(), this->available()); 149 // If readFromMemory() fails (which means that available() was too small), it returns 0 150 bool success = (size > 0) && (size <= this->available()) && (SkAlign4(size) == size); 152 (void)this->skip(success ? size : this->available());
|
/external/smali/util/src/main/java/org/jf/util/ |
RandomAccessFileInputStream.java | 69 int skipBytes = Math.min((int)l, available()); 74 @Override public int available() throws IOException { method in class:RandomAccessFileInputStream
|
/frameworks/base/core/java/android/accessibilityservice/ |
IAccessibilityServiceClient.aidl | 56 void onAccessibilityButtonAvailabilityChanged(boolean available);
|
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/util/ |
RemoteInputStreamAdapter.java | 59 public int available() throws IOException { method in class:RemoteInputStreamAdapter 60 return mDelegate.available();
|
StreamUtil.java | 63 public int available() throws IOException { method in class:StreamUtil 64 return is.available();
|
/hardware/akm/AK8975_FS/libsensors/ |
InputEventReader.cpp | 78 ssize_t available = (mBufferEnd - mBuffer) - mFreeSpace; local 79 return available ? 1 : 0;
|
/hardware/interfaces/camera/ |
README.md | 7 operate camera devices available on the device.
|
/libcore/ojluni/src/main/java/java/io/ |
SequenceInputStream.java | 126 * This method simply calls {@code available} of the current underlying 137 public int available() throws IOException { method in class:SequenceInputStream 139 return 0; // no way to signal EOF from available() 141 return in.available(); 147 * <code>255</code>. If no byte is available because the end of the 149 * This method blocks until input data is available, the end of the 176 * blocks until at least 1 byte of input is available; otherwise, no
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
GeneralNames.java | 60 if (derVal.data.available() == 0) { 61 throw new IOException("No data available in " 65 while (derVal.data.available() != 0) {
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
CloseShieldInputStream.java | 56 * @see java.io.InputStream#available() 58 public int available() throws IOException { method in class:CloseShieldInputStream 60 return is.available();
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
PositionInputStream.java | 40 public int available() throws IOException { method in class:PositionInputStream 41 return inputStream.available();
|
/prebuilts/go/darwin-x86/src/hash/crc32/ |
crc32_s390x.go | 36 panic("not available") 46 panic("not available") 68 panic("not available") 77 panic("not available")
|
/prebuilts/go/darwin-x86/src/net/ |
conf_netcgo.go | 11 // Fail if cgo isn't available.
|
/prebuilts/go/linux-x86/src/hash/crc32/ |
crc32_s390x.go | 36 panic("not available") 46 panic("not available") 68 panic("not available") 77 panic("not available")
|
/prebuilts/go/linux-x86/src/net/ |
conf_netcgo.go | 11 // Fail if cgo isn't available.
|
/external/mesa3d/src/intel/vulkan/ |
anv_query.c | 141 bool available = slot[firstQuery + i].available; local 152 bool write_results = available || (flags & VK_QUERY_RESULT_PARTIAL_BIT); 178 dst[1] = slot[firstQuery + i].available; 186 dst[1] = slot[firstQuery + i].available;
|
/external/skia/src/core/ |
SkReader32.h | 42 size_t available() const { return fStop - fCurr; } function in class:SkReader32 43 bool isAvailable(size_t size) const { return size <= this->available(); } 148 size_t size = obj->readFromMemory(this->peek(), this->available()); 149 // If readFromMemory() fails (which means that available() was too small), it returns 0 150 bool success = (size > 0) && (size <= this->available()) && (SkAlign4(size) == size); 152 (void)this->skip(success ? size : this->available());
|
/external/webrtc/webrtc/modules/audio_device/win/ |
audio_mixer_manager_win.h | 61 int32_t SpeakerVolumeIsAvailable(bool& available); 62 int32_t SpeakerMuteIsAvailable(bool& available); 65 int32_t MicrophoneMuteIsAvailable(bool& available); 68 int32_t MicrophoneBoostIsAvailable(bool& available); 71 int32_t MicrophoneVolumeIsAvailable(bool& available);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldBufferedOutputStreamTest.java | 93 0, bais.available()); 97 500, bais.available()); 101 bais.available() >= 1000); 161 0, bais.available()); 165 1, bais.available());
|
/libcore/ojluni/src/main/java/java/util/ |
Currency.java | 64 private static HashSet<Currency> available; field in class:Currency 149 * Gets the set of available currencies. The returned set of currencies 150 * contains all of the available currencies, which may include currencies 152 * without affecting the available currencies in the runtime. 154 * @return the set of available currencies. If there is no currency 155 * available in the runtime, the returned set is empty. 160 if (available == null) { 164 available = new HashSet<>(); 171 available.add(currency); 178 Set<Currency> result = (Set<Currency>) available.clone() [all...] |
/external/mesa3d/src/mesa/vbo/ |
vbo_split_inplace.c | 156 GLuint available = get_max_vertices(split, prim); local 162 if ((available < count && !split_inplace) || 163 (available < first && split_inplace)) { 165 available = get_max_vertices(split, prim); 168 if (available >= count) { 181 nr = MIN2( available, remaining ); 204 available = get_max_vertices(split, prim);
|
/external/pdfium/fxbarcode/datamatrix/ |
BC_C40Encoder.cpp | 67 int32_t available = context.m_symbolInfo->dataCapacity() - curCodewordCount; local 70 if (available < 2 || available > 2) { 79 ((lastCharSize <= 3 && available != 1) || lastCharSize > 3)) { 115 int32_t available = context.m_symbolInfo->dataCapacity() - curCodewordCount; local 124 } else if (available == 1 && rest == 1) { 136 if (available > 0 || context.hasMoreCharacters()) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
FlashlightControllerImpl.java | 165 private void dispatchAvailabilityChanged(boolean available) { 166 dispatchListeners(DISPATCH_AVAILABILITY_CHANGED, available); 220 private void setCameraAvailable(boolean available) { 223 changed = mTorchAvailable != available; 224 mTorchAvailable = available; 227 if (DEBUG) Log.d(TAG, "dispatchAvailabilityChanged(" + available + ")"); 228 dispatchAvailabilityChanged(available);
|
/external/webrtc/webrtc/modules/audio_device/linux/ |
audio_device_pulse_linux.h | 127 int32_t PlayoutIsAvailable(bool& available) override; 130 int32_t RecordingIsAvailable(bool& available) override; 159 int32_t SpeakerVolumeIsAvailable(bool& available) override; 167 int32_t MicrophoneVolumeIsAvailable(bool& available) override; 175 int32_t SpeakerMuteIsAvailable(bool& available) override; 180 int32_t MicrophoneMuteIsAvailable(bool& available) override; 185 int32_t MicrophoneBoostIsAvailable(bool& available) override; 190 int32_t StereoPlayoutIsAvailable(bool& available) override; 193 int32_t StereoRecordingIsAvailable(bool& available) override;
|