/frameworks/rs/ |
D | rsHidlAdaptation.h | 57 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 …]
|
D | rsApiStubs.h | 34 …e (RsContext rsc, void * data, size_t data_length, size_t * receiveLen, size_t receiveLen_length, … 35 …ype rsContextPeekMessage (RsContext rsc, size_t * receiveLen, size_t receiveLen_length, uint32_t *… 36 extern "C" void rsContextSendMessage (RsContext rsc, uint32_t id, const uint8_t * data, size_t data… 39 extern "C" void rsContextSetCacheDir (RsContext rsc, const char * cacheDir, size_t cacheDir_length); 40 extern "C" void rsaContextSetNativeLibDir(RsContext con, char *libDir, size_t length); 43 extern "C" void rsAssignName (RsContext rsc, RsObjectBase obj, const char * name, size_t name_lengt… 49 …ements, size_t elements_length, const char ** names, size_t names_length_length, const size_t * na… 51 …ments(RsContext con, RsElement elem, uintptr_t *ids, const char **names, size_t *arraySizes, uint3… 55 extern "C" RsType rsTypeCreate2 (RsContext rsc, const RsTypeCreateParams * dat, size_t dat_length); 60 …rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void * data, size_t data_length, uint3… [all …]
|
D | rsThreadIO.h | 37 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/ml/nn/driver/cache/BlobCache/ |
D | BlobCache.h | 71 BlobCache(size_t maxKeySize, size_t maxValueSize, size_t maxTotalSize, 89 void set(const void* key, size_t keySize, const void* value, size_t valueSize); 129 size_t get(const void* key, size_t keySize, void* value, size_t valueSize); 130 size_t get(const void* key, size_t keySize, void** value, std::function<void*(size_t)> alloc); 132 size_t get(const void* key, size_t keySize, T** value, std::function<void*(size_t)> alloc) { in get() 134 const size_t size = get(key, keySize, &valueVoid, alloc); in get() 141 size_t getFlattenedSize() const; 150 int flatten(void* buffer, size_t size) const; 158 int unflatten(void const* buffer, size_t size); 170 static const size_t NoEntry = ~size_t(0); [all …]
|
/frameworks/av/media/libmedia/include/media/ |
D | BufferProviders.h | 71 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/ |
D | ColorConverter.h | 42 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/ |
D | rsDispatch.h | 22 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/include/android/ |
D | input.h | 1045 size_t AMotionEvent_getPointerCount(const AInputEvent* motion_event); 1053 int32_t AMotionEvent_getPointerId(const AInputEvent* motion_event, size_t pointer_index); 1060 int32_t AMotionEvent_getToolType(const AInputEvent* motion_event, size_t pointer_index); 1068 float AMotionEvent_getRawX(const AInputEvent* motion_event, size_t pointer_index); 1076 float AMotionEvent_getRawY(const AInputEvent* motion_event, size_t pointer_index); 1083 float AMotionEvent_getX(const AInputEvent* motion_event, size_t pointer_index); 1090 float AMotionEvent_getY(const AInputEvent* motion_event, size_t pointer_index); 1098 float AMotionEvent_getPressure(const AInputEvent* motion_event, size_t pointer_index); 1108 float AMotionEvent_getSize(const AInputEvent* motion_event, size_t pointer_index); 1114 float AMotionEvent_getTouchMajor(const AInputEvent* motion_event, size_t pointer_index); [all …]
|
/frameworks/native/opengl/libs/EGL/ |
D | BlobCache.h | 40 BlobCache(size_t maxKeySize, size_t maxValueSize, size_t maxTotalSize); 57 void set(const void* key, size_t keySize, const void* value, 58 size_t valueSize); 76 size_t get(const void* key, size_t keySize, void* value, size_t valueSize); 81 size_t getFlattenedSize() const; 90 int flatten(void* buffer, size_t size) const; 98 int unflatten(void const* buffer, size_t size); 110 const size_t mMaxTotalSize; 131 Blob(const void* data, size_t size, bool copyData); 137 size_t getSize() const; [all …]
|
/frameworks/native/services/sensorservice/ |
D | vec.h | 36 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 …]
|
D | mat.h | 27 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/libs/protoutil/include/android/util/ |
D | EncodedBuffer.h | 46 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/libs/gui/include/gui/bufferqueue/1.0/ |
D | Conversion.h | 182 hidl_vec<uint8_t> inHidlBytes(void const* l, size_t size); 192 hidl_vec<uint8_t> toHidlBytes(void const* l, size_t size); 300 size_t getFenceFlattenedSize(hidl_handle const& fence); 309 size_t getFenceFdCount(hidl_handle const& fence); 327 void const*& buffer, size_t& size, int const*& fds, size_t& numFds); 340 void*& buffer, size_t& size, int*& fds, size_t& numFds); 376 size_t getFlattenedSize(HGraphicBufferProducer::FenceTimeSnapshot const& t); 385 size_t getFdCount(HGraphicBufferProducer::FenceTimeSnapshot const& t); 401 void*& buffer, size_t& size, int*& fds, size_t& numFds); 420 void const*& buffer, size_t& size, int const*& fds, size_t& numFds); [all …]
|
/frameworks/native/libs/vr/libdvr/include/dvr/ |
D | dvr_hardware_composer_client.h | 56 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/base/tools/aapt2/io/ |
D | Data.h | 36 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 …]
|
D | FileStream.h | 31 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 …]
|
/frameworks/base/native/android/ |
D | input.cpp | 129 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/ |
D | Input.h | 466 inline size_t getPointerCount() const { return mPointerProperties.size(); } in getPointerCount() 468 inline const PointerProperties* getPointerProperties(size_t pointerIndex) const { in getPointerProperties() 472 inline int32_t getPointerId(size_t pointerIndex) const { in getPointerId() 476 inline int32_t getToolType(size_t pointerIndex) const { in getToolType() 482 const PointerCoords* getRawPointerCoords(size_t pointerIndex) const; 484 float getRawAxisValue(int32_t axis, size_t pointerIndex) const; 486 inline float getRawX(size_t pointerIndex) const { in getRawX() 490 inline float getRawY(size_t pointerIndex) const { in getRawY() 494 float getAxisValue(int32_t axis, size_t pointerIndex) const; 496 inline float getX(size_t pointerIndex) const { in getX() [all …]
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | AString.h | 32 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/base/core/jni/ |
D | android_os_HwBlob.h | 42 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/mpeg2ts/ |
D | HlsSampleDecryptor.cpp | 79 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 …]
|
/frameworks/av/media/libstagefright/include/ |
D | ESDS.h | 29 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/ex/framesequence/jni/ |
D | Stream.h | 29 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/core/jni/android/graphics/ |
D | ByteBufferStreamAdaptor.cpp | 33 ByteBufferStream(JavaVM* jvm, jobject jbyteBuffer, size_t initialPosition, size_t length, in ByteBufferStream() 44 size_t position, size_t length) { in Create() 73 size_t read(void* buffer, size_t size) override { in read() 86 size_t bytesRead = 0; in read() 88 const size_t requested = (size > kStorageSize) ? kStorageSize : size; in read() 130 size_t getPosition() const override { return mPosition; } in getPosition() 132 bool seek(size_t position) override { in seek() 141 return this->seek(static_cast<size_t>(newPosition)); in move() 153 size_t getLength() const override { return mLength; } in getLength() 159 size_t mPosition; [all …]
|
/frameworks/av/media/img_utils/include/img_utils/ |
D | EndianUtils.h | 102 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 …]
|