Home
last modified time | relevance | path

Searched refs:as_bounded_int (Results 1 – 1 of 1) sorted by relevance

/external/brotli/python/
D_brotli.cc17 static int as_bounded_int(PyObject *o, int* result, int lower_bound, int upper_bound) { in as_bounded_int() function
33 if (!as_bounded_int(o, &mode_value, 0, 255)) { in mode_convertor()
54 if (!as_bounded_int(o, quality, 0, 11)) { in quality_convertor()
68 if (!as_bounded_int(o, lgwin, 10, 24)) { in lgwin_convertor()
82 if (!as_bounded_int(o, lgblock, 0, 24) || (*lgblock != 0 && *lgblock < 16)) { in lgblock_convertor()