Lines Matching refs:results

124   struct sort_result results[2];  in do_test()  local
127 results[0].dest_addr = &ai1; in do_test()
128 results[0].got_source_addr = true; in do_test()
129 results[0].source_addr_len = sizeof (so1); in do_test()
130 results[0].source_addr_flags = 0; in do_test()
131 results[0].prefixlen = 16; in do_test()
132 results[0].index = 0; in do_test()
133 memcpy (&results[0].source_addr, &so1, sizeof (so1)); in do_test()
136 results[1].dest_addr = &ai2; in do_test()
137 results[1].got_source_addr = true; in do_test()
138 results[1].source_addr_len = sizeof (so2); in do_test()
139 results[1].source_addr_flags = 0; in do_test()
140 results[1].prefixlen = 16; in do_test()
141 results[1].index = 0; in do_test()
142 memcpy (&results[1].source_addr, &so2, sizeof (so2)); in do_test()
146 struct sort_result_combo combo = { .results = results, .nresults = 2 }; in do_test()
150 if (results[order[0]].dest_addr->ai_family == AF_INET6) in do_test()
158 results[1].dest_addr = &ai1; in do_test()
159 results[1].got_source_addr = true; in do_test()
160 results[1].source_addr_len = sizeof (so1); in do_test()
161 results[1].source_addr_flags = 0; in do_test()
162 results[1].prefixlen = 16; in do_test()
163 results[1].index = 0; in do_test()
164 memcpy (&results[1].source_addr, &so1, sizeof (so1)); in do_test()
167 results[0].dest_addr = &ai2; in do_test()
168 results[0].got_source_addr = true; in do_test()
169 results[0].source_addr_len = sizeof (so2); in do_test()
170 results[0].source_addr_flags = 0; in do_test()
171 results[0].prefixlen = 16; in do_test()
172 results[0].index = 0; in do_test()
173 memcpy (&results[0].source_addr, &so2, sizeof (so2)); in do_test()
179 if (results[order[0]].dest_addr->ai_family == AF_INET6) in do_test()