Lines Matching refs:ret
66 int ret;
72 ret = pipe(pipefd);
73 if (ret < 0) {
74 fprintf(stderr, "pipe failed %d\n", ret);
80 ret = c->attach(c, test_attach_write_file, fnam, &attach_options, &pid);
81 if (ret < 0) {
86 ret = read(pipefd[0], result, sizeof(result)-1);
87 if (ret < 0) {
88 fprintf(stderr, "read failed %d\n", ret);
117 int i, ret;
120 ret = do_test_file_open(c, files_to_deny[i]);
121 if (ret < 0) {
125 if (ret > 0) {
134 ret = do_test_file_open(c, files_to_allow[i]);
135 if (ret < 0) {
139 if (ret == 0) {