/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/ |
D | GPBCodedOutputStream_PackagePrivate.h | 37 size_t GPBComputeDoubleSize(int32_t fieldNumber, double value) 39 size_t GPBComputeFloatSize(int32_t fieldNumber, float value) 41 size_t GPBComputeUInt64Size(int32_t fieldNumber, uint64_t value) 43 size_t GPBComputeInt64Size(int32_t fieldNumber, int64_t value) 45 size_t GPBComputeInt32Size(int32_t fieldNumber, int32_t value) 47 size_t GPBComputeFixed64Size(int32_t fieldNumber, uint64_t value) 49 size_t GPBComputeFixed32Size(int32_t fieldNumber, uint32_t value) 51 size_t GPBComputeBoolSize(int32_t fieldNumber, BOOL value) 53 size_t GPBComputeStringSize(int32_t fieldNumber, NSString *value) 55 size_t GPBComputeGroupSize(int32_t fieldNumber, GPBMessage *value) [all …]
|
/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, 90 size_t valueSize); 130 size_t get(const void* key, size_t keySize, void* value, size_t valueSize); 131 size_t get(const void* key, size_t keySize, void** value, std::function<void*(size_t)> alloc); 133 size_t get(const void* key, size_t keySize, T** value, std::function<void*(size_t)> alloc) { in get() 135 const size_t size = get(key, keySize, &valueVoid, alloc); in get() 142 size_t getFlattenedSize() const; 151 int flatten(void* buffer, size_t size) const; 159 int unflatten(void const* buffer, size_t size); [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/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/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/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/include/android/ |
D | input.h | 1047 size_t AMotionEvent_getPointerCount(const AInputEvent* motion_event); 1055 int32_t AMotionEvent_getPointerId(const AInputEvent* motion_event, size_t pointer_index); 1063 int32_t AMotionEvent_getToolType(const AInputEvent* motion_event, size_t pointer_index) __INTRODUCE… 1072 float AMotionEvent_getRawX(const AInputEvent* motion_event, size_t pointer_index); 1080 float AMotionEvent_getRawY(const AInputEvent* motion_event, size_t pointer_index); 1087 float AMotionEvent_getX(const AInputEvent* motion_event, size_t pointer_index); 1094 float AMotionEvent_getY(const AInputEvent* motion_event, size_t pointer_index); 1102 float AMotionEvent_getPressure(const AInputEvent* motion_event, size_t pointer_index); 1112 float AMotionEvent_getSize(const AInputEvent* motion_event, size_t pointer_index); 1118 float AMotionEvent_getTouchMajor(const AInputEvent* motion_event, size_t pointer_index); [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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/ |
D | bytestream.h | 83 virtual void Append(const char* bytes, size_t n) = 0; 118 virtual size_t Available() const = 0; 133 virtual void Skip(size_t n) = 0; 141 virtual void CopyTo(ByteSink* sink, size_t n); 165 virtual void Append(const char* data, size_t n); 192 CheckedArrayByteSink(char* outbuf, size_t capacity); 193 virtual void Append(const char* bytes, size_t n); 196 size_t NumberOfBytesWritten() const { return size_; } in NumberOfBytesWritten() 204 const size_t capacity_; 205 size_t size_; [all …]
|
/frameworks/base/tools/aapt2/io/ |
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 …]
|
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 …]
|
/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 …]
|
/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/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/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/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/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/base/libs/androidfw/include/androidfw/ |
D | StreamingZipInflater.h | 30 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/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/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 …]
|