Lines Matching refs:FileData
21 // Use a magic value in the |flags| field to indicate that a FileData
26 bool fileData_isValid(const FileData* data) {
36 static inline void fileData_setValid(FileData* data) {
41 static inline void fileData_setInvalid(FileData* data) {
46 static void fileData_initWith(FileData* data,
55 void fileData_initEmpty(FileData* data) {
60 int fileData_initFromFile(FileData* data, const char* filePath) {
113 int fileData_initFrom(FileData* data, const FileData* other) {
115 APANIC("Trying to copy an uninitialized FileData instance\n");
132 int fileData_initFromMemory(FileData* data,
135 FileData other;
142 void fileData_swap(FileData* data, FileData* other) {
144 APANIC("Trying to swap un-initialized FileData instance\n");
156 void fileData_done(FileData* data) {
158 APANIC("Trying to finalize an un-initialized FileData instance\n");