Home
last modified time | relevance | path

Searched refs:m_file (Results 1 – 12 of 12) sorted by relevance

/third_party/vk-gl-cts/framework/common/
DtcuResource.cpp51 m_file = fopen(filename, "rb"); in FileResource()
52 if (!m_file) in FileResource()
58 fclose(m_file); in ~FileResource()
63 int numRead = (int)fread(dst, 1, numBytes, m_file); in read()
69 long curPos = ftell(m_file); in getSize()
70 fseek(m_file, 0, SEEK_END); in getSize()
71 int size = (int)ftell(m_file); in getSize()
72 fseek(m_file, curPos, SEEK_SET); in getSize()
78 return (int)ftell(m_file); in getPosition()
83 fseek(m_file, (size_t)position, SEEK_SET); in setPosition()
DtcuResource.hpp123 FILE* m_file; member in tcu::FileResource
/third_party/vk-gl-cts/execserver/
DxsPosixFileReader.cpp34 : m_file (DE_NULL) in FileReader()
48 m_file = deFile_create(filename, DE_FILEMODE_OPEN|DE_FILEMODE_READ); in start()
49 XS_CHECK(m_file); in start()
53 if (!deFile_setFlags(m_file, DE_FILE_NONBLOCKING)) in start()
55 deFile_destroy(m_file); in start()
56 m_file = DE_NULL; in start()
73 deFileResult result = deFile_read(m_file, &tmpBuf[0], (deInt64)tmpBuf.size(), &numRead); in run()
111 deFile_destroy(m_file); in stop()
112 m_file = DE_NULL; in stop()
DxsPosixTestProcess.cpp41 : m_file (DE_NULL) in CaseListWriter()
53 m_file = dst; in start()
61 if (!deFile_setFlags(m_file, DE_FILE_NONBLOCKING)) in start()
74 …deFileResult result = deFile_write(m_file, &m_caseList[0] + pos, m_caseList.size()-pos, &numWritt… in run()
95 m_file = DE_NULL; in stop()
99 : m_file (DE_NULL) in PipeReader()
116 m_file = file; in start()
128 deFileResult result = deFile_read(m_file, &tmpBuf[0], (deInt64)tmpBuf.size(), &numRead); in run()
166 m_file = DE_NULL; in stop()
DxsPosixTestProcess.hpp52 deFile* m_file; member in xs::posix::CaseListWriter
69 deFile* m_file; member in xs::posix::PipeReader
DxsPosixFileReader.hpp50 deFile* m_file; member in xs::posix::FileReader
/third_party/json/include/nlohmann/detail/input/
Dinput_adapters.hpp44 : m_file(f) in file_input_adapter()
56 return std::fgetc(m_file); in get_character()
61 std::FILE* m_file; member in nlohmann::detail::file_input_adapter
/third_party/ntfs-3g/ntfsprogs/
Dmkntfs.c3157 MFT_RECORD *m_file, const leMFT_REF ref_file, in create_hardlink_res() argument
3175 fn->creation_time = stdinfo_time(m_file); in create_hardlink_res()
3212 i = le16_to_cpu(m_file->link_count); in create_hardlink_res()
3218 m_file->link_count = cpu_to_le16(i + 1); in create_hardlink_res()
3220 i = insert_resident_attr_in_mft_record(m_file, AT_FILE_NAME, NULL, 0, in create_hardlink_res()
3228 m_file->link_count = cpu_to_le16( in create_hardlink_res()
3229 le16_to_cpu(m_file->link_count) - 1); in create_hardlink_res()
3250 m_file->link_count = cpu_to_le16( in create_hardlink_res()
3251 le16_to_cpu(m_file->link_count) - 1); in create_hardlink_res()
3273 MFT_RECORD *m_file, const leMFT_REF ref_file, in create_hardlink() argument
[all …]
/third_party/json/test/thirdparty/doctest/
Ddoctest.h659 String m_file; // the file in which the test was registered (using String - see #350) member
678 const char* m_file; member
699 const char* m_file; member
707 const char* m_file; member
3500 if(std::strcmp(m_file, other.m_file) != 0)
3501 return std::strcmp(m_file, other.m_file) < 0;
3829 m_file = file;
3886 const int file_cmp = m_file.compare(other.m_file);
3904 const int res = lhs->m_file.compare(rhs->m_file, bool(DOCTEST_MSVC));
4463 m_file = file;
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiBufferMemoryRequirementsTests.cpp299 cstr m_file; member
302 : m_type(type), m_str(), m_file(file), m_line(line) { m_str << msg; } in Info()
307 << de::FilePath(info.m_file).getBaseName() << ":" << info.m_line << ")"; in operator <<()
311 << de::FilePath(info.m_file).getBaseName() << ":" << info.m_line << ")"; in operator <<()
/third_party/libabigail/tests/lib/
Dcatch.hpp12021 std::FILE* m_file = nullptr; member in Catch::TempFile
12109 if (fopen_s(&m_file, m_buffer, "w+")) { in TempFile()
12119 m_file = std::tmpfile(); in TempFile()
12120 if (!m_file) { in TempFile()
12129 std::fclose(m_file); in ~TempFile()
12138 return m_file; in getFile()
12144 std::rewind(m_file); in getContents()
12145 while (std::fgets(buffer, sizeof(buffer), m_file)) { in getContents()
/third_party/json/single_include/nlohmann/
Djson.hpp5371 : m_file(f) in file_input_adapter()
5383 return std::fgetc(m_file); in get_character()
5388 std::FILE* m_file; member in nlohmann::detail::file_input_adapter