Home
last modified time | relevance | path

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

1234

/build/soong/elf/
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.go120 if binary, ok := ctx.RustModule().compiler.(binaryInterface); ok && binary.testBinary() {
297 if binary, ok := mod.compiler.(binaryInterface); ok {
298 if binary.staticallyLinked() {
453 } else if binary, ok := mod.compiler.(binaryInterface); ok {
454 return binary.staticallyLinked()
/build/soong/cc/
Dbinary.go119 func (binary *binaryDecorator) linkerProps() []interface{} {
120 return append(binary.baseLinker.linkerProps(),
121 &binary.Properties,
122 &binary.stripper.StripProperties)
130 func (binary *binaryDecorator) getStemWithoutSuffix(ctx BaseModuleContext) string {
132 if String(binary.Properties.Stem) != "" {
133 stem = String(binary.Properties.Stem)
141 func (binary *binaryDecorator) getStem(ctx BaseModuleContext) string {
142 return binary.getStemWithoutSuffix(ctx) + String(binary.Properties.Suffix)
147 func (binary *binaryDecorator) linkerDeps(ctx DepsContext, deps Deps) Deps {
[all …]
Dandroidmk.go308 func (binary *binaryDecorator) AndroidMkEntries(ctx AndroidMkContext, entries *android.AndroidMkEnt…
309 ctx.subAndroidMk(entries, binary.baseInstaller)
312 entries.DistFiles = binary.distFiles
314 entries.SetString("LOCAL_SOONG_UNSTRIPPED_BINARY", binary.unstrippedOutputFile.String())
315 if len(binary.symlinks) > 0 {
316 entries.AddStrings("LOCAL_MODULE_SYMLINKS", binary.symlinks...)
319 if binary.coverageOutputFile.Valid() {
320 entries.SetString("LOCAL_PREBUILT_COVERAGE_ARCHIVE", binary.coverageOutputFile.String())
323 if len(binary.Properties.Overrides) > 0 {
324 …entries.SetString("LOCAL_OVERRIDES_MODULES", strings.Join(makeOverrideModuleNames(ctx, binary.Prop…
[all …]
/build/soong/symbol_inject/
Dmacho.go150 blobCount := binary.BigEndian.Uint32(data[8:])
154 blobType := binary.BigEndian.Uint32(data[off:])
156 codeDirectoryOff = binary.BigEndian.Uint32(data[off+4:])
173 oldFlags := binary.BigEndian.Uint32(flagsData)
177 binary.BigEndian.PutUint32(flagsData, 0x20002)
/build/blueprint/proptools/
Dhash_provider.go48 binary.LittleEndian.PutUint64(int64Buf, uint64(v.Kind()))
53 binary.LittleEndian.PutUint64(int64Buf, uint64(v.NumField()))
63 binary.LittleEndian.PutUint64(int64Buf, uint64(v.Len()))
90 binary.LittleEndian.PutUint64(int64Buf, uint64(v.Len()))
106 binary.LittleEndian.PutUint64(int64Buf, uint64(0x55))
147 binary.LittleEndian.PutUint64(int64Buf, v.Uint())
150 binary.LittleEndian.PutUint64(int64Buf, uint64(v.Int()))
153 binary.LittleEndian.PutUint64(int64Buf, math.Float64bits(v.Float()))
/build/soong/java/
Dkotlin.go242 binary.Write(buf, binary.BigEndian, uint32(len(options)))
244 binary.Write(buf, binary.BigEndian, uint16(len(option[0])))
246 binary.Write(buf, binary.BigEndian, uint16(len(option[1])))
258 binary.Write(header, binary.BigEndian, uint32(buf.Len()))
/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/reciprocal/bin/
Dbin3.meta_lic3 projects: "standalone/binary"
Dbin1.meta_lic3 projects: "static/binary"
/build/make/tools/compliance/cmd/testdata/restricted/bin/
Dbin3.meta_lic3 projects: "standalone/binary"
/build/make/tools/compliance/cmd/testdata/firstparty/bin/
Dbin3.meta_lic3 projects: "standalone/binary"
Dbin2.meta_lic3 projects: "dynamic/binary"
/build/make/tools/compliance/cmd/testdata/notice/bin/
Dbin3.meta_lic3 projects: "standalone/binary"
Dbin1.meta_lic3 projects: "static/binary"
Dbin2.meta_lic3 projects: "dynamic/binary"
/build/make/tools/compliance/cmd/testdata/proprietary/bin/
Dbin3.meta_lic3 projects: "standalone/binary"
Dbin2.meta_lic3 projects: "dynamic/binary"
/build/soong/python/
DAndroid.bp16 "binary.go",
/build/bazel/examples/rust/
DBUILD.bazel6 …# TODO: When building binary for android target, rustc adds `"-ldl" "-llog" "-lgcc" "-ldl" "-lc" "…

1234