/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/pdf/ |
H A D | SkPDFBitmap.cpp | 114 uint8_t byteBuffer[4092]; in do_deflated_alpha() local 115 uint8_t* bufferStop = byteBuffer + SK_ARRAY_COUNT(byteBuffer); in do_deflated_alpha() 116 uint8_t* dst = byteBuffer; in do_deflated_alpha() 120 deflateWStream.write(byteBuffer, sizeof(byteBuffer)); in do_deflated_alpha() 121 dst = byteBuffer; in do_deflated_alpha() 124 deflateWStream.write(byteBuffer, dst - byteBuffer); in do_deflated_alpha() 162 uint8_t byteBuffer[3072]; in do_deflated_image() local 164 uint8_t* bufferStop = byteBuffer + SK_ARRAY_COUNT(byteBuffer); in do_deflated_image() 165 uint8_t* dst = byteBuffer; in do_deflated_image() 177 deflateWStream.write(byteBuffer, sizeof(byteBuffer)); in do_deflated_image() [all …]
|
/dports/audio/rhvoice/RHVoice-1.2.4/src/third-party/cldr/tools/java/org/unicode/cldr/draft/ |
H A D | CharEncoder.java | 27 private ByteBuffer byteBuffer = ByteBuffer.allocate(5); field in CharEncoder 64 byteBuffer.clear(); in getValue() 65 CoderResult encodeResult = encoder.encode(charBuffer, byteBuffer, true); in getValue() 70 byteBuffer.flip(); in getValue() 72 CoderResult decodeResult = decoder.decode(byteBuffer, returnCharBuffer, true); in getValue() 88 byteBuffer.flip(); in getValue() 89 byteLen = byteBuffer.limit(); in getValue() 90 byteBuffer.get(destination, offset, byteLen); in getValue()
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/thrift/lib/java/src/org/apache/thrift/ |
H A D | TBaseHelper.java | 237 if (wrapsFullArray(byteBuffer)) { in byteBufferToByteArray() 238 return byteBuffer.array(); in byteBufferToByteArray() 240 byte[] target = new byte[byteBuffer.remaining()]; in byteBufferToByteArray() 241 byteBufferToByteArray(byteBuffer, target, 0); in byteBufferToByteArray() 246 return byteBuffer.hasArray() in wrapsFullArray() 247 && byteBuffer.position() == 0 in wrapsFullArray() 248 && byteBuffer.arrayOffset() == 0 in wrapsFullArray() 249 && byteBuffer.remaining() == byteBuffer.capacity(); in wrapsFullArray() 253 int remaining = byteBuffer.remaining(); in byteBufferToByteArray() 254 System.arraycopy(byteBuffer.array(), in byteBufferToByteArray() [all …]
|
/dports/net/storj/storj-1.45.3/vendor/github.com/apache/thrift/lib/java/src/org/apache/thrift/ |
H A D | TBaseHelper.java | 269 if (wrapsFullArray(byteBuffer)) { in byteBufferToByteArray() 270 return byteBuffer.array(); in byteBufferToByteArray() 272 byte[] target = new byte[byteBuffer.remaining()]; in byteBufferToByteArray() 273 byteBufferToByteArray(byteBuffer, target, 0); in byteBufferToByteArray() 278 return byteBuffer.hasArray() in wrapsFullArray() 279 && byteBuffer.position() == 0 in wrapsFullArray() 280 && byteBuffer.arrayOffset() == 0 in wrapsFullArray() 281 && byteBuffer.remaining() == byteBuffer.capacity(); in wrapsFullArray() 285 int remaining = byteBuffer.remaining(); in byteBufferToByteArray() 286 System.arraycopy(byteBuffer.array(), in byteBufferToByteArray() [all …]
|
/dports/devel/py-thrift/thrift-0.14.0/lib/java/src/org/apache/thrift/ |
H A D | TBaseHelper.java | 237 if (wrapsFullArray(byteBuffer)) { in byteBufferToByteArray() 238 return byteBuffer.array(); in byteBufferToByteArray() 240 byte[] target = new byte[byteBuffer.remaining()]; in byteBufferToByteArray() 241 byteBufferToByteArray(byteBuffer, target, 0); in byteBufferToByteArray() 246 return byteBuffer.hasArray() in wrapsFullArray() 247 && byteBuffer.position() == 0 in wrapsFullArray() 248 && byteBuffer.arrayOffset() == 0 in wrapsFullArray() 249 && byteBuffer.remaining() == byteBuffer.capacity(); in wrapsFullArray() 253 int remaining = byteBuffer.remaining(); in byteBufferToByteArray() 254 System.arraycopy(byteBuffer.array(), in byteBufferToByteArray() [all …]
|
/dports/www/fabio/fabio-1.5.14/vendor/github.com/apache/thrift/thrift-da1169d75b15/lib/java/src/org/apache/thrift/ |
H A D | TBaseHelper.java | 269 if (wrapsFullArray(byteBuffer)) { in byteBufferToByteArray() 270 return byteBuffer.array(); in byteBufferToByteArray() 272 byte[] target = new byte[byteBuffer.remaining()]; in byteBufferToByteArray() 273 byteBufferToByteArray(byteBuffer, target, 0); in byteBufferToByteArray() 278 return byteBuffer.hasArray() in wrapsFullArray() 279 && byteBuffer.position() == 0 in wrapsFullArray() 280 && byteBuffer.arrayOffset() == 0 in wrapsFullArray() 281 && byteBuffer.remaining() == byteBuffer.capacity(); in wrapsFullArray() 285 int remaining = byteBuffer.remaining(); in byteBufferToByteArray() 286 System.arraycopy(byteBuffer.array(), in byteBufferToByteArray() [all …]
|
/dports/devel/thrift-c_glib/thrift-0.14.0/lib/java/src/org/apache/thrift/ |
H A D | TBaseHelper.java | 237 if (wrapsFullArray(byteBuffer)) { in byteBufferToByteArray() 238 return byteBuffer.array(); in byteBufferToByteArray() 240 byte[] target = new byte[byteBuffer.remaining()]; in byteBufferToByteArray() 241 byteBufferToByteArray(byteBuffer, target, 0); in byteBufferToByteArray() 246 return byteBuffer.hasArray() in wrapsFullArray() 247 && byteBuffer.position() == 0 in wrapsFullArray() 248 && byteBuffer.arrayOffset() == 0 in wrapsFullArray() 249 && byteBuffer.remaining() == byteBuffer.capacity(); in wrapsFullArray() 253 int remaining = byteBuffer.remaining(); in byteBufferToByteArray() 254 System.arraycopy(byteBuffer.array(), in byteBufferToByteArray() [all …]
|
/dports/devel/thrift-cpp/thrift-0.14.0/lib/java/src/org/apache/thrift/ |
H A D | TBaseHelper.java | 237 if (wrapsFullArray(byteBuffer)) { in byteBufferToByteArray() 238 return byteBuffer.array(); in byteBufferToByteArray() 240 byte[] target = new byte[byteBuffer.remaining()]; in byteBufferToByteArray() 241 byteBufferToByteArray(byteBuffer, target, 0); in byteBufferToByteArray() 246 return byteBuffer.hasArray() in wrapsFullArray() 247 && byteBuffer.position() == 0 in wrapsFullArray() 248 && byteBuffer.arrayOffset() == 0 in wrapsFullArray() 249 && byteBuffer.remaining() == byteBuffer.capacity(); in wrapsFullArray() 253 int remaining = byteBuffer.remaining(); in byteBufferToByteArray() 254 System.arraycopy(byteBuffer.array(), in byteBufferToByteArray() [all …]
|
/dports/devel/thrift/thrift-0.14.0/lib/java/src/org/apache/thrift/ |
H A D | TBaseHelper.java | 237 if (wrapsFullArray(byteBuffer)) { in byteBufferToByteArray() 238 return byteBuffer.array(); in byteBufferToByteArray() 240 byte[] target = new byte[byteBuffer.remaining()]; in byteBufferToByteArray() 241 byteBufferToByteArray(byteBuffer, target, 0); in byteBufferToByteArray() 246 return byteBuffer.hasArray() in wrapsFullArray() 247 && byteBuffer.position() == 0 in wrapsFullArray() 248 && byteBuffer.arrayOffset() == 0 in wrapsFullArray() 249 && byteBuffer.remaining() == byteBuffer.capacity(); in wrapsFullArray() 253 int remaining = byteBuffer.remaining(); in byteBufferToByteArray() 254 System.arraycopy(byteBuffer.array(), in byteBufferToByteArray() [all …]
|
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/apache/thrift/lib/java/src/org/apache/thrift/ |
H A D | TBaseHelper.java | 237 if (wrapsFullArray(byteBuffer)) { in byteBufferToByteArray() 238 return byteBuffer.array(); in byteBufferToByteArray() 240 byte[] target = new byte[byteBuffer.remaining()]; in byteBufferToByteArray() 241 byteBufferToByteArray(byteBuffer, target, 0); in byteBufferToByteArray() 246 return byteBuffer.hasArray() in wrapsFullArray() 247 && byteBuffer.position() == 0 in wrapsFullArray() 248 && byteBuffer.arrayOffset() == 0 in wrapsFullArray() 249 && byteBuffer.remaining() == byteBuffer.capacity(); in wrapsFullArray() 253 int remaining = byteBuffer.remaining(); in byteBufferToByteArray() 254 System.arraycopy(byteBuffer.array(), in byteBufferToByteArray() [all …]
|
/dports/devel/node-thrift/thrift-0.14.0/lib/java/src/org/apache/thrift/ |
H A D | TBaseHelper.java | 237 if (wrapsFullArray(byteBuffer)) { in byteBufferToByteArray() 238 return byteBuffer.array(); in byteBufferToByteArray() 240 byte[] target = new byte[byteBuffer.remaining()]; in byteBufferToByteArray() 241 byteBufferToByteArray(byteBuffer, target, 0); in byteBufferToByteArray() 246 return byteBuffer.hasArray() in wrapsFullArray() 247 && byteBuffer.position() == 0 in wrapsFullArray() 248 && byteBuffer.arrayOffset() == 0 in wrapsFullArray() 249 && byteBuffer.remaining() == byteBuffer.capacity(); in wrapsFullArray() 253 int remaining = byteBuffer.remaining(); in byteBufferToByteArray() 254 System.arraycopy(byteBuffer.array(), in byteBufferToByteArray() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/cronet/android/api/src/org/chromium/net/ |
H A D | UploadDataProviders.java | 102 public void read(UploadDataSink uploadDataSink, ByteBuffer byteBuffer) throws IOException { 103 if (!byteBuffer.hasRemaining()) { 109 int read = channel.read(byteBuffer); 162 public void read(UploadDataSink uploadDataSink, ByteBuffer byteBuffer) { 163 if (!byteBuffer.hasRemaining()) { 166 if (byteBuffer.remaining() >= mUploadBuffer.remaining()) { 167 byteBuffer.put(mUploadBuffer); 170 mUploadBuffer.limit(mUploadBuffer.position() + byteBuffer.remaining()); 171 byteBuffer.put(mUploadBuffer);
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/corba/src/share/classes/com/sun/corba/se/impl/protocol/giopmsgheaders/ |
H A D | Message_1_1.java | 111 public void setSize(ByteBuffer byteBuffer, int size) { in setSize() argument 121 byteBuffer.put(8, (byte)((patch >>> 24) & 0xFF)); in setSize() 122 byteBuffer.put(9, (byte)((patch >>> 16) & 0xFF)); in setSize() 123 byteBuffer.put(10, (byte)((patch >>> 8) & 0xFF)); in setSize() 124 byteBuffer.put(11, (byte)((patch >>> 0) & 0xFF)); in setSize() 126 byteBuffer.put(8, (byte)((patch >>> 0) & 0xFF)); in setSize() 127 byteBuffer.put(9, (byte)((patch >>> 8) & 0xFF)); in setSize() 128 byteBuffer.put(10, (byte)((patch >>> 16) & 0xFF)); in setSize() 129 byteBuffer.put(11, (byte)((patch >>> 24) & 0xFF)); in setSize()
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/corba/src/share/classes/com/sun/corba/se/impl/protocol/giopmsgheaders/ |
H A D | Message_1_1.java | 111 public void setSize(ByteBuffer byteBuffer, int size) { in setSize() argument 121 byteBuffer.put(8, (byte)((patch >>> 24) & 0xFF)); in setSize() 122 byteBuffer.put(9, (byte)((patch >>> 16) & 0xFF)); in setSize() 123 byteBuffer.put(10, (byte)((patch >>> 8) & 0xFF)); in setSize() 124 byteBuffer.put(11, (byte)((patch >>> 0) & 0xFF)); in setSize() 126 byteBuffer.put(8, (byte)((patch >>> 0) & 0xFF)); in setSize() 127 byteBuffer.put(9, (byte)((patch >>> 8) & 0xFF)); in setSize() 128 byteBuffer.put(10, (byte)((patch >>> 16) & 0xFF)); in setSize() 129 byteBuffer.put(11, (byte)((patch >>> 24) & 0xFF)); in setSize()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
H A D | WebRtcAudioTrack.java | 76 private ByteBuffer byteBuffer; field in WebRtcAudioTrack 141 final int sizeInBytes = byteBuffer.capacity(); in run() 151 assertTrue(sizeInBytes <= byteBuffer.remaining()); in run() 153 byteBuffer.clear(); in run() 154 byteBuffer.put(emptyBytes); in run() 155 byteBuffer.position(0); in run() 170 byteBuffer.rewind(); in run() 195 return audioTrack.write(byteBuffer.array(), byteBuffer.arrayOffset(), sizeInBytes); in writeBytes() 226 emptyBytes = new byte[byteBuffer.capacity()]; in initPlayout() 230 nativeCacheDirectBufferAddress(byteBuffer, nativeAudioTrack); in initPlayout() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/sdk/android/src/java/org/webrtc/audio/ |
H A D | WebRtcAudioTrack.java | 72 private ByteBuffer byteBuffer; field in WebRtcAudioTrack 110 final int sizeInBytes = byteBuffer.capacity(); in run() 120 assertTrue(sizeInBytes <= byteBuffer.remaining()); in run() 122 byteBuffer.clear(); in run() 123 byteBuffer.put(emptyBytes); in run() 124 byteBuffer.position(0); in run() 139 byteBuffer.rewind(); in run() 151 return audioTrack.write(byteBuffer.array(), byteBuffer.arrayOffset(), sizeInBytes); in writeBytes() 194 emptyBytes = new byte[byteBuffer.capacity()]; in initPlayout() 213 if (minBufferSizeInBytes < byteBuffer.capacity()) { in initPlayout() [all …]
|
/dports/net-im/tg_owt/tg_owt-d578c76/src/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
H A D | WebRtcAudioTrack.java | 76 private ByteBuffer byteBuffer; field in WebRtcAudioTrack 141 final int sizeInBytes = byteBuffer.capacity(); in run() 151 assertTrue(sizeInBytes <= byteBuffer.remaining()); in run() 153 byteBuffer.clear(); in run() 154 byteBuffer.put(emptyBytes); in run() 155 byteBuffer.position(0); in run() 170 byteBuffer.rewind(); in run() 195 return audioTrack.write(byteBuffer.array(), byteBuffer.arrayOffset(), sizeInBytes); in writeBytes() 226 emptyBytes = new byte[byteBuffer.capacity()]; in initPlayout() 230 nativeCacheDirectBufferAddress(byteBuffer, nativeAudioTrack); in initPlayout() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
H A D | WebRtcAudioTrack.java | 76 private ByteBuffer byteBuffer; field in WebRtcAudioTrack 141 final int sizeInBytes = byteBuffer.capacity(); in run() 151 assertTrue(sizeInBytes <= byteBuffer.remaining()); in run() 153 byteBuffer.clear(); in run() 154 byteBuffer.put(emptyBytes); in run() 155 byteBuffer.position(0); in run() 170 byteBuffer.rewind(); in run() 195 return audioTrack.write(byteBuffer.array(), byteBuffer.arrayOffset(), sizeInBytes); in writeBytes() 226 emptyBytes = new byte[byteBuffer.capacity()]; in initPlayout() 230 nativeCacheDirectBufferAddress(byteBuffer, nativeAudioTrack); in initPlayout() [all …]
|
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
H A D | WebRtcAudioTrack.java | 76 private ByteBuffer byteBuffer; field in WebRtcAudioTrack 141 final int sizeInBytes = byteBuffer.capacity(); in run() 151 assertTrue(sizeInBytes <= byteBuffer.remaining()); in run() 153 byteBuffer.clear(); in run() 154 byteBuffer.put(emptyBytes); in run() 155 byteBuffer.position(0); in run() 170 byteBuffer.rewind(); in run() 195 return audioTrack.write(byteBuffer.array(), byteBuffer.arrayOffset(), sizeInBytes); in writeBytes() 226 emptyBytes = new byte[byteBuffer.capacity()]; in initPlayout() 230 nativeCacheDirectBufferAddress(byteBuffer, nativeAudioTrack); in initPlayout() [all …]
|
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/sdk/android/src/java/org/webrtc/audio/ |
H A D | WebRtcAudioTrack.java | 72 private ByteBuffer byteBuffer; field in WebRtcAudioTrack 110 final int sizeInBytes = byteBuffer.capacity(); in run() 120 assertTrue(sizeInBytes <= byteBuffer.remaining()); in run() 122 byteBuffer.clear(); in run() 123 byteBuffer.put(emptyBytes); in run() 124 byteBuffer.position(0); in run() 139 byteBuffer.rewind(); in run() 151 return audioTrack.write(byteBuffer.array(), byteBuffer.arrayOffset(), sizeInBytes); in writeBytes() 194 emptyBytes = new byte[byteBuffer.capacity()]; in initPlayout() 213 if (minBufferSizeInBytes < byteBuffer.capacity()) { in initPlayout() [all …]
|
/dports/lang/gcc6-aux/gcc-6-20180516/libjava/classpath/java/io/ |
H A D | InputStreamReader.java | 123 private ByteBuffer byteBuffer; field in InputStreamReader 371 if (byteBuffer != null) in read() 385 if(byteBuffer != null) in read() 387 remaining = byteBuffer.remaining(); in read() 388 byteBuffer.get(bytes, 0, remaining); in read() 401 byteBuffer = ByteBuffer.wrap(bytes, 0, read); in read() 427 if(byteBuffer.hasRemaining()) { in read() 428 byteBuffer.compact(); in read() 429 byteBuffer.flip(); in read() 432 byteBuffer = null; in read() [all …]
|
/dports/lang/gcc48/gcc-4.8.5/libjava/classpath/java/io/ |
H A D | InputStreamReader.java | 123 private ByteBuffer byteBuffer; field in InputStreamReader 371 if (byteBuffer != null) in read() 385 if(byteBuffer != null) in read() 387 remaining = byteBuffer.remaining(); in read() 388 byteBuffer.get(bytes, 0, remaining); in read() 401 byteBuffer = ByteBuffer.wrap(bytes, 0, read); in read() 427 if(byteBuffer.hasRemaining()) { in read() 428 byteBuffer.compact(); in read() 429 byteBuffer.flip(); in read() 432 byteBuffer = null; in read() [all …]
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libjava/classpath/java/io/ |
H A D | InputStreamReader.java | 123 private ByteBuffer byteBuffer; field in InputStreamReader 371 if (byteBuffer != null) in read() 385 if(byteBuffer != null) in read() 387 remaining = byteBuffer.remaining(); in read() 388 byteBuffer.get(bytes, 0, remaining); in read() 401 byteBuffer = ByteBuffer.wrap(bytes, 0, read); in read() 427 if(byteBuffer.hasRemaining()) { in read() 428 byteBuffer.compact(); in read() 429 byteBuffer.flip(); in read() 432 byteBuffer = null; in read() [all …]
|
/dports/lang/gnat_util/gcc-6-20180516/libjava/classpath/java/io/ |
H A D | InputStreamReader.java | 123 private ByteBuffer byteBuffer; field in InputStreamReader 371 if (byteBuffer != null) in read() 385 if(byteBuffer != null) in read() 387 remaining = byteBuffer.remaining(); in read() 388 byteBuffer.get(bytes, 0, remaining); in read() 401 byteBuffer = ByteBuffer.wrap(bytes, 0, read); in read() 427 if(byteBuffer.hasRemaining()) { in read() 428 byteBuffer.compact(); in read() 429 byteBuffer.flip(); in read() 432 byteBuffer = null; in read() [all …]
|
/dports/devel/mingw32-gcc/gcc-4.8.1/libjava/classpath/java/io/ |
H A D | InputStreamReader.java | 123 private ByteBuffer byteBuffer; field in InputStreamReader 371 if (byteBuffer != null) in read() 385 if(byteBuffer != null) in read() 387 remaining = byteBuffer.remaining(); in read() 388 byteBuffer.get(bytes, 0, remaining); in read() 401 byteBuffer = ByteBuffer.wrap(bytes, 0, read); in read() 427 if(byteBuffer.hasRemaining()) { in read() 428 byteBuffer.compact(); in read() 429 byteBuffer.flip(); in read() 432 byteBuffer = null; in read() [all …]
|