/frameworks/native/libs/diskusage/ |
H A D | dirsize.c | 27 // count actual blocks used instead of nominal file size 28 int64_t size = s->st_blocks * 512; local 31 /* round up to filesystem block size */ 32 size = (size + blksize - 1) & (~(blksize - 1)); 35 return size; 40 int64_t size = 0; local 54 size += stat_size(&s); 69 size += calculate_dir_size(subfd); 74 return size; [all...] |
/frameworks/opt/emoji/ |
H A D | EmojiFactory.h | 32 // Returns binary image data corresponding to "pua". The size of binary is 33 // stored to "size". Returns NULL if there's no mapping from the "pua" to a 38 virtual const char *GetImageBinaryFromAndroidPua(int pua, int *size) = 0; 43 int *size) { 45 GetAndroidPuaFromVendorSpecificSjis(sjis), size); 51 int *size) { 53 GetAndroidPuaFromVendorSpecificPua(vsp), size); 42 GetImageBinaryFromVendorSpecificSjis(unsigned short sjis, int *size) argument 50 GetImageBinaryFromVendorSpecificPua(int vsp, int *size) argument
|
/frameworks/rs/cpu_ref/linkloader/include/ |
H A D | ELFSectionBits.h | 54 size_t size() const { function in class:ELFSectionBits 55 return chunk.size();
|
H A D | ELFSectionSymTab.h | 48 size_t size() const { function in class:ELFSectionSymTab 49 return table.size(); 71 void getFuncNameList(size_t size, char const **list) const;
|
/frameworks/rs/cpu_ref/linkloader/utils/ |
H A D | traits.h | 31 enum { size = sizeof(Type) }; enumerator in enum:TypeTraits::__anon1480 38 enum { size = 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/av/camera/camera2/ |
H A D | CaptureRequest.cpp | 46 int32_t size; local 47 if ((err = parcel->readInt32(&size)) != OK) { 48 ALOGE("%s: Failed to read surface list size from parcel", __FUNCTION__); 51 ALOGV("%s: Read surface list size = %d", __FUNCTION__, size); 54 for (int i = 0; i < size; ++i) { 99 int32_t size = static_cast<int32_t>(mSurfaceList.size()); local 102 parcel->writeInt32(size); 104 for (int32_t i = 0; i < size; [all...] |
/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 | SessionLibrary.cpp | 54 sessionIdString.size()); 67 const void* data, size_t size) { 69 sessionId.appendArray(reinterpret_cast<const uint8_t*>(data), size); local 66 findSession( const void* data, size_t size) 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/include/ndk/ |
H A D | NdkMediaCodec.h | 22 * Do not change the size of any of the classes defined in here. 46 int32_t size; member in struct:AMediaCodecBufferInfo 134 size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags);
|
/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 | 71 size_t size = (size_t)parcel->readInt32(); local 72 if (size > MAX_CRITERIA_PER_MIX) { 73 size = MAX_CRITERIA_PER_MIX; 75 for (size_t i = 0; i < size; i++) { 92 size_t size = mCriteria.size(); local 93 if (size > MAX_CRITERIA_PER_MIX) { 94 size = MAX_CRITERIA_PER_MIX; 97 parcel->writeInt32(size); 98 size_t finalSize = size; [all...] |
/frameworks/av/media/libstagefright/ |
H A D | DataURISource.cpp | 45 for (size_t i = encoded.size(); i-- > 0;) { 59 size_t dataLen = strlen(uri) - tmp.size() - 6; 87 ssize_t DataURISource::readAt(off64_t offset, void *data, size_t size) { argument 88 if ((offset < 0) || (offset >= (off64_t)mBuffer->size())) { 92 size_t copy = mBuffer->size() - offset; 93 if (copy > size) { 94 copy = size; 102 status_t DataURISource::getSize(off64_t *size) { argument 103 *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 | 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
|