Home
last modified time | relevance | path

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

/build/soong/scripts/
Djar-wrapper.sh20 prog="$0"
21 while [ -h "${prog}" ]; do
22 fullprog=`/bin/ls -ld "${prog}"`
25 prog="${fullprog}"
27 progdir=`dirname "${prog}"`
28 prog="${progdir}/${fullprog}"
33 progdir=`dirname "${prog}"`
36 prog="${progdir}"/`basename "${prog}"`
39 jarfile=`basename "${prog}"`.jar
47 echo `basename "${prog}"`": can't find ${jarfile}"
/build/soong/cmd/host_bionic_inject/
Dhost_bionic_inject_test.go24 func prog(flags elf.ProgFlag, offset, addr, filesz, memsz uint64) *elf.Prog { func
43 prog(elf.PF_R|elf.PF_X, 0, 0, 0xd0fac, 0xd0fac),
44 prog(elf.PF_R|elf.PF_W, 0xd1050, 0xd2050, 0x6890, 0xd88c),
54 prog(elf.PF_R, 0, 0, 0x2e0, 0x2e0),
55 prog(elf.PF_R|elf.PF_X, 0x1000, 0x1000, 0xd0fac, 0xd0fac),
56 prog(elf.PF_R|elf.PF_W, 0xd2050, 0xd3050, 0xd88c, 0xd88c),
57 prog(elf.PF_R, 0xe0000, 0xe1000, 0x10e4, 0x10e4),
58 prog(elf.PF_R|elf.PF_X, 0xe2000, 0xe3000, 0x1360, 0x1360),
59 prog(elf.PF_R|elf.PF_W, 0xe4000, 0xe5000, 0x1358, 0x1358),
69 prog(elf.PF_R, 0, 0, 0x3c944, 0x3c944),
[all …]
Dhost_bionic_inject.go93 for _, prog := range file.Progs {
94 if prog.Type == elf.PT_INTERP {
144 for _, prog := range file.Progs {
145 if prog.Type != elf.PT_LOAD {
149 if laddr < prog.Vaddr || laddr > prog.Vaddr+prog.Memsz {
154 if lprog.Flags != prog.Flags {
156 i, lprog.Vaddr, lprog.Flags, prog.Flags)
159 if laddr+lprog.Memsz > prog.Vaddr+prog.Filesz {
161 i, lprog.Vaddr, laddr+lprog.Memsz, prog.Vaddr+prog.Filesz)
/build/make/tools/apicheck/etc/
Dapicheck23 prog="$0"
24 while [ -h "${prog}" ]; do
25 newProg=`/bin/ls -ld "${prog}"`
28 prog="${newProg}"
30 progdir=`dirname "${prog}"`
31 prog="${progdir}/${newProg}"
35 progdir=`dirname "${prog}"`
38 prog="${progdir}"/`basename "${prog}"`
/build/soong/cmd/extract_linker/
Dmain.go59 for _, prog := range ef.Progs {
60 if prog.Type != elf.PT_LOAD {
68 if prog.Flags&elf.PF_W != 0 {
71 if prog.Flags&elf.PF_X != 0 {
81 sectionName, baseLoadAddr+prog.Vaddr))
83 buffer, _ := ioutil.ReadAll(prog.Open())
92 if prog.Memsz > prog.Filesz {
93 fmt.Fprintf(asm, ".fill 0x%x, 1, 0\n", prog.Memsz-prog.Filesz)