/external/llvm/test/Bindings/Ocaml/ |
bitwriter.ml | 44 let file_buf = read_file Sys.argv.(1) in var 46 test (file_buf = temp_bitcode m); 47 test (file_buf = temp_bitcode ~unbuffered:false m); 48 test (file_buf = temp_bitcode ~unbuffered:true m)
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_symbolize.cc | 79 char *file_buf, uptr file_siz, 85 char *file_buf, uptr file_siz, 96 static char file_buf[1024]; local 99 file_buf, sizeof(file_buf), &line, &col)) 105 ent->file = internal_strdup(file_buf);
|
/external/valgrind/main/tests/ |
s390x_features.c | 118 char *p, *m, *model_name, *file_buf; local 121 /* Slurp contents of /proc/cpuinfo into FILE_BUF */ 131 file_buf = malloc(file_buf_size + 1); 134 n = read(fh, file_buf, file_buf_size); 144 free(file_buf); 146 file_buf = malloc(num_bytes + 1); 147 n = read(fh, file_buf, num_bytes); 151 file_buf[num_bytes] = '\0'; 156 for (p = file_buf; *p; ++p) { 188 free(file_buf); [all...] |
/external/libunwind/src/coredump/ |
_UCD_create.c | 358 char *file_buf = malloc(phdr->p_filesz); local 366 free(file_buf); 369 if ((uoff_t)read(fd, file_buf, phdr->p_filesz) != phdr->p_filesz) 374 int r = memcmp(core_buf, file_buf, phdr->p_filesz); 376 free(file_buf);
|
/external/chromium_org/third_party/libvpx/source/libvpx/build/make/ |
obj_int_extract.c | 781 uint8_t *file_buf; local 820 file_buf = malloc(file_size); 822 if (!file_buf) { 829 if (fread(file_buf, sizeof(char), file_size, fp) != file_size) { 841 res = parse_macho(file_buf, file_size, mode); 843 res = parse_elf(file_buf, file_size, mode); 847 res = parse_coff(file_buf, file_size); 850 free(file_buf);
|
/external/libvpx/libvpx/build/make/ |
obj_int_extract.c | 781 uint8_t *file_buf; local 820 file_buf = malloc(file_size); 822 if (!file_buf) { 829 if (fread(file_buf, sizeof(char), file_size, fp) != file_size) { 841 res = parse_macho(file_buf, file_size, mode); 843 res = parse_elf(file_buf, file_size, mode); 847 res = parse_coff(file_buf, file_size); 850 free(file_buf);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/ |
obj_int_extract.c | 781 uint8_t *file_buf; local 820 file_buf = malloc(file_size); 822 if (!file_buf) { 829 if (fread(file_buf, sizeof(char), file_size, fp) != file_size) { 841 res = parse_macho(file_buf, file_size, mode); 843 res = parse_elf(file_buf, file_size, mode); 847 res = parse_coff(file_buf, file_size); 850 free(file_buf);
|
/external/valgrind/main/coregrind/ |
m_machine.c | 560 HChar *p, *m, *model_name, *file_buf; local 562 /* Slurp contents of /proc/cpuinfo into FILE_BUF */ 574 file_buf = VG_(malloc)("cpuinfo", file_buf_size + 1); 576 n = VG_(read)(fh, file_buf, file_buf_size); 586 VG_(free)( file_buf ); 588 file_buf = VG_(malloc)( "cpuinfo", num_bytes + 1 ); 589 n = VG_(read)( fh, file_buf, num_bytes ); 593 file_buf[num_bytes] = '\0'; 598 for (p = file_buf; *p; ++p) { 628 VG_(free)( file_buf ); 649 HChar *file_buf; local [all...] |