Home
last modified time | relevance | path

Searched refs:typestr (Results 1 – 20 of 20) sorted by relevance

/titanic_44/usr/src/cmd/od/
H A Dod.c418 do_type_string(char *typestr) in do_type_string() argument
420 if (*typestr == 0) { in do_type_string()
423 while (*typestr) { in do_type_string()
424 switch (*typestr) { in do_type_string()
426 typestr++; in do_type_string()
431 typestr++; in do_type_string()
434 typestr++; in do_type_string()
435 switch (*typestr) { in do_type_string()
439 typestr++; in do_type_string()
444 typestr++; in do_type_string()
[all …]
/titanic_44/usr/src/cmd/krb5/kadmin/kdcmgr/
H A Dklookup.c56 char name[NS_MAXDNAME], *cp, *typestr = NULL; in main() local
72 typestr = argv[2]; in main()
74 switch (*typestr) { in main()
170 } else if (typestr && *typestr == 'I') { in main()
185 if (type != T_SRV && !(typestr && *typestr == 'I')) in main()
199 if (type != T_SRV && !(typestr && *typestr == 'I')) in main()
/titanic_44/usr/src/cmd/acctadm/
H A Dmain.c119 char *typestr = NULL; /* type of accounting argument string */ in main() local
195 if (typestr != NULL) { in main()
200 typestr = argv[optind]; in main()
204 if (typestr != NULL) { in main()
205 if (strcmp(typestr, "process") == 0 || in main()
206 strcmp(typestr, "proc") == 0) in main()
208 else if (strcmp(typestr, "task") == 0) in main()
210 else if (strcmp(typestr, "flow") == 0) in main()
212 else if (strcmp(typestr, "net") == 0) in main()
216 typestr); in main()
[all …]
/titanic_44/usr/src/lib/libnwam/common/
H A Dlibnwam_util.c311 nwam_string_to_value_type(const char *typestr) in nwam_string_to_value_type() argument
313 if (strncmp(typestr, nwam_value_type_to_string(NWAM_VALUE_TYPE_BOOLEAN), in nwam_string_to_value_type()
314 strlen(typestr)) == 0) in nwam_string_to_value_type()
316 if (strncmp(typestr, nwam_value_type_to_string(NWAM_VALUE_TYPE_INT64), in nwam_string_to_value_type()
317 strlen(typestr)) == 0) in nwam_string_to_value_type()
319 if (strncmp(typestr, nwam_value_type_to_string(NWAM_VALUE_TYPE_UINT64), in nwam_string_to_value_type()
320 strlen(typestr)) == 0) in nwam_string_to_value_type()
322 if (strncmp(typestr, nwam_value_type_to_string(NWAM_VALUE_TYPE_STRING), in nwam_string_to_value_type()
323 strlen(typestr)) == 0) in nwam_string_to_value_type()
482 nwam_string_to_object_type(const char *typestr) in nwam_string_to_object_type() argument
[all …]
/titanic_44/usr/src/cmd/sgs/liblddbg/common/
H A Drelocate.c561 const char *typestr, Addr off, Sxword add, const char *secname, in Elf_reloc_entry_2() argument
573 typestr, EC_OFF(off), EC_SXWORD(add), in Elf_reloc_entry_2()
577 typestr, EC_OFF(off), EC_SXWORD(add), in Elf_reloc_entry_2()
582 typestr, EC_OFF(off), secname, symname); in Elf_reloc_entry_2()
585 typestr, EC_OFF(off), secname, symname); in Elf_reloc_entry_2()
592 typestr, EC_OFF(off), EC_SXWORD(add), symname, in Elf_reloc_entry_2()
596 typestr, EC_OFF(off), symname, poststr); in Elf_reloc_entry_2()
603 prestr, typestr, EC_OFF(off), in Elf_reloc_entry_2()
607 prestr, typestr, EC_OFF(off), in Elf_reloc_entry_2()
612 prestr, typestr, EC_OFF(off), secname, in Elf_reloc_entry_2()
[all …]
/titanic_44/usr/src/cmd/sgs/libelf/demo/
H A Ddispsyms.c138 const char *bindstr, *typestr, *shndxstr; in print_symtab() local
216 typestr = symtype[type]; in print_symtab()
220 typestr = typebuf; in print_symtab()
268 typestr, bindstr, sym.st_other, shndxstr, in print_symtab()
/titanic_44/usr/src/cmd/ctwatch/
H A Dctwatch.c172 get_type(const char *typestr) in get_type() argument
176 if (strcmp(types[i].name, typestr) == 0) in get_type()
178 uu_die(gettext("invalid contract type: %s\n"), typestr); in get_type()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/
H A Dsoconfig.c77 static int parse_params(char *famstr, char *typestr, char *protostr,
302 parse_params(char *famstr, char *typestr, char *protostr, char *path, in parse_params() argument
320 type = parse_int(typestr); in parse_params()
323 gettext("Bad socket type number: %s\n"), typestr); in parse_params()
/titanic_44/usr/src/cmd/cmd-inet/lib/nwamd/
H A Drouting_events.c91 static char typestr[12]; /* strlen("type ") + enough for an int */ in rtmtype_str() local
103 (void) snprintf(typestr, sizeof (typestr), "type %d", type); in rtmtype_str()
104 return (typestr); in rtmtype_str()
/titanic_44/usr/src/cmd/mdb/common/modules/svc.configd/
H A Dconfigd.c186 char typestr[30]; in request_log() local
299 enum_lookup(typestr, sizeof (typestr), ptr_type_enum, in request_log()
301 mdb_printf("\t\t%-7s %5d %?p %?p\n", typestr, in request_log()
/titanic_44/usr/src/uts/i86pc/io/
H A Dimmu_dmar.c511 char *typestr; in scope_type() local
515 typestr = "endpoint-device"; in scope_type()
518 typestr = "subtree-device"; in scope_type()
521 typestr = "IOAPIC"; in scope_type()
524 typestr = "HPET"; in scope_type()
527 typestr = "Unknown device"; in scope_type()
531 return (typestr); in scope_type()
/titanic_44/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_quota.c593 char *typestr, qsetstr[SMB_QUOTA_CMD_STR_LENGTH]; in smb_quota_zfs_set_quotas() local
619 typestr = "userquota"; in smb_quota_zfs_set_quotas()
624 typestr = "groupquota"; in smb_quota_zfs_set_quotas()
637 "%s@%d", typestr, id); in smb_quota_zfs_set_quotas()
640 "%s@%s", typestr, quota->q_sidstr); in smb_quota_zfs_set_quotas()
/titanic_44/usr/src/cmd/ctstat/
H A Dctstat.c491 get_type(const char *typestr) in get_type() argument
495 if (strcmp(cttypes[i].name, typestr) == 0) in get_type()
497 uu_die(gettext("invalid contract type: %s\n"), typestr); in get_type()
/titanic_44/usr/src/lib/libc/port/gen/
H A Dnss_dbdefs.c392 const char *dbname, int dbop, size_t *rlen, const char *typestr) in nss_pack_key2str() argument
405 dbname == NULL || rlen == NULL || typestr == NULL) in nss_pack_key2str()
408 while (typestr && *typestr) { in nss_pack_key2str()
409 switch (*typestr++) { in nss_pack_key2str()
/titanic_44/usr/src/cmd/ndmpd/tlm/
H A Dtlm_backup_reader.c1268 char *typestr; in zfs_put_quota_cb() local
1282 typestr = "userquota"; in zfs_put_quota_cb()
1284 typestr = "groupquota"; in zfs_put_quota_cb()
1288 "%s@%llu", typestr, (longlong_t)rid); in zfs_put_quota_cb()
1291 "%s@%s-%llu", typestr, domain, (longlong_t)rid); in zfs_put_quota_cb()
/titanic_44/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c113 char *typestr = "ufs"; variable
268 if (strcmp(typestr, mnt.mnt_fstype) != 0) { in main()
817 if (strcmp(mnt->mnt_fstype, typestr) != 0) in findmntent()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A Duds_daemon.c1979 char typestr[MAX_ESCAPED_DOMAIN_NAME]; in GenerateNTDResponse() local
1985 ConvertDomainNameToCString(&type, typestr); in GenerateNTDResponse()
1993 len += (int) (strlen(typestr) + 1); in GenerateNTDResponse()
2005 put_string(typestr, &data); in GenerateNTDResponse()
/titanic_44/usr/src/cmd/zfs/
H A Dzfs_main.c2402 const char *typestr; in userspace_cb() local
2482 typestr = us_type2str(type); in userspace_cb()
2483 typelen = strlen(gettext(typestr)); in userspace_cb()
/titanic_44/usr/src/uts/common/dtrace/
H A Ddtrace.c14828 char *strtab, *typestr; in dtrace_helper_provider_validate() local
14985 typestr = strtab + probe->dofpr_nargv; in dtrace_helper_provider_validate()
14993 typesz = strlen(typestr) + 1; in dtrace_helper_provider_validate()
15000 typestr += typesz; in dtrace_helper_provider_validate()
15004 typestr = strtab + probe->dofpr_xargv; in dtrace_helper_provider_validate()
15018 typesz = strlen(typestr) + 1; in dtrace_helper_provider_validate()
15026 typestr += typesz; in dtrace_helper_provider_validate()
/titanic_44/usr/src/cmd/dladm/
H A Ddladm.c4226 iptun_gettypebyname(char *typestr) in iptun_gettypebyname() argument
4231 if (strncmp(iptun_types[i].type_name, typestr, in iptun_gettypebyname()