Home
last modified time | relevance | path

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

/external/minijail/
Dutil.c337 int parse_size(size_t *result, const char *sizespec) in parse_size() argument
342 const size_t len = strlen(sizespec); in parse_size()
345 if (len == 0 || sizespec[0] == '-') in parse_size()
349 if (sizespec[len - 1] == prefixes[i]) { in parse_size()
362 parsed = strtoull(sizespec, &end, 10); in parse_size()
367 if ((multiplier != 1 && end != sizespec + len - 1) || in parse_size()
368 (multiplier == 1 && end != sizespec + len)) in parse_size()
Dutil.h121 int parse_size(size_t *size, const char *sizespec);