Home
last modified time | relevance | path

Searched refs:FILE (Results 1 – 25 of 95) sorted by relevance

1234

/test/xts/acts/kernel_lite/io_posix/src/
DIoTestStdio.cpp37 FILE *fp = nullptr;
73 FILE *fp = fmemopen(buf, sizeof(buf), "r");
89 FILE *fp = nullptr;
117 FILE *fp = nullptr;
140 FILE *fp = nullptr;
163 FILE *fp = nullptr;
179 int FormatVfprintf(FILE *stream, char *format, ...) in FormatVfprintf()
188 int FormatVfscanf(FILE *stream, const char *format, ...) in FormatVfscanf()
204 FILE *fp = nullptr;
227 FILE *fp = nullptr;
[all …]
DIoTestWchar.cpp26 int FormatVfwscanf(FILE *fp, const wchar_t *format, ...) in FormatVfwscanf()
35 int FormatVfwprintf(FILE *fp, const wchar_t *format, ...) in FormatVfwprintf()
51 FILE *fp = nullptr;
75 FILE *fp = nullptr;
99 FILE *fp = nullptr;
124 FILE *fp = nullptr;
145 FILE *fp = nullptr;
164 FILE *fp = nullptr;
185 FILE *fp = nullptr;
204 FILE *fp = nullptr;
[all …]
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
Dstdioextndk.cpp54 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); in Flbf()
71 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); in Fwriting()
88 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); in Fpending()
105 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); in FBufSize()
122 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); in Fpurge()
139 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); in Freadable()
156 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); in Freading()
187 FILE *file = fopen("/data/storage/el2/base/files/fzl.txt", "a+"); in Fwritable()
205 FILE *file = fopen(path, mode); in DPrintf()
219 FILE *stream = fopen(path, mode); in FEof_unlocked()
[all …]
Dstdiondk1.cpp60 extern "C" char *__fgets_chk(char *, int, FILE *, size_t);
63 FILE *fp = fopen(g_tempFile, "w+"); in Fgets_chk_One()
79 extern "C" size_t __fread_chk(void *, size_t, size_t, FILE *, size_t);
82 FILE *fp = fopen(g_tempFile, "w+"); in Fread_Chk_One()
101 FILE *fp = fdopen(fd, "w+"); in Pwrite_Chk_One()
119 FILE *fp = fopen(g_tempFile, "w+"); in Readlinkat_Chk_One()
197 FILE *fp = fdopen(fd, "w+"); in Write_Chk_One()
231 FILE *fp = fdopen(fd, "r+"); in ClearErr_One()
253 FILE *fp = fdopen(fd, "r+"); in Clearerr_Unlocked_One()
275 FILE *fp = fdopen(fd, "w"); in Dprintf_One()
[all …]
Dstdioextndk1.cpp37 FILE *fp = nullptr; in FBufSize_One()
60 FILE *fp = nullptr; in FBufSize_Two()
84 FILE *fp = nullptr; in Flbf_One()
107 FILE *fp = nullptr; in Flbf_Two()
130 FILE *fp = nullptr; in Flbf_Three()
152 FILE *fp = nullptr; in Fpending_One()
174 FILE *fp = nullptr; in Fpending_Two()
198 FILE *fp = nullptr; in Fpurge_One()
222 FILE *fp = nullptr; in Freadable_One()
243 FILE *fp = nullptr; in Freadable_Two()
[all …]
Dstdiondk.cpp83 extern "C" size_t __fread_chk(void *, size_t, size_t, FILE *, size_t);
84 extern "C" char *__fgets_chk(char *, int, FILE *, size_t);
96 FILE *f = fopen(STR_VFSCANF_TXT, "w+"); in Setbuf()
108 FILE *f = fopen(STR_VFSCANF_TXT, "w+"); in Setbuffer()
120 FILE *f = fopen(STR_VFSCANF_TXT, "w+"); in Setlinebuf()
178 FILE *stream = fopen(path, "r"); in Feof()
198 FILE *f = tmpfile(); in Tmpfile()
210 FILE *f = tmpfile64(); in Tmpfile64()
336 FILE *fp = fmemopen(helloWorld, sizeof(helloWorld), "r"); in FgetsChk()
350 FILE *file; in Fread_chk()
[all …]
Dmntentndk.cpp39 FILE *ffp = setmntent("/data/storage/el2/base/files", "r"); in Setmntent()
68 FILE *mtab = nullptr; in getmntenttest()
91 FILE *mtab = nullptr; in GetmntentRtest()
Dwcharndk1.cpp122 FILE *fp = fopen(TEMP_FILE, "w"); in Fputwc_One()
138 FILE *fp = fopen(TEMP_FILE, "w+"); in Fputws_One()
157 FILE *fp = fopen(TEMP_FILE, "w+"); in Fwide_One()
173 FILE *fp = fopen(TEMP_FILE, "w+"); in Fwide_Two()
224 FILE *fp = fdopen(fd, "w+"); in Fwscanf_One()
244 FILE *fp = fdopen(fd, "w+"); in Fwscanf_Two()
368 FILE *fp = open_wmemstream(&ptr, &len); in OpenWmemstream_One()
383 FILE *fp = fopen(TEMP_FILE, "w"); in Putwc_One()
430 FILE *fp = fopen(TEMP_FILE, "w+"); in Ungetwc_One()
1033 int Vfwprintf_Test(FILE *stream, const wchar_t *format, ...) in Vfwprintf_Test()
[all …]
Dmntentndk1.cpp37 FILE *fp = nullptr; in GetMnTent()
88 FILE *fp = nullptr; in GetMnTentR()
/test/xts/device_attest_lite/services/core/small/utils/
Dattest_utils_file_detail.c51 FILE* fp = fopen(formatPath, "r"); in GetFileSize()
88 FILE* fp = fopen(formatPath, "wb+"); in WriteFile()
147 FILE* fp = fopen(formatPath, "rb"); in ReadFile()
191 FILE* fp = fopen(realPath, "w"); in CreateFile()
230 FILE* fp = fopen(formatPath, "r"); in IsFileExist()
/test/xts/device_attest/services/core/utils/
Dattest_utils_file.c68 FILE* fp = fopen(formatPath, "r"); in GetFileSize()
106 FILE* fp = fopen(formatPath, "wb+"); in WriteFile()
160 FILE* fp = fopen(formatPath, "rb"); in ReadFile()
196 FILE* fp = fopen(realPath, "w"); in CreateFileImpl()
255 FILE* fp = fopen(formatPath, "r"); in IsFileExist()
/test/xts/acts/multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/cpp/
DnativeAVScreenCapturendk.cpp371 …nCaptureNdkTestCallback(OH_AVScreenCapture *ScreenCapture, FILE *audioFile, FILE *iFile, FILE *vid… in ScreenCaptureNdkTestCallback()
380 FILE *aFile = nullptr;
381 FILE *innerFile = nullptr;
382 FILE *vFile = nullptr;
456 FILE *OpenAFile(FILE *audioFile, string filename) in OpenAFile()
463 void CloseFile(FILE *audioFile, FILE *videoFile) in CloseFile()
539 FILE *audioFile = nullptr; in OriginAVScreenCaptureTest()
/test/xts/device_attest/services/oem_adapter/src/
Ddevice_attest_oem_file.c66 FILE* fp = fopen(formatPath, "r"); in OEMGetFileSize()
102 FILE* fp = fopen(formatPath, "wb+"); in OEMWriteFile()
150 FILE* fp = fopen(formatPath, "rb"); in OEMReadFile()
185 FILE* fp = fopen(realPath, "w"); in OEMCreateFileImpl()
/test/xts/acts/multimedia/audio/audio_cpp_standard/openslesRecorderNdk/
DActsOpenslesRecoderNdkTest.cpp48 static SLresult CaptureStart(SLRecordItf sRecordItf, SLOHBufferQueueItf sBufferQueueItf, FILE *wavF…
56 FILE *wavFile_ = nullptr;
148 FILE *wavFile = (FILE *)pContext; in BufferQueueCallback()
175 static SLresult CaptureStart(SLRecordItf sRecordItf, SLOHBufferQueueItf sBufferQueueItf, FILE *wavF… in CaptureStart()
/test/xts/hats/kernel/mmap_v/
DMmapVApiTest.cpp75 FILE *fp = fopen(entry.c_str(), "w"); in SetProc()
85 FILE *fp = fopen(entry.c_str(), "r"); in FetchProc()
118 FILE *fp; in TstSmaps()
152 FILE *fp = fopen("/proc/self/reclaim", "w"); in ForceReclaim()
/test/xts/acts/kernel_lite/utils/
Dlibfs.cpp94 FILE *srcFp = fopen(srcFile, "rb"); in CopyFile()
99 FILE *dstFp = fopen(dstFile, "wb"); in CopyFile()
/test/xts/hats/kernel/posix_interface/interface_gn/utils/
Dlibfs.cpp97 FILE *srcFp = fopen(srcFile, "rb"); in CopyFile()
102 FILE *dstFp = fopen(dstFile, "wb"); in CopyFile()
/test/xts/acts/kernel_lite/sys_posix/src/
DSysApiTest.cpp552 FILE *fp1 = fopen(SYS_TEST_FILE_01, "r"); in CheckStdPrint()
571 FILE *fp = freopen(SYS_TEST_FILE_01, "w", stderr);
596 FILE *fp = freopen(SYS_TEST_FILE_01, "w", stderr);
621 FILE *fp = freopen(SYS_TEST_FILE_01, "w", stderr);
646 FILE *fp = freopen(SYS_TEST_FILE_01, "w", stderr);
/test/xts/acts/multimedia/audio/audio_cpp_standard/openslesPlayerNdk/
DActsOpenslesPlayerNdkTest.cpp62 static SLuint32 PlayerStart(SLPlayItf sPlayItf, SLOHBufferQueueItf sBufferQueueItf, FILE *wavFile);
73 FILE *wavFile_ = nullptr;
74 FILE *wavFile1_ = nullptr;
75 FILE *wavFile2_ = nullptr;
347 FILE *wavFile = (FILE *)pContext; in BuqqerQueueCallback()
366 static SLresult PlayerStart(SLPlayItf sPlayItf, SLOHBufferQueueItf sBufferQueueItf, FILE *wavFile) in PlayerStart()
/test/xts/acts/kernel_lite/process_posix/src/
DProcessTest.cpp75 FILE *fp = fopen(testFile, "w+");
87 FILE *fp = fopen(testFile, "r+");
185 FILE *fp = fopen(testFile, "w+");
197 FILE *fp = fopen(testFile, "r+");
/test/ostest/wukong/common/include/
Dcommon.h25 if (FILE* fp = popen(cmd.c_str(), "r")) { in runProcess()
/test/testfwk/developer_test/local_coverage/code_coverage/coverage_rc/
Dlcovrc_cov_template77 # Use FILE as HTML prolog for generated pages (same as --html-prolog option of
79 # genhtml_html_prolog = FILE
81 # Use FILE as HTML epilog for generated pages (same as --html-epilog option of
83 # genhtml_html_epilog = FILE
/test/xts/device_attest/services/devattest_ability/test/unittest/src/
Ddevattest_service_test.cpp52 FILE* fp = fopen(filePath, "r"); in IsTicketFileExist()
/test/xts/acts/ai/mindspore/mindsporectest/src/
Dohos_common.h51 void getDimInfo(FILE *fp, std::vector<int64_t>* dim_info);
/test/xts/acts/hiviewdfx/utils/native/
Dfile_utils.cpp51 FILE *pp = popen(cmd.c_str(), "r"); in ExecCmdWithRet()
165 FILE *fd = fopen(filename.c_str(), "r"); in GetTxtLine()

1234