/frameworks/support/v4/honeycomb_mr2/android/support/v4/os/ |
H A D | ParcelableCompatCreatorCallbacks.java | 42 * @param size Size of the array. 46 public T[] newArray(int size); argument
|
/frameworks/av/cmds/stagefright/ |
H A D | WaveWriter.h | 49 void Append(const void *data, size_t size) { argument 50 fwrite(data, 1, size, mFile); 51 mTotalBytes += size;
|
/frameworks/av/drm/common/ |
H A D | ReadWriteUtils.cpp | 85 int size = data.size(); local 86 if (FAILURE != ftruncate(fd, size)) { 87 if (size != write(fd, data.string(), size)) { 102 int size = data.size(); local 103 if (size != write(fd, data.string(), size)) {
|
/frameworks/av/include/media/ |
H A D | AudioParameter.h | 65 size_t size() { return mParameters.size(); } function in class:android::AudioParameter
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
H A D | DelayAllPass_Sat_32x16To32.c | 31 LVM_UINT16 size, /* Delay size */ 86 if (DelayOffset >= size) 91 if (AllPassOffset >= size) 30 DelayAllPass_Sat_32x16To32( LVM_INT32 *delay, LVM_UINT16 size, LVM_INT16 coeff, LVM_UINT16 DelayOffset, LVM_UINT16 *pAllPassOffset, LVM_INT32 *dst, LVM_INT16 n) argument
|
/frameworks/av/media/libstagefright/ |
H A D | ThrottledSource.cpp | 38 ssize_t ThrottledSource::readAt(off64_t offset, void *data, size_t size) { argument 41 ssize_t n = mSource->readAt(offset, data, size); 69 status_t ThrottledSource::getSize(off64_t *size) { argument 70 return mSource->getSize(size);
|
/frameworks/av/media/libstagefright/chromium_http/ |
H A D | DataUriSource.cpp | 47 ssize_t DataUriSource::readAt(off64_t offset, void *out, size_t size) { argument 52 const off64_t length = mData.size(); 59 offset + size >= length ? (length - offset) : size;
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
H A D | bitbuffer.h | 59 Word16 size; /*!< size of bitbuffer in bits */ member in struct:BIT_BUF 61 }; /* size Word16: 8 */ 87 #define GetNrBitsRead(hBitBuf) ((hBitBuf)->size-(hBitBuf)->cntBits)
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | memalign.c | 40 mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID) argument 49 MemInfo.Size = size + 1; 55 pMemop->Set(CodecID, mem_ptr, 0, size + 1); 64 MemInfo.Size = size + alignment; 71 pMemop->Set(CodecID, tmp, 0, size + alignment);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | mem_align.c | 40 mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID) argument 49 MemInfo.Size = size + 1; 55 pMemop->Set(CodecID, mem_ptr, 0, size + 1); 64 MemInfo.Size = size + alignment; 71 pMemop->Set(CodecID, tmp, 0, size + alignment);
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ABitReader.cpp | 23 ABitReader::ABitReader(const uint8_t *data, size_t size) argument 25 mSize(size),
|
H A D | ABuffer.cpp | 56 void ABuffer::setRange(size_t offset, size_t size) { argument 58 CHECK_LE(offset + size, mCapacity); 61 mRangeLength = size;
|
H A D | hexdump.cpp | 42 void hexdump(const void *_data, size_t size, size_t indent, AString *appendTo) { argument 46 while (offset < size) { 60 if (offset + i >= size) { 71 if (offset + i >= size) {
|
/frameworks/av/media/libstagefright/include/ |
H A D | DataUriSource.h | 37 virtual ssize_t readAt(off64_t offset, void *data, size_t size); 39 virtual status_t getSize(off64_t *size) { argument 44 *size = mData.size();
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupDataInputStream.java | 29 * {@link BackupDataInput}. The entity's key string and total data size are available 30 * through this class's {@link #getKey()} and {@link #size()} methods, respectively. 33 * source, nor read more than {@link #size()} bytes from the stream.</p> 53 * an integer value. If more than {@link #size()} bytes of data 68 * Read up to {@code size} bytes of data into a byte array, beginning at position 74 * @param size The number of bytes to read in this operation. If insufficient 80 public int read(byte[] b, int offset, int size) throws IOException { argument 81 return mData.readEntityData(b, offset, size); 113 public int size() { method in class:BackupDataInputStream
|
/frameworks/base/core/java/android/os/ |
H A D | Parcelable.java | 46 * public MyParcelable[] newArray(int size) { 47 * return new MyParcelable[size]; 110 * @param size Size of the array. 114 public T[] newArray(int size); argument
|
/frameworks/base/core/java/android/util/ |
H A D | FastImmutableArraySet.java | 51 public int size() { method in class:FastImmutableArraySet
|
/frameworks/base/core/java/android/widget/ |
H A D | Space.java | 66 * If mode is AT_MOST, return the child size instead of the parent size 69 private static int getDefaultSize2(int size, int measureSpec) { argument 70 int result = size; 76 result = size; 79 result = Math.min(size, specSize);
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
H A D | BandwidthTestUtil.java | 76 * @param size in bytes of the file to download 81 public static String buildDownloadUrl(String server, int size, String deviceId, argument 83 String downloadUrl = server + "/download?size=" + size + "&device_id=" + deviceId +
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | native_frame.cpp | 22 NativeFrame::NativeFrame(int size) : data_(NULL), size_(size), capacity_(size) { argument 30 bool NativeFrame::WriteData(const uint8_t* data, int offset, int size) { argument 31 if (size_ >= (offset + size)) { 32 memcpy(data_ + offset, data, size); 38 bool NativeFrame::SetData(uint8_t* data, int size) { argument 40 size_ = capacity_ = size;
|
H A D | vertex_frame.cpp | 32 VertexFrame::VertexFrame(int size) argument 34 size_(size) { 46 bool VertexFrame::WriteData(const uint8_t* data, int size) { argument 59 if (first_upload && size == size_) 60 glBufferData(GL_ARRAY_BUFFER, size, data, GL_STATIC_DRAW); 61 else if (!first_upload && size <= size_) 62 glBufferSubData(GL_ARRAY_BUFFER, 0, size, data); 65 "inside the vertex frame (%d bytes)!", size, size_); 73 // Subsequent uploads are now bound to the size given here 74 size_ = size; [all...] |
/frameworks/base/media/tests/omxjpegdecoder/ |
H A D | StreamSource.cpp | 38 ssize_t StreamSource::readAt(off64_t offset, void *data, size_t size) { argument 43 ssize_t result = mStream->read(data, size); 48 status_t StreamSource::getSize(off64_t *size) { argument 49 *size = mSize;
|
/frameworks/base/services/java/com/android/server/pm/ |
H A D | PreferredIntentResolver.java | 26 protected PreferredActivity[] newArray(int size) { argument 27 return new PreferredActivity[size];
|
/frameworks/base/tools/aapt/ |
H A D | printapk.cpp | 30 off_t size; local 50 size = lseek(fd, 0, SEEK_END); 53 if (size < 0 || amt < 0) { 54 fprintf(stderr, "apk: error determining file size: %s\n", filename); 58 buf = malloc(size); 64 amt = read(fd, buf, size); 65 if (amt != size) { 72 zip = init_zipfile(buf, size); 89 size = get_zipentry_size(entry); 90 bufsize = size [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | Stack.java | 35 public Stack(int size) { argument 36 super(size); 52 if (size() > 0) { 53 return remove(size() - 1); 64 if (size() > 0) { 65 return get(size() - 1);
|