Home
last modified time | relevance | path

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

/external/libselinux/src/
Dlabel_support.c72 char **spec_entry, *buf_p; in read_spec_entries() local
87 buf_p = line_buf; in read_spec_entries()
88 while (isspace(*buf_p)) in read_spec_entries()
89 buf_p++; in read_spec_entries()
92 if (*buf_p == '#' || *buf_p == '\0') in read_spec_entries()
102 if (len - 1 == buf_p - line_buf) { in read_spec_entries()
107 rc = read_spec_entry(spec_entry, &buf_p, &entry_len, errbuf); in read_spec_entries()
/external/selinux/libselinux/src/
Dlabel_support.c55 char **spec_entry, *buf_p; in read_spec_entries() local
68 buf_p = line_buf; in read_spec_entries()
69 while (isspace(*buf_p)) in read_spec_entries()
70 buf_p++; in read_spec_entries()
73 if (*buf_p == '#' || *buf_p == '\0') in read_spec_entries()
83 if (len - 1 == buf_p - line_buf) { in read_spec_entries()
88 rc = read_spec_entry(spec_entry, &buf_p, &entry_len); in read_spec_entries()
Dselinux_config.c158 char *line_buf = NULL, *buf_p, *value, *type = NULL, *end; in init_selinux_config() local
170 buf_p = line_buf; in init_selinux_config()
171 while (isspace(*buf_p)) in init_selinux_config()
172 buf_p++; in init_selinux_config()
173 if (*buf_p == '#' || *buf_p == 0) in init_selinux_config()
176 if (!strncasecmp(buf_p, SELINUXTYPETAG, in init_selinux_config()
179 strdup(buf_p + sizeof(SELINUXTYPETAG) - 1); in init_selinux_config()
189 } else if (!strncmp(buf_p, SETLOCALDEFS, in init_selinux_config()
191 value = buf_p + sizeof(SETLOCALDEFS) - 1; in init_selinux_config()
193 } 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.c254 char **arg, *buf_p; in tokenize() local
259 buf_p = line_buf; in tokenize()
264 for (items = 0; items < num_args && *buf_p != '\0'; items++) { in tokenize()
269 *arg = strdup(buf_p); in tokenize()
277 rc = tokenize_str(delim, arg, &buf_p, &arg_len); in tokenize()
/external/valgrind/coregrind/m_syswrap/
Dpriv_syswrap-generic.h92 ML_(buf_and_len_pre_check) ( ThreadId tid, Addr buf_p, Addr buflen_p,
96 Addr buf_p, Addr buflen_p, const HChar* s );
Dsyswrap-generic.c1209 void ML_(buf_and_len_pre_check) ( ThreadId tid, Addr buf_p, Addr buflen_p, in ML_()
1216 Vg_CoreSysCall, tid, buf_s, buf_p, buflen_in ); in ML_()
1222 Addr buf_p, Addr buflen_p, const HChar* s ) in ML_()
1226 if (buflen_out > 0 && buf_p != (Addr)NULL) { in ML_()
1227 VG_(tdict).track_post_mem_write( Vg_CoreSysCall, tid, buf_p, buflen_out ); in ML_()
1574 Addr buf_p = arg1; in ML_() local
1578 PRE_MEM_WRITE( "socketcall.recvfrom(buf)", buf_p, len ); in ML_()
1591 Addr buf_p = arg1; in ML_() local
1600 POST_MEM_WRITE( buf_p, len ); in ML_()