/drivers/peripheral/codec/test/demo/v2.0/src/ |
H A D | codec_packet_reader.cpp | 53 // 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 D | build.py | 15 ss = file.read()
19 destss = file.read()
|
/drivers/hdf_core/adapter/khdf/uniproton/test/sample_driver/src/ |
H A D | file_test.c | 131 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 D | gpio_test.c | 179 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 D | hash_test.py | 30 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 D | mtd_block_lite.c | 89 .read = LiteosMtdBlockRead, 99 .read = LiteosMtdBlockRead,
|
/drivers/hdf_core/framework/tools/hc-gen/test/ |
H A D | hcgen_test.py | 58 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 D | osal_cdev.c | 72 return dev->opsImpl->read(filep, buffer, buflen, 0); in OsalCdevRead() 118 fops->read = src->read != NULL ? OsalCdevRead : NULL; in AssignFileOps()
|
H A D | osal_file.c | 105 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 D | buffer_helper.cpp | 71 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 D | osal_cdev.h | 27 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 D | adc_core.h | 39 int32_t (*read)(struct AdcDevice *device, uint32_t channel, uint32_t *val); member
|
/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/ |
H A D | hdi_service_test.cpp | 229 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 D | hci_protocol.cpp | 54 ssize_t ret = TEMP_FAILURE_RETRY(read(fd, data, length));
in Read() 57 HDF_LOGE("read failed err:%s", buf);
in Read()
|
H A D | bluetooth_address.cpp | 157 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 D | hci_watcher.cpp | 159 TEMP_FAILURE_RETRY(read(wakeupPipe_[0], &buff, sizeof(buff)));
in WatcherThread()
|
/drivers/hdf_core/adapter/khdf/linux/osal/src/ |
H A D | osal_cdev.c | 165 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 D | mtd_legacy_lite.h | 64 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 D | hdi_netlink_monitor.cpp | 104 len = read(fd, &buf, sizeof(buf)); 106 DISPLAY_LOGE("read uevent message fail");
|
/drivers/hdf_core/framework/support/platform/src/pcie/ |
H A D | pcie_core.c | 104 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 D | unit_test.py | 28 first_info = first_file.read()
126 expected_fail_output = target_output.read()
|
/drivers/hdf_core/framework/support/platform/include/pcie/ |
H A D | pcie_core.h | 27 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 D | hdf_command_line_server.py | 86 body_bytes = self.input_obj.read(body_len)
|
/drivers/peripheral/audio/test/sample/tools/gen_cr_by_pr/ |
H A D | gen_cr_by_pr.py | 119 json_obj = json.loads(files.read())
|
/drivers/peripheral/audio/hal/hdi_binder/server/src/ |
H A D | hdf_audio_input_event.c | 100 if (read(g_fdSets[i].fd, (void *)&evt, sizeof(evt)) < 0) { in AudioPnpInputPollAndRead() 101 AUDIO_FUNC_LOGE("[read] failed, %{public}d", errno); in AudioPnpInputPollAndRead()
|