• Home
  • Raw
  • Download

Lines Matching refs:end

279 skip_spaces(const char*  p, const char*  end)  in skip_spaces()  argument
281 while (p < end && is_space(*p)) in skip_spaces()
291 skip_non_spaces(const char* p, const char* end) in skip_non_spaces() argument
293 while (p < end && !is_space(*p)) in skip_non_spaces()
303 find_first(const char* p, const char* end, char ch) in find_first() argument
305 while (p < end && *p != ch) in find_first()
318 compare_name(const char* p, const char* end, const char* name) in compare_name() argument
321 if (name == NULL || name[0] == '\0' || p == end) in compare_name()
329 if (p >= end || is_space(*p)) in compare_name()
340 if (p < end && !is_space(*p)) in compare_name()
355 parse_spaces(const char** pp, const char* end) in parse_spaces() argument
359 if (p >= end || !is_space(*p)) { in parse_spaces()
363 p = skip_spaces(p, end); in parse_spaces()
379 parse_positive_decimal(const char** pp, const char* end) in parse_positive_decimal() argument
385 if (p >= end || *p < '0' || *p > '9') { in parse_positive_decimal()
390 while (p < end) { in parse_positive_decimal()
460 const char* end = find_first(p, buffer_end, '\n'); in get_package_info() local
461 const char* next = (end < buffer_end) ? end + 1 : buffer_end; in get_package_info()
466 p = compare_name(p, end, pkgName); in get_package_info()
471 if (parse_spaces(&p, end) < 0) in get_package_info()
475 uid = parse_positive_decimal(&p, end); in get_package_info()
482 if (parse_spaces(&p, end) < 0) in get_package_info()
486 debugFlag = parse_positive_decimal(&p, end); in get_package_info()
499 if (parse_spaces(&p, end) < 0) in get_package_info()
505 q = skip_non_spaces(p, end); in get_package_info()
512 if (parse_spaces(&p, end) < 0) in get_package_info()
516 q = skip_non_spaces(p, end); in get_package_info()