Home
last modified time | relevance | path

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

/external/compiler-rt/lib/tsan/rtl/
Dtsan_symbolize.cc43 char *file_buf, uptr file_siz, int *line, in __tsan_symbolize_external() argument
54 static char file_buf[1024]; in SymbolizeCode() local
57 if (__tsan_symbolize_external(addr, func_buf, sizeof(func_buf), file_buf, in SymbolizeCode()
58 sizeof(file_buf), &line, &col)) { in SymbolizeCode()
60 frame->info.file = internal_strdup(file_buf); in SymbolizeCode()
/external/llvm/test/Bindings/OCaml/
Dbitwriter.ml44 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/swiftshader/third_party/llvm-7.0/llvm/test/Bindings/OCaml/
Dbitwriter.ml44 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/swiftshader/third_party/LLVM/test/Bindings/Ocaml/
Dbitwriter.ml41 let file_buf = read_file Sys.argv.(1) in
43 test (file_buf = temp_bitcode m);
44 test (file_buf = temp_bitcode ~unbuffered:false m);
45 test (file_buf = temp_bitcode ~unbuffered:true m)
/external/ltp/testcases/kernel/containers/share/
Dns_exec.c59 char file_buf[30]; in open_ns_fd() local
61 sprintf(file_buf, "%s/%s/ns/%s", PROC_PATH, pid, ns); in open_ns_fd()
63 fd = open(file_buf, O_RDONLY); in open_ns_fd()
/external/compiler-rt/test/tsan/
Djava_symbolization.cc7 char *file_buf, jptr file_siz, in __tsan_symbolize_external() argument
11 memcpy(file_buf, "MyFile.java", sizeof("MyFile.java")); in __tsan_symbolize_external()
/external/libunwind/src/coredump/
D_UCD_create.c358 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/u-boot/fs/zfs/
Dzfs.c146 char *file_buf; member
1835 free(data->file_buf); in zfs_unmount()
2080 if (data->file_buf == NULL) { in zfs_read()
2081 data->file_buf = malloc(SPA_MAXBLOCKSIZE); in zfs_read()
2082 if (!data->file_buf) in zfs_read()
2092 memmove(buf, data->file_buf + file->offset - data->file_start, in zfs_read()
2115 free(data->file_buf); in zfs_read()
2116 data->file_buf = 0; in zfs_read()
2120 data->file_buf = t; in zfs_read()
2129 memmove(buf, data->file_buf + file->offset + red in zfs_read()