HomeSort by relevance Sort by last modified time
    Searched refs:arhdr (Results 1 - 23 of 23) sorted by null

  /external/elfutils/tests/
arls.c 79 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local
80 if (arhdr == NULL)
100 arhdr->ar_name, (long int) arhdr->ar_date, (int) arhdr->ar_uid,
101 (int) arhdr->ar_gid,
102 (int) arhdr->ar_mode, (long long int) arhdr->ar_size);
saridx.c 150 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local
152 if (arhdr == NULL)
154 printf ("cannot get arhdr: %s\n", elf_errmsg (-1));
174 t = arhdr->ar_date;
183 arhdr->ar_name,
185 (long int) arhdr->ar_uid,
186 (long int) arhdr->ar_gid,
187 arhdr->ar_mode,
188 (long int) arhdr->ar_size,
189 arhdr->ar_rawname)
    [all...]
arextract.c 75 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local
77 if (arhdr == NULL)
79 printf ("cannot get arhdr: %s\n", elf_errmsg (-1));
83 if (strcmp (arhdr->ar_name, argv[2]) == 0)
106 todo = arhdr->ar_size;
arsymtest.c 88 Elf_Arhdr *arhdr; local
105 arhdr = elf_getarhdr (subelf);
106 if (arhdr == NULL)
114 fprintf (fp, "%s in %s\n", arsym[narsym].as_name, arhdr->ar_name);
  /external/elfutils/src/
ar.c 513 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local
515 if (strcmp (arhdr->ar_name, "/") == 0)
518 index_size = arhdr->ar_size;
521 if (strcmp (arhdr->ar_name, "//") == 0)
526 arlib_add_symbols (elf, arfname, arhdr->ar_name, cur_off);
527 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1))
535 entry.key = arhdr->ar_name;
548 printf ("\n<%s>\n\n", arhdr->ar_name);
558 localtime (&arhdr->ar_date));
561 (arhdr->ar_mode & S_IRUSR) ? 'r' : '-'
855 struct ar_hdr arhdr; local
946 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local
1149 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local
1366 Elf_Arhdr *arhdr; local
1457 struct ar_hdr arhdr; local
    [all...]
ranlib.c 198 Elf_Arhdr *arhdr = elf_getarhdr (elf); local
199 assert (arhdr != NULL);
202 if (strcmp (arhdr->ar_name, "/") == 0)
205 index_size = arhdr->ar_size;
209 arlib_add_symbols (elf, fname, arhdr->ar_name, cur_off);
210 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1))
objdump.c 326 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local
329 if (strcmp (arhdr->ar_name, "/") != 0
330 && strcmp (arhdr->ar_name, "//") != 0)
333 result |= handle_elf (subelf, new_prefix, arhdr->ar_name,
336 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name,
341 new_prefix, arhdr->ar_name, new_suffix);
nm.c 454 Elf_Arhdr *arhdr = NULL; local
464 || (arhdr = elf_getarhdr (subelf)) == NULL))
471 printf (gettext ("%s in %s\n"), arsym->as_name, arhdr->ar_name);
489 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local
492 if (strcmp (arhdr->ar_name, "/") != 0
493 && strcmp (arhdr->ar_name, "//") != 0
494 && strcmp (arhdr->ar_name, "/SYM64/") != 0)
497 result |= handle_elf (fd, subelf, new_prefix, arhdr->ar_name,
500 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name,
505 new_prefix, arhdr->ar_name, new_suffix)
    [all...]
size.c 380 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local
383 handle_elf (subelf, new_prefix, arhdr->ar_name);
385 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name);
ldgeneric.c 1826 Elf_Arhdr *arhdr = elf_getarhdr (arelf); local
1917 Elf_Arhdr *arhdr; local
    [all...]
strip.c 2256 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local
    [all...]
elflint.c 288 Elf_Arhdr *arhdr = elf_getarhdr (subelf); local
289 assert (arhdr != NULL);
292 arhdr->ar_name, arhdr->ar_size, false);
    [all...]
  /toolchain/binutils/binutils-2.27/binutils/
