Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 49) sorted by relevance

12

/drivers/hdf_core/adapter/khdf/liteos/osal/src/
Dosal_file.c40 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/
Dosal_file.c26 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/
Dc_service_impl_code_emitter.cpp61 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
Dc_service_driver_code_emitter.cpp61 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
Dcpp_custom_types_code_emitter.cpp50 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
Dcpp_service_impl_code_emitter.cpp49 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
Dc_interface_code_emitter.cpp53 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
Dcpp_service_driver_code_emitter.cpp44 File file(filePath, File::WRITE); in EmitDriverSourceFile() local
82 for (const auto &file : headerFiles) { in EmitDriverInclusions() local
Dc_custom_types_code_emitter.cpp54 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
Dcpp_client_proxy_code_emitter.cpp53 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
Dcpp_service_stub_code_emitter.cpp43 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
Dcpp_interface_code_emitter.cpp48 File file(filePath, File::WRITE); in EmitInterfaceHeaderFile() local
90 for (const auto &file : headerFiles) { in EmitInterfaceInclusions() local
Dc_service_stub_code_emitter.cpp50 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/
Dosal_file_test.c33 static void OsalPutWriteAccess(OsalFile *file) in OsalPutWriteAccess()
47 OsalFile file; in OsalTestFileInit() local
/drivers/hdf_core/adapter/khdf/linux/platform/fwk/
Dplatform_trace.c111 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/
Dframework_common.c85 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/
Dusb_utils.cpp25 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/
Daudio_lib_common.cpp151 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/
Dhdi_service_common.cpp172 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/
Daudio_hdi_common.cpp218 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/
Daudio_idl_hdicapture_control_test.cpp486 FILE *file = fopen(path, "wb+"); variable
525 FILE *file = fopen(pathBuf, "wb+"); variable
/drivers/peripheral/audio/test/systemtest/supportlibs/common/render/src/
Daudio_librender_test.cpp120 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
Daudio_alsa_librender_test.cpp120 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/
Di2s_test.c126 OsalFile file; in I2sPlayTest() local
163 OsalFile file; in I2sRecordTest() local
/drivers/peripheral/power/test/unittest/src/
Dhdf_power_hdi_test.cpp47 std::string HdfPowerHdiTest::ReadFile(const std::string& file) in ReadFile()

12