Home
last modified time | relevance | path

Searched refs:bin_path (Results 1 – 25 of 30) sorted by relevance

12

/external/bcc/tests/cc/
Dtest_usdt_probes.cc46 REQUIRE(probe->in_shared_object(probe->bin_path()) == false);
49 REQUIRE(probe->bin_path().find("/test_libbcc") != std::string::npos);
120 static int probe_num_locations(const char *bin_path, const char *func_name) { in probe_num_locations() argument
125 sprintf(cmd, cmdfmt, bin_path, func_name); in probe_num_locations()
133 static int probe_num_arguments(const char *bin_path, const char *func_name) { in probe_num_arguments() argument
139 sprintf(cmd, cmdfmt, bin_path, func_name); in probe_num_arguments()
164 REQUIRE(probe->in_shared_object(probe->bin_path()) == true);
168 auto bin_path = probe->bin_path(); variable
170 (bin_path.find("/ruby") != std::string::npos) ||
171 (bin_path.find("/libruby") != std::string::npos);
[all …]
/external/ltp/testcases/misc/math/float/exp_log/
Dgenexp_log.c68 char *funct, *bin_path; in main() local
76 bin_path = argv[1]; in main()
78 funct = malloc(strlen(bin_path) + MAX_FNAME_LEN); in main()
79 sprintf(funct, "%s/genexp", bin_path); in main()
83 sprintf(funct, "%s/genlog", bin_path); in main()
87 sprintf(funct, "%s/genlog10", bin_path); in main()
91 sprintf(funct, "%s/genfrexp", bin_path); in main()
95 sprintf(funct, "%s/genldexp", bin_path); in main()
99 sprintf(funct, "%s/genhypot", bin_path); in main()
103 sprintf(funct, "%s/genmodf", bin_path); in main()
/external/ltp/testcases/misc/math/float/trigo/
Dgentrigo.c69 char *funct, *bin_path; in main() local
77 bin_path = argv[1]; in main()
79 funct = malloc(strlen(bin_path) + MAX_FNAME_LEN); in main()
80 sprintf(funct, "%s/gencos", bin_path); in main()
84 sprintf(funct, "%s/gensin", bin_path); in main()
88 sprintf(funct, "%s/gentan", bin_path); in main()
92 sprintf(funct, "%s/genatan", bin_path); in main()
96 sprintf(funct, "%s/genatan2", bin_path); in main()
100 sprintf(funct, "%s/genacos", bin_path); in main()
104 sprintf(funct, "%s/genasin", bin_path); in main()
/external/ltp/testcases/misc/math/float/power/
Dgenpower.c68 char *funct, *bin_path; in main() local
76 bin_path = argv[1]; in main()
78 funct = malloc(strlen(bin_path) + MAX_FNAME_LEN); in main()
79 sprintf(funct, "%s/genceil", bin_path); in main()
83 sprintf(funct, "%s/genfabs", bin_path); in main()
87 sprintf(funct, "%s/genfloor", bin_path); in main()
91 sprintf(funct, "%s/genfmod", bin_path); in main()
95 sprintf(funct, "%s/genpow", bin_path); in main()
99 sprintf(funct, "%s/gensqrt", bin_path); in main()
/external/ltp/testcases/misc/math/float/bessel/
Dgenbessel.c72 char *funct, *bin_path; in main() local
78 bin_path = argv[1]; in main()
79 funct = malloc(strlen(bin_path) + MAX_FNAME_LEN); in main()
82 sprintf(funct, "%s/genj0", bin_path); in main()
86 sprintf(funct, "%s/genj1", bin_path); in main()
90 sprintf(funct, "%s/geny0", bin_path); in main()
94 sprintf(funct, "%s/geny1", bin_path); in main()
98 sprintf(funct, "%s/genlgamma", bin_path); in main()
/external/clang/utils/check_cfc/
Dtest_check_cfc.py20 bin_path = r'/usr/bin'
26 bin_path, check_cfc.remove_dir_from_path(bin_path, bin_path))
31 [superstring_path, bin_path, space_path, bin_path])
32 stripped_path_var = check_cfc.remove_dir_from_path(path_var, bin_path)
34 self.assertNotIn(bin_path, stripped_path_var.split(os.pathsep))
39 check_cfc.remove_dir_from_path(r'/usr//bin', bin_path))
45 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
49 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
/external/bcc/src/cc/usdt/
Dusdt.cc35 Location::Location(uint64_t addr, const std::string &bin_path, const char *arg_fmt) in Location() argument
37 bin_path_(bin_path) { in Location()
54 Probe::Probe(const char *bin_path, const char *provider, const char *name, in Probe() argument
56 : bin_path_(bin_path), in Probe()
63 bool Probe::in_shared_object(const std::string &bin_path) { in in_shared_object() argument
64 if (object_type_map_.find(bin_path) == object_type_map_.end()) { in in_shared_object()
66 return (object_type_map_[bin_path] = bcc_elf_is_shared_obj(bin_path.c_str())); in in_shared_object()
68 return object_type_map_[bin_path]; in in_shared_object()
71 bool Probe::resolve_global_address(uint64_t *global, const std::string &bin_path, in resolve_global_address() argument
73 if (in_shared_object(bin_path)) { in resolve_global_address()
[all …]
/external/ltp/testcases/misc/math/float/iperb/
Dgeniperb.c72 char *funct, *bin_path; in main() local
78 bin_path = argv[1]; in main()
80 funct = malloc(strlen(bin_path) + MAX_FNAME_LEN); in main()
81 sprintf(funct, "%s/gencosh", bin_path); in main()
85 sprintf(funct, "%s/gensinh", bin_path); in main()
89 sprintf(funct, "%s/gentanh", bin_path); in main()
/external/ltp/testcases/misc/math/float/
Dmain.c82 int generate(char *datadir, char *bin_path) in generate() argument
87 cmdline = malloc(2 * strlen(bin_path) + strlen(datadir) + strlen(GENERATOR) + strlen(fmt)); in generate()
90 sprintf(cmdline, fmt, datadir, bin_path, GENERATOR, bin_path); in generate()
106 char *bin_path, *ltproot; in main() local
128 bin_path = malloc(strlen(ltproot) + 16); in main()
129 if (bin_path == NULL) { in main()
132 sprintf(bin_path, "%s/testcases/bin", ltproot); in main()
170 generate(datadir, bin_path); in main()
175 SAFE_FREE(bin_path); in main()
/external/libxcam/tests/
Dtest-binary-kernel.cpp50 char *src_path = NULL, *bin_path = NULL; in main() local
74 bin_path = optarg; in main()
89 if (!src_path || !bin_path) { in main()
99 bin_file.open (bin_path, "wb") != XCAM_RETURN_NO_ERROR) { in main()
120 CHECK_STATEMENT (ret, FAILED_STATEMENT, "write binary to %s failed", bin_path); in main()
/external/tensorflow/tensorflow/core/platform/posix/
Denv.cc152 string bin_path = this->GetExecutablePath(); in GetRunfilesDir() local
154 std::size_t pos = bin_path.find(runfiles_suffix); in GetRunfilesDir()
159 return bin_path.substr(0, pos + runfiles_suffix.length()); in GetRunfilesDir()
164 string runfiles_path = bin_path + runfiles_suffix; in GetRunfilesDir()
171 return bin_path.substr(0, bin_path.find_last_of("/\\")); in GetRunfilesDir()
/external/bcc/src/cc/includes/
Dusdt.h180 Location(uint64_t addr, const std::string &bin_path, const char *arg_fmt);
201 bool resolve_global_address(uint64_t *global, const std::string &bin_path,
204 void add_location(uint64_t addr, const std::string &bin_path, const char *fmt);
207 Probe(const char *bin_path, const char *provider, const char *name,
230 bool in_shared_object(const std::string &bin_path);
232 const std::string &bin_path() { return bin_path_; } in bin_path() function
257 std::string resolve_bin_path(const std::string &bin_path);
260 Context(const std::string &bin_path);
262 Context(int pid, const std::string &bin_path);
Dbcc_usdt.h32 const char *bin_path; member
40 const char *bin_path; member
/external/bcc/src/cc/
Dusdt.h180 Location(uint64_t addr, const std::string &bin_path, const char *arg_fmt);
201 bool resolve_global_address(uint64_t *global, const std::string &bin_path,
204 void add_location(uint64_t addr, const std::string &bin_path, const char *fmt);
207 Probe(const char *bin_path, const char *provider, const char *name,
230 bool in_shared_object(const std::string &bin_path);
232 const std::string &bin_path() { return bin_path_; } in bin_path() function
257 std::string resolve_bin_path(const std::string &bin_path);
260 Context(const std::string &bin_path);
262 Context(int pid, const std::string &bin_path);
Dbcc_usdt.h32 const char *bin_path; member
40 const char *bin_path; member
/external/brotli/scripts/dictionary/
Dstep-02-rfc-to-bin.py29 bin_path = "dictionary.bin" variable
31 with open(bin_path, "wb") as output:
34 print("Parsed and saved " + str(len(dictionary)) + " bytes to " + bin_path)
Dstep-03-validate-bin.py8 bin_path = "dictionary.bin" variable
10 with open(bin_path, "rb") as raw:
Dstep-04-generate-java-literals.py18 bin_path = "dictionary.bin" variable
20 with open(bin_path, "rb") as raw:
/external/bcc/src/python/bcc/
Dusdt.py85 self.bin_path = location.bin_path
88 return "%s 0x%x" % (self.bin_path, self.address)
106 self.bin_path = probe.bin_path
/external/tensorflow/tensorflow/core/platform/windows/
Denv.cc170 string bin_path = this->GetExecutablePath(); in GetRunfilesDir() local
171 string runfiles_path = bin_path + ".runfiles\\org_tensorflow"; in GetRunfilesDir()
176 return bin_path.substr(0, bin_path.find_last_of("/\\")); in GetRunfilesDir()
/external/google-benchmark/conan/test_package/
Dconanfile.py18 bin_path = os.path.join("bin", "test_package")
19 self.run(bin_path, run_environment=True)
/external/flatbuffers/conan/test_package/
Dconanfile.py18 bin_path = os.path.join("bin", "test_package")
19 self.run(bin_path, run_environment=True)
/external/catch2/.conan/test_package/
Dconanfile.py18 bin_path = os.path.join("bin", "test_package")
19 self.run("%s -s" % bin_path, run_environment=True)
/external/python/cpython3/Lib/venv/
D__init__.py133 context.bin_path = binpath = os.path.join(env_dir, binname)
201 binpath = context.bin_path
319 binpath = context.bin_path
/external/bcc/tools/
Dtplist.py84 (probe.bin_path, probe.provider, probe.name))

12