Lines Matching refs:arg
166 get_privacy_policy(const char* arg) in get_privacy_policy() argument
168 if (strcmp(arg, "L") == 0 in get_privacy_policy()
169 || strcmp(arg, "LOCAL") == 0) { in get_privacy_policy()
172 if (strcmp(arg, "E") == 0 in get_privacy_policy()
173 || strcmp(arg, "EXPLICIT") == 0) { in get_privacy_policy()
176 if (strcmp(arg, "A") == 0 in get_privacy_policy()
177 || strcmp(arg, "AUTO") == 0 in get_privacy_policy()
178 || strcmp(arg, "AUTOMATIC") == 0) { in get_privacy_policy()
186 parse_receiver_arg(const string& arg, string* pkg, string* cls) in parse_receiver_arg() argument
188 if (arg.length() == 0) { in parse_receiver_arg()
191 size_t slash = arg.find('/'); in parse_receiver_arg()
195 if (slash == 0 || slash == arg.length() - 1) { in parse_receiver_arg()
198 if (arg.find('/', slash+1) != string::npos) { in parse_receiver_arg()
201 pkg->assign(arg, 0, slash); in parse_receiver_arg()
202 cls->assign(arg, slash+1); in parse_receiver_arg()
329 const char* arg = argv[i]; in main() local
331 if (arg[0] != '\0') { in main()
332 int section = strtol(arg, &end, 0); in main()
336 IncidentSection const* ic = find_section(arg); in main()
338 ALOGD("Invalid section: %s\n", arg); in main()
339 fprintf(stderr, "Invalid section: %s\n", arg); in main()