Lines Matching defs:tmp
125 int tmp;
148 ASSERT_EQ(waitpid(pid_exec, &tmp, WNOHANG), 0); /* Child is running. */
150 EXPECT_EQ(read(pipefd[0], &tmp, sizeof(int)), sizeof(int));
151 EXPECT_EQ(tmp, 42);
157 EXPECT_EQ(waitpid(pid_exec, &tmp, WNOHANG), 0); /* Should still be running. */
161 tmp = signal_count;
162 while (signal_count == tmp); /* Should not hang! */
164 EXPECT_EQ(waitpid(pid_only_fork, &tmp, 0), pid_only_fork);
165 EXPECT_EQ(WEXITSTATUS(tmp), 42);
175 int tmp;
190 EXPECT_EQ(waitpid(pid_exec, &tmp, WNOHANG), 0); /* Should still be running. */
194 tmp = signal_count;
195 while (signal_count == tmp); /* Should not hang! */
201 int i, tmp;
219 EXPECT_EQ(waitpid(pids[i], &tmp, WNOHANG), 0);
224 tmp = signal_count;
225 while (signal_count == tmp);