/drivers/hdf_core/adapter/khdf/liteos/osal/src/ |
D | osal_file.c | 40 int32_t OsalFileOpen(OsalFile *file, const char *path, int flags, uint32_t rights) in OsalFileOpen() 67 ssize_t OsalFileWrite(OsalFile *file, const void *string, uint32_t length) in OsalFileWrite() 85 void OsalFileClose(OsalFile *file) in OsalFileClose() 96 ssize_t OsalFileRead(OsalFile *file, void *buf, uint32_t length) in OsalFileRead() 114 off_t OsalFileLseek(OsalFile *file, off_t offset, int32_t whence) in OsalFileLseek()
|
/drivers/hdf_core/adapter/khdf/linux/osal/src/ |
D | osal_file.c | 26 int32_t OsalFileOpen(OsalFile *file, const char *path, int flags, uint32_t rights) in OsalFileOpen() 48 ssize_t OsalFileWrite(OsalFile *file, const void *string, uint32_t length) in OsalFileWrite() 70 void OsalFileClose(OsalFile *file) in OsalFileClose() 84 ssize_t OsalFileRead(OsalFile *file, void *buf, uint32_t length) in OsalFileRead() 106 off_t OsalFileLseek(OsalFile *file, off_t offset, int32_t whence) in OsalFileLseek()
|
/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
D | c_service_impl_code_emitter.cpp | 61 File file(filePath, File::WRITE); in EmitLowServiceImplHeaderFile() local 89 for (const auto &file : headerFiles) { in EmitLowServiceImplInclusions() local 106 File file(filePath, File::WRITE); in EmitLowServiceImplSourceFile() local 154 File file(filePath, File::WRITE); in EmitServiceImplHeaderFile() local 193 for (const auto &file : headerFiles) { in EmitServiceImplHeaderInclusions() local 214 File file(filePath, File::WRITE); in EmitServiceImplSourceFile() local 257 for (const auto &file : headerFiles) { in EmitServiceImplSourceInclusions() local
|
D | c_service_driver_code_emitter.cpp | 61 File file(filePath, File::WRITE); in EmitLowDriverSourceFile() local 91 for (const auto &file : headerFiles) { in EmitLowDriverInclusions() local 133 File file(filePath, File::WRITE); in EmitDriverSourceFile() local 181 for (const auto &file : headerFiles) { in EmitDriverInclusions() local
|
D | cpp_custom_types_code_emitter.cpp | 50 File file(filePath, File::WRITE); in EmitPassthroughCustomTypesHeaderFile() local 82 for (const auto &file : headerFiles) { in EmitPassthroughHeaderFileInclusions() local 91 File file(filePath, File::WRITE); in EmitCustomTypesHeaderFile() local 130 for (const auto &file : headerFiles) { in EmitHeaderFileInclusions() local 218 File file(filePath, File::WRITE); in EmitCustomTypesSourceFile() local 249 for (const auto &file : headerFiles) { in EmitSourceFileInclusions() local
|
D | cpp_service_impl_code_emitter.cpp | 49 File file(filePath, File::WRITE); in EmitImplHeaderFile() local 72 for (const auto &file : headerFiles) { in EmitServiceImplInclusions() local 141 File file(filePath, File::WRITE); in EmitImplSourceFile() local 166 for (const auto &file : headerFiles) { in EmitImplSourceInclusions() local
|
D | c_interface_code_emitter.cpp | 53 File file(filePath, File::WRITE); in EmitLowModeInterfaceHeaderFile() local 99 File file(filePath, File::WRITE); in EmitInterfaceHeaderFile() local 143 for (const auto &file : headerFiles) { in EmitImportInclusions() local
|
D | cpp_service_driver_code_emitter.cpp | 44 File file(filePath, File::WRITE); in EmitDriverSourceFile() local 82 for (const auto &file : headerFiles) { in EmitDriverInclusions() local
|
D | c_custom_types_code_emitter.cpp | 54 File file(filePath, File::WRITE); in EmitPassthroughCustomTypesHeaderFile() local 82 for (const auto &file : headerFiles) { in EmitPassthroughHeaderInclusions() local 91 File file(filePath, File::WRITE); in EmitCustomTypesHeaderFile() local 126 for (const auto &file : headerFiles) { in EmitHeaderInclusions() local 215 File file(filePath, File::WRITE); in EmitCustomTypesSourceFile() local 241 for (const auto &file : headerFiles) { in EmitSoucreInclusions() local
|
D | cpp_client_proxy_code_emitter.cpp | 53 File file(filePath, File::WRITE); in EmitProxyHeaderFile() local 86 for (const auto &file : headerFiles) { in EmitProxyHeaderInclusions() local 204 File file(filePath, File::WRITE); in EmitPassthroughProxySourceFile() local 238 for (const auto &file : headerFiles) { in EmitPassthroughProxySourceInclusions() local 258 File file(filePath, File::WRITE); in EmitProxySourceFile() local 295 for (const auto &file : headerFiles) { in EmitProxySourceInclusions() local
|
D | cpp_service_stub_code_emitter.cpp | 43 File file(filePath, File::WRITE); in EmitStubHeaderFile() local 72 for (const auto &file : headerFiles) { in EmitStubHeaderInclusions() local 179 File file(filePath, File::WRITE); in EmitStubSourceFile() local 215 for (const auto &file : headerFiles) { in EmitStubSourceInclusions() local
|
D | cpp_interface_code_emitter.cpp | 48 File file(filePath, File::WRITE); in EmitInterfaceHeaderFile() local 90 for (const auto &file : headerFiles) { in EmitInterfaceInclusions() local
|
D | c_service_stub_code_emitter.cpp | 50 File file(filePath, File::WRITE); in EmitServiceStubHeaderFile() local 87 for (const auto &file : headerFiles) { in EmitStubHeaderInclusions() local 116 File file(filePath, File::WRITE); in EmitServiceStubSourceFile() local 171 for (const auto &file : headerFiles) { in EmitStubSourceInclusions() local
|
/drivers/hdf_core/framework/test/unittest/osal/ |
D | osal_file_test.c | 33 static void OsalPutWriteAccess(OsalFile *file) in OsalPutWriteAccess() 47 OsalFile file; in OsalTestFileInit() local
|
/drivers/hdf_core/adapter/khdf/linux/platform/fwk/ |
D | platform_trace.c | 111 static ssize_t TraceFileWrite(OsalFile *file, const char *string, uint32_t length) in TraceFileWrite() 137 static ssize_t TraceFileRead(OsalFile *file, char *buf, uint32_t length) in TraceFileRead() 167 OsalFile file; in TraceEventFileWrite() local 211 OsalFile file; in PlatformTraceInfoDump() local
|
/drivers/peripheral/audio/test/sample/ |
D | framework_common.c | 85 int32_t CheckWavFileHeader(FILE *file, struct AudioHeadInfo *wavHeadInfo, struct AudioSampleAttribu… in CheckWavFileHeader() 133 int32_t AddWavFileHeader(FILE *file, const struct StrParaCapture *strParam) in AddWavFileHeader() 234 void FileClose(FILE **file) in FileClose()
|
/drivers/peripheral/usb/test/moduletest/common/ |
D | usb_utils.cpp | 25 bool HasLog(const string &target, double startTs, const string &file) in HasLog() 120 void CalcProcInfoFromFile(struct ProcInfo &info, const string &file) in CalcProcInfoFromFile() 151 double GetTsFromLog(const string &target, double startTs, const string &file) in GetTsFromLog()
|
/drivers/peripheral/audio/test/systemtest/common/lib_common/src/ |
D | audio_lib_common.cpp | 151 FILE *file = fopen(path.c_str(), "wb+"); in CaptureReqMmapBufferInit() local 187 FILE *file = fopen(absPath, "rb+"); in RenderReqMmapBufferInit() local
|
/drivers/peripheral/audio/test/systemtest/common/hdi_service_common/src/ |
D | hdi_service_common.cpp | 172 int32_t WavHeadAnalysis(struct AudioHeadInfo &wavHeadInfo, FILE *file, struct AudioSampleAttributes… in WavHeadAnalysis() 425 FILE *file = fopen(AUDIO_CAPTURE_FILE.c_str(), "wb+"); in AudioCaptureStartAndOneFrame() local 462 int32_t FrameStart(struct AudioHeadInfo wavHeadInfo, struct IAudioRender *render, FILE *file, in FrameStart() 507 int32_t FrameStartCapture(struct IAudioCapture *capture, FILE *file, const struct AudioSampleAttrib… in FrameStartCapture() 563 FILE *file = fopen(absPath, "rb"); in RenderFramePrepare() local 622 int32_t StartRecord(struct IAudioCapture *capture, FILE *file, uint64_t filesize) in StartRecord() 699 FILE *file = fopen(absPath, "rb"); in PlayAudioFile() local 732 FILE *file = fopen(audiopara.path, "wb+"); in RecordAudio() local
|
/drivers/peripheral/audio/test/systemtest/common/hdi_common/src/ |
D | audio_hdi_common.cpp | 218 int32_t WavHeadAnalysis(struct AudioHeadInfo &wavHeadInfo, FILE *file, struct AudioSampleAttributes… in WavHeadAnalysis() 481 FILE *file = fopen(AUDIO_CAPTURE_FILE.c_str(), "wb+"); in AudioCreateStartCapture() local 512 FILE *file = fopen(AUDIO_CAPTURE_FILE.c_str(), "wb+"); in AudioCaptureStartAndOneFrame() local 525 int32_t FrameStart(struct AudioHeadInfo wavHeadInfo, struct AudioRender *render, FILE *file, in FrameStart() 576 int32_t FrameStartCapture(struct AudioCapture *capture, FILE *file, const struct AudioSampleAttribu… in FrameStartCapture() 634 FILE *file = fopen(absPath, "rb"); in RenderFramePrepare() local 668 int32_t StartRecord(struct AudioCapture *capture, FILE *file, uint64_t filesize) in StartRecord() 924 FILE *file = fopen(absPath, "rb"); in PlayAudioFile() local 979 FILE *file = fopen(audiopara.path, "wb+"); in RecordAudio() local
|
/drivers/peripheral/audio/test/systemtest/hdi_service/common/capture/src/ |
D | audio_idl_hdicapture_control_test.cpp | 486 FILE *file = fopen(path, "wb+"); variable 525 FILE *file = fopen(pathBuf, "wb+"); variable
|
/drivers/peripheral/audio/test/systemtest/supportlibs/common/render/src/ |
D | audio_librender_test.cpp | 120 int32_t AudioLibRenderTest::FrameLibStart(FILE *file, struct AudioSampleAttributes attrs, in FrameLibStart() 167 FILE *file = fopen(absPath, "rb"); in LibStartAndStream() local 528 FILE *file = fopen(absPath, "rb"); variable
|
D | audio_alsa_librender_test.cpp | 120 int32_t AudioAlsaLibRenderTest::FrameLibStart(FILE *file, struct AudioSampleAttributes attrs, in FrameLibStart() 522 FILE *file = fopen(absPath, "rb"); variable 563 FILE *file = fopen(absPath, "rb"); variable
|
/drivers/hdf_core/framework/test/unittest/platform/common/ |
D | i2s_test.c | 126 OsalFile file; in I2sPlayTest() local 163 OsalFile file; in I2sRecordTest() local
|
/drivers/peripheral/power/test/unittest/src/ |
D | hdf_power_hdi_test.cpp | 47 std::string HdfPowerHdiTest::ReadFile(const std::string& file) in ReadFile()
|