Searched refs:file_buf (Results 1 – 6 of 6) sorted by relevance
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_symbolize.cc | 43 char *file_buf, uptr file_siz, 49 char *file_buf, uptr file_siz, in __tsan_symbolize_external() argument 60 static char file_buf[1024]; in SymbolizeCode() local 63 if (__tsan_symbolize_external(addr, func_buf, sizeof(func_buf), file_buf, in SymbolizeCode() 64 sizeof(file_buf), &line, &col)) { in SymbolizeCode() 66 frame->info.file = internal_strdup(file_buf); in SymbolizeCode()
|
/external/valgrind/tests/ |
D | s390x_features.c | 119 char *p, *m, *model_name, *file_buf; in get_host() local 132 file_buf = malloc(file_buf_size + 1); in get_host() 135 n = read(fh, file_buf, file_buf_size); in get_host() 145 free(file_buf); in get_host() 147 file_buf = malloc(num_bytes + 1); in get_host() 148 n = read(fh, file_buf, num_bytes); in get_host() 152 file_buf[num_bytes] = '\0'; in get_host() 157 for (p = file_buf; *p; ++p) { in get_host() 189 free(file_buf); in get_host()
|
/external/llvm/test/Bindings/OCaml/ |
D | bitwriter.ml | 44 let file_buf = read_file Sys.argv.(1) in 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); 49 test (file_buf = Llvm.MemoryBuffer.as_string (Llvm_bitwriter.write_bitcode_to_memory_buffer m))
|
/external/libunwind/src/coredump/ |
D | _UCD_create.c | 358 char *file_buf = malloc(phdr->p_filesz); in _UCD_add_backing_file_at_segment() local 366 free(file_buf); in _UCD_add_backing_file_at_segment() 369 if ((uoff_t)read(fd, file_buf, phdr->p_filesz) != phdr->p_filesz) in _UCD_add_backing_file_at_segment() 374 int r = memcmp(core_buf, file_buf, phdr->p_filesz); in _UCD_add_backing_file_at_segment() 376 free(file_buf); in _UCD_add_backing_file_at_segment()
|
/external/libvpx/libvpx/build/make/ |
D | obj_int_extract.c | 781 uint8_t *file_buf; in main() local 820 file_buf = malloc(file_size); in main() 822 if (!file_buf) { in main() 829 if (fread(file_buf, sizeof(char), file_size, fp) != file_size) { in main() 841 res = parse_macho(file_buf, file_size, mode); in main() 843 res = parse_elf(file_buf, file_size, mode); in main() 847 res = parse_coff(file_buf, file_size); in main() 850 free(file_buf); in main()
|
/external/valgrind/coregrind/ |
D | m_machine.c | 624 HChar *p, *m, *model_name, *file_buf; in VG_() local 638 file_buf = VG_(malloc)("cpuinfo", file_buf_size + 1); in VG_() 640 n = VG_(read)(fh, file_buf, file_buf_size); in VG_() 650 VG_(free)( file_buf ); in VG_() 652 file_buf = VG_(malloc)( "cpuinfo", num_bytes + 1 ); in VG_() 653 n = VG_(read)( fh, file_buf, num_bytes ); in VG_() 657 file_buf[num_bytes] = '\0'; in VG_() 662 for (p = file_buf; *p; ++p) { in VG_() 692 VG_(free)( file_buf ); in VG_() 713 HChar *file_buf; in VG_() local [all …]
|