Lines Matching defs:cookie_file
43 auto cookie_file = reinterpret_cast<CookieFile *>(f);
44 if (cookie_file->ops.write == nullptr)
46 return static_cast<size_t>(cookie_file->ops.write(
47 cookie_file->cookie, reinterpret_cast<const char *>(data), size));
51 auto cookie_file = reinterpret_cast<CookieFile *>(f);
52 if (cookie_file->ops.read == nullptr)
54 return static_cast<size_t>(cookie_file->ops.read(
55 cookie_file->cookie, reinterpret_cast<char *>(data), size));
59 auto cookie_file = reinterpret_cast<CookieFile *>(f);
60 if (cookie_file->ops.seek == nullptr) {
64 int result = cookie_file->ops.seek(cookie_file->cookie, &offset64, whence);
71 auto cookie_file = reinterpret_cast<CookieFile *>(f);
72 if (cookie_file->ops.close == nullptr)
74 int retval = cookie_file->ops.close(cookie_file->cookie);
77 delete cookie_file;