/aosp12/frameworks/av/media/libmediatranscoding/transcoder/ |
H A D | PassthroughTrackTranscoder.cpp | 48 uint8_t* buffer = it->second; in getBufferWithSize() local 62 uint8_t* buffer = new (std::nothrow) uint8_t[minimumBufferSize]; in getBufferWithSize() local 73 void PassthroughTrackTranscoder::BufferPool::returnBuffer(uint8_t* buffer) { in returnBuffer() 117 uint8_t* buffer = mBufferPool->getBufferWithSize(info.size); in runTranscodeLoop() local
|
/aosp12/hardware/google/gchips/gralloc3/src/ |
H A D | mali_gralloc_public_interface.cpp | 105 static int32_t mali_gralloc_get_backing_store(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_backing_store() 114 static int32_t mali_gralloc_get_consumer_usage(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_consumer_usage() 140 static int32_t mali_gralloc_get_producer_usage(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_producer_usage() 209 static int32_t mali_gralloc_retain(gralloc1_device_t *device, buffer_handle_t buffer) in mali_gralloc_retain() 227 static int32_t mali_gralloc_release(gralloc1_device_t *device, buffer_handle_t buffer) in mali_gralloc_release() 254 const buffer_handle_t buffer, in mali_gralloc1_get_num_flex_planes() 301 buffer_handle_t buffer, in mali_gralloc1_lock_async() 372 static int32_t mali_gralloc1_lock_flex_async(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc1_lock_flex_async() 437 buffer_handle_t buffer, in mali_gralloc1_unlock_async() 482 static int32_t mali_gralloc1_validate_buffer_size(gralloc1_device_t* device, buffer_handle_t buffer, in mali_gralloc1_validate_buffer_size() [all …]
|
/aosp12/frameworks/native/services/surfaceflinger/ |
H A D | RefreshRateOverlay.cpp | 36 const sp<GraphicBuffer>& buffer, in drawRect() 59 const sp<GraphicBuffer>& buffer, in drawSegment() 87 const sp<GraphicBuffer>& buffer, in drawDigit() 123 sp<GraphicBuffer> buffer = in drawNumber() local 233 [&](const auto& buffer) -> std::shared_ptr<renderengine::ExternalTexture> { in getOrCreateBuffers() 270 auto buffer = getOrCreateBuffers(*mCurrentFps)[mFrame]; in changeRefreshRate() local 284 auto buffer = buffers[mFrame]; in onInvalidate() local
|
/aosp12/frameworks/base/core/java/android/text/method/ |
H A D | LinkMovementMethod.java | 49 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode, in handleMovementKey() 66 protected boolean up(TextView widget, Spannable buffer) { in up() 75 protected boolean down(TextView widget, Spannable buffer) { in down() 84 protected boolean left(TextView widget, Spannable buffer) { in left() 93 protected boolean right(TextView widget, Spannable buffer) { in right() 101 private boolean action(int what, TextView widget, Spannable buffer) { in action() 205 public boolean onTouchEvent(TextView widget, Spannable buffer, in onTouchEvent()
|
/ohos5.0/foundation/graphic/graphic_surface/surface/src/ |
H A D | consumer_surface.cpp | 91 GSError ConsumerSurface::RequestBuffer(sptr<SurfaceBuffer>& buffer, in RequestBuffer() 103 GSError ConsumerSurface::FlushBuffer(sptr<SurfaceBuffer>& buffer, in FlushBuffer() 121 GSError ConsumerSurface::GetLastFlushedBuffer(sptr<SurfaceBuffer>& buffer, in GetLastFlushedBuffer() 168 GSError ConsumerSurface::RequestBuffer(sptr<SurfaceBuffer>& buffer, in RequestBuffer() 174 GSError ConsumerSurface::CancelBuffer(sptr<SurfaceBuffer>& buffer) in CancelBuffer() 179 GSError ConsumerSurface::FlushBuffer(sptr<SurfaceBuffer>& buffer, in FlushBuffer() 204 GSError ConsumerSurface::AttachBufferToQueue(sptr<SurfaceBuffer> buffer) in AttachBufferToQueue() 213 GSError ConsumerSurface::DetachBufferFromQueue(sptr<SurfaceBuffer> buffer) in DetachBufferFromQueue() 222 GSError ConsumerSurface::AttachBuffer(sptr<SurfaceBuffer>& buffer) in AttachBuffer() 238 GSError ConsumerSurface::DetachBuffer(sptr<SurfaceBuffer>& buffer) in DetachBuffer() [all …]
|
/ohos5.0/drivers/peripheral/codec/image/jpeg/src/ |
H A D | codec_jpeg_core.cpp | 75 int32_t CodecJpegCore::AllocateInBuffer(BufferHandle **buffer, uint32_t size) in AllocateInBuffer() 81 int32_t CodecJpegCore::FreeInBuffer(BufferHandle *buffer) in FreeInBuffer() 87 int32_t CodecJpegCore::DoDecode(BufferHandle *buffer, BufferHandle *outBuffer, in DoDecode()
|
/ohos5.0/foundation/multimedia/image_effect/test/unittest/mock/src/ |
H A D | mock_producer_surface.cpp | 29 void MockProducerSurface::AllocDmaMemory(sptr<SurfaceBuffer> &buffer) in AllocDmaMemory() 48 void MockProducerSurface::ReleaseDmaBuffer(sptr<SurfaceBuffer> &buffer) in ReleaseDmaBuffer() 61 ….WillByDefault([this](sptr<SurfaceBuffer> &buffer, sptr<SyncFence> &fence, BufferRequestConfig &co… in MockProducerSurface()
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_ohos_native_buffer_adapter_impl.cpp | 27 void ArkOhosNativeBufferAdapterImpl::AcquireBuffer(void* buffer) in AcquireBuffer() 32 void ArkOhosNativeBufferAdapterImpl::Release(void* buffer) in Release() 37 int ArkOhosNativeBufferAdapterImpl::GetEGLBuffer(void* buffer, void** eglBuffer) in GetEGLBuffer()
|
/aosp12/hardware/qcom/display/msm8996/libgralloc1/ |
H A D | gr_device_impl.cpp | 196 buffer_handle_t buffer) { in CheckDeviceAndHandle() 286 gralloc1_error_t GrallocImpl::GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, in GetBackingStore() 320 gralloc1_error_t GrallocImpl::GetColorFormat(gralloc1_device_t *device, buffer_handle_t buffer, in GetColorFormat() 330 gralloc1_error_t GrallocImpl::GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer, in GetLayerCount() 351 gralloc1_error_t GrallocImpl::GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferStride() 375 gralloc1_error_t GrallocImpl::RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in RetainBuffer() 414 gralloc1_error_t GrallocImpl::LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer, in LockBuffer() 457 gralloc1_error_t GrallocImpl::LockFlex(gralloc1_device_t *device, buffer_handle_t buffer, in LockFlex() 476 gralloc1_error_t GrallocImpl::UnlockBuffer(gralloc1_device_t *device, buffer_handle_t buffer, in UnlockBuffer() 503 buffer_handle_t buffer, in validateBufferSize() [all …]
|
/aosp12/hardware/qcom/display/msm8998/libgralloc1/ |
H A D | gr_device_impl.cpp | 214 buffer_handle_t buffer) { in CheckDeviceAndHandle() 304 gralloc1_error_t GrallocImpl::GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, in GetBackingStore() 338 gralloc1_error_t GrallocImpl::GetColorFormat(gralloc1_device_t *device, buffer_handle_t buffer, in GetColorFormat() 348 gralloc1_error_t GrallocImpl::GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer, in GetLayerCount() 369 gralloc1_error_t GrallocImpl::GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferStride() 393 gralloc1_error_t GrallocImpl::RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in RetainBuffer() 431 gralloc1_error_t GrallocImpl::LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer, in LockBuffer() 477 gralloc1_error_t GrallocImpl::LockFlex(gralloc1_device_t *device, buffer_handle_t buffer, in LockFlex() 496 gralloc1_error_t GrallocImpl::UnlockBuffer(gralloc1_device_t *device, buffer_handle_t buffer, in UnlockBuffer() 523 buffer_handle_t buffer, in validateBufferSize() [all …]
|
/aosp12/bionic/libc/bionic/ |
H A D | libgen.cpp | 39 static int __basename_r(const char* path, char* buffer, size_t buffer_size) { in __basename_r() 92 __LIBC32_LEGACY_PUBLIC__ int basename_r(const char* path, char* buffer, size_t buffer_size) { in basename_r() 96 static int __dirname_r(const char* path, char* buffer, size_t buffer_size) { in __dirname_r() 156 __LIBC32_LEGACY_PUBLIC__ int dirname_r(const char* path, char* buffer, size_t buffer_size) { in dirname_r()
|
/ohos5.0/drivers/peripheral/distributed_camera/hdi_service/src/dstream_operator/ |
H A D | dbuffer_manager.cpp | 35 RetCode DBufferManager::AddBuffer(std::shared_ptr<DImageBuffer>& buffer) in AddBuffer() 47 RetCode DBufferManager::RemoveBuffer(std::shared_ptr<DImageBuffer>& buffer) in RemoveBuffer() 67 const std::shared_ptr<DImageBuffer> &buffer) in SurfaceBufferToDImageBuffer() 144 DCameraBuffer &buffer) in DImageBufferToDCameraBuffer()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/ |
H A D | sdp_server.c | 50 uint8_t *buffer; member 205 uint8_t buffer[SDP_MAX_ATTRIBUTE_LEN] = {0}; in SdpAddServiceRecordHandle() local 225 uint8_t buffer[SDP_MAX_ATTRIBUTE_LEN] = {0}; in SdpAddServiceClassIdList() local 254 uint8_t buffer[SDP_MAX_ATTRIBUTE_LEN] = {0}; in SdpAddServiceRecordState() local 273 uint8_t buffer[SDP_MAX_ATTRIBUTE_LEN] = {0}; in SdpAddServiceId() local 297 uint8_t buffer[SDP_MAX_ATTRIBUTE_LEN] = {0}; in SdpAddProtocolDescriptorList() local 345 uint8_t buffer[SDP_MAX_ATTRIBUTE_LEN] = {0}; in SdpAddAdditionalProtocolDescriptorList() local 504 uint8_t buffer[10] = {0}; in SdpAddServiceInfoTimeToLive() local 516 uint8_t buffer[2] = {0}; in SdpAddServiceAvailability() local 1108 uint8_t *buffer = NULL; in SdpCreateSearchResponse() local [all …]
|
/ohos5.0/base/telephony/sms_mms/test/gtest/ |
H A D | zero_branch_cdma_sms_test.cpp | 691 auto buffer = wBuffer.GetPduBuffer(); variable 724 auto buffer = wBuffer.GetPduBuffer(); variable 760 auto buffer = wBuffer.GetPduBuffer(); variable 796 auto buffer = wBuffer.GetPduBuffer(); variable 829 auto buffer = wBuffer.GetPduBuffer(); variable 865 auto buffer = wBuffer.GetPduBuffer(); variable 903 auto buffer = wBuffer.GetPduBuffer(); variable 936 auto buffer = wBuffer.GetPduBuffer(); variable 998 auto buffer = wBuffer.GetPduBuffer(); variable 1036 auto buffer = wBuffer.GetPduBuffer(); variable [all …]
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | HidlMemoryUtil.java | 80 ByteBuffer buffer = shmem.mapReadWrite(); in byteArrayToHidlMemory() local 122 ByteBuffer buffer = shmem.mapReadWrite(); in byteListToHidlMemory() local 152 ByteBuffer buffer = getBuffer(mem); in hidlMemoryToByteArray() local 178 ByteBuffer buffer = getBuffer(mem); in hidlMemoryToByteList() local
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/effect/manager/colorspace_manager/ |
H A D | colorspace_helper.cpp | 117 sptr<SurfaceBuffer> buffer = sb; in SetSurfaceBufferMetadataType() local 126 sptr<SurfaceBuffer> buffer = sb; in GetSurfaceBufferMetadataType() local 135 sptr<SurfaceBuffer> buffer = sb; in SetSurfaceBufferColorSpaceType() local 144 sptr<SurfaceBuffer> buffer = sb; in GetSurfaceBufferColorSpaceType() local 153 sptr<SurfaceBuffer> buffer = sb; in SetHDRDynamicMetadata() local 162 sptr<SurfaceBuffer> buffer = sb; in SetHDRStaticMetadata() local 196 void *buffer = srcBuffer->buffer_; in ApplyColorSpaceIfNeed() local 224 std::shared_ptr<EffectBuffer> &buffer, const std::shared_ptr<EffectContext> &context) in DecomposeHdrImageIfNeed()
|
/ohos5.0/base/tee/tee_client/services/authentication/ |
H A D | tee_get_native_cert.c | 24 static int SetPathToBuf(uint8_t *buffer, uint32_t *len, uint32_t *inputLen, const char *path) in SetPathToBuf() 66 static int SetUidToBuf(uint8_t *buffer, uint32_t *len, uint32_t *inputLen, unsigned int caUid) in SetUidToBuf() 105 static int SetUserInfoToBuf(uint8_t *buffer, uint32_t *len, uint32_t *inputLen, unsigned int caUid) in SetUserInfoToBuf() 117 int TeeGetNativeCert(int caPid, unsigned int caUid, uint32_t *len, uint8_t *buffer) in TeeGetNativeCert()
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ops/ |
H A D | argmax_builder.cpp | 39 void* buffer = tensor->GetBuffer(); in SetAxis() local 58 void* buffer = tensor->GetBuffer(); in SetTopK() local 77 void* buffer = tensor->GetBuffer(); in SetKeepdims() local 96 void* buffer = tensor->GetBuffer(); in SetOutMaxValue() local
|
/aosp12/frameworks/minikin/tests/perftests/ |
H A D | GraphemeBreak.cpp | 37 uint16_t buffer[12]; in BM_GraphemeBreak_Ascii() local 52 uint16_t buffer[12]; in BM_GraphemeBreak_Emoji() local 67 uint16_t buffer[12]; in BM_GraphemeBreak_Emoji_Flags() local
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_ohos_native_buffer_adapter_wrapper.cpp | 27 void ArkOhosNativeBufferAdapterWrapper::AcquireBuffer(void* buffer) in AcquireBuffer() 32 void ArkOhosNativeBufferAdapterWrapper::Release(void* buffer) in Release() 37 int ArkOhosNativeBufferAdapterWrapper::GetEGLBuffer(void* buffer, void** eglBuffer) in GetEGLBuffer()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/capi_ability_runtime_application_context_test/ |
H A D | capi_ability_runtime_application_context_test.cpp | 149 char buffer[bufferSize]; variable 188 char buffer[bufferSize]; variable 226 char buffer[bufferSize]; variable 274 char buffer[bufferSize]; variable 413 char buffer[bufferSize]; variable 456 char buffer[bufferSize]; variable 498 char buffer[bufferSize]; variable
|
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
H A D | dtoa.h | 59 inline void DigitGen(const DiyFp& W, const DiyFp& Mp, uint64_t delta, char* buffer, int* len, int* … in DigitGen() 110 inline void Grisu2(double value, char* buffer, int* length, int* K) { in Grisu2() 124 inline char* WriteExponent(int K, char* buffer) { in WriteExponent() 148 inline char* Prettify(char* buffer, int length, int k) { in Prettify() 189 inline char* dtoa(double value, char* buffer) { in dtoa()
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameradata/ |
H A D | dcamera_stream_data_process_producer.cpp | 109 void DCameraStreamDataProcessProducer::FeedStream(const std::shared_ptr<DataBuffer>& buffer) in FeedStream() 156 std::shared_ptr<DataBuffer> buffer = nullptr; in LooperSnapShot() local 200 const std::shared_ptr<DataBuffer>& buffer) in FeedStreamToDriver() 250 const std::shared_ptr<DataBuffer>& buffer) in CheckSharedMemory() 271 std::shared_ptr<DataBuffer> buffer = std::reinterpret_pointer_cast<DataBuffer>(data); in OnSmoothFinished() local
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | vpe_utils.cpp | 190 static GSError SetColorSpaceInfo(sptr<SurfaceBuffer>& buffer, const CM_ColorSpaceInfo& colorSpaceIn… in SetColorSpaceInfo() 200 static bool GetColorSpaceInfo(const sptr<SurfaceBuffer>& buffer, CM_ColorSpaceInfo& colorSpaceInfo) in GetColorSpaceInfo() 211 bool VpeUtils::SetSbColorSpaceType(sptr<SurfaceBuffer>& buffer, const CM_ColorSpaceType& colorSpace… in SetSbColorSpaceType() 227 bool VpeUtils::GetSbColorSpaceType(const sptr<SurfaceBuffer>& buffer, CM_ColorSpaceType& colorSpace… in GetSbColorSpaceType() 242 bool VpeUtils::SetSbMetadataType(sptr<SurfaceBuffer>& buffer, const CM_HDR_Metadata_Type& metadataT… in SetSbMetadataType() 256 bool VpeUtils::GetSbMetadataType(const sptr<SurfaceBuffer>& buffer, CM_HDR_Metadata_Type& metadataT… in GetSbMetadataType() 277 bool VpeUtils::SetSbStaticMetadata(sptr<SurfaceBuffer>& buffer, const std::vector<uint8_t>& staticM… in SetSbStaticMetadata() 282 bool VpeUtils::GetSbStaticMetadata(const sptr<SurfaceBuffer>& buffer, std::vector<uint8_t>& staticM… in GetSbStaticMetadata() 334 void VpeUtils::SetSurfaceBufferInfo(sptr<SurfaceBuffer>& buffer, bool isGainmap, ImageHdrType type, in SetSurfaceBufferInfo() 449 bool VpeUtils::SetSbColorSpaceDefault(sptr<SurfaceBuffer>& buffer) in SetSbColorSpaceDefault() [all …]
|
/aosp12/frameworks/base/media/java/android/media/midi/ |
H A D | MidiPortImpl.java | 97 public static int getPacketType(byte[] buffer, int bufferLength) { in getPacketType() 105 public static int getDataOffset(byte[] buffer, int bufferLength) { in getDataOffset() 114 public static int getDataSize(byte[] buffer, int bufferLength) { in getDataSize() 123 public static long getPacketTimestamp(byte[] buffer, int bufferLength) { in getPacketTimestamp()
|