/external/libselinux/src/ |
label_android_property.c | 84 const char *path, char *line_buf, 94 len = strlen(line_buf); 95 if (line_buf[len - 1] == '\n') 96 line_buf[len - 1] = 0; 97 buf_p = line_buf; 103 items = sscanf(line_buf, "%255s %255s", prop, context); 149 char line_buf[BUFSIZ]; local 183 while (fgets(line_buf, sizeof line_buf - 1, fp) 185 if (process_line(rec, path, line_buf, pass, ++lineno) != 0) [all...] |
label_file.c | 283 char *line_buf, int pass, unsigned lineno) 292 len = strlen(line_buf); 293 if (line_buf[len - 1] == '\n') 294 line_buf[len - 1] = 0; 295 buf_p = line_buf; 301 items = sscanf(line_buf, "%255s %255s %255s", regex, type, context); 410 char line_buf[BUFSIZ]; local 463 while (fgets(line_buf, sizeof line_buf - 1, fp) 465 if (process_line(rec, path, prefix, line_buf, [all...] |
android.c | 283 char line_buf[BUFSIZ]; local 302 while (fgets(line_buf, sizeof line_buf - 1, fp)) { 303 p = line_buf; 318 while (fgets(line_buf, sizeof line_buf - 1, fp)) { 319 len = strlen(line_buf); 320 if (line_buf[len - 1] == '\n') 321 line_buf[len - 1] = 0; 322 p = line_buf; [all...] |
/external/chromium_org/v8/src/ |
utils.cc | 131 char line_buf[256]; local 137 if (fgets(line_buf, sizeof(line_buf), stdin) == NULL) { 144 int len = StrLength(line_buf); 146 line_buf[len - 2] == '\\' && 147 line_buf[len - 1] == '\n') { 150 line_buf[len - 2] = '\n'; 151 line_buf[len - 1] = 0; 153 } else if ((len > 0) && (line_buf[len - 1] == '\n')) { 172 MemCopy(result + offset, line_buf, len * kCharSize) [all...] |
/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/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...] |