Home
last modified time | relevance | path

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

/external/selinux/libselinux/src/
Dlabel_support.c68 char **spec_entry, *buf_p; in read_spec_entries() local
83 buf_p = line_buf; in read_spec_entries()
84 while (isspace(*buf_p)) in read_spec_entries()
85 buf_p++; in read_spec_entries()
88 if (*buf_p == '#' || *buf_p == '\0') in read_spec_entries()
98 if (len - 1 == buf_p - line_buf) { in read_spec_entries()
103 rc = read_spec_entry(spec_entry, &buf_p, &entry_len, errbuf); in read_spec_entries()
Dselinux_config.c160 char *line_buf = NULL, *buf_p, *value, *type = NULL, *end; in init_selinux_config() local
172 buf_p = line_buf; in init_selinux_config()
173 while (isspace(*buf_p)) in init_selinux_config()
174 buf_p++; in init_selinux_config()
175 if (*buf_p == '#' || *buf_p == 0) in init_selinux_config()
178 if (!strncasecmp(buf_p, SELINUXTYPETAG, in init_selinux_config()
180 type = strdup(buf_p + sizeof(SELINUXTYPETAG) - 1); in init_selinux_config()
195 } else if (!strncmp(buf_p, SETLOCALDEFS, in init_selinux_config()
197 value = buf_p + sizeof(SETLOCALDEFS) - 1; in init_selinux_config()
199 } else if (!strncmp(buf_p, REQUIRESEUSERS, in init_selinux_config()
[all …]
Dlabel_media.c38 char *buf_p; in process_line() local
41 buf_p = line_buf; in process_line()
42 while (isspace(*buf_p)) in process_line()
43 buf_p++; in process_line()
45 if (*buf_p == '#' || *buf_p == 0) in process_line()
Dlabel_x.c40 char *buf_p; in process_line() local
43 buf_p = line_buf; in process_line()
44 while (isspace(*buf_p)) in process_line()
45 buf_p++; in process_line()
47 if (*buf_p == '#' || *buf_p == 0) in process_line()
/external/selinux/libsepol/src/
Dutil.c255 char **arg, *buf_p; in tokenize() local
260 buf_p = line_buf; in tokenize()
265 for (items = 0; items < num_args && *buf_p != '\0'; items++) { in tokenize()
270 *arg = strdup(buf_p); in tokenize()
278 rc = tokenize_str(delim, arg, &buf_p, &arg_len); in tokenize()
/external/fsverity-utils/
Dfsveritysetup.h21 void fsverity_append_extension(void **buf_p, int type,
36 void append_elide_patch_exts(void **buf_p,
Delide_patch.c272 void append_elide_patch_exts(void **buf_p, in append_elide_patch_exts() argument
275 void *buf = *buf_p; in append_elide_patch_exts()
306 *buf_p = buf; in append_elide_patch_exts()
Dcmd_setup.c213 void fsverity_append_extension(void **buf_p, int type, in fsverity_append_extension() argument
216 void *buf = *buf_p; in fsverity_append_extension()
227 ASSERT(buf - *buf_p == FSVERITY_EXTLEN(extlen)); in fsverity_append_extension()
228 *buf_p = buf; in fsverity_append_extension()