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.c163 char *line_buf = NULL, *buf_p, *value, *type = NULL, *end; in init_selinux_config() local
175 buf_p = line_buf; in init_selinux_config()
176 while (isspace(*buf_p)) in init_selinux_config()
177 buf_p++; in init_selinux_config()
178 if (*buf_p == '#' || *buf_p == 0) in init_selinux_config()
181 if (!strncasecmp(buf_p, SELINUXTYPETAG, in init_selinux_config()
183 buf_p += sizeof(SELINUXTYPETAG) - 1; in init_selinux_config()
184 while (isspace(*buf_p)) in init_selinux_config()
185 buf_p++; in init_selinux_config()
186 type = strdup(buf_p); 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/oss-fuzz/projects/openvpn/
Dfuzz_crypto.c179 void *buf_p; in LLVMFuzzerTestOneInput() local
194 buf_p = buf_write_alloc(&buf, BLEN(&src)); in LLVMFuzzerTestOneInput()
195 ASSERT(buf_p); in LLVMFuzzerTestOneInput()
196 memcpy(buf_p, BPTR(&src), BLEN(&src)); in LLVMFuzzerTestOneInput()
217 void *buf_p; in LLVMFuzzerTestOneInput() local
232 buf_p = buf_write_alloc(&buf, BLEN(&src)); in LLVMFuzzerTestOneInput()
233 ASSERT(buf_p); in LLVMFuzzerTestOneInput()
234 memcpy(buf_p, BPTR(&src), BLEN(&src)); in LLVMFuzzerTestOneInput()
/external/selinux/libsepol/src/
Dutil.c259 char **arg, *buf_p; in tokenize() local
264 buf_p = line_buf; in tokenize()
269 for (items = 0; items < num_args && *buf_p != '\0'; items++) { in tokenize()
274 *arg = strdup(buf_p); in tokenize()
282 rc = tokenize_str(delim, arg, &buf_p, &arg_len); in tokenize()
/external/libwebsockets/lib/roles/http/
Dcookie.c151 lws_cookie_rm_sws(const char **buf_p, size_t *len_p) in lws_cookie_rm_sws() argument
156 if (!buf_p || !*buf_p || !len_p || !*len_p) { in lws_cookie_rm_sws()
161 buf = *buf_p; in lws_cookie_rm_sws()
170 *buf_p = buf; in lws_cookie_rm_sws()
/external/mesa3d/src/imgui/
Dimgui.cpp9348 char *buf_p = buf, *buf_end = buf + IM_ARRAYSIZE(buf); in ShowMetricsWindow() local
9355buf_p += ImFormatString(buf_p, buf_end - buf_p, "%s %04d: pos (%8.2f,%8.2f), uv (%.6f,%.6f), col %… in ShowMetricsWindow()