/aosp12/frameworks/av/media/codecs/m4v_h263/enc/src/ |
H A D | bitstream_io.cpp | 75 stream->byteCount = 0; in BitStreamCreateEnc() 236 stream->byteCount += 4; in BitstreamSaveWord() 239 stream->byteCount += 2; in BitstreamSaveWord() 450 bitstream1->byteCount += (bitstream2->byteCount + offset); in BitstreamAppendEnc() 498 if (bitstream1->byteCount + bitstream2->byteCount > bitstream1->bufferSize) in BitstreamAppendPacket() 541 if (bitstream1->byteCount + bitstream2->byteCount > bitstream1->bufferSize) in BitstreamAppendPacketNoOffset() 589 bitstream->byteCount = byteCount; in BitstreamRepos() 689 if (bitstream1->byteCount + bitstream2->byteCount >= bitstream1->bufferSize) in BitstreamPrependPacket() 691 bitstream1->byteCount += bitstream2->byteCount; in BitstreamPrependPacket() 726 bitstream1->byteCount += bitstream2->byteCount; in BitstreamPrependPacket() [all …]
|
H A D | combined_encode.cpp | 285 Int byteCount = 0, byteCount1 = 0, bitCount = 0; in EncodeSliceCombinedMode() local 438 byteCount = bitCount >> 3; /* save the state before encoding */ in EncodeSliceCombinedMode() 469 BitstreamRepos(bs1, byteCount, bitCount); /* rewind one MB */ in EncodeSliceCombinedMode() 506 …if (mbnum < nTotalMB - 1 && currVol->stream->byteCount + bs1->byteCount + 1 >= currVol->stream->bu… in EncodeSliceCombinedMode() 509 byteCount = currVol->stream->bufferSize - currVol->stream->byteCount - 1; in EncodeSliceCombinedMode() 511 num_bits = BitstreamGetPos(bs1) - (byteCount << 3); in EncodeSliceCombinedMode() 512 BitstreamRepos(bs1, byteCount, 0); in EncodeSliceCombinedMode() 550 if (currVol->stream->byteCount + bs1->byteCount > currVol->stream->bufferSize) in EncodeSliceCombinedMode() 561 num_bits = ((bs1->byteCount - byteCount) << 3); in EncodeSliceCombinedMode() 563 BitstreamRepos(bs1, byteCount, 0); in EncodeSliceCombinedMode() [all …]
|
/aosp12/packages/apps/Car/DebuggingRestrictionController/libs/ |
H A D | okio-1.15.0.jar | META-INF/
META-INF/MANIFEST.MF
okio/
okio/AsyncTimeout$Watchdog. ... |
/aosp12/frameworks/base/core/java/android/content/pm/ |
H A D | LimitedLengthInputStream.java | 69 public int read(byte[] buffer, int offset, int byteCount) throws IOException { in read() argument 75 ArrayUtils.throwsIfOutOfBounds(arrayLength, offset, byteCount); in read() 77 if (mOffset > Long.MAX_VALUE - byteCount) { in read() 78 throw new IOException("offset out of bounds: " + mOffset + " + " + byteCount); in read() 81 if (mOffset + byteCount > mEnd) { in read() 82 byteCount = (int) (mEnd - mOffset); in read() 85 final int numRead = super.read(buffer, offset, byteCount); in read()
|
/aosp12/frameworks/base/packages/PrintSpooler/jni/ |
H A D | com_android_printspooler_util_BitmapSerializeUtils.cpp | 29 static bool writeAllBytes(const int fd, void* buffer, const size_t byteCount) { in writeAllBytes() argument 31 size_t remainingBytes = byteCount; in writeAllBytes() 48 static bool readAllBytes(const int fd, void* buffer, const size_t byteCount) { in readAllBytes() argument 50 size_t remainingBytes = byteCount; in readAllBytes() 67 byteCount); in readAllBytes() 123 size_t byteCount = readInfo.stride * readInfo.height; in readBitmapPixels() local 124 read = readAllBytes(fd, (void*) pixels, byteCount); in readBitmapPixels() 162 size_t byteCount = info.stride * info.height; in writeBitmapPixels() local 163 written = writeAllBytes(fd, (void*) pixels, byteCount); in writeBitmapPixels()
|
/aosp12/frameworks/base/core/java/android/util/jar/ |
H A D | StrictJarFile.java | 352 int r = super.read(buffer, byteOffset, byteCount); in read() 384 public long skip(long byteCount) throws IOException { in skip() argument 385 return Streams.skipByReading(this, byteCount); in skip() 403 i = super.read(buffer, byteOffset, byteCount); in read() 468 if (byteCount > length) { in read() 469 byteCount = (int) length; in read() 486 @Override public long skip(long byteCount) throws IOException { in skip() argument 487 if (byteCount > endOffset - offset) { in skip() 488 byteCount = endOffset - offset; in skip() 490 offset += byteCount; in skip() [all …]
|
/aosp12/packages/modules/GeoTZ/s2storage/src/write/java/com/android/timezone/location/storage/io/write/ |
H A D | TypedOutputStream.java | 47 public void writeVarByteValue(int byteCount, long value) throws IOException { in writeVarByteValue() argument 48 if (byteCount < 1 || byteCount > 8) { in writeVarByteValue() 49 throw new IllegalArgumentException("byteCount " + byteCount + " out of range"); in writeVarByteValue() 53 if (byteCount < 8) { in writeVarByteValue() 54 long unusedBits = value & BitwiseUtils.getHighBitsMask((8 - byteCount) * 8); in writeVarByteValue() 62 for (int i = byteCount - 1; i >= 0; i--) { in writeVarByteValue()
|
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/io/ |
H A D | BridgeBufferIterator.java | 48 public void skip(int byteCount) { in skip() argument 49 int newPosition = mByteBuffer.position() + byteCount; in skip() 55 public void readByteArray(byte[] dst, int dstOffset, int byteCount) { in readByteArray() argument 56 assert dst.length >= dstOffset + byteCount; in readByteArray() local 57 mByteBuffer.get(dst, dstOffset, byteCount); in readByteArray()
|
/aosp12/frameworks/base/core/java/com/android/internal/util/ |
H A D | SizedInputStream.java | 49 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read() argument 52 } else if (byteCount > mLength) { in read() 53 byteCount = (int) mLength; in read() 56 final int n = mWrapped.read(buffer, byteOffset, byteCount); in read()
|
/aosp12/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | NativeFrame.java | 177 int byteCount = rgbaBitmap.getByteCount(); in setBitmap() local 179 if (!setNativeBitmap(rgbaBitmap, byteCount, bps)) { in setBitmap() 193 int byteCount = result.getByteCount(); in getBitmap() local 195 if (!getNativeBitmap(result, byteCount, bps)) { in getBitmap() 244 private native byte[] getNativeData(int byteCount); in getNativeData() argument 252 private native int[] getNativeInts(int byteCount); in getNativeInts() argument 254 private native float[] getNativeFloats(int byteCount); in getNativeFloats() argument
|
/aosp12/bionic/libc/bionic/ |
H A D | ifaddrs.cpp | 72 void SetAddress(int family, const void* data, size_t byteCount) { in SetAddress() 78 ifa.ifa_addr = CopyAddress(family, data, byteCount, &addr); in SetAddress() 81 ifa.ifa_dstaddr = CopyAddress(family, data, byteCount, &ifa_ifu); in SetAddress() 85 void SetBroadcastAddress(int family, const void* data, size_t byteCount) { in SetBroadcastAddress() 92 ifa.ifa_broadaddr = CopyAddress(family, data, byteCount, &ifa_ifu); in SetBroadcastAddress() 95 void SetLocalAddress(int family, const void* data, size_t byteCount) { in SetLocalAddress() 105 ifa.ifa_addr = CopyAddress(family, data, byteCount, &addr); in SetLocalAddress() 129 sockaddr* CopyAddress(int family, const void* data, size_t byteCount, sockaddr_storage* ss) { in CopyAddress() 135 memcpy(SockaddrBytes(family, ss), data, byteCount); in CopyAddress()
|
/aosp12/system/teeui/libteeui/include/teeui/ |
H A D | utf8range.h | 44 static size_t byteCount(char c) { in byteCount() function 59 size_t byte_count = byteCount(c); in codePoint() 88 begin_ += byteCount(*begin_); 110 auto byte_count = byteCount(*pos); in verify()
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | MD5Calculator.java | 35 int byteCount; in checksum() local 36 while ((byteCount = in.read(bytes)) > 0) { in checksum() 37 digester.update(bytes, 0, byteCount); in checksum()
|
/aosp12/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | Fingerprint.java | 81 public static Fingerprint fromInputStream(InputStream stream, long[] byteCount) in fromInputStream() argument 97 if ((byteCount != null) && (byteCount.length > 0)) byteCount[0] = count; in fromInputStream()
|
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
H A D | byte_array_utils.h | 235 int byteCount = 0; in calculateRequiredByteCountToStoreCodePoints() local 243 byteCount += 3; in calculateRequiredByteCountToStoreCodePoints() 246 byteCount += 1; in calculateRequiredByteCountToStoreCodePoints() 251 byteCount += 1; in calculateRequiredByteCountToStoreCodePoints() 253 return byteCount; in calculateRequiredByteCountToStoreCodePoints()
|
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
H A D | TrafficStatsTest.java | 118 final int byteCount = 1024; in testTrafficStatsForLocalhost() local 132 final byte[] buf = new byte[byteCount]; in testTrafficStatsForLocalhost() 160 final byte[] buf = new byte[byteCount]; in testTrafficStatsForLocalhost() 161 while (read < byteCount * packetCount) { in testTrafficStatsForLocalhost() 169 assertTrue("Not all data read back", read >= byteCount * packetCount); in testTrafficStatsForLocalhost() 234 final long pktBytes = tcpPacketToIpBytes(packetCount, byteCount); in testTrafficStatsForLocalhost()
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | FileBridge.java | 182 public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException { in write() argument 183 ArrayUtils.throwsIfOutOfBounds(buffer.length, byteOffset, byteCount); in write() 185 Memory.pokeInt(mTemp, 4, byteCount, ByteOrder.BIG_ENDIAN); in write() 187 IoBridge.write(mClient, buffer, byteOffset, byteCount); in write()
|
/aosp12/packages/modules/GeoTZ/s2storage/src/write/java/com/android/timezone/location/storage/block/write/ |
H A D | BlockFileWriter.java | 170 int byteCount = Math.min(buffer.length, byteBuffer.remaining()); in copyAll() local 171 byteBuffer.get(buffer, 0, byteCount); in copyAll() 172 outputStream.writeBytes(buffer, 0, byteCount); in copyAll() 173 totalByteCount += byteCount; in copyAll()
|
/aosp12/packages/apps/DevCamera/src/com/android/devcamera/ |
H A D | MediaSaver.java | 75 int byteCount = 0; in saveDepth() local 77 byteCount = channel.write(depthCloudData); in saveDepth() 78 if (0 == byteCount) { in saveDepth() 81 bytesWritten += byteCount; in saveDepth()
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_ddm_DdmHandleNativeHeap.cpp | 58 ssize_t byteCount; in ReadFile() local 59 while ((byteCount = TEMP_FAILURE_RETRY(read(fd, bytes, sizeof(bytes)))) > 0) { in ReadFile() 60 s.append(bytes, byteCount); in ReadFile()
|
/aosp12/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/block/read/ |
H A D | BlockData.java | 88 public byte[] getBytes(int byteOffset, int byteCount) { in getBytes() argument 89 byte[] bytes = new byte[byteCount]; in getBytes() 90 for (int i = 0; i < byteCount; i++) { in getBytes()
|
/aosp12/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/ |
H A D | JPEGInputStream.java | 137 public long skip(long byteCount) throws IOException { in skip() argument 138 if (byteCount <= 0) { in skip() 142 int flag = skipDecodedBytes((int) (0x7FFFFFFF & byteCount)); in skip()
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | SmsMessageBodyTest.java | 427 int byteCount = length * 2; in fillData() local 428 if (byteCount > SmsConstants.MAX_USER_DATA_BYTES) { in fillData() 429 values[0] = (byteCount + SmsConstants.MAX_USER_DATA_BYTES_WITH_HEADER - 1) / in fillData() 432 byteCount) / 2; in fillData() 435 values[2] = (SmsConstants.MAX_USER_DATA_BYTES - byteCount) / 2; in fillData()
|
/aosp12/system/timezone/tzdatacheck/ |
H A D | tzdatacheck.cpp | 101 static bool readBytes(const std::string& fileName, char* buffer, size_t byteCount) { in readBytes() argument 109 size_t bytesRead = fread(buffer, 1, byteCount, file); in readBytes() 111 if (bytesRead != byteCount) { in readBytes() 112 LOG(WARNING) << fileName << " is too small. " << byteCount << " bytes required"; in readBytes()
|
/aosp12/system/teeui/libteeui/src/ |
H A D | cbor.cpp | 80 static size_t byteCount(char c) { in byteCount() function 98 auto bc = byteCount(*begin); in checkUTF8Copy()
|