Lines Matching defs:comp
198 int64_t comp = ((int64_t)entry2->rid) - ((int64_t)entry1->rid);
200 if (comp == 0)
201 comp = strcmp(entry2->sid_prefix, entry1->sid_prefix);
203 if (comp < 0)
204 comp = -1;
205 else if (comp > 0)
206 comp = 1;
208 return ((int)comp);
228 int comp;
230 comp = strcasecmp(entry2->winname, entry1->winname);
231 if (comp == 0) {
239 comp = strcasecmp(entry2->windomain, entry1->windomain);
242 if (comp < 0)
243 comp = -1;
244 else if (comp > 0)
245 comp = 1;
247 return (comp);