Home
last modified time | relevance | path

Searched refs:tmpstr (Results 1 – 25 of 32) sorted by relevance

12

/titanic_50/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_aclmode_001_pos.ksh119 typeset tmpstr
153 tmpstr=${tmpstr}
156 tmpstr=${tmpstr}/read_data
158 tmpstr=${tmpstr}/list_directory/read_data
166 tmpstr=${tmpstr}
170 tmpstr=${tmpstr}/write_data
172 tmpstr=${tmpstr}/add_file/write_data
177 tmpstr=${tmpstr}/append_data
179 tmpstr=${tmpstr}/add_subdirectory/append_data
187 tmpstr=${tmpstr}
[all …]
/titanic_50/usr/src/lib/libkmf/libkmf/common/
H A Dcertgetsetop.c1287 char *tmpstr; in kmf_get_cert_version_str() local
1295 tmpstr = malloc(KMF_CERT_PRINTABLE_LEN); in kmf_get_cert_version_str()
1296 if (tmpstr == NULL) in kmf_get_cert_version_str()
1298 (void) memset(tmpstr, 0, KMF_CERT_PRINTABLE_LEN); in kmf_get_cert_version_str()
1301 tmpstr); in kmf_get_cert_version_str()
1304 *result = tmpstr; in kmf_get_cert_version_str()
1306 free(tmpstr); in kmf_get_cert_version_str()
1319 char *tmpstr; in kmf_get_cert_subject_str() local
1327 tmpstr = malloc(KMF_CERT_PRINTABLE_LEN); in kmf_get_cert_subject_str()
1328 if (tmpstr == NULL) in kmf_get_cert_subject_str()
[all …]
/titanic_50/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DTest.java68 String tmpstr; in main() local
114 tmpstr = getToken(o, "file_contents="); in main()
115 if (tmpstr != null) { in main()
116 st = new StringTokenizer(tmpstr); in main()
124 tmpstr = getToken(o, "user_allow_list="); in main()
125 if (tmpstr != null) { in main()
126 st = new StringTokenizer(tmpstr); in main()
134 tmpstr = getToken(o, "user_deny_list="); in main()
135 if (tmpstr != null) { in main()
136 st = new StringTokenizer(tmpstr); in main()
[all …]
H A DDoPrinterAdd.java189 String tmpstr = file_contents[0]; in addLocal() local
191 tmpstr = tmpstr.concat("," + file_contents[i]); in addLocal()
193 cmd = cmd.concat(" -I " + tmpstr); in addLocal()
198 String tmpstr = user_allow_list[0]; in addLocal() local
200 tmpstr = tmpstr.concat("," + user_allow_list[i]); in addLocal()
202 cmd = cmd.concat(" -u allow:" + tmpstr); in addLocal()
224 String tmpstr = user_deny_list[0]; in addLocal() local
226 tmpstr = tmpstr.concat("," + user_deny_list[i]); in addLocal()
229 " -u deny:" + tmpstr; in addLocal()
H A DDoPrinterMod.java461 String tmpstr = file_contents[0]; in modifyLocal() local
463 tmpstr = tmpstr.concat("," + file_contents[i]); in modifyLocal()
465 cmd = cmd.concat(" -I " + tmpstr); in modifyLocal()
513 String tmpstr = user_deny_list[0]; in modifyLocal() local
515 tmpstr = tmpstr.concat("," in modifyLocal()
519 " -u deny:" + tmpstr; in modifyLocal()
537 String tmpstr = user_allow_list[0]; in modifyLocal() local
539 tmpstr = tmpstr.concat("," in modifyLocal()
543 " -u allow:" + tmpstr; in modifyLocal()
H A DDoPrinterNS.java187 String tmpstr = getstdout(); in setNIS() local
188 tmpstr = tmpstr.trim(); in setNIS()
189 if (!tmpstr.equals("/usr/bin/lpset")) { in setNIS()
/titanic_50/usr/src/cmd/getopt/
H A Dgetopt.c61 char tmpstr[4]; in main() local
95 tmpstr[0] = '-'; in main()
96 tmpstr[1] = (char)c; in main()
97 tmpstr[2] = ' '; in main()
98 tmpstr[3] = '\0'; in main()
103 (void) strcat(outstr, tmpstr); in main()
/titanic_50/usr/src/cmd/hal/hald-runner/
H A Dmain.c42 char *tmpstr; in parse_udi() local
47 dbus_message_iter_get_basic(iter, &tmpstr); in parse_udi()
48 r->udi = g_strdup(tmpstr); in parse_udi()
63 char *tmpstr; in parse_environment() local
71tmpstr = g_strdup_printf("PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/X11R6/sbin:/bin:… in parse_environment()
73 tmpstr = g_strdup_printf("PATH=/sbin:/usr/sbin:/bin:/usr/bin:%s", getenv("PATH")); in parse_environment()
75 r->environment = get_string_array(&sub_iter, tmpstr); in parse_environment()
95 char *tmpstr; in handle_run() local
109 dbus_message_iter_get_basic(&iter, &tmpstr); in handle_run()
110 r->input = g_strdup(tmpstr); in handle_run()
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dread_pwd.c127 char *tmpstr = 0; in read_console_password() local
164 if (! (tmpstr = (char *)malloc(*pwsize))) { in read_console_password()
170 if (fgets(tmpstr, *pwsize, stdin) == NULL) { in read_console_password()
177 if ((ptr = strchr(tmpstr, '\n'))) in read_console_password()
184 if (strncmp(password, tmpstr, *pwsize)) { in read_console_password()
192 if (tmpstr) { in read_console_password()
193 (void) memset(tmpstr, 0, *pwsize); in read_console_password()
194 (void) free(tmpstr); in read_console_password()
/titanic_50/usr/src/cmd/format/
H A Dmodify_partition.c80 char tmpstr[80]; in p_modify() local
136 (void) snprintf(tmpstr, sizeof (tmpstr), in p_modify()
140 (void) sprintf(tmpstr, in p_modify()
148 tmpstr); in p_modify()
465 char tmpstr[80]; local
487 (void) snprintf(tmpstr, sizeof (tmpstr),
490 newsize = (blkaddr32_t)input(FIO_CYL, tmpstr, ':',
560 char tmpstr[80]; local
572 (void) sprintf(tmpstr,
574 i64 = input(FIO_EFI, tmpstr, ':',
/titanic_50/usr/src/cmd/ldap/common/
H A Dldaptool-sasl.c145 char *tmpstr; local
154 tmpstr = ldaptool_UTF82local(interact->prompt);
155 snprintf(str, sizeof(str), "%s:", tmpstr?tmpstr:SASL_PROMPT);
156 if (tmpstr != NULL)
157 free(tmpstr);
/titanic_50/usr/src/lib/libdhcputil/common/
H A Ddhcp_symbol.c114 char *tmpstr = *str; in dsym_trim() local
119 while (*tmpstr != '\0' && isspace(*tmpstr)) { in dsym_trim()
120 tmpstr++; in dsym_trim()
126 *str = tmpstr; in dsym_trim()
131 if (*tmpstr == '\0') { in dsym_trim()
136 tmpstr = *str + strlen(*str) - 1; in dsym_trim()
137 while (tmpstr >= *str && isspace(*tmpstr)) { in dsym_trim()
138 tmpstr--; in dsym_trim()
144 *(tmpstr+1) = '\0'; in dsym_trim()
/titanic_50/usr/src/cmd/rmformat/
H A Drmf_misc.c1116 find_device(int defer, char *tmpstr) in find_device() argument
1168 if (strstr(dirent->d_name, tmpstr)) { in find_device()
1190 if (!strstr(tmpbuf, tmpstr)) { in find_device()
1430 char tmpstr[PATH_MAX]; in lookup_device() local
1451 (void) snprintf(tmpstr, PATH_MAX, "/dev/rdsk/%s", in lookup_device()
1454 if ((fd = open(tmpstr, O_RDONLY|O_NDELAY)) >= 0) { in lookup_device()
1459 if ((access(tmpstr, F_OK) == 0) && vol_running) in lookup_device()
1460 return (vol_lookup(tmpstr, found)); in lookup_device()
1466 (void) snprintf(tmpstr, sizeof (tmpstr), "/dev/rdsk/%s", in lookup_device()
1468 if (access(tmpstr, F_OK) < 0) { in lookup_device()
[all …]
H A Drmf_menu.c84 extern int find_device(int defer, char *tmpstr);
418 char *tmpstr; in process_l_flag() local
434 if ((tmpstr = strrchr(dev_name, '/')) != NULL) { in process_l_flag()
435 tmpstr += sizeof (char); in process_l_flag()
437 tmpstr = dev_name; in process_l_flag()
442 removable = find_device(defer, tmpstr); in process_l_flag()
/titanic_50/usr/src/cmd/cdrw/
H A Ddevice.c453 char tmpstr[PATH_MAX]; in lookup_device() local
475 (void) snprintf(tmpstr, PATH_MAX, "/dev/rdsk/%s", in lookup_device()
478 if ((fd = open(tmpstr, O_RDONLY|O_NDELAY)) >= 0) { in lookup_device()
489 (void) snprintf(tmpstr, sizeof (tmpstr), "/dev/rdsk/%s", in lookup_device()
491 if (access(tmpstr, F_OK) < 0) { in lookup_device()
492 (void) strcat(tmpstr, "s2"); in lookup_device()
494 if ((fd = open(tmpstr, O_RDONLY|O_NDELAY)) >= 0) { in lookup_device()
496 (void) strlcpy(found, tmpstr, PATH_MAX); in lookup_device()
/titanic_50/usr/src/uts/common/sys/scsi/impl/
H A Dservices.h62 char *tmpstr);
64 char *scsi_esname(uint_t sense_key, char *tmpstr);
65 char *scsi_asc_name(uint_t asc, uint_t ascq, char *tmpstr);
/titanic_50/usr/src/lib/fm/libfmnotify/common/
H A Dlibfmnotify.c353 char *item, *tmpstr; in nd_split_list() local
356 tmpstr = strdup(list); in nd_split_list()
357 item = strtok(tmpstr, delim); in nd_split_list()
360 free(tmpstr); in nd_split_list()
369 tmpstr = strdup(list); in nd_split_list()
370 item = strtok(tmpstr, delim); in nd_split_list()
374 free(tmpstr); in nd_split_list()
/titanic_50/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_persist.c849 char tmpstr[IPADM_AOBJ_USTRSIZ - 1]; /* 1 for leading '_' */ in i_ipmgmt_lookupadd_amnode() local
850 char *cp = tmpstr; in i_ipmgmt_lookupadd_amnode()
851 char *endp = tmpstr + sizeof (tmpstr); in i_ipmgmt_lookupadd_amnode()
860 nodep->am_ifname, tmpstr) >= IPADM_AOBJSIZ) { in i_ipmgmt_lookupadd_amnode()
1271 char nname[IPMGMT_STRSIZE], tmpstr[IPMGMT_STRSIZE]; in ipmgmt_db_upgrade() local
1325 (void) snprintf(tmpstr, sizeof (tmpstr), "_%s", nname); in ipmgmt_db_upgrade()
1326 if (nvlist_add_string(db_nvl, tmpstr, pval) != 0 || in ipmgmt_db_upgrade()
1352 char tmpstr[IPMGMT_STRSIZE]; in ipmgmt_db_init() local
1388 } else if (ipadm_legacy2new_propname(name, tmpstr, in ipmgmt_db_init()
1389 sizeof (tmpstr), &proto) == 0) { in ipmgmt_db_init()
[all …]
/titanic_50/usr/src/cmd/audio/utilities/
H A DAudioFile.cc125 char *tmpstr; in createfile() local
144 tmpstr = (char *)malloc(1 + strlen(TMPFILE) + in createfile()
146 (void) sprintf(tmpstr, "%s%s", in createfile()
148 tmpf = mktemp(tmpstr); in createfile()
156 (void) free(tmpstr); in createfile()
/titanic_50/usr/src/common/net/wanboot/
H A Dauxutil.c151 ASN1_STRING tmpstr; local
152 ASN1_STRING *astr = &tmpstr;
163 tmpstr.data = NULL;
164 tmpstr.length = 0;
H A Dp12auxpars.c715 ASN1_STRING *tmpstr = NULL; in parse_one_bag() local
725 tmpstr = fname->value.asn1_string; in parse_one_bag()
726 len = ASN1_STRING_to_UTF8(&data, tmpstr); in parse_one_bag()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/
H A Dndd.c218 char tmpstr[512]; in print_ipadm2ndd() local
221 err = ipadm_new2legacy_propname(pname, tmpstr, in print_ipadm2ndd()
222 sizeof (tmpstr), proto); in print_ipadm2ndd()
225 (void) printf("%-30s (%s)\n", tmpstr, in print_ipadm2ndd()
/titanic_50/usr/src/uts/common/io/scsi/impl/
H A Dscsi_subr.c486 scsi_cmd_name(uchar_t cmd, struct scsi_key_strings *cmdlist, char *tmpstr) in scsi_cmd_name() argument
496 return (sprintf(tmpstr, "<undecoded cmd 0x%x>", cmd)); in scsi_cmd_name()
989 scsi_esname(uint_t key, char *tmpstr) in scsi_esname() argument
999 return (sprintf(tmpstr, "<vendor unique code 0x%x>", key)); in scsi_esname()
1003 scsi_asc_name(uint_t asc, uint_t ascq, char *tmpstr) in scsi_asc_name() argument
1015 return (sprintf(tmpstr, "<vendor unique code 0x%x>", asc)); in scsi_asc_name()
1069 scsi_asc_ascq_name(uint_t asc, uint_t ascq, char *tmpstr, in scsi_asc_ascq_name() argument
1083 return (sprintf(tmpstr, "<vendor unique code 0x%x>", asc)); in scsi_asc_ascq_name()
/titanic_50/usr/src/lib/libnsl/nss/
H A Dgetipnodeby.c895 char tmpstr[128]; in __mapv4tov6() local
896 (void) inet_ntop(AF_INET6, host->h_addr_list[0], tmpstr, in __mapv4tov6()
897 sizeof (tmpstr)); in __mapv4tov6()
898 buff_locp -= (len = strlen(tmpstr) + 1); in __mapv4tov6()
899 h_namep = tmpstr; in __mapv4tov6()
/titanic_50/usr/src/lib/libpkg/common/
H A Dp12lib.c1873 ASN1_STRING *tmpstr = NULL; in parse_one_bag() local
1883 tmpstr = fname->value.asn1_string; in parse_one_bag()
1884 len = ASN1_STRING_to_UTF8(&data, tmpstr); in parse_one_bag()
2353 ASN1_STRING tmpstr; local
2354 ASN1_STRING *astr = &tmpstr;
2365 tmpstr.data = NULL;
2366 tmpstr.length = 0;

12