Home
last modified time | relevance | path

Searched refs:m_file (Results 1 – 16 of 16) 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/boost/libs/interprocess/example/
Ddoc_file_mapping.cpp64 file_mapping m_file(FileName, read_write); in main() local
67 mapped_region region(m_file, read_write); in main()
88 file_mapping m_file(argv[2], read_only); in main() local
91 file_mapping m_file(FileName, read_only); in main()
96 mapped_region region(m_file, read_only); in main()
/third_party/boost/boost/spirit/home/classic/iterator/impl/
Dfile_iterator.ipp75 m_file.reset(f, fclose);
87 m_file = iter.m_file;
98 { return m_file ? true : false; }
102 return (m_file == iter.m_file) && (m_eof == iter.m_eof) &&
126 fseek(m_file.get(), 0, SEEK_END);
127 m_pos = ftell(m_file.get()) / sizeof(CharT);
143 boost::shared_ptr<std::FILE> m_file;
151 if (ftell(m_file.get()) != m_pos)
152 fseek(m_file.get(), m_pos, SEEK_SET);
154 m_eof = (fread(&m_curChar, sizeof(CharT), 1, m_file.get()) < 1);
/third_party/boost/libs/property_tree/examples/
Ddebug_settings.cpp24 std::string m_file; // log filename member
42 m_file = tree.get<std::string>("debug.filename"); in load()
67 tree.put("debug.filename", m_file); in save()
/third_party/boost/boost/test/
Dunit_test_parameters.hpp133 m_cleaner->m_file.open( std::string(stream_name.begin(), stream_name.end()).c_str() ); in setup()
134 m_stream = &m_cleaner->m_file; in setup()
145 , m_file() { in callback_cleaner()
152 std::ofstream m_file; member
/third_party/json/include/nlohmann/detail/input/
Dinput_adapters.hpp40 : m_file(f) in file_input_adapter()
51 return std::fgetc(m_file); in get_character()
56 std::FILE* m_file; member in nlohmann::detail::file_input_adapter
/third_party/json/test/thirdparty/doctest/
Ddoctest.h632 const char* m_file; // the file in which the test was registered member
649 const char* m_file; member
670 const char* m_file; member
678 const char* m_file; member
3287 if(std::strcmp(m_file, other.m_file) != 0)
3288 return std::strcmp(m_file, other.m_file) < 0;
3604 m_file = file;
3655 const int file_cmp = std::strcmp(m_file, other.m_file);
3668 const int res = doctest::stricmp(lhs->m_file, rhs->m_file);
3670 const int res = std::strcmp(lhs->m_file, rhs->m_file);
[all …]
/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/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/json/single_include/nlohmann/
Djson.hpp4761 : m_file(f) in file_input_adapter()
4772 return std::fgetc(m_file); in get_character()
4777 std::FILE* m_file; member in nlohmann::detail::file_input_adapter
/third_party/boost/libs/interprocess/doc/
Dinterprocess.qbk767 file_mapping m_file
793 ( m_file //Memory-mappable object