Home
last modified time | relevance | path

Searched refs:bin_file (Results 1 – 5 of 5) sorted by relevance

/third_party/selinux/libselinux/utils/
Dsefcontext_compile.c99 FILE *bin_file; in write_binary_file() local
108 bin_file = fdopen(fd, "w"); in write_binary_file()
109 if (!bin_file) { in write_binary_file()
115 len = fwrite(&magic, sizeof(uint32_t), 1, bin_file); in write_binary_file()
121 len = fwrite(&section_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
130 len = fwrite(&section_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
133 len = fwrite(reg_version, sizeof(char), section_len, bin_file); in write_binary_file()
142 len = fwrite(&section_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
145 len = fwrite(reg_arch, sizeof(char), section_len, bin_file); in write_binary_file()
151 len = fwrite(&section_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
[all …]
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dcuda_env_checker.cc39 std::string bin_file = entry->d_name; in CheckNvccInPath() local
40 if (bin_file == kNvcc) { in CheckNvccInPath()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/kash/
Dkernel_pack.cc29 bool CheckHash(const std::string &json_file, const std::string &bin_file, const nlohmann::json &js)… in CheckHash() argument
34 std::string sha256_cal = system::sha256::GetHashFromFile(bin_file); in CheckHash()
37 MS_LOG(ERROR) << "Cal sha256 of " << bin_file << " failed."; in CheckHash()
/third_party/ltp/testcases/open_posix_testsuite/scripts/
Dgenerate-makefiles.sh224 bin_file="${test_prefix}_$prereq"
241 $bin_file: \$(srcdir)/$c_file
/third_party/jerryscript/tools/
Drun-tests.py309 with open(bin_path, 'rb') as bin_file:
310 buf = bin_file.read(blocksize)
313 buf = bin_file.read(blocksize)