Home
last modified time | relevance | path

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

12345678910>>...62

/frameworks/rs/cpp/
DrsDispatch.h23 typedef void (*SetNativeLibDirFnPtr)(RsContext con, const char *nativeLibDir, size_t length);
33 … RsAllocation, RsScriptFieldID*, size_t, uintptr_t*, size_t, int*, size_t, RsClosure*, size_t, RsS…
34 …keID, const void*, const size_t, const RsScriptFieldID*, const size_t, const uintptr_t*, const siz…
35 typedef void (*ClosureSetArgFnPtr)(RsContext, RsClosure, uint32_t, uintptr_t, size_t);
36 typedef void (*ClosureSetGlobalFnPtr)(RsContext, RsClosure, RsScriptFieldID, uintptr_t, size_t);
38 …lientType (*ContextGetMessageFnPtr) (RsContext, void*, size_t, size_t*, size_t, uint32_t*, size_t);
39 …f RsMessageToClientType (*ContextPeekMessageFnPtr) (RsContext, size_t*, size_t, uint32_t*, size_t);
40 typedef void (*ContextSendMessageFnPtr) (RsContext, uint32_t, const uint8_t*, size_t);
45 …eateFromBitmapFnPtr) (RsContext, RsType, RsAllocationMipmapControl, const void*, size_t, uint32_t);
46 …eateFromBitmapFnPtr) (RsContext, RsType, RsAllocationMipmapControl, const void*, size_t, uint32_t);
[all …]
/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);
89 size_t objectsCount() const;
[all …]
/frameworks/native/include/android/
Dinput.h613 size_t AMotionEvent_getPointerCount(const AInputEvent* motion_event);
619 int32_t AMotionEvent_getPointerId(const AInputEvent* motion_event, size_t pointer_index);
624 int32_t AMotionEvent_getToolType(const AInputEvent* motion_event, size_t pointer_index);
630 float AMotionEvent_getRawX(const AInputEvent* motion_event, size_t pointer_index);
636 float AMotionEvent_getRawY(const AInputEvent* motion_event, size_t pointer_index);
641 float AMotionEvent_getX(const AInputEvent* motion_event, size_t pointer_index);
646 float AMotionEvent_getY(const AInputEvent* motion_event, size_t pointer_index);
652 float AMotionEvent_getPressure(const AInputEvent* motion_event, size_t pointer_index);
660 float AMotionEvent_getSize(const AInputEvent* motion_event, size_t pointer_index);
664 float AMotionEvent_getTouchMajor(const AInputEvent* motion_event, size_t pointer_index);
[all …]
/frameworks/av/include/private/media/
DAudioTrackShared.h195 Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool isOut,
201 size_t mFrameCount; // number of frames available in this buffer
203 size_t mNonContig; // number of additional non-contiguous frames available
212 const size_t mFrameCount; // not necessarily a power of 2
213 const size_t mFrameSize; // in bytes
214 const size_t mFrameCountP2; // mFrameCount rounded to power of 2, streaming mode
218 size_t mUnreleased; // unreleased frames remaining from most recent obtainBuffer
226 ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize,
283 size_t getPosition() { in getPosition()
287 void setEpoch(size_t epoch) { in setEpoch()
[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/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/include/input/
DInput.h400 inline size_t getPointerCount() const { return mPointerProperties.size(); } in getPointerCount()
402 inline const PointerProperties* getPointerProperties(size_t pointerIndex) const { in getPointerProperties()
406 inline int32_t getPointerId(size_t pointerIndex) const { in getPointerId()
410 inline int32_t getToolType(size_t pointerIndex) const { in getToolType()
416 const PointerCoords* getRawPointerCoords(size_t pointerIndex) const;
418 float getRawAxisValue(int32_t axis, size_t pointerIndex) const;
420 inline float getRawX(size_t pointerIndex) const { in getRawX()
424 inline float getRawY(size_t pointerIndex) const { in getRawY()
428 float getAxisValue(int32_t axis, size_t pointerIndex) const;
430 inline float getX(size_t pointerIndex) const { in getX()
[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/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/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/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/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/media/libmedia/
DMemoryLeakTrackUtil.cpp34 extern "C" void get_malloc_leak_info(uint8_t** info, size_t* overallSize,
35 size_t* infoSize, size_t* totalMemory, size_t* backtraceSize);
42 static const size_t MAX_SIZE = 256 * 1024;
61 size_t size() const { in size()
78 const size_t SIZE = 256; in dumpMemoryAddresses()
83 size_t size; in dumpMemoryAddresses()
84 size_t dups; in dumpMemoryAddresses()
89 size_t overallSize = 0; in dumpMemoryAddresses()
90 size_t infoSize = 0; in dumpMemoryAddresses()
91 size_t totalMemory = 0; in dumpMemoryAddresses()
[all …]
/frameworks/av/services/audioflinger/
DBufferProviders.h62 CopyBufferProvider(size_t inputFrameSize, size_t outputFrameSize,
63 size_t bufferFrameCount);
77 virtual void copyFrames(void *dst, const void *src, size_t frames) = 0;
80 const size_t mInputFrameSize;
81 const size_t mOutputFrameSize;
84 const size_t mLocalBufferFrameCount;
86 size_t mConsumed;
95 uint32_t sampleRate, int32_t sessionId, size_t bufferFrameCount);
98 virtual void copyFrames(void *dst, const void *src, size_t frames);
123 size_t bufferFrameCount);
[all …]
/frameworks/ex/framesequence/jni/
DStream.h29 size_t peek(void* buffer, size_t size);
30 size_t read(void* buffer, size_t size);
36 virtual size_t doRead(void* buffer, size_t size) = 0;
40 size_t mPeekSize;
41 size_t mPeekOffset;
46 MemoryStream(void* buffer, size_t size, jobject buf) : in MemoryStream()
55 virtual size_t doRead(void* buffer, size_t size);
59 size_t mRemaining;
68 virtual size_t doRead(void* buffer, size_t size);
83 virtual size_t doRead(void* buffer, size_t size);
[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/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.h162 size_t serializedSize() const;
250 static const size_t Res_MAXPACKAGE = 255;
251 static const size_t Res_MAXTYPE = 255;
484 ResStringPool(const void* data, size_t size, bool copyData=false);
488 status_t setTo(const void* data, size_t size, bool copyData=false);
496 inline const char16_t* stringAt(const ResStringPool_ref& ref, size_t* outLen) const { in stringAt()
499 const char16_t* stringAt(size_t idx, size_t* outLen) const;
502 const char* string8At(size_t idx, size_t* outLen) const;
506 const String8 string8ObjectAt(size_t idx) const;
509 const ResStringPool_span* styleAt(size_t idx) const;
[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/minikin/libs/minikin/
DMeasurement.cpp31 static float getRunAdvance(Layout& layout, const uint16_t* buf, size_t layoutStart, size_t start, in getRunAdvance()
32 size_t count, size_t offset) { in getRunAdvance()
34 size_t lastCluster = start; in getRunAdvance()
36 for (size_t i = start; i < offset; i++) { in getRunAdvance()
48 size_t nextCluster; in getRunAdvance()
54 for (size_t i = lastCluster; i < nextCluster; i++) { in getRunAdvance()
70 float getRunAdvance(Layout& layout, const uint16_t* buf, size_t start, size_t count, in getRunAdvance()
71 size_t offset) { in getRunAdvance()
83 size_t getOffsetForAdvance(Layout& layout, const uint16_t* buf, size_t start, size_t count, in getOffsetForAdvance()
86 size_t lastClusterStart = start, searchStart = start; in getOffsetForAdvance()
[all …]
DCmapCoverage.cpp31 static uint32_t readU16(const uint8_t* data, size_t offset) { in readU16()
35 static uint32_t readU32(const uint8_t* data, size_t offset) { in readU32()
52 static bool getCoverageFormat4(vector<uint32_t>& coverage, const uint8_t* data, size_t size) { in getCoverageFormat4()
53 const size_t kSegCountOffset = 6; in getCoverageFormat4()
54 const size_t kEndCountOffset = 14; in getCoverageFormat4()
55 const size_t kHeaderSize = 16; in getCoverageFormat4()
56 const size_t kSegmentSize = 8; // total size of array elements for one segment in getCoverageFormat4()
60 size_t segCount = readU16(data, kSegCountOffset) >> 1; in getCoverageFormat4()
64 for (size_t i = 0; i < segCount; i++) { in getCoverageFormat4()
98 static bool getCoverageFormat12(vector<uint32_t>& coverage, const uint8_t* data, size_t size) { in getCoverageFormat12()
[all …]
/frameworks/compile/mclinker/include/mcld/Target/
DELFDynamic.h38 virtual size_t size() const = 0;
39 virtual size_t symbolSize() const = 0;
40 virtual size_t relSize() const = 0;
41 virtual size_t relaSize() const = 0;
42 virtual size_t emit(uint8_t* pAddress) const = 0;
46 template <size_t BITNUMBER, bool LITTLEENDIAN>
64 size_t size() const { return sizeof(Pair); } in size()
66 size_t symbolSize() const { return sizeof(Symbol); } in symbolSize()
68 size_t relSize() const { return sizeof(Rel); } in relSize()
70 size_t relaSize() const { return sizeof(Rela); } in relaSize()
[all …]

12345678910>>...62