Home
last modified time | relevance | path

Searched refs:read (Results 1 - 25 of 73) sorted by relevance

123

/drivers/peripheral/codec/test/demo/v2.0/src/
H A Dcodec_packet_reader.cpp53 // read start code first in ReadOnePacket()
54 ioIn.read(buf, START_CODE_SIZE_FRAME); in ReadOnePacket()
63 ioIn.read(temp, 1); in ReadOnePacket()
90 ioIn.read(buf, START_CODE_SIZE_SLICE); in ReadOnePacket()
100 ioIn.read(temp, 1); in ReadOnePacket()
127 ioIn.read(reinterpret_cast<char *>(&filledCount), sizeof(filledCount)); in ReadOnePacket()
132 ioIn.read(buf, filledCount); in ReadOnePacket()
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/
H A Dbuild.py15 ss = file.read()
19 destss = file.read()
/drivers/hdf_core/adapter/khdf/uniproton/test/sample_driver/src/
H A Dfile_test.c131 size = read(wfd, readBuf, strlen(writeBuf)); in fs_test3()
132 printf("read %s, return %d\n", readBuf, size); in fs_test3()
133 size = read(wfd, readBuf, strlen(writeBuf) + TEST_WR_LEN_20); in fs_test3()
134 printf("read %s, return %d\n", readBuf, size); in fs_test3()
135 size = read(wfd, readBuf, TEST_WR_LEN_10); in fs_test3()
136 printf("read %s, return %d\n", readBuf, size); in fs_test3()
139 size = read(wfd, readBuf, i); in fs_test3()
140 printf("read %s, return %d\n", readBuf, size); in fs_test3()
H A Dgpio_test.c179 uint16_t read; in TestCaseGpioWriteRead() local
189 ret = GpioRead(gpio, &read); in TestCaseGpioWriteRead()
201 ret = GpioRead(gpio, &read); in TestCaseGpioWriteRead()
/drivers/hdf_core/framework/tools/hdi-gen/test/hash_test/
H A Dhash_test.py30 first_hash_info = first_hash_file.read()
31 second_hash_info = second_hash_file.read()
76 result_hash_info = result_hash_file.read().rstrip()
/drivers/hdf_core/adapter/khdf/liteos/model/storage/src/mtd/
H A Dmtd_block_lite.c89 .read = LiteosMtdBlockRead,
99 .read = LiteosMtdBlockRead,
/drivers/hdf_core/framework/tools/hc-gen/test/
H A Dhcgen_test.py58 a_content = f_a.read().replace(r'\r\n', r'\n')
59 b_content = f_b.read().replace(r'\r\n', r'\n')
70 a_content = f_a.read()
71 b_content = f_b.read()
122 console_output = result_file.read()
/drivers/hdf_core/adapter/khdf/liteos/osal/src/
H A Dosal_cdev.c72 return dev->opsImpl->read(filep, buffer, buflen, 0); in OsalCdevRead()
118 fops->read = src->read != NULL ? OsalCdevRead : NULL; in AssignFileOps()
H A Dosal_file.c105 ret = read((int32_t)(uintptr_t)file->realFile, buf, length); in OsalFileRead()
107 HDF_LOGE("%s read file fail %u %d", __func__, length, errno); in OsalFileRead()
/drivers/peripheral/codec/test/demo/heif/src/
H A Dbuffer_helper.cpp71 ifs.read(dst, pixelInfo.alignedWidth * BYTES_PER_PIXEL_YUV); in CopyYuvData()
76 ifs.read(dst, pixelInfo.alignedWidth * BYTES_PER_PIXEL_YUV); in CopyYuvData()
91 ifs.read(dst, pixelInfo.alignedWidth * BYTES_PER_PIXEL_YUV); in CopyYuvData()
102 ifs.read(dst, pixelInfo.alignedWidth * BYTES_PER_PIXEL_RBGA); in CopyRgbaData()
192 ifs.read(reinterpret_cast<char*>(addr), totalSize); in CreateSharedBuffer()
280 ifs.read(reinterpret_cast<char*>(p) + offset, fileSize); in AddDataFromFile()
/drivers/hdf_core/framework/include/osal/
H A Dosal_cdev.h27 ssize_t (*read)(struct file *filep, char __user *buffer, size_t buflen, int64_t *offset); member
/drivers/hdf_core/framework/support/platform/include/adc/
H A Dadc_core.h39 int32_t (*read)(struct AdcDevice *device, uint32_t channel, uint32_t *val); member
/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/
H A Dhdi_service_test.cpp229 readSize = read(fd, buf, sizeof(buf) - 1); in ReadTemperatureSysfs()
231 BATTERY_HILOGE(LABEL_TEST, "failed to read TemperatureSysfs"); in ReadTemperatureSysfs()
239 BATTERY_HILOGE(LABEL_TEST, "read system file temperature is %{public}d", battTemperature); in ReadTemperatureSysfs()
241 BATTERY_HILOGE(LABEL_TEST, "read system file temperature is %{public}d", battTemperature); in ReadTemperatureSysfs()
266 readSize = read(fd, buf, sizeof(buf) - 1); in ReadVoltageSysfs()
268 BATTERY_HILOGE(LABEL_TEST, "failed to read VoltageSysfs"); in ReadVoltageSysfs()
276 BATTERY_HILOGE(LABEL_TEST, "read system file voltage is %{public}d", battVoltage); in ReadVoltageSysfs()
278 BATTERY_HILOGE(LABEL_TEST, "read system file voltage is %{public}d", battVoltage); in ReadVoltageSysfs()
303 readSize = read(fd, buf, sizeof(buf) - 1); in ReadCapacitySysfs()
305 BATTERY_HILOGE(LABEL_TEST, "failed to read CapacitySysf in ReadCapacitySysfs()
[all...]
/drivers/peripheral/bluetooth/hci/hdi_service/implement/
H A Dhci_protocol.cpp54 ssize_t ret = TEMP_FAILURE_RETRY(read(fd, data, length)); in Read()
57 HDF_LOGE("read failed err:%s", buf); in Read()
H A Dbluetooth_address.cpp157 if (read(addrFd, addressStr, ADDRESS_STR_LEN) != ADDRESS_STR_LEN) { in GetDeviceAddress()
158 HDF_LOGE("read %{public}s failed.", path.c_str()); in GetDeviceAddress()
187 if (read(fd, &ptr->address_[prefixCount], ADDRESS_SIZE - prefixCount) != ADDRESS_SIZE - prefixCount) { in GenerateDeviceAddress()
189 HDF_LOGE("read /dev/urandom failed err:%{public}s.", buf); in GenerateDeviceAddress()
H A Dhci_watcher.cpp159 TEMP_FAILURE_RETRY(read(wakeupPipe_[0], &buff, sizeof(buff))); in WatcherThread()
/drivers/hdf_core/adapter/khdf/linux/osal/src/
H A Dosal_cdev.c165 return dev->opsImpl->read(filep, buf, buflen, offset); in OsalCdevRead()
201 fops->read = src->read != NULL ? OsalCdevRead : NULL; in AssignFileOps()
/drivers/hdf_core/adapter/khdf/liteos/model/storage/include/mtd/
H A Dmtd_legacy_lite.h64 int (*read)(struct mtd_info *mtd, off_t from, size_t len, size_t *retlen, char *buf); member
/drivers/peripheral/display/composer/vdi_base/src/
H A Dhdi_netlink_monitor.cpp104 len = read(fd, &buf, sizeof(buf));
106 DISPLAY_LOGE("read uevent message fail");
/drivers/hdf_core/framework/support/platform/src/pcie/
H A Dpcie_core.c104 HDF_LOGE("PcieCntlrParse: read busNum fail!"); in PcieCntlrParse()
110 HDF_LOGE("PcieCntlrParse: read vendorId fail!"); in PcieCntlrParse()
116 HDF_LOGE("PcieCntlrParse: read devId fail!"); in PcieCntlrParse()
126 if (cntlr == NULL || cntlr->ops == NULL || cntlr->ops->read == NULL) { in PcieCntlrRead()
136 ret = cntlr->ops->read(cntlr, mode, pos, data, len); in PcieCntlrRead()
/drivers/hdf_core/framework/tools/hdi-gen/test/unittest/
H A Dunit_test.py28 first_info = first_file.read()
126 expected_fail_output = target_output.read()
/drivers/hdf_core/framework/support/platform/include/pcie/
H A Dpcie_core.h27 int32_t (*read)(struct PcieCntlr *cntlr, uint32_t mode, uint32_t pos, uint8_t *data, uint32_t len); member
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
H A Dhdf_command_line_server.py86 body_bytes = self.input_obj.read(body_len)
/drivers/peripheral/audio/test/sample/tools/gen_cr_by_pr/
H A Dgen_cr_by_pr.py119 json_obj = json.loads(files.read())
/drivers/peripheral/audio/hal/hdi_binder/server/src/
H A Dhdf_audio_input_event.c100 if (read(g_fdSets[i].fd, (void *)&evt, sizeof(evt)) < 0) { in AudioPnpInputPollAndRead()
101 AUDIO_FUNC_LOGE("[read] failed, %{public}d", errno); in AudioPnpInputPollAndRead()

Completed in 9 milliseconds

123