Lines Matching refs:res
290 int bch_strtoint_h(const char *cp, int *res);
291 int bch_strtouint_h(const char *cp, unsigned int *res);
292 int bch_strtoll_h(const char *cp, long long *res);
293 int bch_strtoull_h(const char *cp, unsigned long long *res);
295 static inline int bch_strtol_h(const char *cp, long *res)
298 return bch_strtoint_h(cp, (int *) res);
300 return bch_strtoll_h(cp, (long long *) res);
304 static inline int bch_strtoul_h(const char *cp, long *res)
307 return bch_strtouint_h(cp, (unsigned int *) res);
309 return bch_strtoull_h(cp, (unsigned long long *) res);
313 #define strtoi_h(cp, res) \
314 (__builtin_types_compatible_p(typeof(*res), int) \
315 ? bch_strtoint_h(cp, (void *) res) \
316 : __builtin_types_compatible_p(typeof(*res), long) \
317 ? bch_strtol_h(cp, (void *) res) \
318 : __builtin_types_compatible_p(typeof(*res), long long) \
319 ? bch_strtoll_h(cp, (void *) res) \
320 : __builtin_types_compatible_p(typeof(*res), unsigned int) \
321 ? bch_strtouint_h(cp, (void *) res) \
322 : __builtin_types_compatible_p(typeof(*res), unsigned long) \
323 ? bch_strtoul_h(cp, (void *) res) \
324 : __builtin_types_compatible_p(typeof(*res), unsigned long long)\
325 ? bch_strtoull_h(cp, (void *) res) : -EINVAL)
475 int res, ret = -1; \
480 res = cmp(new, this); \
481 if (!res) \
483 n = res < 0 \
499 int res; \
503 res = cmp(&(search), this); \
504 if (!res) { \
508 n = res < 0 \
519 int res; \
523 res = cmp(&(search), this); \
524 if (res < 0) { \