/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/avbuffer/ |
H A D | avbuffer_framework_unit_test.cpp | 196 auto buffer = OH_AVBuffer_Create(MEMSIZE); variable 208 auto buffer = OH_AVBuffer_Create(0); variable 219 auto buffer = OH_AVBuffer_Create(-1); variable 240 auto buffer = OH_AVBuffer_Create(MEMSIZE); variable 254 auto buffer = OH_AVBuffer_Create(MEMSIZE); variable 282 auto buffer = OH_AVBuffer_Create(MEMSIZE); variable 306 auto buffer = OH_AVBuffer_Create(MEMSIZE); variable 331 auto buffer = OH_AVBuffer_Create(MEMSIZE); variable 357 auto buffer = OH_AVBuffer_Create(MEMSIZE); variable 370 auto buffer = OH_AVBuffer_Create(MEMSIZE); variable [all …]
|
/aosp12/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/ |
H A D | format_utils_test.cpp | 34 std::vector<uint8_t> buffer; in getBuffer() local 58 const std::vector<uint8_t> buffer = in TEST() local 64 const std::vector<uint8_t> buffer = in TEST() local 70 const std::vector<uint8_t> buffer = in TEST() local 76 const std::vector<uint8_t> buffer = in TEST() local 83 const std::vector<uint8_t> buffer = in TEST() local 89 const std::vector<uint8_t> buffer = in TEST() local 95 const std::vector<uint8_t> buffer = in TEST() local
|
/ohos5.0/foundation/multimedia/media_foundation/services/media_monitor/buffer/src/ |
H A D | dump_buffer_manager.cpp | 33 std::shared_ptr<AVBuffer> buffer = AVBuffer::CreateAVBuffer(); in DumpBufferNew() local 47 std::shared_ptr<AVBuffer> buffer = AVBuffer::CreateAVBuffer(avBufferConfig); in DumpBufferCreate() local 57 void DumpBufferDestroy(struct DumpBuffer *buffer) in DumpBufferDestroy() 64 uint8_t *DumpBufferGetAddr(DumpBuffer *buffer) in DumpBufferGetAddr() 72 int32_t DumpBufferGetCapacity(DumpBuffer *buffer) in DumpBufferGetCapacity() 80 int32_t DumpBufferGetSize(DumpBuffer *buffer) in DumpBufferGetSize() 88 bool DumpBufferSetSize(DumpBuffer *buffer, int32_t size) in DumpBufferSetSize() 97 int32_t DumpBufferWrite(DumpBuffer *buffer, const uint8_t *in, int32_t writeSize) in DumpBufferWrite() 105 uint64_t DumpBufferGetUniqueId(DumpBuffer *buffer) in DumpBufferGetUniqueId() 113 bool DumpBufferReadFromParcel(DumpBuffer *buffer, void *parcel) in DumpBufferReadFromParcel() [all …]
|
/ohos5.0/drivers/hdf_core/framework/model/camera/buffer_manager/src/ |
H A D | camera_buffer.c | 19 void CameraBufferSyncForUser(struct CameraBuffer *buffer) in CameraBufferSyncForUser() 37 static void CameraBufferFreeMmapPlanes(struct CameraBuffer *buffer) in CameraBufferFreeMmapPlanes() 50 static void CameraBufferFreeUserPtrPlanes(struct CameraBuffer *buffer) in CameraBufferFreeUserPtrPlanes() 84 static void CameraBufferFreeDmaPlanes(struct CameraBuffer *buffer) in CameraBufferFreeDmaPlanes() 93 void CameraBufferFree(struct CameraBuffer *buffer) in CameraBufferFree() 131 int32_t CameraBufferAllocMmapPlanes(struct CameraBuffer *buffer) in CameraBufferAllocMmapPlanes() 155 void CameraBufferSetupOffsets(struct CameraBuffer *buffer) in CameraBufferSetupOffsets() 231 void CameraBufferEnqueue(struct CameraBuffer *buffer) in CameraBufferEnqueue() 243 void CameraBufferQueueBuffer(struct CameraBuffer *buffer) in CameraBufferQueueBuffer() 303 static int32_t CameraBufferPrepareUserPtrPlane(struct CameraBuffer *buffer, in CameraBufferPrepareUserPtrPlane() [all …]
|
/aosp12/frameworks/base/core/java/android/text/method/ |
H A D | ScrollingMovementMethod.java | 30 protected boolean left(TextView widget, Spannable buffer) { in left() 35 protected boolean right(TextView widget, Spannable buffer) { in right() 40 protected boolean up(TextView widget, Spannable buffer) { in up() 45 protected boolean down(TextView widget, Spannable buffer) { in down() 50 protected boolean pageUp(TextView widget, Spannable buffer) { in pageUp() 55 protected boolean pageDown(TextView widget, Spannable buffer) { in pageDown() 60 protected boolean top(TextView widget, Spannable buffer) { in top() 65 protected boolean bottom(TextView widget, Spannable buffer) { in bottom() 75 protected boolean lineEnd(TextView widget, Spannable buffer) { in lineEnd() 80 protected boolean home(TextView widget, Spannable buffer) { in home() [all …]
|
H A D | ArrowKeyMovementMethod.java | 33 private static boolean isSelecting(Spannable buffer) { in isSelecting() 69 protected boolean left(TextView widget, Spannable buffer) { in left() 79 protected boolean right(TextView widget, Spannable buffer) { in right() 89 protected boolean up(TextView widget, Spannable buffer) { in up() 99 protected boolean down(TextView widget, Spannable buffer) { in down() 109 protected boolean pageUp(TextView widget, Spannable buffer) { in pageUp() 157 protected boolean top(TextView widget, Spannable buffer) { in top() 167 protected boolean bottom(TextView widget, Spannable buffer) { in bottom() 187 protected boolean lineEnd(TextView widget, Spannable buffer) { in lineEnd() 215 protected boolean home(TextView widget, Spannable buffer) { in home() [all …]
|
H A D | BaseMovementMethod.java | 252 protected boolean left(TextView widget, Spannable buffer) { in left() 264 protected boolean right(TextView widget, Spannable buffer) { in right() 276 protected boolean up(TextView widget, Spannable buffer) { in up() 288 protected boolean down(TextView widget, Spannable buffer) { in down() 300 protected boolean pageUp(TextView widget, Spannable buffer) { in pageUp() 312 protected boolean pageDown(TextView widget, Spannable buffer) { in pageDown() 324 protected boolean top(TextView widget, Spannable buffer) { in top() 336 protected boolean bottom(TextView widget, Spannable buffer) { in bottom() 360 protected boolean lineEnd(TextView widget, Spannable buffer) { in lineEnd() 384 protected boolean home(TextView widget, Spannable buffer) { in home() [all …]
|
/ohos5.0/base/telephony/sms_mms/services/sms/gsm/ |
H A D | gsm_user_data_pdu.cpp | 181 void GsmUserDataPdu::EncodeHeader(SmsWriteBuffer &buffer, const struct SmsUDH header) in EncodeHeader() 306 void GsmUserDataPdu::EncodeHeaderConcat(SmsWriteBuffer &buffer, const struct SmsUDH header) in EncodeHeaderConcat() 462 bool GsmUserDataPdu::DecodeHeaderConcat8Bit(SmsReadBuffer &buffer, struct SmsUDH &pHeader) in DecodeHeaderConcat8Bit() 493 bool GsmUserDataPdu::DecodeHeaderConcat16Bit(SmsReadBuffer &buffer, struct SmsUDH &pHeader) in DecodeHeaderConcat16Bit() 531 bool GsmUserDataPdu::DecodeHeaderAppPort8Bit(SmsReadBuffer &buffer, struct SmsUDH &pHeader) in DecodeHeaderAppPort8Bit() 558 bool GsmUserDataPdu::DecodeHeaderAppPort16Bit(SmsReadBuffer &buffer, struct SmsUDH &pHeader) in DecodeHeaderAppPort16Bit() 603 bool GsmUserDataPdu::DecodeHeaderSpecialSms(SmsReadBuffer &buffer, struct SmsUDH &pHeader) in DecodeHeaderSpecialSms() 635 bool GsmUserDataPdu::DecodeHeaderReplyAddress(SmsReadBuffer &buffer, struct SmsUDH &pHeader) in DecodeHeaderReplyAddress() 653 bool GsmUserDataPdu::DecodeHeaderSingleShift(SmsReadBuffer &buffer, struct SmsUDH &pHeader) in DecodeHeaderSingleShift() 673 bool GsmUserDataPdu::DecodeHeaderLockingShift(SmsReadBuffer &buffer, struct SmsUDH &pHeader) in DecodeHeaderLockingShift() [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/src/capi/ |
H A D | native_avbuffer.cpp | 36 std::shared_ptr<AVBuffer> buffer = AVBuffer::CreateAVBuffer(allocator, capacity); in OH_AVBuffer_Create() local 47 OH_AVErrCode OH_AVBuffer_Destroy(struct OH_AVBuffer *buffer) in OH_AVBuffer_Destroy() 56 OH_AVErrCode OH_AVBuffer_GetBufferAttr(OH_AVBuffer *buffer, OH_AVCodecBufferAttr *attr) in OH_AVBuffer_GetBufferAttr() 74 OH_AVErrCode OH_AVBuffer_SetBufferAttr(OH_AVBuffer *buffer, const OH_AVCodecBufferAttr *attr) in OH_AVBuffer_SetBufferAttr() 93 OH_AVFormat *OH_AVBuffer_GetParameter(OH_AVBuffer *buffer) in OH_AVBuffer_GetParameter() 109 OH_AVErrCode OH_AVBuffer_SetParameter(OH_AVBuffer *buffer, const OH_AVFormat *format) in OH_AVBuffer_SetParameter() 125 uint8_t *OH_AVBuffer_GetAddr(OH_AVBuffer *buffer) in OH_AVBuffer_GetAddr() 134 int32_t OH_AVBuffer_GetCapacity(OH_AVBuffer *buffer) in OH_AVBuffer_GetCapacity() 143 OH_NativeBuffer *OH_AVBuffer_GetNativeBuffer(OH_AVBuffer *buffer) in OH_AVBuffer_GetNativeBuffer()
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/tlv/ |
H A D | tlv_object.cpp | 22 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, std::monostate value) in Write() 30 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, void* value) in Write() 38 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, bool value) in Write() 42 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, int8_t value) in Write() 46 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, int16_t value) in Write() 50 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, double value) in Write() 54 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, int32_t value) in Write() 58 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, int64_t value) in Write() 62 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, uint32_t value) in Write() 265 bool TLVObject::ReadHead(const std::vector<std::uint8_t> &buffer, TLVHead &head) in ReadHead() [all …]
|
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
H A D | byte_array_utils.h | 36 static AK_FORCE_INLINE void writeUintAndAdvancePosition(uint8_t *const buffer, in writeUintAndAdvancePosition() 81 const uint8_t *const buffer, int *const pos) { in readUint32AndAdvancePosition() 88 const uint8_t *const buffer, int *const pos) { in readSint24AndAdvancePosition() 99 const uint8_t *const buffer, int *const pos) { in readUint24AndAdvancePosition() 106 const uint8_t *const buffer, int *const pos) { in readUint16AndAdvancePosition() 113 const uint8_t *const buffer, int *const pos) { in readUint8AndAdvancePosition() 117 static AK_FORCE_INLINE uint32_t readUint(const uint8_t *const buffer, in readUint() 185 static int readStringAndAdvancePosition(const uint8_t *const buffer, in readStringAndAdvancePosition() 199 const uint8_t *const buffer, const int maxLength, int *const pos) { in advancePositionToBehindString() 212 static void writeCodePointsAndAdvancePosition(uint8_t *const buffer, in writeCodePointsAndAdvancePosition() [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/ |
H A D | smp_receive.c | 90 Buffer *buffer = NULL; in SMP_RecvDataTask() local 639 static void SMP_RecvEncInfoProcessMaster(const Buffer *buffer) in SMP_RecvEncInfoProcessMaster() 688 static void SMP_RecvEncInfoProcessSlave(const Buffer *buffer) in SMP_RecvEncInfoProcessSlave() 710 static void SMP_RecvMasterIdentProcessMaster(const Buffer *buffer) in SMP_RecvMasterIdentProcessMaster() 757 static void SMP_RecvMasterIdentProcessSlave(const Buffer *buffer) in SMP_RecvMasterIdentProcessSlave() 780 static void SMP_RecvIdentInfoProcessMaster(const Buffer *buffer) in SMP_RecvIdentInfoProcessMaster() 832 static void SMP_RecvIdentInfoProcessSlave(const Buffer *buffer) in SMP_RecvIdentInfoProcessSlave() 856 static void SMP_RecvIdentAddrInfoProcessMaster(const Buffer *buffer) in SMP_RecvIdentAddrInfoProcessMaster() 910 static void SMP_RecvIdentAddrInfoProcessSlave(const Buffer *buffer) in SMP_RecvIdentAddrInfoProcessSlave() 941 static void SMP_RecvSignInfoProcessMaster(const Buffer *buffer) in SMP_RecvSignInfoProcessMaster() [all …]
|
/aosp12/system/core/libutils/include/utils/ |
H A D | Flattenable.h | 44 static size_t align(void const*& buffer) { in align() 52 static size_t align(void*& buffer) { in align() 61 static void advance(void*& buffer, size_t& size, size_t offset) { in advance() 66 static void advance(void const*& buffer, size_t& size, size_t offset) { in advance() 73 static void write(void*& buffer, size_t& size, const T& value) { in write() 82 static void read(void const*& buffer, size_t& size, T& value) { in read() 135 void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten() 140 void const*& buffer, size_t& size, int const*& fds, size_t& count) { in unflatten() 179 inline status_t LightFlattenable<T>::flatten(void* buffer, size_t size) const { in flatten() 206 inline status_t flatten(void* buffer, size_t size) const { in flatten() [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/services/media_monitor/common/src/ |
H A D | dump_buffer_wrap.cpp | 91 DumpBuffer* buffer = nullptr; in NewDumpBuffer() local 100 DumpBuffer* buffer = nullptr; in CreateDumpBuffer() local 107 void DumpBufferWrap::DestroyDumpBuffer(DumpBuffer *buffer) in DestroyDumpBuffer() 114 uint8_t *DumpBufferWrap::GetAddr(DumpBuffer *buffer) in GetAddr() 123 int32_t DumpBufferWrap::GetCapacity(DumpBuffer *buffer) in GetCapacity() 132 int32_t DumpBufferWrap::GetSize(DumpBuffer *buffer) in GetSize() 141 int32_t DumpBufferWrap::Write(DumpBuffer *buffer, const uint8_t *in, int32_t writeSize) in Write() 150 uint64_t DumpBufferWrap::GetUniqueId(DumpBuffer *buffer) in GetUniqueId() 159 bool DumpBufferWrap::SetSize(DumpBuffer *buffer, int32_t size) in SetSize() 168 bool DumpBufferWrap::ReadFromParcel(DumpBuffer *buffer, void *parcel) in ReadFromParcel() [all …]
|
/ohos5.0/foundation/graphic/graphic_surface/surface/src/ |
H A D | native_buffer.cpp | 68 static OH_NativeBuffer* OH_NativeBufferFromSurfaceBuffer(SurfaceBuffer* buffer) in OH_NativeBufferFromSurfaceBuffer() 76 static SurfaceBuffer* OH_NativeBufferToSurfaceBuffer(OH_NativeBuffer *buffer) in OH_NativeBufferToSurfaceBuffer() 81 static const SurfaceBuffer* OH_NativeBufferToSurfaceBuffer(const OH_NativeBuffer *buffer) in OH_NativeBufferToSurfaceBuffer() 109 OH_NativeBuffer* buffer = OH_NativeBufferFromSurfaceBuffer(bufferImpl); in OH_NativeBuffer_Alloc() local 118 int32_t OH_NativeBuffer_Reference(OH_NativeBuffer *buffer) in OH_NativeBuffer_Reference() 128 int32_t OH_NativeBuffer_Unreference(OH_NativeBuffer *buffer) in OH_NativeBuffer_Unreference() 138 void OH_NativeBuffer_GetConfig(OH_NativeBuffer *buffer, OH_NativeBuffer_Config* config) in OH_NativeBuffer_GetConfig() 151 int32_t OH_NativeBuffer_Map(OH_NativeBuffer *buffer, void **virAddr) in OH_NativeBuffer_Map() 167 int32_t OH_NativeBuffer_Unmap(OH_NativeBuffer *buffer) in OH_NativeBuffer_Unmap() 181 uint32_t OH_NativeBuffer_GetSeqNum(OH_NativeBuffer *buffer) in OH_NativeBuffer_GetSeqNum() [all …]
|
H A D | metadata_helper.cpp | 48 GSError MetadataHelper::SetColorSpaceInfo(sptr<SurfaceBuffer>& buffer, const CM_ColorSpaceInfo& col… in SetColorSpaceInfo() 62 GSError MetadataHelper::GetColorSpaceInfo(const sptr<SurfaceBuffer>& buffer, CM_ColorSpaceInfo& col… in GetColorSpaceInfo() 76 GSError MetadataHelper::SetColorSpaceType(sptr<SurfaceBuffer>& buffer, const CM_ColorSpaceType& col… in SetColorSpaceType() 90 GSError MetadataHelper::GetColorSpaceType(const sptr<SurfaceBuffer>& buffer, CM_ColorSpaceType& col… in GetColorSpaceType() 104 GSError MetadataHelper::SetHDRMetadataType(sptr<SurfaceBuffer>& buffer, const CM_HDR_Metadata_Type&… in SetHDRMetadataType() 132 GSError MetadataHelper::SetHDRStaticMetadata(sptr<SurfaceBuffer>& buffer, in SetHDRStaticMetadata() 147 GSError MetadataHelper::GetHDRStaticMetadata(const sptr<SurfaceBuffer>& buffer, in GetHDRStaticMetadata() 162 GSError MetadataHelper::SetHDRDynamicMetadata(sptr<SurfaceBuffer>& buffer, in SetHDRDynamicMetadata() 172 GSError MetadataHelper::GetHDRDynamicMetadata(const sptr<SurfaceBuffer>& buffer, in GetHDRDynamicMetadata() 182 GSError MetadataHelper::SetHDRStaticMetadata(sptr<SurfaceBuffer>& buffer, in SetHDRStaticMetadata() [all …]
|
/aosp12/system/unwinding/libunwindstack/tests/ |
H A D | MemoryCacheTest.cpp | 47 std::vector<uint8_t> buffer(i); in TEST_F() local 56 std::vector<uint8_t> buffer(i); in TEST_F() local 65 std::vector<uint8_t> buffer(i); in TEST_F() local 75 std::vector<uint8_t> buffer(i); in TEST_F() local 86 std::vector<uint8_t> buffer(32); in TEST_F() local 99 std::vector<uint8_t> buffer(i); in TEST_F() local 108 std::vector<uint8_t> buffer(i); in TEST_F() local 116 std::vector<uint8_t> buffer(kMaxCachedSize); in TEST_F() local 130 std::vector<uint8_t> buffer(32); in TEST_F() local
|
H A D | MemoryThreadCacheTest.cpp | 48 std::vector<uint8_t> buffer(i); in TEST_F() local 57 std::vector<uint8_t> buffer(i); in TEST_F() local 66 std::vector<uint8_t> buffer(i); in TEST_F() local 76 std::vector<uint8_t> buffer(i); in TEST_F() local 87 std::vector<uint8_t> buffer(32); in TEST_F() local 100 std::vector<uint8_t> buffer(i); in TEST_F() local 109 std::vector<uint8_t> buffer(i); in TEST_F() local 117 std::vector<uint8_t> buffer(kMaxCachedSize); in TEST_F() local 131 std::vector<uint8_t> buffer(32); in TEST_F() local 147 std::vector<uint8_t> buffer(i); in TEST_F() local [all …]
|
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/adaptor/src/ |
H A D | buffer.c | 23 bool IsBufferValid(const Buffer *buffer) in IsBufferValid() 44 bool CheckBufferWithSize(const Buffer *buffer, const uint32_t size) in CheckBufferWithSize() 60 Buffer *buffer = (Buffer *)Malloc(sizeof(Buffer)); in CreateBufferBySize() local 91 Buffer *buffer = (Buffer *)Malloc(sizeof(Buffer)); in CreateBufferByData() local 115 ResultCode InitBuffer(Buffer *buffer, const uint8_t *buf, const uint32_t bufSize) in InitBuffer() 131 void DestroyBuffer(Buffer *buffer) in DestroyBuffer() 147 Buffer *CopyBuffer(const Buffer *buffer) in CopyBuffer() 187 ResultCode GetBufferData(const Buffer *buffer, uint8_t *data, uint32_t *dataSize) in GetBufferData()
|
/ohos5.0/base/web/webview/test/unittest/ohos_adapter/ohos_image_adapter/ |
H A D | ohos_image_decoder_adapter_test.cpp | 180 uint8_t *buffer = static_cast<uint8_t *>(malloc(bufferSize)); variable 200 uint8_t *buffer = nullptr; variable 219 uint8_t *buffer = nullptr; variable 238 uint8_t *buffer = nullptr; variable 286 uint8_t *buffer = nullptr; variable 316 uint8_t *buffer = nullptr; variable 360 uint8_t *buffer = nullptr; variable 390 uint8_t *buffer = nullptr; variable 420 uint8_t *buffer = nullptr; variable 451 uint8_t *buffer = nullptr; variable [all …]
|
/aosp12/hardware/google/gchips/gralloc4/src/4.x/ |
H A D | GrallocMapper.cpp | 68 Return<Error> GrallocMapper::freeBuffer(void *buffer) in freeBuffer() 73 Return<Error> GrallocMapper::validateBufferSize(void *buffer, const BufferDescriptorInfo &descripto… in validateBufferSize() 85 Return<void> GrallocMapper::lock(void *buffer, uint64_t cpuUsage, const IMapper::Rect &accessRegion, in lock() 92 Return<void> GrallocMapper::unlock(void *buffer, unlock_cb hidl_cb) in unlock() 98 Return<void> GrallocMapper::flushLockedBuffer(void *buffer, flushLockedBuffer_cb hidl_cb) in flushLockedBuffer() 104 Return<Error> GrallocMapper::rereadLockedBuffer(void *buffer) in rereadLockedBuffer() 109 Return<void> GrallocMapper::get(void *buffer, const MetadataType &metadataType, IMapper::get_cb hid… in get() 115 Return<Error> GrallocMapper::set(void *buffer, const MetadataType &metadataType, const hidl_vec<uin… in set() 128 Return<void> GrallocMapper::getTransportSize(void *buffer, getTransportSize_cb hidl_cb) in getTransportSize() 151 Return<void> GrallocMapper::dumpBuffer(void *buffer, dumpBuffer_cb hidl_cb) in dumpBuffer() [all …]
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
H A D | VenueUrlElementTest.java | 108 ByteBuffer buffer = ByteBuffer.wrap(getTestData(urlList)); in parseTruncatedBuffer() local 119 ByteBuffer buffer = ByteBuffer.wrap(getTestData(1, new String())); in parseBufferWithEmptyVenueUrl() local 128 ByteBuffer buffer = ByteBuffer.wrap(getTestData(1, TEST_VENUE_URL_INVALID)); in parseBufferWithInvalidVenueUrl() local 154 ByteBuffer buffer = ByteBuffer.wrap(getTestData(0, new String())); in parseBufferWithZeroVenueNumber() local 164 ByteBuffer buffer = ByteBuffer.wrap(getTestData(0, TEST_VENUE_URL1)); in parseBufferWithZeroVenueNumberAndUrlData() local 180 ByteBuffer buffer = ByteBuffer.wrap(getTestData(-7, TEST_VENUE_URL1)); in parseBufferWithNegativeVenueNumberAndUrlData() local 207 ByteBuffer buffer = ByteBuffer.wrap(getTestData(urlList)); in parseBufferWithValidVenueUrls() local 225 ByteBuffer buffer = ByteBuffer.wrap(getTestData(urlList)); in parseBufferWithValidVenueUrlsAndCapsUrls() local 235 ByteBuffer buffer = ByteBuffer.wrap(getTestData(1, TEST_VENUE_URL_INSECURE)); in parseBufferWithInsecureUrlData() local 245 ByteBuffer buffer = ByteBuffer.wrap(getTestData(1, TEST_VENUE_URL_INSECURE_CAPS)); in parseBufferWithInsecureCapsUrlData() local [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/src/buffer/avbuffer_queue/ |
H A D | avbuffer_queue_consumer.cpp | 35 bool AVBufferQueueConsumerImpl::IsBufferInQueue(const std::shared_ptr<AVBuffer>& buffer) in IsBufferInQueue() 40 Status AVBufferQueueConsumerImpl::AcquireBuffer(std::shared_ptr<AVBuffer>& buffer) in AcquireBuffer() 45 Status AVBufferQueueConsumerImpl::ReleaseBuffer(const std::shared_ptr<AVBuffer>& buffer) in ReleaseBuffer() 50 Status AVBufferQueueConsumerImpl::AttachBuffer(std::shared_ptr<AVBuffer>& buffer, bool isFilled) in AttachBuffer() 55 Status AVBufferQueueConsumerImpl::DetachBuffer(const std::shared_ptr<AVBuffer>& buffer) in DetachBuffer() 66 std::shared_ptr<AVBuffer>& buffer, bool isFilled) in SetQueueSizeAndAttachBuffer()
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ops/ |
H A D | detection_post_process_builder.cpp | 48 void* buffer = tensor->GetBuffer(); in SetInputSize() local 67 void* buffer = tensor->GetBuffer(); in SetScale() local 96 void* buffer = tensor->GetBuffer(); in SetNmsIoUThreshold() local 118 void* buffer = tensor->GetBuffer(); in SetNmsScoreThreshold() local 140 void* buffer = tensor->GetBuffer(); in SetMaxDetections() local 162 void* buffer = tensor->GetBuffer(); in SetDetectionsPerClass() local 184 void* buffer = tensor->GetBuffer(); in SetMaxClassesPerDetection() local 206 void* buffer = tensor->GetBuffer(); in SetNumClasses() local 228 void* buffer = tensor->GetBuffer(); in SetUseRegularNms() local 250 void* buffer = tensor->GetBuffer(); in SetOutQuantized() local
|
H A D | lstm_builder.cpp | 43 void* buffer = tensor->GetBuffer(); in SetBidirectional() local 65 void* buffer = tensor->GetBuffer(); in SetHasBias() local 87 void* buffer = tensor->GetBuffer(); in SetInputSize() local 109 void* buffer = tensor->GetBuffer(); in SetHiddenSize() local 131 void* buffer = tensor->GetBuffer(); in SetNumLayers() local 153 void* buffer = tensor->GetBuffer(); in SetNumDirections() local 175 void* buffer = tensor->GetBuffer(); in SetDropout() local 197 void* buffer = tensor->GetBuffer(); in SetZoneoutCell() local 219 void* buffer = tensor->GetBuffer(); in SetZoneoutHidden() local 241 void* buffer = tensor->GetBuffer(); in SetProjSize() local
|