Home
last modified time | relevance | path

Searched refs:srcFp (Results 1 – 2 of 2) sorted by relevance

/test/xts/acts/kernel_lite/utils/
Dlibfs.cpp94 FILE *srcFp = fopen(srcFile, "rb"); in CopyFile() local
95 if (srcFp == nullptr) { in CopyFile()
102 fclose(srcFp); in CopyFile()
109 while ((bytes = fread(buffer, 1, sizeof(buffer), srcFp)) > 0) { in CopyFile()
116 fclose(srcFp); in CopyFile()
/test/xts/hats/kernel/posix_interface/interface_gn/utils/
Dlibfs.cpp97 FILE *srcFp = fopen(srcFile, "rb"); in CopyFile() local
98 if (srcFp == nullptr) { in CopyFile()
105 fclose(srcFp); in CopyFile()
112 while ((bytes = fread(buffer, 1, sizeof(buffer), srcFp)) > 0) { in CopyFile()
119 if (fclose(srcFp)) { in CopyFile()