/libcore/luni/src/main/java/java/nio/ |
SocketChannelImpl.java | 610 public void write(byte[] buffer, int offset, int byteCount) throws IOException { 611 Arrays.checkOffsetAndCount(buffer.length, offset, byteCount); 612 ByteBuffer buf = ByteBuffer.wrap(buffer, offset, byteCount); 661 public int read(byte[] buffer, int offset, int byteCount) throws IOException { 662 Arrays.checkOffsetAndCount(buffer.length, offset, byteCount); 666 ByteBuffer buf = ByteBuffer.wrap(buffer, offset, byteCount);
|
/libcore/luni/src/main/java/java/io/ |
DataInputStream.java | 119 public final void readFully(byte[] dst, int offset, int byteCount) throws IOException { 120 Streams.readFully(in, dst, offset, byteCount);
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLSocketImpl.java | 665 public int read(byte[] buf, int offset, int byteCount) throws IOException { 669 Arrays.checkOffsetAndCount(buf.length, offset, byteCount); 670 if (byteCount == 0) { 674 OpenSSLSocketImpl.this, buf, offset, byteCount, getSoTimeout()); 707 public void write(byte[] buf, int offset, int byteCount) throws IOException { 711 Arrays.checkOffsetAndCount(buf.length, offset, byteCount); 712 if (byteCount == 0) { 716 OpenSSLSocketImpl.this, buf, offset, byteCount, writeTimeoutMilliseconds); [all...] |
/libcore/luni/src/main/native/ |
java_lang_Character.cpp | 52 int32_t byteCount = u_charName(codePoint, nameType, &buf[0], sizeof(buf), &status); 53 return (U_FAILURE(status) || byteCount == 0) ? NULL : env->NewStringUTF(buf);
|
libcore_io_Posix.cpp | 345 socklen_t byteCount = sizeof(ss); 346 memset(&ss, 0, byteCount); 347 int rc = is_sockname ? TEMP_FAILURE_RETRY(getsockname(fd, sa, &byteCount)) 348 : TEMP_FAILURE_RETRY(getpeername(fd, sa, &byteCount)); [all...] |
org_apache_harmony_xml_ExpatParser.cpp | 424 static size_t fillBuffer(ParsingContext* parsingContext, const char* utf8, int byteCount) { 428 jcharArray javaChars = parsingContext->ensureCapacity(byteCount); 439 UnicodeString utf16(UnicodeString::fromUTF8(StringPiece(utf8, byteCount))); 440 return utf16.extract(chars.get(), byteCount, status); 1014 const char* bytes, size_t byteOffset, size_t byteCount, jboolean isFinal) { [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
SpdyReader.java | 203 @Override public int read(byte[] buffer, int offset, int byteCount) throws IOException { 204 byteCount = Math.min(byteCount, compressedLimit); 205 int consumed = in.read(buffer, offset, byteCount);
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/ |
ByteUtils.java | 63 int byteCount = -1; 67 while ((byteCount = inputStream.read(buffer)) > 0) { 68 outputStream.write(buffer, 0, byteCount);
|
/libcore/dom/src/test/java/org/w3c/domts/ |
DOMTest.java | 230 int byteCount = bytes.length() / 2; 231 byte[] array = new byte[byteCount]; 232 for (int i = 0; i < byteCount; i++) {
|
/dalvik/dx/src/com/android/dx/merge/ |
DexMerger.java | [all...] |
/external/skia/src/utils/ |
SkMD5.cpp | 27 SkMD5::SkMD5() : byteCount(0) { 36 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); 60 this->byteCount += inputLength; 66 encode(bits, this->byteCount << 3); 69 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F);
|
SkSHA1.cpp | 24 SkSHA1::SkSHA1() : byteCount(0) { 34 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); 58 this->byteCount += inputLength; 64 encode(bits, this->byteCount << 3); 67 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
SmsMessageBodyTest.java | 433 int byteCount = length * 2; 434 if (byteCount > SmsConstants.MAX_USER_DATA_BYTES) { 435 values[0] = (byteCount + SmsConstants.MAX_USER_DATA_BYTES_WITH_HEADER - 1) / 438 byteCount) / 2; 441 values[2] = (SmsConstants.MAX_USER_DATA_BYTES - byteCount) / 2;
|
/dalvik/dx/src/com/android/dx/io/ |
DexIndexPrinter.java | 41 + " byteCount=" + Integer.toHexString(section.byteCount));
|
/external/sonivox/arm-fm-22k/lib_src/ |
eas_pcmdata.h | 84 EAS_I32 byteCount; /* size of file */
|
eas_imaadpcm.c | 126 pState->bytesLeft = pState->byteCount = (EAS_I32) pState->bytesLeftLoop; 321 if ((temp > pState->byteCount) && (pState->loopSamples != 0))
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_pcmdata.h | 84 EAS_I32 byteCount; /* size of file */
|
eas_imaadpcm.c | 126 pState->bytesLeft = pState->byteCount = (EAS_I32) pState->bytesLeftLoop; 321 if ((temp > pState->byteCount) && (pState->loopSamples != 0))
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_pcmdata.h | 84 EAS_I32 byteCount; /* size of file */
|
eas_imaadpcm.c | 126 pState->bytesLeft = pState->byteCount = (EAS_I32) pState->bytesLeftLoop; 321 if ((temp > pState->byteCount) && (pState->loopSamples != 0))
|
/external/yaffs2/yaffs2/ |
yaffs_tagscompat.c | 419 tags.byteCount = eTags->byteCount; 471 eTags->byteCount = tags.byteCount;
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
BinaryHprofReader.java | 264 int byteCount = dst.length; 265 while (byteCount > 0) { 266 int bytesRead = in.read(dst, offset, byteCount); 271 byteCount -= bytesRead;
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
ByteArrayInput.java | 289 int byteCount = cursor - startPosition; 294 return Utf8Utils.utf8BytesToString(data, startPosition, byteCount);
|
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/ |
NetscapePluginStream.cpp | 269 int byteCount = writeToFile(m_fileHandle, bytes, length); 270 if (byteCount != length) {
|
/libcore/luni/src/main/java/java/util/jar/ |
JarFile.java | 138 public long skip(long byteCount) throws IOException { 139 return Streams.skipByReading(this, byteCount);
|