/frameworks/native/libs/diskusage/ |
H A D | dirsize.c | 32 int64_t size = 0; local 57 size += stat_size(&s); 61 size += calculate_dir_size(subfd); 65 size += stat_size(&s); 70 return size;
|
/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/support/v4/tests/java/android/support/v4/widget/ |
H A D | SwipeRefreshLayoutActions.java | 54 public static ViewAction setSize(final int size) { argument 63 return "Set SwipeRefreshLayout size"; 71 swipeRefreshLayout.setSize(size);
|
/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/drm/mediadrm/plugins/clearkey/ |
H A D | CryptoFactory.cpp | 39 const void* data, size_t size, 47 sessionId.appendArray(reinterpret_cast<const uint8_t*>(data), size); local 37 createPlugin( const uint8_t uuid[16], const void* data, size_t size, android::CryptoPlugin** plugin) argument
|
/frameworks/av/include/camera/ |
H A D | CameraParameters2.h | 89 // Retrieve the preferred preview size (width and height) in pixels 123 size_t size() const { function in struct:android::CameraParameters2::OrderedKeyedVector 124 return mList.size(); 144 for (; vectorIdx < mList.size(); ++vectorIdx) {
|
/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/libmedia/ |
H A D | AudioPolicy.cpp | 73 size_t size = (size_t)parcel->readInt32(); local 74 if (size > MAX_CRITERIA_PER_MIX) { 75 size = MAX_CRITERIA_PER_MIX; 77 for (size_t i = 0; i < size; i++) { 96 size_t size = mCriteria.size(); local 97 if (size > MAX_CRITERIA_PER_MIX) { 98 size = MAX_CRITERIA_PER_MIX; 101 parcel->writeInt32(size); 102 size_t finalSize = size; [all...] |
H A D | MidiIoWrapper.cpp | 27 static int readAt(void *handle, void *buffer, int pos, int size) { argument 28 return ((android::MidiIoWrapper*)handle)->readAt(buffer, pos, size); 30 static int size(void *handle) { function 31 return ((android::MidiIoWrapper*)handle)->size(); 43 MidiIoWrapper::MidiIoWrapper(int fd, off64_t offset, int64_t size) { argument 47 mLength = size; 69 int MidiIoWrapper::readAt(void *buffer, int offset, int size) { 70 ALOGV("readAt(%p, %d, %d)", buffer, offset, size); 73 return mDataSource->readAt(offset, buffer, size); 80 if (offset + size > mLengt [all...] |
/frameworks/av/media/libstagefright/ |
H A D | DataURISource.cpp | 45 for (size_t i = encoded.size(); i > 0;) { 60 size_t dataLen = strlen(uri) - tmp.size() - 6; 88 ssize_t DataURISource::readAt(off64_t offset, void *data, size_t size) { argument 89 if ((offset < 0) || (offset >= (off64_t)mBuffer->size())) { 93 size_t copy = mBuffer->size() - offset; 94 if (copy > size) { 95 copy = size; 103 status_t DataURISource::getSize(off64_t *size) { argument 104 *size = mBuffer->size(); [all...] |
H A D | ThrottledSource.cpp | 34 ssize_t ThrottledSource::readAt(off64_t offset, void *data, size_t size) { argument 37 ssize_t n = mSource->readAt(offset, data, 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 | ABuffer.cpp | 73 void ABuffer::setRange(size_t offset, size_t size) { argument 75 CHECK_LE(offset + size, mCapacity); 78 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
|
H A D | FullBackupDataOutput.java | 30 public void addSize(long size) { argument 31 if (size > 0) { 32 mSize += size;
|
/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 | 72 * If mode is AT_MOST, return the child size instead of the parent size 75 private static int getDefaultSize2(int size, int measureSpec) { argument 76 int result = size; 82 result = size; 85 result = Math.min(size, specSize);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ProcessMap.java | 46 if (uids.size() == 0) { 58 public int size() { method in class:ProcessMap 59 return mMap.size();
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | RingBufferIndices.java | 65 * Return the current size of the ring buffer. 67 public int size() { method in class:RingBufferIndices 72 * Convert a position in the ring buffer that is [0..size()] to an offset
|