/drivers/peripheral/usb/ddk/host/src/ |
D | ddk_sysfs_device.c | 69 ssize_t numRead = read(fd, buf, PROPERTY_MAX_LEN); in DdkSysfsReadProperty() local 70 if (numRead <= 0) { in DdkSysfsReadProperty() 77 if (buf[numRead - 1] != '\n') { in DdkSysfsReadProperty() 83 buf[numRead - 1] = '\0'; in DdkSysfsReadProperty()
|
D | ddk_device_manager.c | 273 ssize_t numRead = read(fd, buf, STATE_STRING_LENGTH); in DdkDevMgrGetGadgetLinkStatusSafe() local 275 if (numRead <= 0) { in DdkDevMgrGetGadgetLinkStatusSafe()
|
/drivers/peripheral/audio/test/systemtest/common/hdi_service_common/src/ |
D | hdi_service_common.cpp | 352 uint64_t numRead = 0; in AudioRenderStartAndOneFrame() local 362 ret = RenderFramePrepare(AUDIO_FILE, frame, numRead); in AudioRenderStartAndOneFrame() 370 ret = render->RenderFrame(render, reinterpret_cast<int8_t *>(frame), numRead, &replyBytes); in AudioRenderStartAndOneFrame() 466 size_t numRead = 0; in FrameStart() local 490 numRead = fread(frame, readSize, 1, file); in FrameStart() 491 if (numRead == 0) { in FrameStart() 552 size_t numRead = 0; in RenderFramePrepare() local 581 numRead = fread(frame, readSizes, 1, file); in RenderFramePrepare() 582 if (numRead < 1) { in RenderFramePrepare()
|
/drivers/peripheral/audio/test/systemtest/common/adm_common/src/ |
D | audio_adm_common.cpp | 95 size_t numRead = 0; in AdmRenderFramePrepare() local 127 numRead = fread(frame, readSize, 1, file); in AdmRenderFramePrepare() 128 if (numRead < 1) { in AdmRenderFramePrepare()
|
/drivers/peripheral/audio/test/systemtest/common/adm_common/include/ |
D | audio_adm_common.h | 96 int32_t AdmRenderFramePrepare(const std::string& path, char *&frame, uint32_t& numRead, uint32_t& f…
|
/drivers/peripheral/audio/test/systemtest/common/hdi_common/src/ |
D | audio_hdi_common.cpp | 399 uint64_t numRead = 0; in AudioRenderStartAndOneFrame() local 408 ret = RenderFramePrepare(AUDIO_FILE, frame, numRead); in AudioRenderStartAndOneFrame() 416 ret = render->RenderFrame(render, frame, numRead, &replyBytes); in AudioRenderStartAndOneFrame() 529 size_t numRead = 0; in FrameStart() local 552 numRead = fread(frame, readSize, 1, file); in FrameStart() 553 if (numRead > 0) { in FrameStart() 620 size_t numRead = 0; in RenderFramePrepare() local 651 numRead = fread(frame, readSizes, 1, file); in RenderFramePrepare() 652 if (numRead < 1) { in RenderFramePrepare()
|
/drivers/peripheral/audio/test/sample/ |
D | idl_render.c | 326 size_t numRead; in FrameStart() local 344 numRead = fread(frame, 1, readSize, g_file); in FrameStart() 345 if (numRead > 0) { in FrameStart() 346 int32_t ret = render->RenderFrame(render, (int8_t *)frame, numRead, &replyBytes); in FrameStart() 351 remainingDataSize -= numRead; in FrameStart() 359 } while (!g_closeEnd && numRead > 0 && remainingDataSize > 0); in FrameStart()
|
/drivers/peripheral/audio/test/systemtest/common/hdi_service_common/include/ |
D | hdi_service_common.h | 211 int32_t RenderFramePrepare(const std::string &path, char *&frame, uint64_t &numRead);
|
/drivers/peripheral/audio/test/systemtest/supportlibs/common/render/src/ |
D | audio_librender_test.cpp | 126 size_t numRead = 0; in FrameLibStart() local 138 numRead = fread(hwRender->renderParam.frameRenderMode.buffer, readSize, 1, file); in FrameLibStart() 139 if (numRead < 1) { in FrameLibStart()
|
D | audio_alsa_librender_test.cpp | 126 size_t numRead = 0; in FrameLibStart() local 138 numRead = fread(hwRender->renderParam.frameRenderMode.buffer, readSize, 1, file); in FrameLibStart() 139 if (numRead < 1) { in FrameLibStart()
|
/drivers/peripheral/audio/test/systemtest/common/hdi_common/include/ |
D | audio_hdi_common.h | 243 int32_t RenderFramePrepare(const std::string &path, char *&frame, uint64_t &numRead);
|