Home
last modified time | relevance | path

Searched refs:header_path (Results 1 – 25 of 29) sorted by relevance

12

/external/minijail/rust/minijail-sys/
Dbuild.rs54 let header_path = path.join(HEADER_FILENAME); in set_up_libminijail() localVariable
55 if header_path.exists() { in set_up_libminijail()
56 return Ok(header_path); in set_up_libminijail()
86 let header_path = header_dir.join(HEADER_FILENAME); in set_up_libminijail() localVariable
87 Ok(header_path) in set_up_libminijail()
90 fn bindings_generation(header_path: &str) -> io::Result<()> { in bindings_generation()
91 println!("cargo:rerun-if-changed={}", header_path); in bindings_generation()
95 .header(header_path) in bindings_generation()
127 let header_path = set_up_libminijail()?; in main() localVariable
128 bindings_generation(header_path.to_str().unwrap()) in main()
/external/executorch/backends/cadence/utils/
Dgen_header.py16 def gen_header(model_path, header_path=None): argument
17 if header_path is not None:
18 header_path = header_path + "/model_pte.h"
20 header_path = "model_pte.h"
22 with open(model_path, "rb") as fr, open(header_path, "w+") as fw:
/external/tensorflow/third_party/gpus/
Dfind_cuda_config.py323 header_path, header_version = _find_header(base_paths, "cublas_api.h",
332 header_path = _find_file(base_paths, _header_paths(), "cublas_api.h")
340 "cublas_include_dir": os.path.dirname(header_path),
356 header_path, header_version = _find_header(base_paths, "cusolver_common.h",
363 header_path = _find_file(base_paths, _header_paths(), "cusolver_common.h")
370 "cusolver_include_dir": os.path.dirname(header_path),
386 header_path, header_version = _find_header(base_paths, "curand.h",
393 header_path = _find_file(base_paths, _header_paths(), "curand.h")
400 "curand_include_dir": os.path.dirname(header_path),
415 header_path, header_version = _find_header(base_paths, "cufft.h",
[all …]
/external/vboot_reference/rust/vboot_reference-sys/
Dbuild.rs39 let header_path = header_dir.join("crossystem.h"); in generate_crossystem_bindings() localVariable
40 println!("cargo:rerun-if-changed={}", header_path.display()); in generate_crossystem_bindings()
45 .header(header_path.display().to_string()) in generate_crossystem_bindings()
63 let header_path = header_dir.join("vboot_host.h"); in generate_vboot_host_binding() localVariable
64 println!("cargo:rerun-if-changed={}", header_path.display()); in generate_vboot_host_binding()
78 .header(header_path.display().to_string()) in generate_vboot_host_binding()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_instance.py356 header_path = sys.argv[1] variable
360 header_path = path.abspath(header_path) variable
402 with open(header_path, "w", encoding='utf-8') as header_file:
Dzink_device_info.py809 header_path = sys.argv[1] variable
813 header_path = path.abspath(header_path) variable
872 with open(header_path, "w", encoding='utf-8') as header_file:
/external/cronet/stable/build/toolchain/apple/
Dswiftc.py279 def fix_generated_header(header_path, output_path, src_dir, gen_dir): argument
299 with open(header_path, 'r', encoding='utf8') as header_file:
366 header_path = args.header_path
368 header_path = os.path.join(build_cache_dir, os.path.basename(header_path))
393 header_path,
464 fix_generated_header(header_path,
465 args.header_path,
517 for path in (args.target_out_dir, os.path.dirname(args.header_path)):
/external/angle/build/toolchain/apple/
Dswiftc.py279 def fix_generated_header(header_path, output_path, src_dir, gen_dir): argument
299 with open(header_path, 'r', encoding='utf8') as header_file:
366 header_path = args.header_path
368 header_path = os.path.join(build_cache_dir, os.path.basename(header_path))
393 header_path,
464 fix_generated_header(header_path,
465 args.header_path,
517 for path in (args.target_out_dir, os.path.dirname(args.header_path)):
/external/cronet/tot/build/toolchain/apple/
Dswiftc.py279 def fix_generated_header(header_path, output_path, src_dir, gen_dir): argument
299 with open(header_path, 'r', encoding='utf8') as header_file:
366 header_path = args.header_path
368 header_path = os.path.join(build_cache_dir, os.path.basename(header_path))
393 header_path,
464 fix_generated_header(header_path,
465 args.header_path,
517 for path in (args.target_out_dir, os.path.dirname(args.header_path)):
/external/angle/include/platform/
Dgen_features.py138 def header_path(class_name): function
161 print(','.join([header_path(class_name) for (_, class_name) in feature_files.values()]) +
207 if not write_or_verify_file(header_path(class_name), header, verify_only):
/external/cronet/tot/third_party/jni_zero/test/
Dintegration_tests.py53 self.header_path = None
90 if self.header_path:
91 ret += ['--header-path', self.header_path]
263 header_path = os.path.join(tdir, 'header.h')
264 cmd += ['--header-path', header_path]
272 with open(header_path, 'r') as f:
430 header_path = os.path.join(tdir, 'header.h')
431 header_text = pathlib.Path(header_path).read_text()
/external/cronet/stable/third_party/jni_zero/test/
Dintegration_tests.py53 self.header_path = None
90 if self.header_path:
91 ret += ['--header-path', self.header_path]
263 header_path = os.path.join(tdir, 'header.h')
264 cmd += ['--header-path', header_path]
272 with open(header_path, 'r') as f:
430 header_path = os.path.join(tdir, 'header.h')
431 header_text = pathlib.Path(header_path).read_text()
/external/webrtc/tools_webrtc/presubmit_checks_lib/
Dcheck_orphan_headers.py74 def IsHeaderInBuildGn(header_path, build_gn_path): argument
90 return header_path in headers_in_build_gn
/external/pigweed/pw_build/py/pw_build/
Dgenerate_cc_blob_library.py199 blobs: Iterable[Blob], header_path: str, namespace: str | None = None
202 lines = [SOURCE_PREFIX_TEMPLATE.substitute(header_path=header_path)]
/external/cronet/stable/third_party/jni_zero/
Djni_registration_generator.py172 if args.header_path:
181 with common.atomic_output(args.header_path, mode='w') as f:
290 header_guard = os.path.splitext(args.header_path)[0].upper() + '_'
387 if not args.header_path and args.manual_jni_registration:
389 if not args.header_path and jni_mode.is_muxing:
/external/cronet/tot/third_party/jni_zero/
Djni_registration_generator.py172 if args.header_path:
181 with common.atomic_output(args.header_path, mode='w') as f:
290 header_guard = os.path.splitext(args.header_path)[0].upper() + '_'
387 if not args.header_path and args.manual_jni_registration:
389 if not args.header_path and jni_mode.is_muxing:
/external/rust/cxx/gen/build/src/
Dlib.rs413 let ref header_path = include_dir.join(rel_path_h); in generate_bridge()
414 out::write(header_path, &generated.header)?; in generate_bridge()
417 let _ = out::relative_symlink_file(header_path, link_path); in generate_bridge()
426 let _ = out::relative_symlink_file(header_path, shared_h); in generate_bridge()
/external/openthread/third_party/mbedtls/repo/tests/scripts/
Dgenerate_psa_wrappers.py57 header_path = os.path.join(root_dir, 'include', 'psa', header_name)
58 c_parsing_helper.read_function_declarations(self.functions, header_path)
/external/angle/scripts/
Dgenerate_loader.py31 header_path = registry_xml.path_to(path, file_name)
38 with open(header_path, "w") as out:
/external/crosvm/src/
Dmain.rs408 let header_path = format!("{}.header", composite_image_path); in create_composite() localVariable
434 .open(&header_path) in create_composite()
438 header_path, e in create_composite()
489 &PathBuf::from(header_path), in create_composite()
/external/crosvm/disk/src/
Dcomposite.rs720 header_path: &Path, in create_composite_disk()
730 let header_path = header_path in create_composite_disk() localVariable
732 .ok_or_else(|| Error::InvalidPath(header_path.to_owned()))? in create_composite_disk()
742 file_path: header_path, in create_composite_disk()
/external/noto-fonts/emoji-compat/
Dcreatefont.py144 def prepend_header_to_file(file_path, header_path): argument
148 with open(header_path, "r") as copyright_file:
/external/libvpx/tools/
Dcpplint.py769 def SetLastHeader(self, header_path): argument
770 self._last_header = header_path
772 def CanonicalizeAlphabeticalOrder(self, header_path): argument
785 return header_path.replace('-inl.h', '.h').replace('-', '_').lower()
787 def IsInAlphabeticalOrder(self, clean_lines, linenum, header_path): argument
803 if (self._last_header > header_path and
/external/google-styleguide/cpplint/
Dcpplint.py769 def SetLastHeader(self, header_path): argument
770 self._last_header = header_path
772 def CanonicalizeAlphabeticalOrder(self, header_path): argument
785 return header_path.replace('-inl.h', '.h').replace('-', '_').lower()
787 def IsInAlphabeticalOrder(self, clean_lines, linenum, header_path): argument
803 if (self._last_header > header_path and
/external/libaom/tools/
Dcpplint.py769 def SetLastHeader(self, header_path): argument
770 self._last_header = header_path
772 def CanonicalizeAlphabeticalOrder(self, header_path): argument
785 return header_path.replace('-inl.h', '.h').replace('-', '_').lower()
787 def IsInAlphabeticalOrder(self, clean_lines, linenum, header_path): argument
803 if (self._last_header > header_path and

12