Searched refs:is_in_range (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/base/time/ |
D | time.cc | 406 inline bool is_in_range(int value, int lo, int hi) { in is_in_range() function 411 return is_in_range(month, 1, 12) && in HasValidValues() 412 is_in_range(day_of_week, 0, 6) && in HasValidValues() 413 is_in_range(day_of_month, 1, 31) && in HasValidValues() 414 is_in_range(hour, 0, 23) && in HasValidValues() 415 is_in_range(minute, 0, 59) && in HasValidValues() 416 is_in_range(second, 0, 60) && in HasValidValues() 417 is_in_range(millisecond, 0, 999); in HasValidValues()
|
/external/mtools/ |
D | match.c | 37 static int is_in_range(wchar_t ch, const wchar_t **p, int *reverse) { in is_in_range() function 78 if(is_in_range(*s, p, &reverse)) in parse_range() 82 if(is_in_range((wchar_t)towlower((wint_t)*s), &p0, &reverse)) { in parse_range() 87 if(is_in_range((wchar_t)towupper((wint_t)*s), &p1, &reverse)) { in parse_range()
|