Lines Matching refs:right
43 const struct procfs_descriptor *right = r; in descriptor_compare() local
45 return left->fd - right->fd; in descriptor_compare()
184 struct procfs_descriptor *right) in report_opened_descriptor() argument
188 char *quoted = support_quote_string (right->link_target); in report_opened_descriptor()
189 printf ("error: descriptor %d was opened (\"%s\")\n", right->fd, quoted); in report_opened_descriptor()
203 struct procfs_descriptor *right = descriptor_list_begin (¤t->list); in support_descriptors_check() local
207 while (left != left_end && right != right_end) in support_descriptors_check()
209 if (left->fd == right->fd) in support_descriptors_check()
211 if (strcmp (left->link_target, right->link_target) != 0) in support_descriptors_check()
215 char *right_quoted = support_quote_string (right->link_target); in support_descriptors_check()
222 if (left->dev != right->dev) in support_descriptors_check()
231 (long long int) major (right->dev), in support_descriptors_check()
232 (long long int) minor (right->dev)); in support_descriptors_check()
234 if (left->ino != right->ino) in support_descriptors_check()
240 (long long int) left->ino, (long long int) right->ino); in support_descriptors_check()
243 ++right; in support_descriptors_check()
245 else if (left->fd < right->fd) in support_descriptors_check()
254 TEST_VERIFY_EXIT (left->fd > right->fd); in support_descriptors_check()
255 report_opened_descriptor (&first, descrs, current, right); in support_descriptors_check()
256 ++right; in support_descriptors_check()
267 while (right != right_end) in support_descriptors_check()
270 report_opened_descriptor (&first, descrs, current, right); in support_descriptors_check()
271 ++right; in support_descriptors_check()