/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_getbits.cpp | 114 uint32 offset; local 127 offset = (ptBitStream->usedBits) >> INBUF_ARRAY_INDEX_SHIFT; 129 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE)); 130 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); 131 Elem2 = *(ptBitStream->pBuffer + module(offset + 2, BUFSIZE)); 132 Elem3 = *(ptBitStream->pBuffer + module(offset + 3, BUFSIZE)); 162 uint32 offset; local 168 offset = (ptBitStream->usedBits) >> INBUF_ARRAY_INDEX_SHIFT; 170 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE)); 171 Elem1 = *(ptBitStream->pBuffer + module(offset 198 uint32 offset; local 236 uint32 offset; local [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | hexdump.cpp | 45 size_t offset = 0; local 46 while (offset < size) { 52 sprintf(tmp, "%08lx: ", (unsigned long)offset); 60 if (offset + i >= size) { 63 sprintf(tmp, "%02x ", data[offset + i]); 71 if (offset + i >= size) { 75 if (isprint(data[offset + i])) { 76 line.append((char)data[offset + i]); 89 offset += 16;
|
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextSRTSource.h | 54 // The offset of the text in the original file. 55 off64_t offset; member in struct:android::TimedTextSRTSource::TextInfo 65 off64_t *offset, int64_t *startTimeUs, TextInfo *info); 66 status_t readNextLine(off64_t *offset, AString *data);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupDataInputStream.java | 69 * {@code offset} within the array. 72 * @param offset The data will be stored in {@code b} beginning at this index 80 public int read(byte[] b, int offset, int size) throws IOException { argument 81 return mData.readEntityData(b, offset, size);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothInputStream.java | 70 * the byte array {@code b} starting at {@code offset}. 74 * @param offset 82 * if {@code offset < 0} or {@code length < 0}, or if 83 * {@code offset + length} is greater than the length of 89 public int read(byte[] b, int offset, int length) throws IOException { argument 93 if ((offset | length) < 0 || length > b.length - offset) { 94 throw new ArrayIndexOutOfBoundsException("invalid offset or length"); 96 return mSocket.read(b, offset, length);
|
H A D | BluetoothOutputStream.java | 61 * at position {@code offset} to this stream. 65 * @param offset 73 * if {@code offset < 0} or {@code count < 0}, or if 74 * {@code offset + count} is bigger than the length of 78 public void write(byte[] b, int offset, int count) throws IOException { argument 82 if ((offset | count) < 0 || count > b.length - offset) { 83 throw new IndexOutOfBoundsException("invalid offset or length"); 85 mSocket.write(b, offset, count);
|
/frameworks/base/core/java/android/content/pm/ |
H A D | LimitedLengthInputStream.java | 22 * Current offset in the stream. 28 * @param offset offset into stream where data starts 29 * @param length length of data at offset 32 public LimitedLengthInputStream(InputStream in, long offset, long length) throws IOException { argument 39 if (offset < 0) { 40 throw new IOException("offset < 0"); 47 if (length > Long.MAX_VALUE - offset) { 48 throw new IOException("offset + length > Long.MAX_VALUE"); 51 mEnd = offset 68 read(byte[] buffer, int offset, int byteCount) argument [all...] |
H A D | MacAuthenticatedInputStream.java | 71 public int read(byte[] buffer, int offset, int count) throws IOException { argument 72 int numRead = super.read(buffer, offset, count); 74 mMac.update(buffer, offset, numRead);
|
/frameworks/base/libs/hwui/ |
H A D | Patch.h | 55 GLintptr offset; member in class:android::uirenderer::Patch
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | native_frame.cpp | 30 bool NativeFrame::WriteData(const uint8_t* data, int offset, int size) { argument 31 if (size_ >= (offset + size)) { 32 memcpy(data_ + offset, data, size);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLId.java | 26 public void glGenBuffers(int n, int[] buffers, int offset); argument 28 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset); argument 30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); argument 32 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset); argument
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
H A D | UsbAccessoryStreamTransport.java | 56 protected int ioRead(byte[] buffer, int offset, int count) throws IOException { argument 60 return mInputStream.read(buffer, offset, count); 64 protected void ioWrite(byte[] buffer, int offset, int count) throws IOException { argument 68 mOutputStream.write(buffer, offset, count);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | pixelutils.cpp | 24 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset, 28 uint32* pOutRow = pOutput + offset; 23 nativeCopyPixels( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset, jint pixStride, jint rowStride) argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | PixelUtils.java | 28 * <p>The transformation is specified by specifying the initial offset in the output buffer, the 40 * @param offset The start offset in the output (in pixels) 48 int offset, 64 nativeCopyPixels(input, output, width, height, offset, pixStride, rowStride); 71 int offset, 44 copyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument 67 nativeCopyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
H A D | FragmentRef.h | 38 /// @param pOffset - the offset, can be larger than the fragment, but can not 40 /// @return if the offset is legal, return the fragment reference. Otherwise, 59 /// @pNBytes - copies pNBytes from the fragment[offset()+pOffset] 60 /// @pOffset - additional offset. 61 /// the start address offset from fragment[offset()] 73 Offset offset() const function in class:mcld::FragmentRef
|
/frameworks/minikin/libs/minikin/ |
H A D | AnalyzeStyle.cpp | 25 static int32_t readU16(const uint8_t* data, size_t offset) { argument 26 return data[offset] << 8 | data[offset + 1];
|
H A D | GraphemeBreak.cpp | 26 size_t offset) { 33 if (offset <= start || offset >= start + count) { 36 if (U16_IS_TRAIL(buf[offset])) { 42 size_t offset_back = offset; 44 U16_NEXT(buf, offset, count, c2); 101 size_t offset, MoveOpt opt) { 104 if (offset < start + count) { 105 offset++; 109 while (!isGraphemeBreak(buf, start, count, offset)) { 25 isGraphemeBreak(const uint16_t* buf, size_t start, size_t count, size_t offset) argument 100 getTextRunCursor(const uint16_t* buf, size_t start, size_t count, size_t offset, MoveOpt opt) argument [all...] |
/frameworks/multidex/library/src/android/support/multidex/ |
H A D | ZipUtil.java | 34 long offset; field in class:ZipUtil.CentralDirectory 101 dir.offset = Integer.reverseBytes(raf.readInt()) & 0xFFFFFFFFL; 110 raf.seek(dir.offset);
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LogWriter.java | 51 @Override public void write(char[] buf, int offset, int count) { argument 53 char c = buf[offset + i];
|
/frameworks/wilhelm/src/android/ |
H A D | android_AudioToCbRenderer.cpp | 65 size_t offset = 0; local 66 while (offset < full) { 69 + offset + mDecodeBuffer->range_offset(), 70 mDecodeBuffer->range_length() - offset, 72 offset += consumed; 73 //SL_LOGV("consumed=%u, offset=%u, full=%u", consumed, offset, full);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
H A D | FwdLockEngine.h | 288 * the output converted data and offset. In this case the 289 * application will ignore the offset information. 298 * the entire data used over a conversion session. This signature must be copied to the offset 305 * the application about the file offset at which this 326 * @param offset Start position of the content 334 int fd, off64_t offset, off64_t length); 338 int fd, int offset, int length); 457 * @param offset Offset with which to update the file position. 467 off64_t offset, 472 off_t offset, 535 off_t offset; member in class:android::FwdLockEngine::DecodeSession [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | AesCtrDecryptor.cpp | 39 size_t offset = 0; local 49 memcpy(destination + offset, source + offset, 51 offset += subSample.mNumBytesOfClearData; 55 AES_ctr128_encrypt(source + offset, destination + offset, 59 offset += subSample.mNumBytesOfEncryptedData; 63 *bytesDecryptedOut = offset;
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | ABuffer.h | 42 size_t offset() const { return mRangeOffset; } function in struct:android::ABuffer 44 void setRange(size_t offset, size_t size);
|
/frameworks/av/media/img_utils/src/ |
H A D | EndianUtils.cpp | 48 status_t EndianOutput::write(const uint8_t* buf, size_t offset, size_t count) { argument 50 if((res = mOutput->write(buf, offset, count)) == OK) { 56 status_t EndianOutput::write(const int8_t* buf, size_t offset, size_t count) { argument 57 return write(reinterpret_cast<const uint8_t*>(buf), offset, count); 61 status_t EndianOutput::write(const _type_* buf, size_t offset, size_t count) { \ 62 return writeHelper<_type_>(buf, offset, count); \ 72 status_t EndianOutput::write(const float* buf, size_t offset, size_t count) { argument 74 return writeHelper<uint32_t>(reinterpret_cast<const uint32_t*>(buf), offset, count); 77 status_t EndianOutput::write(const double* buf, size_t offset, size_t count) { argument 79 return writeHelper<uint64_t>(reinterpret_cast<const uint64_t*>(buf), offset, coun [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | MidiMetadataRetriever.cpp | 54 status_t MidiMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) argument 56 ALOGV("setDataSource: fd(%d), offset(%lld), and length(%lld)", fd, offset, length); 62 return mMidiPlayer->setDataSource(fd, offset, length);;
|