Home
last modified time | relevance | path

Searched refs:buffer (Results 3601 - 3625 of 13350) sorted by relevance

1...<<141142143144145146147148149150>>...534

/foundation/ability/dmsfwk/test/fuzztest/dschedsoftbussession_fuzzer/
H A Ddschedsoftbussession_fuzzer.cpp70 std::shared_ptr<DSchedDataBuffer> buffer = std::make_shared<DSchedDataBuffer>(intParam); in FuzzOnBytesReceived() local
72 dschedSoftbusSession.OnBytesReceived(buffer); in FuzzOnBytesReceived()
76 dschedSoftbusSession.SendData(buffer, dataType); in FuzzOnBytesReceived()
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ops/
H A Dunsqueeze_builder.cpp47 void* buffer = tensor->GetBuffer(); in SetAxis() local
48 if (buffer == nullptr) { in SetAxis()
49 LOGE("[UnsqueezeBuilder] Tensor buffer is nullptr."); in SetAxis()
52 m_axis.emplace_back(*(static_cast<const int64_t*>(buffer))); in SetAxis()
/foundation/graphic/surface_lite/frameworks/
H A Dbuffer_queue_producer.h27 * In single process, BufferQueueProducer is producer to request buffer, flush buffer,
28 * cancel buffer and set buffer attr.
34 * @param [in] BufferQueue bufferQueue, to request buffer, flush buffer,
35 * cancel buffer and set buffer attr.
45 * @brief Request buffer. Surface producer requests buffer
[all...]
/foundation/graphic/graphic_surface/surface/include/
H A Dbuffer_utils.h36 GSError ReadSurfaceBufferImpl(MessageParcel &parcel, uint32_t &sequence, sptr<SurfaceBuffer> &buffer);
37 GSError WriteSurfaceBufferImpl(MessageParcel &parcel, uint32_t sequence, const sptr<SurfaceBuffer> &buffer);
51 GSError DumpToFileAsync(pid_t pid, std::string name, sptr<SurfaceBuffer> &buffer);
/foundation/graphic/surface_lite/interfaces/innerkits/
H A Dsurface_impl.h53 * @brief Set queue size, the surface could alloc max buffer count.
55 * @param [in] queueSize. Could alloc buffer count.
60 * @brief Get queue size, the surface could alloc max buffer count.
66 * @brief Set width and height to calculate the buffer size.
73 * @brief Get width, buffer width to calculate the buffer size..
79 * @brief Get height, buffer height to calculate the buffer size..
85 * @brief Set format, to calculate the buffer size.
92 * @brief Get format, buffer forma
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dgpu_resource_util.cpp62 void DebugBufferName(const IDevice& device, const GpuBuffer& buffer, const BASE_NS::string_view name) in DebugBufferName() argument
67 DebugBufferNameVk(device, buffer, name); in DebugBufferName()
72 DebugBufferNameGLES(device, buffer, name); in DebugBufferName()
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/pipeline/
H A Drs_test_util.cpp43 sptr<SurfaceBuffer> buffer; in CreateSurfaceNodeWithBuffer() local
45 [[maybe_unused]] GSError ret = psurf->RequestBuffer(buffer, requestFence, requestConfig); in CreateSurfaceNodeWithBuffer()
47 ret = psurf->FlushBuffer(buffer, flushFence, flushConfig); in CreateSurfaceNodeWithBuffer()
/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dnative_image.h38 virtual void BufferRelease(sptr<SurfaceBuffer>& buffer) = 0;
43 NativeImage(sptr<SurfaceBuffer> buffer, std::shared_ptr<IBufferProcessor> releaser);
44 NativeImage(sptr<SurfaceBuffer> buffer, std::shared_ptr<IBufferProcessor> releaser, int64_t timestamp);
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/
H A Dimage_pixel_map_parcel_test.cpp47 void *buffer = malloc(bufferSize); in ConstructPixmap() local
48 char *ch = reinterpret_cast<char *>(buffer); in ConstructPixmap()
53 pixelMap->SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in ConstructPixmap()
/foundation/multimedia/media_foundation/engine/pipeline/filters/codec/
H A Dasync_mode.h37 ErrorCode PushData(const std::string &inPort, const AVBufferPtr& buffer, int64_t offset) override;
45 void OnOutputBufferDone(const std::shared_ptr<Plugin::Buffer>& buffer) override;
60 ErrorCode CheckBufferValidity(std::shared_ptr<AVBuffer>& buffer);
66 // this task will queue output buffer and decode
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/stream/src/
H A Dfile_packer_stream.cpp86 bool FilePackerStream::Write(const uint8_t *buffer, uint32_t size) in Write() argument
88 if ((buffer == nullptr) || (size == 0)) { in Write()
96 if (fwrite(buffer, sizeof(uint8_t), size, file_) != size) { in Write()
/foundation/multimedia/drm_framework/frameworks/native/test/common/src/
H A Dhttp.cpp21 static size_t HttpCurlWriteStrData(void *buffer, size_t size, size_t nmemb, void *userp) in HttpCurlWriteStrData() argument
23 if (userp == nullptr || buffer == nullptr || size == 0) { in HttpCurlWriteStrData()
30 pstr->append((const char *)buffer, realSize); in HttpCurlWriteStrData()
/foundation/multimedia/media_library/frameworks/native/c_api/moving_photo_capi/
H A Dmoving_photo_capi.cpp55 MediaLibrary_ResourceType resourceType, const uint8_t** buffer, uint32_t* size) in OH_MovingPhoto_RequestContentWithBuffer()
60 CHECK_AND_RETURN_RET_LOG(buffer != nullptr, MEDIA_LIBRARY_PARAMETER_ERROR, "buffer is nullptr!"); in OH_MovingPhoto_RequestContentWithBuffer()
63 return movingPhoto->movingPhoto_->RequestContentWithBuffer(resourceType, buffer, size); in OH_MovingPhoto_RequestContentWithBuffer()
54 OH_MovingPhoto_RequestContentWithBuffer(OH_MovingPhoto* movingPhoto, MediaLibrary_ResourceType resourceType, const uint8_t** buffer, uint32_t* size) OH_MovingPhoto_RequestContentWithBuffer() argument
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_tool/src/
H A Dcontrol_main.cpp50 std::array<char, PATH_MAX> buffer {0}; in Init()
51 getcwd(buffer.data(), PATH_MAX); in Init()
52 env.workPath.append(buffer.data()); in Init()
/foundation/multimedia/player_framework/test/fuzztest/common/
H A Dtest_player.cpp101 struct stat64 buffer; in SetFdSource() local
102 if (fstat64(fdValue, &buffer) != 0) { in SetFdSource()
107 int64_t lengthValue = static_cast<int64_t>(buffer.st_size); in SetFdSource()
/foundation/multimedia/player_framework/test/fuzztest/avmetadata_fuzztest/avmetadatasetsource_fuzzer/
H A Davmetadatasetsource_fuzzer.cpp56 struct stat64 buffer; in FuzzAVMetadataSetSource() local
57 if (fstat64(setsourcefd, &buffer) != 0) { in FuzzAVMetadataSetSource()
62 int64_t setsourcesize = static_cast<int64_t>(buffer.st_size); in FuzzAVMetadataSetSource()
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/
H A Dstream_depacketizer.cpp40 void StreamDepacketizer::DepacketizeBuffer(char *buffer, uint32_t bufferSize) in DepacketizeBuffer() argument
42 char *ptr = buffer; in DepacketizeBuffer()
61 int remain = static_cast<int>(bufferSize - (ptr - buffer)); in DepacketizeBuffer()
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/stream_depacketizer_test/
H A Dstream_depacketizer_test.cpp98 char buffer[Communication::SoftBus::MAX_STREAM_LEN - OVERHEAD_LEN + 1] = {0}; in HWTEST_F() local
108 streamDepacketizer->DepacketizeBuffer((char *)buffer, sizeof(buffer)); in HWTEST_F()
/foundation/communication/netstack/utils/tlv_utils/include/
H A Dtlv_utils.h73 static uint8_t *GetNextTlv(const uint8_t *buffer);
74 static uint8_t *ParseTlv(const uint8_t *buffer, TlvCommon *tlv, const uint8_t *boundary, uint32_t *retCode);
75 static uint8_t *AppendTlv(uint8_t *buffer, const TlvCommon *tlv, const uint8_t *boundary, uint32_t *retCode);
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcameramgr/dcameradata/
H A Ddcamera_stream_data_process_producer.h45 void FeedStream(const std::shared_ptr<DataBuffer>& buffer);
51 int32_t FeedStreamToDriver(const DHBase& dhBase, const std::shared_ptr<DataBuffer>& buffer);
52 int32_t CheckSharedMemory(const DCameraBuffer& sharedMemory, const std::shared_ptr<DataBuffer>& buffer);
H A Ddcamera_stream_data_process.h37 void FeedStream(std::shared_ptr<DataBuffer>& buffer);
50 void FeedStreamToSnapShot(const std::shared_ptr<DataBuffer>& buffer);
51 void FeedStreamToContinue(const std::shared_ptr<DataBuffer>& buffer);
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/
H A Dhdi_framebuffer_surface.h31 : buffer(std::move(buf)), acquireFence(std::move(fence)), acquireTime(timeStamp), damageRect(damage) in FrameBufferEntry()
36 sptr<SurfaceBuffer> buffer; member
49 sptr<SurfaceBuffer> &buffer, const sptr<SyncFence> &releaseFence);
/kernel/linux/linux-5.10/arch/arm/kernel/
H A Datags_proc.c8 struct buffer { struct
16 struct buffer *b = PDE_DATA(file_inode(file)); in atags_read()
41 struct buffer *b; in init_atags_procfs()
/kernel/linux/linux-5.10/arch/x86/boot/
H A Dcmdline.c26 * truncated to fit in the buffer), or -1 on not found.
28 int __cmdline_find_option(unsigned long cmdline_ptr, const char *option, char *buffer, int bufsize) in __cmdline_find_option() argument
34 char *bufptr = buffer; in __cmdline_find_option()
39 st_bufcpy /* Copying this to buffer */ in __cmdline_find_option()
62 bufptr = buffer; in __cmdline_find_option()
/kernel/linux/linux-6.6/arch/arm/kernel/
H A Datags_proc.c8 struct buffer { struct
16 struct buffer *b = pde_data(file_inode(file)); in atags_read()
41 struct buffer *b; in init_atags_procfs()

Completed in 12 milliseconds

1...<<141142143144145146147148149150>>...534