Searched refs:read_bytes (Results 1 – 2 of 2) sorted by relevance
100 const ssize_t read_bytes = mapfile_read(file_handle, &header, sizeof(header)); in Create() local102 assert(read_bytes != -1 && read_bytes == sizeof(header)); in Create()103 if (read_bytes == -1 || read_bytes != sizeof(header)) { in Create()104 if (read_bytes != -1) { in Create()
114 DWORD read_bytes; in mapfile_read() local115 if (ReadFile(handle, buf, nbyte, &read_bytes, NULL)) { in mapfile_read()116 ret_bytes = (ssize_t)read_bytes; in mapfile_read()