Searched refs:constant_str (Results 1 – 3 of 3) sorted by relevance
/external/minijail/ |
D | util.c | 85 long int parse_single_constant(char *constant_str, char **endptr) in parse_single_constant() argument 90 if (!strcmp(entry->name, constant_str)) { in parse_single_constant() 92 *endptr = constant_str + strlen(constant_str); in parse_single_constant() 99 res = strtol(constant_str, endptr, 0); in parse_single_constant() 104 res = strtoul(constant_str, endptr, 0); in parse_single_constant() 111 warn("unsigned overflow: '%s'", constant_str); in parse_single_constant() 112 *endptr = constant_str; in parse_single_constant() 120 warn("signed underflow: '%s'", constant_str); in parse_single_constant() 121 *endptr = constant_str; in parse_single_constant() 128 long int parse_constant(char *constant_str, char **endptr) in parse_constant() argument [all …]
|
D | syscall_filter.c | 189 char *constant_str = strtok_r(NULL, " ", &atom_ptr); in compile_atom() local 190 if (constant_str == NULL) { in compile_atom() 225 long int c = parse_constant(constant_str, &constant_str_ptr); in compile_atom() 226 if (constant_str_ptr == constant_str) { in compile_atom() 227 warn("invalid constant '%s'", constant_str); in compile_atom()
|
D | util.h | 64 long int parse_constant(char *constant_str, char **endptr);
|