elfcomm.c 446 Fills in ARCH->next_arhdr_offset and ARCH->arhdr.
462 size = strtoul (arch->arhdr.ar_size, NULL, 10);
473 arch->next_arhdr_offset += sizeof arch->arhdr + size;
583 got = fread (&arch->arhdr, 1, sizeof arch->arhdr, arch->file);
584 if (got != sizeof arch->arhdr && got != 0)
622 got = fread (&arch->arhdr, 1, sizeof arch->arhdr, file);
623 if (got != sizeof arch->arhdr)
633 if (const_strneq (arch->arhdr.ar_name, "/ ")
    [all...]
elfcomm.h 77 struct ar_hdr arhdr; /* Current archive header. */
76 struct ar_hdr arhdr; \/* Current archive header. *\/ member in struct:archive_info
elfedit.c 375 got = fread (&arch.arhdr, 1, sizeof arch.arhdr, file);
376 if (got != sizeof arch.arhdr)
385 if (memcmp (arch.arhdr.ar_fmag, ARFMAG, 2) != 0)
393 arch.next_arhdr_offset += sizeof arch.arhdr;
395 archive_file_size = strtoul (arch.arhdr.ar_size, NULL, 10);
448 archive_file_offset = arch.nested_member_origin + sizeof arch.arhdr;
readelf.c     [all...]
  /prebuilts/go/darwin-x86/src/cmd/link/internal/ld/
ar.go 52 type ArHdr struct {
90 var arhdr ArHdr
91 l := nextar(f, f.Offset(), &arhdr)
97 if arhdr.name == "/" || arhdr.name == "/SYM64/" {
98 armap = readArmap(name, f, arhdr)
119 l := nextar(f, int64(off), &arhdr)
123 pname := fmt.Sprintf("%s(%s)", name, arhdr.name)
124 l = atolwhex(arhdr.size
    [all...]
lib.go 683 func nextar(bp *bio.Reader, off int64, a *ArHdr) int64 {
728 var arhdr ArHdr
729 l := nextar(f, f.Offset(), &arhdr)
742 pkgDefBytes := make([]byte, atolwhex(arhdr.size))
797 var arhdr ArHdr
798 l := nextar(f, off, &arhdr)
805 if !strings.HasPrefix(arhdr.name, pkgdef) {
812 ldpkg(ctxt, f, pkg, atolwhex(arhdr.size), lib.File, Pkgdef
    [all...]
  /prebuilts/go/linux-x86/src/cmd/link/internal/ld/
ar.go 52 type ArHdr struct {
90 var arhdr ArHdr
91 l := nextar(f, f.Offset(), &arhdr)
97 if arhdr.name == "/" || arhdr.name == "/SYM64/" {
98 armap = readArmap(name, f, arhdr)
119 l := nextar(f, int64(off), &arhdr)
123 pname := fmt.Sprintf("%s(%s)", name, arhdr.name)
124 l = atolwhex(arhdr.size
    [all...]
lib.go 683 func nextar(bp *bio.Reader, off int64, a *ArHdr) int64 {
728 var arhdr ArHdr
729 l := nextar(f, f.Offset(), &arhdr)
742 pkgDefBytes := make([]byte, atolwhex(arhdr.size))
797 var arhdr ArHdr
798 l := nextar(f, off, &arhdr)
805 if !strings.HasPrefix(arhdr.name, pkgdef) {
812 ldpkg(ctxt, f, pkg, atolwhex(arhdr.size), lib.File, Pkgdef
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/
obj.go 22 func formathdr(arhdr []byte, name string, size int64) {
23 copy(arhdr[:], fmt.Sprintf("%-16s%-12d%-6d%-6d%-8o%-10d`\n", name, 0, 0, 0, 0644, size))
67 var arhdr [ArhdrSize]byte
70 arhdr = [ArhdrSize]byte{}
71 bout.Write(arhdr[:])
104 formathdr(arhdr[:], "__.PKGDEF", size)
105 bout.Write(arhdr[:])
116 arhdr = [ArhdrSize]byte{}
117 bout.Write(arhdr[:])
169 formathdr(arhdr[:], "_go_.o", size
    [all...]
  /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/
obj.go 22 func formathdr(arhdr []byte, name string, size int64) {
23 copy(arhdr[:], fmt.Sprintf("%-16s%-12d%-6d%-6d%-8o%-10d`\n", name, 0, 0, 0, 0644, size))
67 var arhdr [ArhdrSize]byte
70 arhdr = [ArhdrSize]byte{}
71 bout.Write(arhdr[:])
104 formathdr(arhdr[:], "__.PKGDEF", size)
105 bout.Write(arhdr[:])
116 arhdr = [ArhdrSize]byte{}
117 bout.Write(arhdr[:])
169 formathdr(arhdr[:], "_go_.o", size
    [all...]
  /toolchain/binutils/binutils-2.27/bfd/
archive.c     [all...]

Completed in 367 milliseconds