Lines Matching refs:j
84 int i, j, fd[2]; in TEST() local
89 for (j = 0; j < 2; j++) in TEST()
90 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
95 for (j = 0; j < 2; j++) in TEST()
96 if (fd[j] != -1) in TEST()
97 close(fd[j]); in TEST()
104 int i, j, fd[2]; in TEST() local
109 for (j = 0; j < 2; j++) in TEST()
110 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
120 for (j = 0; j < 2; j++) in TEST()
121 if (fd[j] != -1) in TEST()
122 close(fd[j]); in TEST()
129 int i, j, ret, fd[2]; in TEST() local
135 for (j = 0; j < 2; j++) { in TEST()
136 ret = seteuid(euid[j]); in TEST()
137 ASSERT_EQ(0, ret) TH_LOG("failed to seteuid: %d.", euid[j]); in TEST()
139 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
156 for (j = 0; j < 2; j++) in TEST()
157 if (fd[j] != -1) in TEST()
158 close(fd[j]); in TEST()