Home
last modified time | relevance | path

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

12345678910>>...48

/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/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);
84 const size_t* objects() const;
[all …]
/frameworks/av/include/private/media/
DAudioTrackShared.h68 size_t mBufferPosition; // updated asynchronously by server,
99 size_t frameCount_; // used during creation to pass actual track buffer size
111 size_t mMinimum; // server wakes up client if available >= mMinimum
150 Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool isOut,
156 size_t mFrameCount; // number of frames available in this buffer
158 size_t mNonContig; // number of additional non-contiguous frames available
167 const size_t mFrameCount; // not necessarily a power of 2
168 const size_t mFrameSize; // in bytes
169 const size_t mFrameCountP2; // mFrameCount rounded to power of 2, streaming mode
173 size_t mUnreleased; // unreleased frames remaining from most recent obtainBuffer
[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/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/av/include/media/stagefright/foundation/
DAString.h28 AString(const char *s, size_t size);
30 AString(const AString &from, size_t offset, size_t n);
35 void setTo(const char *s, size_t size);
36 void setTo(const AString &from, size_t offset, size_t n);
38 size_t size() const;
45 void erase(size_t start, size_t n);
49 void append(const char *s, size_t size);
51 void append(const AString &from, size_t offset, size_t n);
62 void insert(const AString &from, size_t insertionPos);
63 void insert(const char *from, size_t size, size_t insertionPos);
[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/native/include/input/
DInput.h363 inline size_t getPointerCount() const { return mPointerProperties.size(); } in getPointerCount()
365 inline const PointerProperties* getPointerProperties(size_t pointerIndex) const { in getPointerProperties()
369 inline int32_t getPointerId(size_t pointerIndex) const { in getPointerId()
373 inline int32_t getToolType(size_t pointerIndex) const { in getToolType()
379 const PointerCoords* getRawPointerCoords(size_t pointerIndex) const;
381 float getRawAxisValue(int32_t axis, size_t pointerIndex) const;
383 inline float getRawX(size_t pointerIndex) const { in getRawX()
387 inline float getRawY(size_t pointerIndex) const { in getRawY()
391 float getAxisValue(int32_t axis, size_t pointerIndex) const;
393 inline float getX(size_t pointerIndex) const { in getX()
[all …]
/frameworks/av/include/media/nbaio/
DNBAIO.h61 size_t Format_frameSize(NBAIO_Format format);
64 size_t Format_frameBitShift(NBAIO_Format format);
76 typedef ssize_t (*writeVia_t)(void *user, void *buffer, size_t count);
78 size_t count, int64_t readPTS);
110 virtual ssize_t negotiate(const NBAIO_Format offers[], size_t numOffers,
111 NBAIO_Format counterOffers[], size_t& numCounterOffers);
126 size_t mBitShift; // assign in parallel with any assignment to mFormat
138 virtual size_t framesWritten() const { return mFramesWritten; } in framesWritten()
141 virtual size_t framesUnderrun() const { return 0; } in framesUnderrun()
144 virtual size_t underruns() const { return 0; } in underruns()
[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/av/media/libmedia/
DMemoryLeakTrackUtil.cpp32 extern "C" void get_malloc_leak_info(uint8_t** info, size_t* overallSize,
33 size_t* infoSize, size_t* totalMemory, size_t* backtraceSize);
40 static const size_t MAX_SIZE = 256 * 1024;
59 size_t size() const { in size()
72 const size_t SIZE = 256; in dumpMemoryAddresses()
77 size_t size; in dumpMemoryAddresses()
78 size_t dups; in dumpMemoryAddresses()
83 size_t overallSize = 0; in dumpMemoryAddresses()
84 size_t infoSize = 0; in dumpMemoryAddresses()
85 size_t totalMemory = 0; in dumpMemoryAddresses()
[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/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 …]
DResourceTypes.h146 size_t serializedSize();
438 ResStringPool(const void* data, size_t size, bool copyData=false);
441 status_t setTo(const void* data, size_t size, bool copyData=false);
449 inline const char16_t* stringAt(const ResStringPool_ref& ref, size_t* outLen) const { in stringAt()
452 const char16_t* stringAt(size_t idx, size_t* outLen) const;
455 const char* string8At(size_t idx, size_t* outLen) const;
459 const String8 string8ObjectAt(size_t idx) const;
462 const ResStringPool_span* styleAt(size_t idx) const;
464 ssize_t indexOfString(const char16_t* str, size_t strLen) const;
466 size_t size() const;
[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/libnbaio/
DNBAIO.cpp25 size_t Format_frameSize(NBAIO_Format format) in Format_frameSize()
30 size_t Format_frameBitShift(NBAIO_Format format) in Format_frameBitShift()
141 ssize_t NBAIO_Sink::writeVia(writeVia_t via, size_t total, void *user, size_t block) in writeVia()
146 static const size_t maxBlock = 32; in writeVia()
147 size_t frameSize = Format_frameSize(mFormat); in writeVia()
154 size_t accumulator = 0; in writeVia()
156 size_t count = total - accumulator; in writeVia()
162 ALOG_ASSERT((size_t) ret <= count); in writeVia()
163 size_t maxRet = ret; in writeVia()
166 ALOG_ASSERT((size_t) ret <= maxRet); in writeVia()
[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/compile/mclinker/include/mcld/Target/
DELFDynamic.h42 virtual size_t size() const = 0;
43 virtual size_t symbolSize() const = 0;
44 virtual size_t relSize() const = 0;
45 virtual size_t relaSize() const = 0;
46 virtual size_t emit(uint8_t* pAddress) const = 0;
50 template<size_t BITNUMBER, bool LITTLEENDIAN>
71 size_t size() const in size()
74 size_t symbolSize() const in symbolSize()
77 size_t relSize() const in relSize()
80 size_t relaSize() const in relaSize()
[all …]
/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);
/frameworks/base/libs/hwui/utils/
DSortedListImpl.h27 SortedListImpl(size_t itemSize, uint32_t flags);
34 size_t orderOf(const void* item) const;
44 ssize_t _indexOrderOf(const void* item, size_t* order = 0) const;
52 ssize_t insertVectorAt(const VectorImpl& vector, size_t index);
54 ssize_t insertArrayAt(const void* array, size_t index, size_t length);
55 ssize_t appendArray(const void* array, size_t length);
56 ssize_t insertAt(size_t where, size_t numItems = 1);
57 ssize_t insertAt(const void* item, size_t where, size_t numItems = 1);
58 ssize_t replaceAt(size_t index);
59 ssize_t replaceAt(const void* item, size_t index);
/frameworks/av/media/libstagefright/wifi-display/
DVideoFormats.h40 size_t width, height, framesPerSecond;
67 void setNativeResolution(ResolutionType type, size_t index);
68 void getNativeResolution(ResolutionType *type, size_t *index) const;
73 ResolutionType type, size_t index,
77 ResolutionType type, size_t index, bool enabled = true);
79 bool isResolutionEnabled(ResolutionType type, size_t index) const;
82 ResolutionType type, size_t index,
86 ResolutionType type, size_t index,
90 ResolutionType type, size_t index,
91 size_t *width, size_t *height, size_t *framesPerSecond,
[all …]

12345678910>>...48