Home
last modified time | relevance | path

Searched refs:Read (Results 1 - 25 of 33) sorted by relevance

12

/drivers/interface/display/composer/command_pack/
H A Dcommand_data_unpacker.h39 return Read<uint64_t>(value); in ReadUint64()
44 return Read<uint32_t>(value); in ReadUint32()
50 bool ret = Read<uint32_t>(intVal); in ReadUint8()
60 return Read<int32_t>(value); in ReadInt32()
66 bool ret = Read<int32_t>(intVal); in ReadBool()
149 bool Read(T& value) in Read() function in OHOS::HDI::Display::CommandDataUnpacker
154 HDF_LOGE("Read overflow, readPos=%{public}zu + %{public}zu}, packSize=%{public}zu.", in Read()
/drivers/peripheral/bluetooth/hci/hdi_service/implement/
H A Dmct_protocol.cpp62 readLen = Read(fd, eventPacket_.data() + eventReadLength_, eventPacket_.size() - eventReadLength_); in ReadEventData()
79 readLen = Read(fd, eventPacket_.data() + eventReadLength_, eventPacket_.size() - eventReadLength_); in ReadEventData()
108 readLen = Read(fd, aclPacket_.data() + aclReadLength_, aclPacket_.size() - aclReadLength_); in ReadAclData()
125 readLen = Read(fd, aclPacket_.data() + aclReadLength_, aclPacket_.size() - aclReadLength_); in ReadAclData()
H A Dh4_protocol.cpp65 readLen = Read(fd, &packetType_, sizeof(packetType_)); in ReadData()
78 readLen = Read(fd, hciPacket_.data() + readLength_, hciPacket_.size() - readLength_); in ReadData()
97 readLen = Read(fd, hciPacket_.data() + readLength_, hciPacket_.size() - readLength_); in ReadData()
H A Dhci_protocol.h41 static ssize_t Read(int fd, uint8_t *data, size_t length);
H A Dhci_protocol.cpp50 ssize_t HciProtocol::Read(int fd, uint8_t *data, size_t length) in Read() function in OHOS::HDI::Bluetooth::Hci::HciProtocol
/drivers/hdf_core/framework/model/audio/hdmi/src/
H A Daudio_hdmi_codec_adapter.c18 .Read = AudioHdmiCodecReadReg,
32 .Read = AudioHdmiCodecDaiReadReg,
/drivers/hdf_core/interfaces/inner_api/hdi/base/
H A Dhdi_smq.h111 int Read(T *data, size_t count);
131 int Read(T *data);
156 int Read(T *data, size_t count, int64_t waitTimeNanoSec);
418 int SharedMemQueue<T>::Read(T *data, size_t count) in Read() function in OHOS::HDI::Base::SharedMemQueue
420 return Read(data, count, 0); in Read()
430 int SharedMemQueue<T>::Read(T *data) in Read() function in OHOS::HDI::Base::SharedMemQueue
432 return Read(data, 1, 0); in Read()
481 int SharedMemQueue<T>::Read(T *data, size_t count, int64_t waitTimeNanoSec) in Read() function in OHOS::HDI::Base::SharedMemQueue
/drivers/hdf_core/framework/support/platform/include/uart/
H A Duart_core.h37 int32_t (*Read)(struct UartHost *host, uint8_t *data, uint32_t size); member
82 if (host == NULL || host->method == NULL || host->method->Read == NULL) { in UartHostRead()
85 return host->method->Read(host, data, size); in UartHostRead()
/drivers/hdf_core/framework/include/audio/
H A Daudio_codec_if.h80 int32_t (*Read)(const struct CodecDevice *codec, uint32_t reg, uint32_t *value); member
H A Daudio_dsp_if.h123 int32_t (*Read)(const struct DspDevice *dsp, const void *msgs, const uint32_t len); member
H A Daudio_dai_if.h158 int32_t (*Read)(const struct DaiDevice *dai, uint32_t reg, uint32_t *value); member
/drivers/peripheral/audio/supportlibs/alsa_adapter/include/
H A Dalsa_snd_capture.h46 int32_t (*Read)(struct AlsaCapture *, struct AudioHwCaptureParam *); member
/drivers/hdf_core/framework/tools/hdi-gen/util/
H A Dfile.h85 size_t Read();
H A Dfile.cpp103 size_t size = Read(); in PeekChar()
117 size_t File::Read() in Read() function in OHOS::HDI::File
/drivers/peripheral/intelligent_voice/hdi_service/engine/
H A Dintell_voice_engine_adapter_impl.h58 int32_t Read(ContentType type, sptr<Ashmem> &buffer) override;
H A Dintell_voice_engine_adapter_impl.cpp107 int32_t IntellVoiceEngineAdapterImpl::Read(ContentType type, sptr<Ashmem> &buffer) in Read() function in OHOS::IntelligentVoice::IntellVoiceEngineAdapterImpl
/drivers/peripheral/usb/test/unittest/hal/src/
H A Dusbfn_mtp_test.cpp237 * @tc.desc: Test functions to Read
238 * @tc.desc: int32_t Read(std::vector<uint8_t>& data);
253 int32_t ret = g_usbfnMtpInterface->Read(devData); in HWTEST_F()
260 * @tc.desc: Test functions to Read
261 * @tc.desc: int32_t Read(std::vector<uint8_t>& data);
276 int32_t ret = g_usbfnMtpInterface->Read(devData); in HWTEST_F()
283 * @tc.desc: Test functions to Read
284 * @tc.desc: int32_t Read(std::vector<uint8_t>& data);
299 int32_t ret = g_usbfnMtpInterface->Read(devData); in HWTEST_F()
303 ret = g_usbfnMtpInterface->Read(devDat in HWTEST_F()
[all...]
/drivers/hdf_core/adapter/uhdf2/host/test/unittest/sample_driver/
H A Dsample_hdi_service.cpp164 ret = smqLocal->Read(&t[0], elemLocal, OHOS::MillisecToNanosec(SMQ_TRANS_WAIT_TIME)); in SampleServiceTansSmq()
/drivers/hdf_core/framework/model/audio/core/src/
H A Daudio_core.c347 if (dai == NULL || dai->devData == NULL || dai->devData->Read == NULL || val == NULL) { in AudioDaiReadReg()
352 ret = dai->devData->Read(dai, reg, val); in AudioDaiReadReg()
380 if (codec == NULL || codec->devData == NULL || codec->devData->Read == NULL || val == NULL) { in AudioCodecReadReg()
385 ret = codec->devData->Read(codec, reg, val); in AudioCodecReadReg()
429 ADM_LOG_ERR("Read reg fail ret=%d.", ret); in AudioUpdateCodecRegBits()
473 ADM_LOG_ERR("Read reg fail ret=%d.", ret); in AudioUpdateDaiRegBits()
850 ADM_LOG_ERR("Read Codec Reg fail."); in AudioCodecGetCtrlOps()
880 ADM_LOG_ERR("Read Reg fail."); in AudioCodecGetEnumCtrlOps()
1113 ADM_LOG_ERR("Read dai Reg fail."); in AudioCpuDaiGetCtrlOps()
/drivers/hdf_core/framework/sample/platform/uart/src/
H A Duart_sample.c54 .Read = NULL,
/drivers/peripheral/usb/gadget/function/mtp/include/
H A Dusbfn_mtp_impl.h172 int32_t Read(std::vector<uint8_t> &data) override;
/drivers/hdf_core/adapter/khdf/linux/platform/uart/
H A Duart_adapter.c499 .Read = UartAdapterRead,
/drivers/hdf_core/framework/test/unittest/model/audio/src/
H A Daudio_core_test.c178 codecData.Read = AudioDeviceReadRegMock; in AudioUpdateCodecRegBitsTest()
/drivers/peripheral/audio/supportlibs/alsa_adapter/src/
H A Dalsa_lib_capture.c335 ret = captureIns->Read(captureIns, handleData); in AudioOutputCaptureRead()
/drivers/hdf_core/adapter/platform/uart/
H A Duart_gr5xx.c498 .Read = UartHostDevRead,

Completed in 16 milliseconds

12