Lines Matching refs:assert
19 #include <assert.h>
64 assert(conn->capable & FUSE_CAP_WRITEBACK_CACHE);
127 assert(ino == FILE_INO);
140 assert(ino == FILE_INO);
198 assert(fuse_session_loop(se) == 0);
210 assert(buf != NULL);
211 assert((fd = open("/dev/urandom", O_RDONLY)) != -1);
212 assert(read(fd, buf, dsize) == dsize);
215 assert(snprintf(fname, PATH_MAX, "%s/" FILE_NAME,
220 assert(0);
226 assert(pthread_create(&rofd_thread, NULL, close_rofd, (void *)(long)rofd) == 0);
231 assert(write(fd, buf, dsize) == dsize);
232 assert(write(fd, buf, dsize) == dsize);
238 assert(pthread_join(rofd_thread, NULL) == 0);
248 assert(fuse_opt_parse(&args, &options, option_spec, NULL) == 0);
249 assert(fuse_parse_cmdline(&args, &fuse_opts) == 0);
251 assert(fuse_opt_add_arg(&args, "-oauto_unmount") == 0);
256 assert (se != NULL);
257 assert(fuse_set_signal_handlers(se) == 0);
258 assert(fuse_session_mount(se, fuse_opts.mountpoint) == 0);
261 assert(pthread_create(&fs_thread, NULL, run_fs, (void *)se) == 0);
270 assert(pthread_join(fs_thread, NULL) == 0);
272 assert(got_write == 1);