Home
last modified time | relevance | path

Searched refs:binary (Results 1 – 25 of 75) sorted by relevance

123

/build/soong/cmd/symbols_map/
Delf_test.go72 descs, err := readNote(bytes.NewBuffer(note), binary.LittleEndian)
90 binary.Write(identBuf, binary.LittleEndian, []byte("\x7fELF"))
91 binary.Write(identBuf, binary.LittleEndian, elf.ELFCLASS64)
92 binary.Write(identBuf, binary.LittleEndian, elf.ELFDATA2LSB)
93 binary.Write(identBuf, binary.LittleEndian, elf.EV_CURRENT)
94 binary.Write(identBuf, binary.LittleEndian, elf.ELFOSABI_LINUX)
95 binary.Write(identBuf, binary.LittleEndian, make([]byte, 8))
103 Phoff: uint64(binary.Size(elf.Header64{})),
104 Shoff: uint64(binary.Size(elf.Header64{})),
106 Ehsize: uint16(binary.Size(elf.Header64{})),
[all …]
Delf.go82 func readNote(note io.Reader, byteOrder binary.ByteOrder) (map[string][]byte, error) {
91 err := binary.Read(note, byteOrder, &noteHeader)
100 err = binary.Read(note, byteOrder, &nameBuf)
107 err = binary.Read(note, byteOrder, &descBuf)
/build/soong/rust/
Dbinary.go35 binary() bool methodSpec
63 binary := &binaryDecorator{
67 module.compiler = binary
69 return module, binary
72 func (binary *binaryDecorator) compilerFlags(ctx ModuleContext, flags Flags) Flags {
73 flags = binary.baseCompiler.compilerFlags(ctx, flags)
83 if Bool(binary.Properties.Static_executable) {
92 func (binary *binaryDecorator) compilerDeps(ctx DepsContext, deps Deps) Deps {
93 deps = binary.baseCompiler.compilerDeps(ctx, deps)
95 static := Bool(binary.Properties.Static_executable)
[all …]
Dsanitize.go118 if binary, ok := ctx.RustModule().compiler.(binaryInterface); ok && binary.testBinary() {
294 if binary, ok := mod.compiler.(binaryInterface); ok {
295 if binary.staticallyLinked() {
464 } else if binary, ok := mod.compiler.(binaryInterface); ok {
465 return binary.staticallyLinked()
Dandroidmk.go88 func (binary *binaryDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkEntries) {
89 ctx.SubAndroidMk(ret, binary.baseCompiler)
91 if binary.distFile.Valid() {
92 ret.DistFiles = android.MakeDefaultDistFiles(binary.distFile.Path())
/build/soong/cc/
Dbinary.go122 func (binary *binaryDecorator) linkerProps() []interface{} {
123 return append(binary.baseLinker.linkerProps(),
124 &binary.Properties,
125 &binary.stripper.StripProperties)
133 func (binary *binaryDecorator) getStemWithoutSuffix(ctx BaseModuleContext) string {
135 if String(binary.Properties.Stem) != "" {
136 stem = String(binary.Properties.Stem)
144 func (binary *binaryDecorator) getStem(ctx BaseModuleContext) string {
145 return binary.getStemWithoutSuffix(ctx) + String(binary.Properties.Suffix)
150 func (binary *binaryDecorator) linkerDeps(ctx DepsContext, deps Deps) Deps {
[all …]
Dandroidmk.go342 func (binary *binaryDecorator) AndroidMkEntries(ctx AndroidMkContext, entries *android.AndroidMkEnt…
343 ctx.subAndroidMk(entries, binary.baseInstaller)
346 entries.DistFiles = binary.distFiles
348 entries.SetString("LOCAL_SOONG_UNSTRIPPED_BINARY", binary.unstrippedOutputFile.String())
349 if len(binary.symlinks) > 0 {
350 entries.AddStrings("LOCAL_MODULE_SYMLINKS", binary.symlinks...)
353 if binary.coverageOutputFile.Valid() {
354 entries.SetString("LOCAL_PREBUILT_COVERAGE_ARCHIVE", binary.coverageOutputFile.String())
357 if len(binary.Properties.Overrides) > 0 {
358 …entries.SetString("LOCAL_OVERRIDES_MODULES", strings.Join(makeOverrideModuleNames(ctx, binary.Prop…
[all …]
Dtest.go477 module, binary := newBinary(hod, false)
479 binary.baseInstaller = NewTestInstaller()
483 linker: binary.baseLinker,
484 installer: binary.baseInstaller,
486 binaryDecorator: binary,
617 module, binary := newBinary(hod, false)
619 binary.baseInstaller = NewBaseInstaller("benchmarktest", "benchmarktest64", InstallInData)
622 binaryDecorator: binary,
/build/soong/python/
Dbinary.go151 func (binary *binaryDecorator) autorun() bool {
152 return BoolDefault(binary.binaryProperties.Autorun, true)
155 func (binary *binaryDecorator) bootstrapperProps() []interface{} {
156 return []interface{}{&binary.binaryProperties}
159 func (binary *binaryDecorator) bootstrap(ctx android.ModuleContext, actualVersion string,
164 if binary.autorun() {
165 main = binary.getPyMainFile(ctx, srcsPathMappings)
182 binary.getHostInterpreterName(ctx, actualVersion),
183 main, binary.getStem(ctx), append(android.Paths{srcsZip}, depsSrcsZips...))
189 func (binary *binaryDecorator) getHostInterpreterName(ctx android.ModuleContext,
[all …]
Dtest.go102 module, binary := NewBinary(hod)
104 binary.pythonInstaller = NewPythonInstaller("nativetest", "nativetest64")
106 test := &testDecorator{binaryDecorator: binary}
DAndroid.bp15 "binary.go",
/build/soong/java/
Dkotlin.go241 binary.Write(buf, binary.BigEndian, uint32(len(options)))
243 binary.Write(buf, binary.BigEndian, uint16(len(option[0])))
245 binary.Write(buf, binary.BigEndian, uint16(len(option[1])))
257 binary.Write(header, binary.BigEndian, uint32(buf.Len()))
Dandroidmk.go265 func (binary *Binary) AndroidMkEntries() []android.AndroidMkEntries {
266 if binary.Os() == android.Windows {
271 if !binary.isWrapperVariant {
274 OutputFile: android.OptionalPathForPath(binary.outputFile),
278 entries.SetPath("LOCAL_SOONG_HEADER_JAR", binary.headerJarFile)
279 entries.SetPath("LOCAL_SOONG_CLASSES_JAR", binary.implementationAndResourcesJar)
280 if binary.dexJarFile.IsSet() {
281 entries.SetPath("LOCAL_SOONG_DEX_JAR", binary.dexJarFile.Path())
283 if len(binary.dexpreopter.builtInstalled) > 0 {
284 entries.SetString("LOCAL_SOONG_BUILT_INSTALLED", binary.dexpreopter.builtInstalled)
[all …]
/build/bazel/rules/
Dmake_injection.bzl51 # Get the explicit list of host binary paths to be exported
54 binary_paths = ['"%s/%s"' % (binary_path_prefix, binary) for binary in binaries]
77 …"binaries": attr.string_list(default = [], doc = "A list of host binary modules built for linux-x8…
/build/soong/cc/libbuildversion/tests/
Dbuild_version_test.cpp25 TEST(BuildNumber, binary) { in TEST() argument
/build/soong/ui/build/
Dconfig_darwin.go39 return binary.LittleEndian.Uint64([]byte(s))
/build/make/core/
Dheader_library_internal.mk14 include $(BUILD_SYSTEM)/binary.mk
Dhost_static_library_internal.mk21 include $(BUILD_SYSTEM)/binary.mk
/build/make/tools/compliance/cmd/testdata/notice/bin/
Dbin3.meta_lic3 projects: "standalone/binary"
/build/make/tools/compliance/cmd/testdata/reciprocal/bin/
Dbin3.meta_lic3 projects: "standalone/binary"
/build/make/tools/compliance/cmd/testdata/restricted/bin/
Dbin3.meta_lic3 projects: "standalone/binary"
/build/make/tools/compliance/cmd/testdata/proprietary/bin/
Dbin3.meta_lic3 projects: "standalone/binary"
/build/make/tools/compliance/cmd/testdata/firstparty/bin/
Dbin3.meta_lic3 projects: "standalone/binary"
/build/soong/third_party/zip/
DLICENSE4 Redistribution and use in source and binary forms, with or without
10 * Redistributions in binary form must reproduce the above
/build/soong/finder/fs/
DLICENSE4 Redistribution and use in source and binary forms, with or without
10 * Redistributions in binary form must reproduce the above

123