Home
last modified time | relevance | path

Searched refs:buffer (Results 5976 - 6000 of 14922) sorted by relevance

1...<<231232233234235236237238239240>>...597

/applications/standard/app_samples/code/BasicFeature/Native/NdkRawfile/entry/src/main/cpp/
H A Drawfile_demo.cpp65 napi_value buffer; in CreateJsArrayValue() local
71 nullptr, &buffer); in CreateJsArrayValue()
73 OH_LOG_Print(LOG_APP, LOG_ERROR, GLOBAL_RESMGR, TAG, "Failed to create external array buffer"); in CreateJsArrayValue()
77 status = napi_create_typedarray(env, napi_uint8_array, length, buffer, 0, &result); in CreateJsArrayValue()
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/device_registrar/
H A Ddevice_registrar_test.cpp70 virtual int32_t AllocateBuffer(uint32_t length, V2_0::SharedBuffer& buffer) = 0;
72 virtual int32_t ReleaseBuffer(const V2_0::SharedBuffer& buffer) = 0;
157 OH_NN_ReturnCode ReleaseBuffer(const void* buffer) override
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/device_registrar/
H A Ddevice_registrar_test.cpp70 virtual int32_t AllocateBuffer(uint32_t length, V1_0::SharedBuffer& buffer) = 0;
72 virtual int32_t ReleaseBuffer(const V1_0::SharedBuffer& buffer) = 0;
157 OH_NN_ReturnCode ReleaseBuffer(const void* buffer) override
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dnnexecutor.h64 OH_NN_ReturnCode SetInput(uint32_t index, const OH_NN_Tensor& nnTensor, const void* buffer, size_t length);
66 OH_NN_ReturnCode SetOutput(uint32_t index, void* buffer, size_t length);
90 const void* buffer, size_t dataLength, size_t curBufferLength);
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/rtsp/src/
H A Drtsp_channel_manager.cpp33 void RtspChannelManager::ChannelListener::OnDataReceived(const uint8_t *buffer, unsigned int length, long timeCost) in OnDataReceived() argument
41 channelManager_->OnData(buffer, length); in OnDataReceived()
48 channelManager_->sessionKeyLength_, { buffer, static_cast<int>(length) }, outputData); in OnDataReceived()
186 CLOGD("SendData, outputData.length %{public}d pktlen %{public}zu send buffer %{public}s.", outputData.length, in SendData()
/foundation/CastEngine/castengine_cast_plus_stream/src/rtsp/src/
H A Drtsp_channel_manager.cpp33 void RtspChannelManager::ChannelListener::OnDataReceived(const uint8_t *buffer, unsigned int length, long timeCost) in OnDataReceived() argument
41 channelManager_->OnData(buffer, length); in OnDataReceived()
48 channelManager_->sessionKeyLength_, { buffer, static_cast<int>(length) }, outputData); in OnDataReceived()
186 CLOGD("SendData, outputData.length %{public}d pktlen %{public}zu send buffer %{public}s.", outputData.length, in SendData()
/foundation/arkui/ui_lite/frameworks/draw/
H A Dclip_utils.cpp168 Color32* buffer = reinterpret_cast<Color32*>(const_cast<uint8_t*>(imageInfo->data)); in DrawPixel() local
169 buffer[offset].alpha = buffer[offset].alpha * opa / OPA_OPAQUE; in DrawPixel()
/foundation/multimedia/audio_framework/services/audio_service/server/src/
H A Dpolicy_provider_proxy.cpp51 int32_t PolicyProviderProxy::InitSharedVolume(std::shared_ptr<AudioSharedMemory> &buffer) in InitSharedVolume() argument
61 buffer = AudioSharedMemory::ReadFromParcel(reply); in InitSharedVolume()
62 CHECK_AND_RETURN_RET_LOG(buffer != nullptr, ERR_OPERATION_FAILED, "ReadFromParcel failed"); in InitSharedVolume()
/foundation/multimedia/audio_framework/services/audio_service/client/src/
H A Daudio_process_proxy.cpp66 int32_t AudioProcessProxy::ResolveBuffer(std::shared_ptr<OHAudioBuffer> &buffer) in ResolveBuffer() argument
77 buffer = OHAudioBuffer::ReadFromParcel(reply); in ResolveBuffer()
78 CHECK_AND_RETURN_RET_LOG(buffer != nullptr, ERR_OPERATION_FAILED, "ReadFromParcel failed"); in ResolveBuffer()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/
H A Dtest_common.cpp177 auto buffer = std::make_unique<char[]>(len + 1); in ConvertStringFromJsValue() local
179 if (napi_get_value_string_utf8(env, jsValue, buffer.get(), len + 1, &strLength) == napi_ok) { in ConvertStringFromJsValue()
180 value = buffer.get(); in ConvertStringFromJsValue()
/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample/
H A Dcube_demo.js115 let buffer = gl.createBuffer();
116 if (buffer === null) {
119 gl.bindBuffer(gl.ARRAY_BUFFER, buffer);
/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample2/
H A Dcube2_demo.js115 let buffer = gl.createBuffer();
116 if (buffer === null) {
119 gl.bindBuffer(gl.ARRAY_BUFFER, buffer);
/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/include/
H A Dexif_maker_note.h144 static bool GetUInt16(const std::vector<unsigned char> &buffer, ExifByteOrder order,
146 static bool GetUInt32(const std::vector<unsigned char> &buffer, ExifByteOrder order,
148 static bool GetData(const std::vector<unsigned char> &buffer, size_t offset, size_t count,
/foundation/multimedia/media_foundation/src/plugin/
H A Dplugin_buffer.cpp134 auto buffer = std::make_shared<Buffer>(); in CreateDefaultBuffer() local
136 buffer->data.push_back(memory); in CreateDefaultBuffer()
137 return buffer; in CreateDefaultBuffer()
/foundation/multimedia/av_codec/test/unittest/key_type_test/
H A Dkey_type_test.cpp299 uint8_t buffer[] = {1, 2, 3, 4}; in HWTEST_P() local
301 ASSERT_EQ(res, OH_AVFormat_SetBuffer(format, key, buffer, sizeof(buffer))); in HWTEST_P()
/foundation/multimedia/player_framework/frameworks/native/soundpool/
H A Dsound_parser.h29 #include "buffer/avsharedmemory.h"
78 void OnInputBufferAvailable(uint32_t index, std::shared_ptr<AVSharedMemory> buffer) override;
80 std::shared_ptr<AVSharedMemory> buffer) override;
87 uint32_t index, std::shared_ptr<AVSharedMemory> buffer);
/foundation/resourceschedule/ffrt/src/sync/
H A Ddelayed_worker.cpp81 char buffer; in ThreadInit()
82 size_t n = ::read(monitorfd_, &buffer, sizeof buffer); in ThreadInit()
/foundation/distributedhardware/distributed_camera/services/data_process/include/pipeline_node/multimedia_codec/decoder/
H A Ddecode_data_process.h28 #include "buffer/avsharedmemory.h"
63 void OnInputBufferAvailable(uint32_t index, std::shared_ptr<Media::AVSharedMemory> buffer);
66 const MediaAVCodec::AVCodecBufferFlag& flag, std::shared_ptr<Media::AVSharedMemory> buffer);
88 void BeforeDecodeDump(uint8_t *buffer, size_t bufSize);
/kernel/linux/linux-5.10/drivers/firewire/
H A Dcore.h106 struct fw_iso_buffer *buffer,
158 int fw_iso_buffer_alloc(struct fw_iso_buffer *buffer, int page_count);
159 int fw_iso_buffer_map_dma(struct fw_iso_buffer *buffer, struct fw_card *card,
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Ddsargs.c5 * objects (regions, fields, buffer fields, etc.)
255 node = obj_desc->buffer.node; in acpi_ds_get_buffer_arguments()
258 "No pointer back to namespace node in buffer object %p", in acpi_ds_get_buffer_arguments()
268 obj_desc->buffer.aml_length, in acpi_ds_get_buffer_arguments()
269 obj_desc->buffer.aml_start); in acpi_ds_get_buffer_arguments()
H A Ddbobject.c131 acpi_os_printf("(%u)", obj_desc->buffer.length); in acpi_db_decode_internal_object()
132 for (i = 0; (i < 8) && (i < obj_desc->buffer.length); i++) { in acpi_db_decode_internal_object()
133 acpi_os_printf(" %2.2X", obj_desc->buffer.pointer[i]); in acpi_db_decode_internal_object()
406 ("No method node (Executing subtree for buffer or opregion)\n"); in acpi_db_decode_locals()
476 ("No method node (Executing subtree for buffer or opregion)\n"); in acpi_db_decode_arguments()
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/crypto/
H A Docteon-sha1.c103 memcpy(sctx->buffer + partial, data, in __octeon_sha1_update()
105 src = sctx->buffer; in __octeon_sha1_update()
116 memcpy(sctx->buffer + partial, src, len - done); in __octeon_sha1_update()
/kernel/linux/linux-5.10/arch/sparc/prom/
H A Dtree_32.c107 * 'buffer' which has a size of 'bufsize'. If the acquisition
110 int prom_getproperty(phandle node, const char *prop, char *buffer, int bufsize) in prom_getproperty() argument
120 ret = prom_nodeops->no_getprop(node, prop, buffer); in prom_getproperty()
168 * buffer.
221 char *prom_nextprop(phandle node, char *oprop, char *buffer) in prom_nextprop() argument
/kernel/linux/linux-6.6/arch/sparc/prom/
H A Dtree_32.c107 * 'buffer' which has a size of 'bufsize'. If the acquisition
110 int prom_getproperty(phandle node, const char *prop, char *buffer, int bufsize) in prom_getproperty() argument
120 ret = prom_nodeops->no_getprop(node, prop, buffer); in prom_getproperty()
168 * buffer.
221 char *prom_nextprop(phandle node, char *oprop, char *buffer) in prom_nextprop() argument
/kernel/linux/linux-5.10/drivers/media/cec/platform/s5p/
H A Dexynos_hdmi_cecctrl.c195 void s5p_cec_get_rx_buf(struct s5p_cec_dev *cec, u32 size, u8 *buffer) in s5p_cec_get_rx_buf() argument
201 buffer[i] = readb(cec->reg + S5P_CEC_RX_BUFF0 + (i * 4)); in s5p_cec_get_rx_buf()
202 sprintf(debug + i * 2, "%02x ", buffer[i]); in s5p_cec_get_rx_buf()

Completed in 21 milliseconds

1...<<231232233234235236237238239240>>...597