Home
last modified time | relevance | path

Searched refs:numRead (Results 1 – 11 of 11) sorted by relevance

/drivers/peripheral/usb/ddk/host/src/
Dddk_sysfs_device.c69 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()
Dddk_device_manager.c273 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/
Dhdi_service_common.cpp352 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/
Daudio_adm_common.cpp95 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/
Daudio_adm_common.h96 int32_t AdmRenderFramePrepare(const std::string& path, char *&frame, uint32_t& numRead, uint32_t& f…
/drivers/peripheral/audio/test/systemtest/common/hdi_common/src/
Daudio_hdi_common.cpp399 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/
Didl_render.c326 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/
Dhdi_service_common.h211 int32_t RenderFramePrepare(const std::string &path, char *&frame, uint64_t &numRead);
/drivers/peripheral/audio/test/systemtest/supportlibs/common/render/src/
Daudio_librender_test.cpp126 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()
Daudio_alsa_librender_test.cpp126 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/
Daudio_hdi_common.h243 int32_t RenderFramePrepare(const std::string &path, char *&frame, uint64_t &numRead);