/illumos-gate/usr/src/tools/protocmp/ |
H A D | arch.c | 37 int arch = 0; local 41 arch = P_SPARC; 43 arch = P_SPARC; 45 arch = P_SPARC; 47 arch = P_SUN4; 49 arch = P_SUN4c; 51 arch = P_SUN4u; 53 arch = P_SUN4d; 55 arch = P_SUN4e; 57 arch [all...] |
H A D | exception_list.c | 35 #include "arch.h" 48 char *name, *arch; local 56 if ((arch = strtok(NULL, FS)) == NULL) { 57 arch = "all"; 77 while ((e->arch = assign_arch(arch)) == 0) { 78 if ((arch = strtok(NULL, FS)) == NULL) {
|
H A D | list.h | 119 short arch; member in struct:elem
|
H A D | protodir.c | 38 #include "arch.h" 84 parse_proto_line(const char *basedir, char *line, elem_list *list, short arch, argument 205 e->arch = arch; 257 parse_proto_link(const char *basedir, char *line, elem_list *list, short arch, argument 273 e->arch = arch; 304 key.arch = e->arch; 355 * I will set the arch an 358 read_pkginfo(const char *protodir, short *arch, char *basedir) argument 452 first_pass_prototype(const char *protofile, const char *protodir, elem_list *list, short arch, const char *basedir, const char *pkgname) argument 559 second_pass_prototype(const char *protofile, const char *protodir, elem_list *list, short arch, const char *basedir, const char *pkgname) argument 640 short arch; local [all...] |
/illumos-gate/usr/src/head/ |
H A D | pkginfo.h | 44 char *arch; member in struct:pkginfo
|
/illumos-gate/usr/src/lib/efcode/fcdriver/ |
H A D | load_node.c | 67 build_default_search_path(char *arch) argument 77 if (*arch != '\0') { 78 len += len + (3 * strlen(arch)) + 1; 81 if (*arch != '\0') { 82 sprintf(default_search_path, search_proto, platform, arch, 83 utsname.machine, arch, arch);
|
/illumos-gate/usr/src/cmd/abi/spectrans/parser/ |
H A D | extends.c | 294 * arch_match(FILE *fp, int arch) 300 * If it finds an "arch" keyword along the way, it is checked to see if 303 * 0. If no "arch" keyword is found, it returns 1. 306 * the file to find "arch" and rewinds before returning. 307 * Later all the data that was skipped while searching for "arch" may 312 arch_match(FILE *fp, int arch) argument 360 if (strcasecmp(key, "arch") == 0) { 365 if (arch & archset) {
|
H A D | frontend.c | 453 * check4extends(char *filename, char *value, int arch, FILE *fp) 454 * if no arch keyword is found or there is a MATCHING arch keyword 464 check4extends(const char *filename, const char *value, int arch, FILE *fp) argument 470 if (arch_match(fp, arch)) { 535 "arch keyword with no value");
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | pkginfo.c | 124 * any arch & vers specs that were provided 126 if (ckinst(pkginst, info->arch, info->version, ckarch, 169 if (info->arch) 170 free(info->arch); 184 info->arch = info->version = NULL; 224 memloc = &info->arch; 399 archcmp(char *arch, char *archlist) argument 403 if (arch == NULL) 406 /* arch and archlist must not contain whitespace! */ 409 for (pt = arch; *p 422 ckinfo(char *inst, char *arch, char *vers) argument [all...] |
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | uname.c | 150 char* arch = 0; local 158 if (arch = strchr(sys, '.')) 160 *arch++ = 0; 161 if (!*arch) 162 arch = 0; 180 if (!(ut->machine = arch))
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/ |
H A D | versions.c | 59 static int arch(void); 122 while (arch()) 134 * setfile::= (arch())+ <EOF> 136 * arch::= <ARCHITECTURE> "{" (set_list())* "}" 143 arch(void) function 147 errlog(BEGIN, "arch() {"); 149 errlog(END, "} /* arch */"); 153 errlog(END, "} /* arch */"); 157 errlog(END, "} /* arch */"); 164 errlog(END, "} /* arch */"); [all...] |
H A D | xlator.c | 60 { "arch", XLATOR_KW_ARCH }, 645 char arch[ARCHBUFLEN]; local 649 (void) strncpy(arch, TargetArchStr, ARCHBUFLEN-1); 650 arch[ARCHBUFLEN-2] = '\0'; 651 (void) strcat(arch, "="); /* append an '=' */ 652 archlen = strlen(arch); 657 if ((v = strstr(value, arch)) != NULL) { 697 * arch=path item in value, i.e. for TargetArchStr the interface is 704 char arch[ARCHBUFLEN]; local 708 (void) strncpy(arch, TargetArchSt 962 set_version_arch(const char *arch) argument 1003 set_supported_arch(const char *arch) argument [all...] |
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | db.c | 264 db_set_arch(char const *arch) argument 266 Database.Arch = arch;
|
H A D | trace.c | 81 { "arch", XLATOR_KW_ARCH}, 565 char const *arch = db_get_arch(); local 578 if (strcmp(p, arch) == 0 || strcmp(p, "all") == 0)
|
/illumos-gate/usr/src/lib/libdisasm/common/ |
H A D | libdisasm.c | 163 dis_arch_t *arch = NULL; local 169 arch = dis_archs[i]; 173 if (arch == NULL) { 182 dhp->dh_arch = arch; 192 if (arch->da_handle_attach != NULL && 193 arch->da_handle_attach(dhp) != 0) {
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | boot_plat.c | 463 char arch[128]; local 475 if (len > 0 && len < sizeof (arch)) { 476 (void) prom_getprop(n, "device_type", arch); 477 arch[len] = '\0'; 478 dprintf("device_type=%s\n", arch); 479 if (strcmp(arch, "sun4v") == 0) { 605 dprintf("arch: %s\n", is_sun4v ? "sun4v" : "sun4u");
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mansearch.h | 91 const char *arch; /* architecture/NULL */ member in struct:mansearch
|
H A D | main.c | 262 search.arch = optarg; 343 if (search.arch == NULL) 344 search.arch = getenv("MACHINE"); 346 if (search.arch == NULL) 347 search.arch = MACHINE; 616 "[-M path] [-m path] [-O outkey] [-S arch]\n" 621 "[-M path] [-m path] [-O outkey] [-S arch]\n" 630 const char *sec, const char *arch, const char *name, 653 if (arch != NULL) { 655 paths->paths[ipath], sec, arch, nam 629 fs_lookup(const struct manpaths *paths, size_t ipath, const char *sec, const char *arch, const char *name, struct manpage **res, size_t *ressz) argument [all...] |
H A D | roff.h | 123 char *arch; /* Machine architecture. */ member in struct:roff_meta
|
/illumos-gate/usr/src/cmd/modload/ |
H A D | add_drv.c | 959 char arch[SYS_NMLN]; local 967 if (sysinfo(SI_ARCHITECTURE, arch, sizeof (arch)) == -1) { 972 if (strcmp(arch, "sparc") == 0 || strcmp(arch, "i386") == 0) { 989 (void) fprintf(stderr, gettext(ERR_ARCH_NOT_SUPPORTED), arch);
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | auto_subr.c | 65 static int arch(char *, size_t, bool_t); 573 if (arch(procbuf, sizeof (procbuf), 583 if (arch(procbuf, sizeof (procbuf), 989 * Like arch(1), we need to substitute "sun4" for "sun4u", "sun4v", ... for 990 * backward compatibility. When kflag is set (like arch -k), the unmodifed 994 arch(char *buf, size_t bufsize, bool_t karch) function
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.tftpd.c | 900 * So first check if <Hex IP Addr>.<arch> is on the filesystem. 901 * Second, this is how most Sun3s work; assume <arch> is sun3. 908 char *arch, *s, *bufend; local 922 ipaddr = htonl(strtol(origname, &arch, 16)); 923 if ((arch == NULL) || (len > 8 && *arch != '.')) 926 arch = "SUN3"; 928 arch++; 961 while ((*arch != '\0') && (s < bufend)) 962 *s++ = tolower (*arch [all...] |
/illumos-gate/usr/src/lib/libbrand/common/ |
H A D | libbrand.c | 87 #define DTD_ATTR_ARCH ((const xmlChar *) "arch") 972 xmlChar *match, *name, *arch, *iptype; local 993 arch = xmlGetProp(node, DTD_ATTR_ARCH); 995 if ((match == NULL) || (name == NULL) || (arch == NULL) || 1001 /* check if the arch matches */ 1002 if ((strcmp((char *)arch, "all") != 0) && 1003 (strcmp((char *)arch, curr_arch) != 0)) 1033 if (arch != NULL) 1034 xmlFree(arch);
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumptape.c | 145 static int arch; /* fd of output archiver */ variable 465 arch = cmd[1]; 600 if (arch >= 0) { 601 (void) close(arch); 602 arch = -1; 1814 archivefd = arch = writer = -1; 1909 if (arch >= 0) { 1910 (void) close(arch); /* only writer has this open */ 1911 arch = -1; 2156 if ((arch > [all...] |
/illumos-gate/usr/src/uts/common/xen/public/ |
H A D | xen.h | 45 #include "arch-x86/xen.h" 47 #include "arch-ia64.h" 457 struct arch_vcpu_info arch; member in struct:vcpu_info 517 struct arch_shared_info arch; member in struct:shared_info
|