Home
last modified time | relevance | path

Searched refs:size_t (Results 1 – 25 of 1381) sorted by relevance

12345678910>>...56

/frameworks/av/include/media/stagefright/
DColorConverter.h38 size_t srcWidth, size_t srcHeight,
39 size_t srcCropLeft, size_t srcCropTop,
40 size_t srcCropRight, size_t srcCropBottom,
42 size_t dstWidth, size_t dstHeight,
43 size_t dstCropLeft, size_t dstCropTop,
44 size_t dstCropRight, size_t dstCropBottom);
50 size_t width, size_t height,
51 size_t cropLeft, size_t cropTop,
52 size_t cropRight, size_t cropBottom);
54 size_t cropWidth() const;
[all …]
/frameworks/native/include/android/
Dinput.h604 size_t AMotionEvent_getPointerCount(const AInputEvent* motion_event);
610 int32_t AMotionEvent_getPointerId(const AInputEvent* motion_event, size_t pointer_index);
615 int32_t AMotionEvent_getToolType(const AInputEvent* motion_event, size_t pointer_index);
621 float AMotionEvent_getRawX(const AInputEvent* motion_event, size_t pointer_index);
627 float AMotionEvent_getRawY(const AInputEvent* motion_event, size_t pointer_index);
632 float AMotionEvent_getX(const AInputEvent* motion_event, size_t pointer_index);
637 float AMotionEvent_getY(const AInputEvent* motion_event, size_t pointer_index);
643 float AMotionEvent_getPressure(const AInputEvent* motion_event, size_t pointer_index);
651 float AMotionEvent_getSize(const AInputEvent* motion_event, size_t pointer_index);
655 float AMotionEvent_getTouchMajor(const AInputEvent* motion_event, size_t pointer_index);
[all …]
/frameworks/av/include/private/media/
DAudioTrackShared.h148 Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool isOut,
154 size_t mFrameCount; // number of frames available in this buffer
156 size_t mNonContig; // number of additional non-contiguous frames available
165 const size_t mFrameCount; // not necessarily a power of 2
166 const size_t mFrameSize; // in bytes
167 const size_t mFrameCountP2; // mFrameCount rounded to power of 2, streaming mode
171 size_t mUnreleased; // unreleased frames remaining from most recent obtainBuffer
179 ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize,
236 size_t getPosition() { in getPosition()
240 void setEpoch(size_t epoch) { in setEpoch()
[all …]
/frameworks/rs/cpp/
DrsDispatch.h33 …lientType (*ContextGetMessageFnPtr) (RsContext, void*, size_t, size_t*, size_t, uint32_t*, size_t);
34 …f RsMessageToClientType (*ContextPeekMessageFnPtr) (RsContext, size_t*, size_t, uint32_t*, size_t);
35 typedef void (*ContextSendMessageFnPtr) (RsContext, uint32_t, const uint8_t*, size_t);
40 …eateFromBitmapFnPtr) (RsContext, RsType, RsAllocationMipmapControl, const void*, size_t, uint32_t);
41 …eateFromBitmapFnPtr) (RsContext, RsType, RsAllocationMipmapControl, const void*, size_t, uint32_t);
47 typedef void (*AssignNameFnPtr) (RsContext, RsObjectBase, const char*, size_t);
50 …eate2FnPtr) (RsContext, const RsElement*, size_t, const char**, size_t, const size_t*, const uint3…
51 typedef void (*AllocationCopyToBitmapFnPtr) (RsContext, RsAllocation, void*, size_t);
52 …llocation1DDataFnPtr) (RsContext, RsAllocation, uint32_t, uint32_t, uint32_t, const void*, size_t);
53 …tion1DElementDataFnPtr) (RsContext, RsAllocation, uint32_t, uint32_t, const void*, size_t, size_t);
[all …]
/frameworks/native/include/binder/
DParcel.h49 size_t dataSize() const;
50 size_t dataAvail() const;
51 size_t dataPosition() const;
52 size_t dataCapacity() const;
54 status_t setDataSize(size_t size);
55 void setDataPosition(size_t pos) const;
56 status_t setDataCapacity(size_t size);
58 status_t setData(const uint8_t* buffer, size_t len);
61 size_t start, size_t len);
88 size_t objectsCount() const;
[all …]
/frameworks/native/services/sensorservice/
Dvec.h36 template <typename TYPE, size_t SIZE>
39 template <typename TYPE, size_t SIZE>
47 template < template<typename T, size_t S> class VEC,
48 typename TYPE, size_t SIZE, size_t S>
51 const size_t minSize = min(SIZE, S); in doAssign()
52 const size_t maxSize = max(SIZE, S); in doAssign()
53 for (size_t i=0 ; i<minSize ; i++) in doAssign()
55 for (size_t i=minSize ; i<maxSize ; i++) in doAssign()
62 template<typename T, size_t S> class VLHS,
63 template<typename T, size_t S> class VRHS,
[all …]
Dmat.h27 template <typename TYPE, size_t C, size_t R>
32 template <typename TYPE, size_t C, size_t R>
36 for (size_t i=0 ; i<C ; i++) in doAssign()
37 for (size_t j=0 ; j<R ; j++) in doAssign()
42 template <typename TYPE, size_t C, size_t R, size_t D>
48 for (size_t c=0 ; c<C ; c++) { in doMul()
49 for (size_t r=0 ; r<R ; r++) { in doMul()
51 for (size_t k=0 ; k<D ; k++) { in doMul()
60 template <typename TYPE, size_t R, size_t D>
66 for (size_t r=0 ; r<R ; r++) { in doMul()
[all …]
/frameworks/ex/framesequence/jni/
DStream.h29 size_t peek(void* buffer, size_t size);
30 size_t read(void* buffer, size_t size);
33 virtual size_t doRead(void* buffer, size_t size) = 0;
37 size_t mPeekSize;
38 size_t mPeekOffset;
43 MemoryStream(void* buffer, size_t size) : in MemoryStream()
48 virtual size_t doRead(void* buffer, size_t size);
52 size_t mRemaining;
60 virtual size_t doRead(void* buffer, size_t size);
75 virtual size_t doRead(void* buffer, size_t size);
[all …]
/frameworks/av/include/media/stagefright/foundation/
DAString.h32 AString(const char *s, size_t size);
35 AString(const AString &from, size_t offset, size_t n);
40 void setTo(const char *s, size_t size);
41 void setTo(const AString &from, size_t offset, size_t n);
43 size_t size() const;
50 void erase(size_t start, size_t n);
54 void append(const char *s, size_t size);
56 void append(const AString &from, size_t offset, size_t n);
67 void insert(const AString &from, size_t insertionPos);
68 void insert(const char *from, size_t size, size_t insertionPos);
[all …]
/frameworks/av/media/libstagefright/include/
DESDS.h29 ESDS(const void *data, size_t size);
35 status_t getCodecSpecificInfo(const void **data, size_t *size) const;
36 status_t getCodecSpecificOffset(size_t *offset, size_t *size) const;
48 size_t mSize;
52 size_t mDecoderSpecificOffset;
53 size_t mDecoderSpecificLength;
60 size_t offset, size_t size,
61 uint8_t *tag, size_t *data_offset, size_t *data_size) const;
64 status_t parseESDescriptor(size_t offset, size_t size);
65 status_t parseDecoderConfigDescriptor(size_t offset, size_t size);
DAVIExtractor.h31 virtual size_t countTracks();
33 virtual sp<MediaSource> getTrack(size_t index);
36 size_t index, uint32_t flags);
70 size_t mNumSyncSamples;
71 size_t mThumbnailSampleSize;
73 size_t mMaxSampleSize;
77 size_t mFirstChunkSize;
89 status_t parseStreamHeader(off64_t offset, size_t size);
90 status_t parseStreamFormat(off64_t offset, size_t size);
91 status_t parseIndex(off64_t offset, size_t size);
[all …]
/frameworks/base/native/android/
Dinput.cpp129 size_t AMotionEvent_getPointerCount(const AInputEvent* motion_event) { in AMotionEvent_getPointerCount()
133 int32_t AMotionEvent_getPointerId(const AInputEvent* motion_event, size_t pointer_index) { in AMotionEvent_getPointerId()
137 int32_t AMotionEvent_getToolType(const AInputEvent* motion_event, size_t pointer_index) { in AMotionEvent_getToolType()
141 float AMotionEvent_getRawX(const AInputEvent* motion_event, size_t pointer_index) { in AMotionEvent_getRawX()
145 float AMotionEvent_getRawY(const AInputEvent* motion_event, size_t pointer_index) { in AMotionEvent_getRawY()
149 float AMotionEvent_getX(const AInputEvent* motion_event, size_t pointer_index) { in AMotionEvent_getX()
153 float AMotionEvent_getY(const AInputEvent* motion_event, size_t pointer_index) { in AMotionEvent_getY()
157 float AMotionEvent_getPressure(const AInputEvent* motion_event, size_t pointer_index) { in AMotionEvent_getPressure()
161 float AMotionEvent_getSize(const AInputEvent* motion_event, size_t pointer_index) { in AMotionEvent_getSize()
165 float AMotionEvent_getTouchMajor(const AInputEvent* motion_event, size_t pointer_index) { in AMotionEvent_getTouchMajor()
[all …]
/frameworks/native/services/surfaceflinger/RenderEngine/
DMesh.h32 Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordsSize = 0);
42 size_t mStride;
43 VertexArray(float* data, size_t stride) : mData(data), mStride(stride) { } in VertexArray()
45 TYPE& operator[](size_t index) {
48 TYPE const& operator[](size_t index) const {
68 size_t getVertexCount() const;
71 size_t getVertexSize() const;
74 size_t getTexCoordsSize() const;
77 size_t getByteStride() const;
80 size_t getStride() const;
[all …]
/frameworks/av/include/media/nbaio/
DNBAIO.h62 size_t mFrameSize;
68 size_t Format_frameSize(const NBAIO_Format& format);
81 typedef ssize_t (*writeVia_t)(void *user, void *buffer, size_t count);
83 size_t count, int64_t readPTS);
121 virtual ssize_t negotiate(const NBAIO_Format offers[], size_t numOffers,
122 NBAIO_Format counterOffers[], size_t& numCounterOffers);
137 size_t mFrameSize; // assign in parallel with any assignment to mFormat
149 virtual size_t framesWritten() const { return mFramesWritten; } in framesWritten()
152 virtual size_t framesUnderrun() const { return 0; } in framesUnderrun()
155 virtual size_t underruns() const { return 0; } in underruns()
[all …]
/frameworks/native/include/input/
DInput.h382 inline size_t getPointerCount() const { return mPointerProperties.size(); } in getPointerCount()
384 inline const PointerProperties* getPointerProperties(size_t pointerIndex) const { in getPointerProperties()
388 inline int32_t getPointerId(size_t pointerIndex) const { in getPointerId()
392 inline int32_t getToolType(size_t pointerIndex) const { in getToolType()
398 const PointerCoords* getRawPointerCoords(size_t pointerIndex) const;
400 float getRawAxisValue(int32_t axis, size_t pointerIndex) const;
402 inline float getRawX(size_t pointerIndex) const { in getRawX()
406 inline float getRawY(size_t pointerIndex) const { in getRawY()
410 float getAxisValue(int32_t axis, size_t pointerIndex) const;
412 inline float getX(size_t pointerIndex) const { in getX()
[all …]
/frameworks/av/media/img_utils/include/img_utils/
DEndianUtils.h102 virtual status_t write(const uint8_t* buf, size_t offset, size_t count);
104 virtual status_t write(const int8_t* buf, size_t offset, size_t count);
106 virtual status_t write(const uint16_t* buf, size_t offset, size_t count);
108 virtual status_t write(const int16_t* buf, size_t offset, size_t count);
110 virtual status_t write(const uint32_t* buf, size_t offset, size_t count);
112 virtual status_t write(const int32_t* buf, size_t offset, size_t count);
114 virtual status_t write(const uint64_t* buf, size_t offset, size_t count);
116 virtual status_t write(const int64_t* buf, size_t offset, size_t count);
118 virtual status_t write(const float* buf, size_t offset, size_t count);
120 virtual status_t write(const double* buf, size_t offset, size_t count);
[all …]
/frameworks/base/include/androidfw/
DStreamingZipInflater.h30 static const size_t INPUT_CHUNK_SIZE = 64 * 1024;
31 static const size_t OUTPUT_CHUNK_SIZE = 64 * 1024;
34 StreamingZipInflater(int fd, off64_t compDataStart, size_t uncompSize, size_t compSize);
37 StreamingZipInflater(class FileMap* dataMap, size_t uncompSize);
43 ssize_t read(void* outBuf, size_t count);
64 size_t mOutBufSize; // allocated size of mOutBuf
65 size_t mOutTotalSize; // total uncompressed size of the blob
69 size_t mOutLastDecoded; // last decoded byte + 1 in mOutbuf
70 size_t mOutDeliverable; // next undelivered byte of decoded output in mOutBuf
74 size_t mInBufSize; // allocated size of mInBuf;
[all …]
/frameworks/rs/cpu_ref/linkloader/include/
DmmanWindows.h35 extern void* mmap(void *, size_t, int, int, int, off_t);
36 extern int munmap(void *, size_t);
37 extern int msync(const void *, size_t, int);
38 extern int mprotect(const void *, size_t, int);
39 extern void* mremap(void *, size_t, size_t, unsigned long);
43 extern int mlock(const void *, size_t);
44 extern int munlock(const void *, size_t);
45 extern int madvise(const void *, size_t, int);
47 extern int mlock(const void *addr, size_t len);
48 extern int munlock(const void *addr, size_t len);
[all …]
/frameworks/rs/
DrsThreadIO.h37 size_t getMaxInlineSize() { in getMaxInlineSize()
50 void * coreHeader(uint32_t, size_t dataLen);
53 void coreSetReturn(const void *data, size_t dataLen);
54 void coreGetReturn(void *data, size_t dataLen);
55 void coreWrite(const void *data, size_t len);
56 void coreRead(void *data, size_t len);
58 void asyncSetReturn(const void *data, size_t dataLen);
59 void asyncGetReturn(void *data, size_t dataLen);
60 void asyncWrite(const void *data, size_t len);
61 void asyncRead(void *data, size_t len);
[all …]
/frameworks/av/media/libmedia/
DMemoryLeakTrackUtil.cpp33 extern "C" void get_malloc_leak_info(uint8_t** info, size_t* overallSize,
34 size_t* infoSize, size_t* totalMemory, size_t* backtraceSize);
41 static const size_t MAX_SIZE = 256 * 1024;
60 size_t size() const { in size()
77 const size_t SIZE = 256; in dumpMemoryAddresses()
82 size_t size; in dumpMemoryAddresses()
83 size_t dups; in dumpMemoryAddresses()
88 size_t overallSize = 0; in dumpMemoryAddresses()
89 size_t infoSize = 0; in dumpMemoryAddresses()
90 size_t totalMemory = 0; in dumpMemoryAddresses()
[all …]
/frameworks/ex/variablespeed/jni/
Ddecode_buffer.h31 DecodeBuffer(size_t sizeOfOneBuffer, size_t maxSize);
33 size_t GetSizeInBytes() const;
34 void AddData(int8_t* pointer, size_t lengthInBytes);
36 void AdvanceHeadPointerShorts(size_t numberOfShorts);
37 int16 GetAtIndex(size_t index);
39 size_t GetTotalAdvancedCount() const;
44 size_t sizeOfOneBuffer_;
45 size_t maxSize_;
46 size_t start_;
47 size_t end_;
[all …]
/frameworks/av/media/libnbaio/
DNBAIO.cpp25 size_t Format_frameSize(const NBAIO_Format& format) in Format_frameSize()
64 ssize_t NBAIO_Sink::writeVia(writeVia_t via, size_t total, void *user, size_t block) in writeVia()
69 static const size_t maxBlock = 32; in writeVia()
70 size_t frameSize = Format_frameSize(mFormat); in writeVia()
77 size_t accumulator = 0; in writeVia()
79 size_t count = total - accumulator; in writeVia()
85 ALOG_ASSERT((size_t) ret <= count); in writeVia()
86 size_t maxRet = ret; in writeVia()
89 ALOG_ASSERT((size_t) ret <= maxRet); in writeVia()
100 ssize_t NBAIO_Source::readVia(readVia_t via, size_t total, void *user, in readVia()
[all …]
/frameworks/compile/mclinker/include/mcld/Target/
DELFDynamic.h39 virtual size_t size() const = 0;
40 virtual size_t symbolSize() const = 0;
41 virtual size_t relSize() const = 0;
42 virtual size_t relaSize() const = 0;
43 virtual size_t emit(uint8_t* pAddress) const = 0;
47 template<size_t BITNUMBER, bool LITTLEENDIAN>
68 size_t size() const in size()
71 size_t symbolSize() const in symbolSize()
74 size_t relSize() const in relSize()
77 size_t relaSize() const in relaSize()
[all …]
/frameworks/minikin/include/minikin/
DLayout.h78 void doLayout(const uint16_t* buf, size_t start, size_t count, size_t bufSize,
87 size_t nGlyphs() const;
113 void doLayoutRunCached(const uint16_t* buf, size_t start, size_t count, size_t bufSize,
114 bool isRtl, LayoutContext* ctx, size_t dstStart);
117 void doLayoutWord(const uint16_t* buf, size_t start, size_t count, size_t bufSize,
118 bool isRtl, LayoutContext* ctx, size_t bufStart);
121 void doLayoutRun(const uint16_t* buf, size_t start, size_t count, size_t bufSize,
125 void appendLayout(Layout* src, size_t start);
/frameworks/av/media/libeffects/testlibs/
DAudioCoefInterpolator.h45 AudioCoefInterpolator(size_t nInDims, const size_t inDims[],
46 size_t nOutDims, const audio_coef_t * table);
58 static const size_t MAX_IN_DIMS = 8;
60 static const size_t MAX_OUT_DIMS = 8;
63 size_t mNumInDims;
65 size_t mInDims[MAX_IN_DIMS];
68 size_t mInDimOffsets[MAX_IN_DIMS];
70 size_t mNumOutDims;
86 void getCoefRecurse(size_t index, const uint32_t fracCoord[],
87 audio_coef_t out[], size_t dim);

12345678910>>...56