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/ltp/testcases/lib/
Dtst_ns_exec.c44 char file_buf[64]; in open_ns_fd() local
46 sprintf(file_buf, "%s/%s/ns/%s", PROC_PATH, pid, ns); in open_ns_fd()
48 fd = SAFE_OPEN(file_buf, O_RDONLY); in open_ns_fd()
/external/vboot_reference/futility/
Dcmd_gscvd.c125 struct file_buf { struct
164 static int load_ap_firmware(const char *file_name, struct file_buf *file, in load_ap_firmware()
282 const struct file_buf *file) in verify_ranges()
415 static int add_gbb(struct gscvd_ro_ranges *ranges, const struct file_buf *file) in add_gbb()
470 static vb2_error_t extend_digest(const struct file_buf *ap_firmware_file, in extend_digest()
529 static int calculate_ranges_digest(const struct file_buf *ap_firmware_file, in calculate_ranges_digest()
585 struct gsc_verification_data *create_gvd(struct file_buf *ap_firmware_file, in create_gvd()
685 static int fill_gvd_area(struct file_buf *ap_firmware_file, in fill_gvd_area()
879 static int copy_ranges(const struct file_buf *ap_firmware_file, in copy_ranges()
902 const struct file_buf *ap_firmware_file) in validate_gvd()
[all …]
/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/coreboot/src/security/vboot/
Dec_sync.c249 uint8_t *file_buf; in ec_flash_write() local
294 file_buf = image; in ec_flash_write()
303 memcpy(params + 1, file_buf, todo); in ec_flash_write()
313 file_buf += todo; in ec_flash_write()
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_x509parse.function1409 char file_buf[128];
1427 ret = mbedtls_snprintf(file_buf, sizeof(file_buf), "%s/c%02d.pem", chain_dir,
1429 TEST_ASSERT(ret > 0 && (size_t) ret < sizeof(file_buf));
1430 TEST_EQUAL(mbedtls_x509_crt_parse_file(&chain, file_buf), 0);
/external/mbedtls/tests/suites/
Dtest_suite_x509parse.function1331 char file_buf[128];
1349 ret = mbedtls_snprintf(file_buf, sizeof(file_buf), "%s/c%02d.pem", chain_dir,
1351 TEST_ASSERT(ret > 0 && (size_t) ret < sizeof(file_buf));
1352 TEST_EQUAL(mbedtls_x509_crt_parse_file(&chain, file_buf), 0);