| /freebsd-9-stable/sys/xen/interface/foreign/ |
| D | mkheader.py | 7 arch = sys.argv[1]; variable 87 """ % (arch, sys.argv[0], fileid, fileid) 89 if arch in header: 90 output += header[arch]; 101 replace = define + "_" + arch.upper(); 103 replace = define + "_" + arch; 118 output += "#define %s_has_no_%s 1\n" % (arch, union); 120 output += "union %s_%s {%s\n};\n" % (union, arch, match.group(1)); 128 output += "#define %s_has_no_%s 1\n" % (arch, struct); 130 output += "struct %s_%s {%s\n};\n" % (struct, arch, match.group(1)); [all …]
|
| D | Makefile | 27 x86_32.h: ../arch-x86/xen-x86_32.h ../arch-x86/xen.h ../xen.h $(scripts) 30 x86_64.h: ../arch-x86/xen-x86_64.h ../arch-x86/xen.h ../xen.h $(scripts) 33 ia64.h: ../arch-ia64.h ../xen.h $(scripts)
|
| /freebsd-9-stable/contrib/binutils/bfd/ |
| D | archures.c | 702 if (((ubfd = abfd) && ubfd->arch_info->arch == bfd_arch_unknown) in bfd_arch_get_compatible() 703 || ((ubfd = bbfd) && ubfd->arch_info->arch == bfd_arch_unknown)) in bfd_arch_get_compatible() 775 enum bfd_architecture arch, in bfd_default_set_arch_mach() argument 778 abfd->arch_info = bfd_lookup_arch (arch, mach); in bfd_default_set_arch_mach() 802 return abfd->arch_info->arch; in bfd_get_arch() 875 if (a->arch != b->arch) in bfd_default_compatible() 909 enum bfd_architecture arch; in bfd_default_scan() local 1010 arch = bfd_arch_m68k; in bfd_default_scan() 1013 arch = bfd_arch_m68k; in bfd_default_scan() 1017 arch = bfd_arch_m68k; in bfd_default_scan() [all …]
|
| D | archive.c | 333 get_extended_arelt_filename (bfd *arch, const char *name) in get_extended_arelt_filename() argument 342 if (errno != 0 || index >= bfd_ardata (arch)->extended_names_size) in get_extended_arelt_filename() 348 return bfd_ardata (arch)->extended_names + index; in get_extended_arelt_filename() 1628 _bfd_write_archive_contents (bfd *arch) in _bfd_write_archive_contents() argument 1634 bfd_boolean makemap = bfd_has_map (arch); in _bfd_write_archive_contents() 1643 for (current = arch->archive_head; in _bfd_write_archive_contents() 1660 bfd_ar_hdr_from_filesystem (arch, current->filename, current); in _bfd_write_archive_contents() 1665 BFD_SEND (arch, _bfd_truncate_arname, in _bfd_write_archive_contents() 1666 (arch, current->filename, (char *) arch_hdr (current))); in _bfd_write_archive_contents() 1676 if (!BFD_SEND (arch, _bfd_construct_extended_name_table, in _bfd_write_archive_contents() [all …]
|
| D | gen-aout.c | 34 char *target = "unknown", *arch = "unknown"; local 83 arch = "vax"; 86 arch = "m68k"; 88 if (arch[0] == '1') 92 arch = "unknown"; 94 printf("#define DEFAULT_ARCH bfd_arch_%s\n\n", arch);
|
| D | archive64.c | 146 bfd_elf64_archive_write_armap (bfd *arch, in bfd_elf64_archive_write_armap() argument 156 bfd *current = arch->archive_head; in bfd_elf64_archive_write_armap() 185 if (bfd_bwrite (&hdr, sizeof (struct ar_hdr), arch) in bfd_elf64_archive_write_armap() 190 if (bfd_bwrite (buf, 8, arch) != 8) in bfd_elf64_archive_write_armap() 199 current = arch->archive_head; in bfd_elf64_archive_write_armap() 209 if (bfd_bwrite (buf, 8, arch) != 8) in bfd_elf64_archive_write_armap() 226 if (bfd_bwrite (*map[count].name, len, arch) != len) in bfd_elf64_archive_write_armap() 234 if (bfd_bwrite ("", 1, arch) != 1) in bfd_elf64_archive_write_armap()
|
| D | aoutf1.h | 101 enum bfd_architecture arch; in sunos_set_arch_mach() local 109 arch = bfd_arch_m68k; in sunos_set_arch_mach() 115 arch = bfd_arch_m68k; in sunos_set_arch_mach() 121 arch = bfd_arch_m68k; in sunos_set_arch_mach() 126 arch = bfd_arch_sparc; in sunos_set_arch_mach() 131 arch = bfd_arch_sparc; in sunos_set_arch_mach() 136 arch = bfd_arch_sparc; in sunos_set_arch_mach() 142 arch = bfd_arch_i386; in sunos_set_arch_mach() 147 arch = bfd_arch_m68k; in sunos_set_arch_mach() 152 arch = bfd_arch_obscure; in sunos_set_arch_mach() [all …]
|
| /freebsd-9-stable/contrib/binutils/binutils/ |
| D | ar.c | 150 map_over_members (bfd *arch, void (*function)(bfd *), char **files, int count) in map_over_members() argument 157 for (head = arch->archive_next; head; head = head->archive_next) in map_over_members() 176 for (head = arch->archive_next; head; head = head->archive_next) in map_over_members() 187 (!FILENAME_CMP (normalize (*files, arch), head->filename))) in map_over_members() 589 bfd *arch; in main() local 627 arch = open_inarch (inarch_filename, in main() 633 map_over_members (arch, print_descr, files, file_count); in main() 637 map_over_members (arch, print_contents, files, file_count); in main() 641 map_over_members (arch, extract_file, files, file_count); in main() 646 delete_members (arch, files); in main() [all …]
|
| D | arsup.c | 47 map_over_list (bfd *arch, void (*function) (bfd *, bfd *), struct list *list) in map_over_list() argument 55 head = arch->archive_next; in map_over_list() 75 bfd *prev = arch; in map_over_list() 77 for (head = arch->archive_next; head; head = head->archive_next) in map_over_list() 104 bfd *arch; in ar_directory() local 106 arch = open_inarch (ar_name, (char *) NULL); in ar_directory() 120 map_over_list (arch, ar_directory_doer, list); in ar_directory() 122 bfd_close (arch); in ar_directory() 233 bfd *arch; in ar_addlib() local 235 arch = open_inarch (name, (char *) NULL); in ar_addlib() [all …]
|
| /freebsd-9-stable/sys/gnu/fs/xfs/ |
| D | xfs_arch.h | 100 #define INT_GET(reference,arch) \ argument 101 (((arch) == ARCH_NOCONVERT) \ 109 #define INT_SET(reference,arch,valueref) \ argument 111 …(void)( (reference) = ( ((arch) != ARCH_NOCONVERT) ? (INT_SWAP((reference),(valueref))) : (valuere… 114 ( ((arch) != ARCH_NOCONVERT) ? (reference) = INT_SWAP((reference),(reference)) : 0 ) \ 119 #define INT_MOD_EXPR(reference,arch,code) \ argument 120 (((arch) == ARCH_NOCONVERT) \ 125 (reference) = INT_GET((reference),arch) , \ 127 INT_SET(reference, arch, reference) \ 132 #define INT_MOD(reference,arch,delta) \ argument [all …]
|
| /freebsd-9-stable/contrib/bmake/ |
| D | arch.c | 576 FILE * arch; /* Stream to archive */ in ArchStatMember() local 632 arch = ArchFindMember(archive, member, &sarh, "r"); in ArchStatMember() 634 if (arch == NULL) { in ArchStatMember() 637 fclose(arch); in ArchStatMember() 646 arch = fopen(archive, "r"); in ArchStatMember() 647 if (arch == NULL) { in ArchStatMember() 655 if ((fread(magic, SARMAG, 1, arch) != 1) || in ArchStatMember() 657 fclose(arch); in ArchStatMember() 668 while (fread((char *)&arh, sizeof(struct ar_hdr), 1, arch) == 1) { in ArchStatMember() 699 switch (ArchSVR4Entry(ar, memName, size, arch)) { in ArchStatMember() [all …]
|
| D | machine.sh | 49 arch=`Which arch /usr/bin:/usr/ucb:$PATH` 50 MACHINE_ARCH=`$arch -s`; 56 arch=`Which arch /usr/bin:/usr/ucb:$PATH` 57 test "$arch" && machine_arch=`$arch` 88 arch*) echo $MACHINE_ARCH;;
|
| D | os.sh | 95 arch=`Which arch /usr/bin:/usr/ucb` 104 MACHINE_ARCH=`arch` 108 MACHINE_ARCH=`arch` 140 arch=`Which arch /usr/bin:/usr/ucb:$PATH` 141 MACHINE_ARCH=`$arch -s`
|
| /freebsd-9-stable/tools/tools/release/ |
| D | chk_dokern.sh_and_drivers.conf | 31 arch=`dirname $f` 34 egrep -qw "^((pseudo-)?device|options)[[:space:]]+$x" ../sys/${arch}/conf/GENERIC || \ 35 echo $x not found in $arch/GENERIC 36 sed -e'/"SMALL"/,/^else$/d' ${arch}/dokern.sh | \ 38 echo "duplicate $x found in ${arch}/dokern.sh" 44 arch=`dirname $f` 50 ../sys/${arch}/conf/GENERIC || \ 51 echo $x not found in $arch/GENERIC 52 grep -qw ^$x ${arch}/drivers.conf && \ 53 echo "duplicate $x found in ${arch}/drivers.conf"
|
| /freebsd-9-stable/contrib/gdb/gdb/ |
| D | nto-tdep.c | 71 nto_map_arch_to_cputype (const char *arch) in nto_map_arch_to_cputype() argument 73 if (!strcmp (arch, "i386") || !strcmp (arch, "x86")) in nto_map_arch_to_cputype() 75 if (!strcmp (arch, "rs6000") || !strcmp (arch, "powerpc")) in nto_map_arch_to_cputype() 77 if (!strcmp (arch, "mips")) in nto_map_arch_to_cputype() 79 if (!strcmp (arch, "arm")) in nto_map_arch_to_cputype() 81 if (!strcmp (arch, "sh")) in nto_map_arch_to_cputype() 90 const char *arch; in nto_find_and_open_solib() local 97 arch = "x86"; in nto_find_and_open_solib() 103 arch = "ppc"; in nto_find_and_open_solib() 108 arch = TARGET_ARCHITECTURE->arch_name; in nto_find_and_open_solib() [all …]
|
| D | osabi.c | 105 gdbarch_register_osabi (enum bfd_architecture arch, unsigned long machine, in gdbarch_register_osabi() argument 111 const struct bfd_arch_info *arch_info = bfd_lookup_arch (arch, machine); in gdbarch_register_osabi() 123 bfd_printable_arch_mach (arch, machine)); in gdbarch_register_osabi() 174 enum bfd_architecture arch; /* bfd_arch_unknown == wildcard */ member 182 gdbarch_register_osabi_sniffer (enum bfd_architecture arch, in gdbarch_register_osabi_sniffer() argument 190 sniffer->arch = arch; in gdbarch_register_osabi_sniffer() 226 if ((sniffer->arch == bfd_arch_unknown /* wildcard */ in gdbarch_lookup_osabi() 227 || sniffer->arch == bfd_get_arch (abfd)) in gdbarch_lookup_osabi() 249 if ((match_specific && sniffer->arch != bfd_arch_unknown) in gdbarch_lookup_osabi() 250 || (!match_specific && sniffer->arch == bfd_arch_unknown)) in gdbarch_lookup_osabi() [all …]
|
| D | arch-utils.c | 456 const char *arch; in show_architecture() local 457 arch = TARGET_ARCHITECTURE->printable_name; in show_architecture() 459 printf_filtered ("The target architecture is set automatically (currently %s)\n", arch); in show_architecture() 461 printf_filtered ("The target architecture is assumed to be %s\n", arch); in show_architecture() 596 const char **arch; in initialize_current_architecture() local 597 for (arch = arches; *arch != NULL; arch++) in initialize_current_architecture() 599 if (strcmp (*arch, chosen) < 0) in initialize_current_architecture() 600 chosen = *arch; in initialize_current_architecture()
|
| /freebsd-9-stable/contrib/binutils/ld/ |
| D | ldfile.c | 302 ldfile_open_file_search (const char *arch, in ldfile_open_file_search() argument 341 if (ldemul_open_dynamic_archive (arch, search, entry)) in ldfile_open_file_search() 352 + strlen (arch) in ldfile_open_file_search() 358 lib, entry->filename, arch, suffix); in ldfile_open_file_search() 395 search_arch_type *arch; in ldfile_open_file() local 399 for (arch = search_arch_head; arch != NULL; arch = arch->next) in ldfile_open_file() 401 found = ldfile_open_file_search (arch->name, entry, "lib", ".a"); in ldfile_open_file() 405 found = ldfile_open_file_search (arch->name, entry, ":lib", ".a"); in ldfile_open_file() 409 found = ldemul_find_potential_libraries (arch->name, entry); in ldfile_open_file() 539 const bfd_arch_info_type *arch = bfd_scan_arch (string); in ldfile_set_output_arch() local [all …]
|
| /freebsd-9-stable/contrib/gcc/config/i386/ |
| D | driver-i386.c | 75 bool arch; in host_detect_local_cpu() local 80 arch = strcmp (argv[0], "arch") == 0; in host_detect_local_cpu() 81 if (!arch && strcmp (argv[0], "tune")) in host_detect_local_cpu() 155 if (arch) in host_detect_local_cpu() 199 if (arch) in host_detect_local_cpu() 294 bool arch; in host_detect_local_cpu() local 299 arch = strcmp (argv[0], "arch") == 0; in host_detect_local_cpu() 300 if (!arch && strcmp (argv[0], "tune")) in host_detect_local_cpu() 303 if (arch) in host_detect_local_cpu()
|
| /freebsd-9-stable/contrib/binutils/opcodes/ |
| D | cgen.sh | 53 arch=$6 71 ARCH=`echo ${arch} | tr "${lowercase}" "${uppercase}"` 113 sed -e "s/@ARCH@/${ARCH}/g" -e "s/@arch@/${arch}/g" < tmp-desc.h1 > tmp-desc.h 116 sed -e "s/@ARCH@/${ARCH}/g" -e "s/@arch@/${arch}/g" \ 120 sed -e "s/@ARCH@/${ARCH}/g" -e "s/@arch@/${arch}/g" < tmp-opc.h1 > tmp-opc.h 123 sed -e "s/@ARCH@/${ARCH}/g" -e "s/@arch@/${arch}/g" \ 129 sed -e "s/@ARCH@/${ARCH}/g" -e "s/@arch@/${arch}/g" \ 136 sed -e "s/@ARCH@/${ARCH}/g" -e "s/@arch@/${arch}/g" \ 141 | sed -e "s/@ARCH@/${ARCH}/g" -e "s/@arch@/${arch}/g" \ 146 | sed -e "s/@ARCH@/${ARCH}/g" -e "s/@arch@/${arch}/g" \
|
| /freebsd-9-stable/usr.bin/xlint/ |
| D | Makefile.inc | 16 .if exists(${.CURDIR}/../arch/${TARGET_ARCH}) 17 CFLAGS+= -I${.CURDIR}/../arch/${TARGET_ARCH} 19 CFLAGS+= -I${.CURDIR}/../arch/${TARGET_CPUARCH}
|
| /freebsd-9-stable/contrib/binutils/include/opcode/ |
| D | sparc.h | 59 #define SPARC_OPCODE_ARCH_MASK(arch) (1 << (arch)) argument 62 #define SPARC_OPCODE_ARCH_V9_P(arch) ((arch) >= SPARC_OPCODE_ARCH_V9) argument
|
| /freebsd-9-stable/usr.sbin/sysinstall/ |
| D | main.c | 57 char titlestr[80], *arch, *osrel, *ostype; in main() local 202 arch = getsysctlbyname("hw.machine_arch"); in main() 205 snprintf(titlestr, sizeof(titlestr), "%s/%s %s - %s", ostype, arch, in main() 207 free(arch); in main()
|
| /freebsd-9-stable/usr.sbin/pkg_install/add/ |
| D | main.c | 321 char arch[64]; in getpackagesite() local 322 size_t archlen = sizeof(arch); in getpackagesite() 345 if (sysctl(archmib, 2, arch, &archlen, NULL, 0) == -1) in getpackagesite() 347 arch[archlen-1] = 0; in getpackagesite() 348 if (strlcat(sitepath, arch, sizeof(sitepath)) >= sizeof(sitepath)) in getpackagesite()
|
| /freebsd-9-stable/release/doc/ |
| D | README | 38 the arch= attribute on (all?) DocBook elements; elements with 39 an arch= attribute are only included in the output if their 40 value is equal to the value of the &arch; entity. In the 41 future, arch= could be a list of possible &arch; entity values 95 should use the arch= attribute to elements that are specific to a 100 <para arch="sparc64">SPARC64-specific text</para> 105 (i.e. arch="sparc64,ia64").
|