HomeSort by relevance Sort by last modified time
    Searched defs:line_buf (Results 1 - 24 of 24) sorted by null

  /external/libselinux/src/
label_android_property.c 84 const char *path, char *line_buf,
94 items = read_spec_entries(line_buf, &errbuf, 2, &prop, &context);
145 char line_buf[BUFSIZ]; local
182 while (fgets(line_buf, sizeof(line_buf) - 1, fp)
184 if (process_line(rec, path, line_buf, pass, ++lineno)
label_file.c 420 char *line_buf = NULL; local
482 while (getline(&line_buf, &line_len, fp) > 0) {
483 rc = process_line(rec, path, prefix, line_buf, ++lineno);
489 free(line_buf);
android.c 334 char line_buf[BUFSIZ]; local
353 while (fgets(line_buf, sizeof line_buf - 1, fp)) {
354 p = line_buf;
369 while (fgets(line_buf, sizeof line_buf - 1, fp)) {
370 len = strlen(line_buf);
371 if (line_buf[len - 1] == '\n')
372 line_buf[len - 1] = 0;
373 p = line_buf;
    [all...]
  /external/libselinux/utils/
sefcontext_compile.c 25 char *line_buf = NULL; local
39 while (getline(&line_buf, &line_len, context_file) > 0) {
40 rc = process_line(rec, filename, prefix, line_buf, ++line_num);
45 free(line_buf);
  /external/selinux/libselinux/src/
label_android_property.c 84 const char *path, char *line_buf,
93 items = read_spec_entries(line_buf, 2, &prop, &context);
134 char line_buf[BUFSIZ]; local
171 while (fgets(line_buf, sizeof(line_buf) - 1, fp)
173 if (process_line(rec, path, line_buf, pass, ++lineno)
label_db.c 91 process_line(const char *path, char *line_buf, unsigned int line_num,
99 temp = strchr(line_buf, '#');
108 items = sscanf(line_buf, "%ms %ms %ms %ms",
243 char *line_buf = NULL; local
295 while (getline(&line_buf, &line_len, filp) > 0) {
317 if (process_line(path, line_buf, ++line_num, catalog) < 0)
320 free(line_buf);
label_media.c 33 static int process_line(const char *path, char *line_buf, int pass,
41 buf_p = line_buf;
47 items = sscanf(line_buf, "%ms %ms ", &key, &context);
76 char *line_buf = NULL; local
117 while (getline(&line_buf, &line_len, fp) > 0 &&
119 if (process_line(path, line_buf, pass, ++lineno, rec))
137 free(line_buf);
label_x.c 35 static int process_line(const char *path, char *line_buf, int pass,
43 buf_p = line_buf;
49 items = sscanf(line_buf, "%ms %ms %ms ", &type, &key, &context);
103 char *line_buf = NULL; local
144 while (getline(&line_buf, &line_len, fp) > 0 &&
146 if (process_line(path, line_buf, pass, ++lineno, rec))
164 free(line_buf);
booleans.c 94 char *line_buf = NULL; local
105 while (getline(&line_buf, &line_len, cfg) != -1) {
107 char *src = line_buf;
137 free(line_buf);
selinux_config.c 158 char *line_buf = NULL, *buf_p, *value, *type = NULL, *end; local
167 while ((len = getline(&line_buf, &line_len, fp)) > 0) {
168 if (line_buf[len - 1] == '\n')
169 line_buf[len - 1] = 0;
170 buf_p = line_buf;
209 free(line_buf);
label_file.c 427 char *line_buf = NULL; local
495 while (getline(&line_buf, &line_len, fp) > 0) {
496 rc = process_line(rec, path, prefix, line_buf, ++lineno);
504 free(line_buf);
  /external/selinux/policycoreutils/restorecond/
watch.c 215 char *line_buf = NULL; local
218 while (getline(&line_buf, &len, cfg) > 0) {
219 char *buffer = line_buf;
243 free(line_buf);
  /external/libnfc-nci/halimpl/bcm2079x/adaptation/
android_logmsg.cpp 72 char line_buf [(MAX_NCI_PACKET_SIZE*2)+1]; local
73 ToHex (nciPacket, nciPacketLen, line_buf, sizeof(line_buf));
74 __android_log_write (ANDROID_LOG_DEBUG, (is_recv) ? "BrcmNciR": "BrcmNciX", line_buf);
  /external/selinux/libselinux/utils/
sefcontext_compile.c 36 char *line_buf = NULL; local
50 while (getline(&line_buf, &line_len, context_file) > 0) {
51 rc = process_line(rec, filename, prefix, line_buf, ++line_num);
63 free(line_buf);
  /external/v8/src/
utils.cc 156 char line_buf[256]; local
162 if (fgets(line_buf, sizeof(line_buf), stdin) == NULL) {
169 int len = StrLength(line_buf);
171 line_buf[len - 2] == '\\' &&
172 line_buf[len - 1] == '\n') {
175 line_buf[len - 2] = '\n';
176 line_buf[len - 1] = 0;
178 } else if ((len > 0) && (line_buf[len - 1] == '\n')) {
197 MemCopy(result + offset, line_buf, len * kCharSize)
    [all...]
  /system/sepolicy/tools/fc_sort/
fc_sort.c 319 char *input_name, *output_name, *line_buf; local
352 line_buf = NULL;
354 while ( getline(&line_buf, &buf_len, in_file) != -1 ){
355 line_len = strlen(line_buf);
360 if (!isspace(line_buf[i]))
368 if (line_buf[i] == '#')
384 while (i < line_len && (!isspace(line_buf[i])))
399 temp->path = (char*)strndup(&line_buf[start], regex_len);
410 if (!isspace(line_buf[i]))
422 if (line_buf[i] == '-')
    [all...]
  /external/pdfium/core/src/fxcodec/codec/
fx_codec_fax.cpp 748 uint8_t* line_buf = dest_buf + iRow * pitch; local
749 FXSYS_memset(line_buf, 0xff, pitch);
750 FaxG4GetRow(src_buf, src_size << 3, bitpos, line_buf, ref_buf, width);
751 FXSYS_memcpy(ref_buf, line_buf, pitch);
fx_codec_jpeg.cpp 185 uint8_t* line_buf = NULL; local
187 line_buf = FX_Alloc2D(uint8_t, width, nComponents);
200 uint8_t* dest_scan = line_buf;
214 row_pointer[0] = line_buf;
230 FX_Free(line_buf);
  /external/selinux/policycoreutils/newrole/
newrole.c 263 char *line_buf = NULL; local
270 while (getline(&line_buf, &len, cfg) > 0) {
271 char *buffer = line_buf;
294 free(line_buf);
301 free(line_buf);
    [all...]
  /toolchain/binutils/binutils-2.25/opcodes/
opc2c.c 29 static char * line_buf = NULL; variable
39 if (line_buf == NULL)
41 line_buf = (char *) malloc (LBUFINCR);
46 line_ptr = line_buf + line_buf_size - 1;
50 if (fgets (line_buf, line_buf_size, f) == 0)
58 line_buf = (char *) realloc (line_buf, line_buf_size);
61 line_ptr = line_buf + line_buf_size - 1;
65 if (fgets (line_buf + line_buf_size - LBUFINCR - 1, LBUFINCR + 1, f) == 0)
69 return line_buf;
    [all...]
  /external/e2fsprogs/misc/
badblocks.c 212 char diff_buf[32], line_buf[128]; local
216 len = snprintf(line_buf, sizeof(line_buf),
226 len = mbstowcs(NULL, line_buf, sizeof(line_buf));
228 fputs(line_buf, stderr);
229 memset(line_buf, '\b', len);
230 line_buf[len] = 0;
231 fputs(line_buf, stderr);
    [all...]
  /system/sepolicy/tools/
check_seapp.c 1046 char line_buf[BUFSIZ]; local
1049 while (fgets(line_buf, sizeof(line_buf) - 1, in_file->file)) {
1054 len = strlen(line_buf);
1055 if (line_buf[len - 1] == '\n')
1056 line_buf[len - 1] = '\0';
1057 p = line_buf;
  /external/selinux/libsemanage/src/
semanage_store.c 2440 const char *line_buf, *line_end; local
2782 const char *line_buf, *line_end; local
    [all...]
  /toolchain/binutils/binutils-2.25/bfd/
libaout.h 407 char *line_buf;
405 char *line_buf; member in struct:aoutdata

Completed in 769 milliseconds