Home
last modified time | relevance | path

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

12345678910>>...106

/frameworks/rs/
DrsHidlAdaptation.h57 static void ContextSetCacheDir(RsContext rsc, const char *cacheDir, size_t cacheDir_length);
59 …essageToClientType ContextGetMessage(RsContext, void*, size_t, size_t*, size_t, uint32_t*, size_t);
60 static RsMessageToClientType ContextPeekMessage(RsContext, size_t*, size_t, uint32_t*, size_t);
61 static void ContextSendMessage(RsContext, uint32_t, const uint8_t*, size_t);
65 static void AssignName(RsContext, RsObjectBase, const char*, size_t);
70 …ementCreate2(RsContext, const RsElement*, size_t, const char**, size_t, const size_t*, const uint3…
72 …GetSubElements(RsContext, RsElement, uintptr_t *ids, const char **names, size_t *arraySizes, uint3…
78 …ationCreateFromBitmap(RsContext, RsType, RsAllocationMipmapControl, const void*, size_t, uint32_t);
79 …nCubeCreateFromBitmap(RsContext, RsType, RsAllocationMipmapControl, const void*, size_t, uint32_t);
83 static void AllocationCopyToBitmap(RsContext, RsAllocation, void*, size_t);
[all …]
DrsApiStubs.h35 extern "C" RsMessageToClientType rsContextGetMessage(RsContext rsc, void* data, size_t data_length,
36 size_t* receiveLen, size_t receiveLen_length,
37 uint32_t* usrID, size_t usrID_length)
39 extern "C" RsMessageToClientType rsContextPeekMessage(RsContext rsc, size_t* receiveLen,
40 size_t receiveLen_length, uint32_t* usrID,
41 size_t usrID_length) __DEPRECATED_IN(31);
43 size_t data_length) __DEPRECATED_IN(31);
46 extern "C" void rsContextSetCacheDir(RsContext rsc, const char* cacheDir, size_t cacheDir_length)
48 extern "C" void rsaContextSetNativeLibDir(RsContext con, char* libDir, size_t length)
52 extern "C" void rsAssignName(RsContext rsc, RsObjectBase obj, const char* name, size_t name_length)
[all …]
DrsThreadIO.h37 size_t getMaxInlineSize() { in getMaxInlineSize()
47 void * coreHeader(uint32_t, size_t dataLen);
50 void coreSetReturn(const void *data, size_t dataLen);
51 void coreGetReturn(void *data, size_t dataLen);
52 void coreWrite(const void *data, size_t len);
53 void coreRead(void *data, size_t len);
55 void asyncSetReturn(const void *data, size_t dataLen);
56 void asyncGetReturn(void *data, size_t dataLen);
57 void asyncWrite(const void *data, size_t len);
58 void asyncRead(void *data, size_t len);
[all …]
/frameworks/av/media/libstagefright/renderfright/include/renderengine/
DMesh.h46 size_t mStride;
47 size_t mOffset = 0;
48 VertexArray(float* data, size_t stride) : mData(data), mStride(stride) {} in VertexArray()
53 VertexArray(VertexArray<TYPE>& other, size_t offset) in VertexArray()
56 TYPE& operator[](size_t index) {
59 TYPE const& operator[](size_t index) const {
112 size_t getVertexCount() const;
115 size_t getVertexSize() const;
118 size_t getTexCoordsSize() const;
120 size_t getShadowParamsSize() const;
[all …]
/frameworks/native/libs/renderengine/include/renderengine/
DMesh.h46 size_t mStride;
47 size_t mOffset = 0;
48 VertexArray(float* data, size_t stride) : mData(data), mStride(stride) {} in VertexArray()
53 VertexArray(VertexArray<TYPE>& other, size_t offset) in VertexArray()
56 TYPE& operator[](size_t index) {
59 TYPE const& operator[](size_t index) const {
112 size_t getVertexCount() const;
115 size_t getVertexSize() const;
118 size_t getTexCoordsSize() const;
120 size_t getShadowParamsSize() const;
[all …]
/frameworks/av/media/libaudioprocessing/include/media/
DBufferProviders.h71 CopyBufferProvider(size_t inputFrameSize, size_t outputFrameSize,
72 size_t bufferFrameCount);
87 virtual void copyFrames(void *dst, const void *src, size_t frames) = 0;
90 const size_t mInputFrameSize;
91 const size_t mOutputFrameSize;
94 const size_t mLocalBufferFrameCount;
96 size_t mConsumed;
105 uint32_t sampleRate, int32_t sessionId, size_t bufferFrameCount);
108 virtual void copyFrames(void *dst, const void *src, size_t frames);
117 size_t mInFrameSize;
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DColorConverter.h42 size_t srcWidth, size_t srcHeight, size_t srcStride,
43 size_t srcCropLeft, size_t srcCropTop,
44 size_t srcCropRight, size_t srcCropBottom,
46 size_t dstWidth, size_t dstHeight, size_t dstStride,
47 size_t dstCropLeft, size_t dstCropTop,
48 size_t dstCropRight, size_t dstCropBottom);
63 size_t width, size_t height, size_t stride,
64 size_t cropLeft, size_t cropTop,
65 size_t cropRight, size_t cropBottom,
68 size_t cropWidth() const;
[all …]
/frameworks/rs/cpp/
DrsDispatch.h22 typedef void (*SetNativeLibDirFnPtr)(RsContext con, const char *nativeLibDir, size_t length);
26 …ElementsFnPtr)(RsContext, RsElement, uintptr_t *ids, const char **names, size_t *arraySizes, uint3…
33 …, RsAllocation, RsScriptFieldID*, size_t, int64_t*, size_t, int*, size_t, RsClosure*, size_t, RsSc…
34 …okeID, const void*, const size_t, const RsScriptFieldID*, const size_t, const int64_t*, const size…
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);
43 typedef void (*ContextSetCacheDirFnPtr) (RsContext rsc, const char *cacheDir, size_t cacheDir_lengt…
46 …ionCreateStridedFnPtr) (RsContext, RsType, RsAllocationMipmapControl, uint32_t, uintptr_t, size_t);
47 …eateFromBitmapFnPtr) (RsContext, RsType, RsAllocationMipmapControl, const void*, size_t, uint32_t);
[all …]
/frameworks/native/opengl/libs/EGL/
DBlobCache.h40 BlobCache(size_t maxKeySize, size_t maxValueSize, size_t maxTotalSize);
57 void set(const void* key, size_t keySize, const void* value, size_t valueSize);
75 size_t get(const void* key, size_t keySize, void* value, size_t valueSize);
79 size_t getFlattenedSize() const;
88 int flatten(void* buffer, size_t size) const;
96 int unflatten(void const* buffer, size_t size);
108 const size_t mMaxTotalSize;
129 Blob(const void* data, size_t size, bool copyData);
135 size_t getSize() const;
146 size_t mSize;
[all …]
/frameworks/base/libs/protoutil/include/android/util/
DEncodedBuffer.h46 explicit EncodedBuffer(size_t chunkSize);
52 explicit Pointer(size_t chunkSize);
54 size_t pos() const;
55 size_t index() const;
56 size_t offset() const;
58 Pointer* move(size_t amt);
65 size_t mChunkSize;
66 size_t mIndex;
67 size_t mOffset;
80 size_t size() const;
[all …]
/frameworks/native/include/android/
Dinput.h1077 size_t AMotionEvent_getPointerCount(const AInputEvent* motion_event);
1085 int32_t AMotionEvent_getPointerId(const AInputEvent* motion_event, size_t pointer_index);
1092 int32_t AMotionEvent_getToolType(const AInputEvent* motion_event, size_t pointer_index);
1100 float AMotionEvent_getRawX(const AInputEvent* motion_event, size_t pointer_index);
1108 float AMotionEvent_getRawY(const AInputEvent* motion_event, size_t pointer_index);
1115 float AMotionEvent_getX(const AInputEvent* motion_event, size_t pointer_index);
1122 float AMotionEvent_getY(const AInputEvent* motion_event, size_t pointer_index);
1130 float AMotionEvent_getPressure(const AInputEvent* motion_event, size_t pointer_index);
1140 float AMotionEvent_getSize(const AInputEvent* motion_event, size_t pointer_index);
1146 float AMotionEvent_getTouchMajor(const AInputEvent* motion_event, size_t pointer_index);
[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/libs/vr/libdvr/include/dvr/
Ddvr_hardware_composer_client.h56 size_t dvrHwcFrameGetLayerCount(DvrHwcFrame* frame);
87 DvrHwcLayer dvrHwcFrameGetLayerId(DvrHwcFrame* frame, size_t layer_index);
97 size_t layer_index);
104 int dvrHwcFrameGetLayerFence(DvrHwcFrame* frame, size_t layer_index);
111 size_t layer_index);
117 DvrHwcRectf dvrHwcFrameGetLayerCrop(DvrHwcFrame* frame, size_t layer_index);
123 size_t layer_index);
129 float dvrHwcFrameGetLayerAlpha(DvrHwcFrame* frame, size_t layer_index);
134 uint32_t dvrHwcFrameGetLayerType(DvrHwcFrame* frame, size_t layer_index);
140 size_t layer_index);
[all …]
/frameworks/av/media/libeffects/lvm/tests/
DEffectTestHelper.h34 static float computeSnr(const T* ref, const T* tst, size_t count) { in computeSnr()
38 for (size_t i = 0; i < count; ++i) { in computeSnr()
55 EffectTestHelper(const effect_uuid_t* uuid, size_t inChMask, size_t outChMask, in EffectTestHelper()
56 size_t sampleRate, size_t frameCount, size_t loopCount) in EffectTestHelper()
97 static constexpr size_t kNumChMasks = std::size(kChMasks);
99 static constexpr size_t kSampleRates[] = {8000, 11025, 12000, 16000, 22050, 24000, 32000,
102 static constexpr size_t kNumSampleRates = std::size(kSampleRates);
104 static constexpr size_t kFrameCounts[] = {4, 2048};
106 static constexpr size_t kNumFrameCounts = std::size(kFrameCounts);
108 static constexpr size_t kLoopCounts[] = {1, 4};
[all …]
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
DConversion.h171 hidl_vec<uint8_t> inHidlBytes(void const* l, size_t size);
181 hidl_vec<uint8_t> toHidlBytes(void const* l, size_t size);
289 size_t getFenceFlattenedSize(hidl_handle const& fence);
298 size_t getFenceFdCount(hidl_handle const& fence);
316 void const*& buffer, size_t& size, int const*& fds, size_t& numFds);
329 void*& buffer, size_t& size, int*& fds, size_t& numFds);
365 size_t getFlattenedSize(HGraphicBufferProducer::FenceTimeSnapshot const& t);
374 size_t getFdCount(HGraphicBufferProducer::FenceTimeSnapshot const& t);
390 void*& buffer, size_t& size, int*& fds, size_t& numFds);
409 void const*& buffer, size_t& size, int const*& fds, size_t& numFds);
[all …]
/frameworks/base/tools/aapt2/io/
DFileStream.h31 constexpr size_t kDefaultBufferCapacity = 4096u;
36 size_t buffer_capacity = kDefaultBufferCapacity);
39 explicit FileInputStream(int fd, size_t buffer_capacity = kDefaultBufferCapacity);
41 bool Next(const void** data, size_t* size) override;
43 void BackUp(size_t count) override;
45 size_t ByteCount() const override;
57 size_t buffer_capacity_ = 0u;
58 size_t buffer_offset_ = 0u;
59 size_t buffer_size_ = 0u;
60 size_t total_byte_count_ = 0u;
[all …]
DData.h36 virtual size_t size() const = 0;
38 virtual size_t TotalSize() const override { in TotalSize()
45 explicit DataSegment(std::unique_ptr<IData> data, size_t offset, size_t len) in DataSegment()
53 size_t size() const override { return len_; } in size()
55 bool Next(const void** data, size_t* size) override { in Next()
65 void BackUp(size_t count) override { in BackUp()
80 size_t ByteCount() const override { return next_read_ - offset_; } in ByteCount()
88 size_t offset_;
89 size_t len_;
90 size_t next_read_;
[all …]
/frameworks/libs/native_bridge_support/libc/
Dmalloc_init.cpp25 extern "C" void* native_bridge_calloc(size_t, size_t);
28 extern "C" void* native_bridge_malloc(size_t);
29 extern "C" size_t native_bridge_malloc_usable_size(const void*);
30 extern "C" void* native_bridge_memalign(size_t, size_t);
31 extern "C" int native_bridge_posix_memalign(void**, size_t, size_t);
32 extern "C" void* native_bridge_realloc(void*, size_t);
33 extern "C" int native_bridge_malloc_iterate(uintptr_t, size_t, void (*)(uintptr_t, size_t, void*), …
37 extern "C" void* native_bridge_aligned_alloc(size_t, size_t);
40 extern "C" void* native_bridge_pvalloc(size_t);
41 extern "C" void* native_bridge_valloc(size_t);
/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);
/frameworks/base/core/jni/
Dandroid_os_HwBlob.h42 static jobject NewObject(JNIEnv *env, const void *ptr, size_t handle);
43 static jobject NewObject(JNIEnv *env, size_t size);
45 JHwBlob(JNIEnv *env, jobject thiz, size_t size);
47 void setTo(const void *ptr, size_t handle);
49 status_t getHandle(size_t *handle) const;
51 status_t read(size_t offset, void *data, size_t size) const;
52 status_t write(size_t offset, const void *data, size_t size);
55 size_t offset, const android::hardware::hidl_string **s) const;
60 size_t size() const;
65 status_t putBlob(size_t offset, const sp<JHwBlob> &blob);
[all …]
/frameworks/av/media/libstagefright/foundation/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/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/base/libs/androidfw/include/androidfw/
DStreamingZipInflater.h32 static const size_t INPUT_CHUNK_SIZE = 64 * 1024;
33 static const size_t OUTPUT_CHUNK_SIZE = 64 * 1024;
36 StreamingZipInflater(int fd, off64_t compDataStart, size_t uncompSize, size_t compSize);
39 StreamingZipInflater(const incfs::IncFsFileMap* dataMap, size_t uncompSize);
45 ssize_t read(void* outBuf, size_t count);
66 size_t mOutBufSize; // allocated size of mOutBuf
67 size_t mOutTotalSize; // total uncompressed size of the blob
71 size_t mOutLastDecoded; // last decoded byte + 1 in mOutbuf
72 size_t mOutDeliverable; // next undelivered byte of decoded output in mOutBuf
76 size_t mInBufSize; // allocated size of mInBuf;
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DHlsSampleDecryptor.cpp79 size_t HlsSampleDecryptor::processNal(uint8_t *nalData, size_t nalSize) { in processNal()
93 size_t newSize = unescapeStream(nalData, nalSize); in processNal()
109 size_t offset = VIDEO_CLEAR_LEAD; in processNal()
110 size_t remainingBytes = nalSize - VIDEO_CLEAR_LEAD; in processNal()
131 size_t clearBytes = std::min(remainingBytes, (size_t)(9 * AES_BLOCK_SIZE)); in processNal()
144 void HlsSampleDecryptor::processAAC(size_t adtsHdrSize, uint8_t *data, size_t size) { in processAAC()
157 size_t offset = adtsHdrSize; in processAAC()
158 size_t remainingBytes = size - adtsHdrSize; in processAAC()
181 size_t encryptedBytes = (remainingBytes / AES_BLOCK_SIZE) * AES_BLOCK_SIZE; in processAAC()
198 size_t clearBytes = remainingBytes; in processAAC()
[all …]

12345678910>>...106