/titanic_41/usr/src/uts/common/sys/ |
H A D | kiconv_ja.h | 212 #define KICONV_JA_REMAP_NEC(dest) \ argument 213 if ((0xed40 <= (dest)) && \ 214 ((dest) <= 0xed62)) { \ 215 (dest) += 0xd1c; \ 216 } else if ((0xed63 <= (dest)) && \ 217 ((dest) <= 0xed7e)) { \ 218 (dest) += 0xd1d; \ 219 } else if ((0xed80 <= (dest)) && \ 220 ((dest) <= 0xede0)) { \ 221 (dest) += 0xd1c; \ [all …]
|
H A D | uuid.h | 88 #define UUID_LE_CONVERT(dest, src) \ argument 90 (dest) = (src); \ 91 (dest).time_low = LE_32((dest).time_low); \ 92 (dest).time_mid = LE_16((dest).time_mid); \ 93 (dest).time_hi_and_version = LE_16((dest).time_hi_and_version); \
|
/titanic_41/usr/src/cmd/lp/lib/papi/ |
H A D | printer.c | 148 char *dest; in papiPrinterQuery() local 165 dest = printer_name_from_uri_id(name, -1); in papiPrinterQuery() 167 if (strcmp(dest, "_default") == 0) { in papiPrinterQuery() 180 dest = _default; in papiPrinterQuery() 183 if (isprinter(dest) != 0) { in papiPrinterQuery() 184 pst = lpsched_printer_configuration_to_attributes(svc, p, dest); in papiPrinterQuery() 189 if (snd_msg(svc, S_INQUIRE_PRINTER_STATUS, dest) < 0) in papiPrinterQuery() 201 } else if (isclass(dest) != 0) { in papiPrinterQuery() 202 pst = lpsched_class_configuration_to_attributes(svc, p, dest); in papiPrinterQuery() 207 if (snd_msg(svc, S_INQUIRE_CLASS, dest) < 0) in papiPrinterQuery() [all …]
|
H A D | lpsched-msgs.c | 246 char *dest; in lpsched_start_change() local 251 dest = printer_name_from_uri_id(printer, job_id); in lpsched_start_change() 252 snprintf(req, sizeof (req), "%s-%d", dest, job_id); in lpsched_start_change() 253 free(dest); in lpsched_start_change() 277 char *dest; in lpsched_end_change() local 282 dest = printer_name_from_uri_id(printer, job_id); in lpsched_end_change() 283 snprintf(req, sizeof (req), "%s-%d", dest, job_id); in lpsched_end_change() 284 free(dest); in lpsched_end_change() 306 char *dest; in lpsched_accept_printer() local 311 dest = printer_name_from_uri_id(printer, -1); in lpsched_accept_printer() [all …]
|
/titanic_41/usr/src/cmd/svr4pkg/pkgscripts/ |
H A D | r.build.sh | 29 while read dest 31 if [ -d $dest ] 33 echo "$dest" 34 rmdir $dest || error=yes 35 elif [ -f $dest ] 37 echo "Modifying $dest" 43 client_dest=`echo $dest | \ 48 savepath=$PKGSAV/build${dest} 56 rm -f $dest 58 cp /tmp/$$build $dest || error=yes [all …]
|
H A D | r.awk.sh | 29 while read dest 31 if [ -d $dest ] 33 echo "$dest" 34 rmdir $dest || error=yes 35 elif [ -f $dest ] 37 echo "Modifying $dest" 43 client_dest=`echo $dest | \ 48 savepath=$PKGSAV/awk${dest} 51 /usr/sadm/install/scripts/cmdexec /usr/bin/awk remove $savepath $dest || 54 [ -r $dest ] && echo "$dest" [all …]
|
H A D | r.sed.sh | 29 while read dest 31 if [ -d $dest ] 33 echo "$dest" 34 rmdir $dest || error=yes 35 elif [ -f $dest ] 37 echo "Modifying $dest" 43 client_dest=`echo $dest | \ 48 savepath=$PKGSAV/sed${dest} 51 /usr/sadm/install/scripts/cmdexec /bin/sed remove $savepath $dest || 54 [ -r $dest ] && echo "$dest" [all …]
|
H A D | i.preserve.sh | 31 while read src dest 35 if [ -f "$dest" ] 37 echo $dest preserved 39 echo $dest 40 cp $src $dest || error=yes
|
/titanic_41/usr/src/cmd/tsol/updatehome/ |
H A D | setupfiles.c | 346 char dest[MAXPATHLEN]; in copyfile() local 352 if (snprintf(dest, sizeof (dest), "%s/%s", home, target) > in copyfile() 353 sizeof (dest) - 1) { in copyfile() 354 dprintf("setupfiles copy dest %s", dest); in copyfile() 355 dprintf("greater than %d\n", sizeof (dest)); in copyfile() 361 if (lstat(dest, &buf) == 0) { in copyfile() 367 if (unlink(dest) != 0) { in copyfile() 371 dest); in copyfile() 383 dprintf("setupfiles copy lstat %s\n", dest); in copyfile() 409 dprintf("\tto %s\n", dest); in copyfile() [all …]
|
/titanic_41/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | rmdest.c | 54 void rmdest (aclass, dest) in rmdest() argument 56 char *dest; 68 send_message(type, dest, "", ""); 76 aclass && delclass(dest) == -1 77 || !aclass && delprinter(dest) == -1 83 dest 90 dest, 105 fromallclasses (dest); 107 if (STREQU(getdflt(), dest)) 111 update_dev_dbs(dest, NULL, "REMOVE"); [all …]
|
/titanic_41/usr/src/lib/libproc/common/ |
H A D | pr_statvfs.c | 41 statvfs_32_to_n(statvfs32_t *src, statvfs_t *dest) in statvfs_32_to_n() argument 43 dest->f_bsize = src->f_bsize; in statvfs_32_to_n() 44 dest->f_frsize = src->f_frsize; in statvfs_32_to_n() 45 dest->f_blocks = src->f_blocks; in statvfs_32_to_n() 46 dest->f_bfree = src->f_bfree; in statvfs_32_to_n() 47 dest->f_bavail = src->f_bavail; in statvfs_32_to_n() 48 dest->f_files = src->f_files; in statvfs_32_to_n() 49 dest->f_ffree = src->f_ffree; in statvfs_32_to_n() 50 dest->f_favail = src->f_favail; in statvfs_32_to_n() 51 dest->f_fsid = src->f_fsid; in statvfs_32_to_n() [all …]
|
/titanic_41/usr/src/lib/libc/port/locale/ |
H A D | wcsxfrm.c | 40 wcsxfrm_l(wchar_t *_RESTRICT_KYWD dest, in wcsxfrm_l() argument 48 *dest = L'\0'; in wcsxfrm_l() 53 ((slen = _collate_wxfrm(lcc, src, dest, len)) == (size_t)-1)) { in wcsxfrm_l() 59 dest[slen] = 0; in wcsxfrm_l() 61 dest[len-1] = 0; in wcsxfrm_l() 69 (void) wcscpy(dest, src); in wcsxfrm_l() 71 (void) wcsncpy(dest, src, len - 1); in wcsxfrm_l() 72 dest[len - 1] = L'\0'; in wcsxfrm_l() 78 wcsxfrm(wchar_t *_RESTRICT_KYWD dest, in wcsxfrm() argument 81 return (wcsxfrm_l(dest, src, len, uselocale(NULL))); in wcsxfrm()
|
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/ |
H A D | zfs_rename_005_neg.ksh | 71 dest=${src#$TESTPOOL/} 72 if [[ $dest == *"@"* ]]; then 73 dest=${dest#*@} 74 dest=${TESTPOOL1}@$dest 76 dest=${TESTPOOL1}/$dest 78 log_mustnot $ZFS rename $src $dest 79 log_mustnot $ZFS rename -p $src $dest
|
/titanic_41/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | oid.c | 73 __OID_copy_desc(gss_OID dest, const gss_OID_desc * const source) in __OID_copy_desc() argument 75 dest->length = 0; in __OID_copy_desc() 77 dest->elements = (void *)New(char, source->length); in __OID_copy_desc() 78 if (dest->elements == NULL) in __OID_copy_desc() 82 dest->length = source->length; in __OID_copy_desc() 85 memcpy(dest->elements, source->elements, dest->length); in __OID_copy_desc() 92 __OID_copy(gss_OID *dest, const gss_OID_desc * const source) in __OID_copy() argument 98 *dest = NULL; in __OID_copy() 111 *dest = oid; in __OID_copy() 131 __OID_copy_set(gss_OID_set *dest, gss_OID_set source) in __OID_copy_set() argument [all …]
|
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios.c | 205 struct name_entry *dest) in smb_encode_netbios_name() argument 207 smb_tonetbiosname((char *)name, (char *)dest->name, suffix); in smb_encode_netbios_name() 210 (void) strlcpy((char *)dest->scope, (const char *)scope, in smb_encode_netbios_name() 211 sizeof (dest->scope)); in smb_encode_netbios_name() 213 (void) smb_config_getstr(SMB_CI_NBSCOPE, (char *)dest->scope, in smb_encode_netbios_name() 214 sizeof (dest->scope)); in smb_encode_netbios_name() 217 (void) smb_strupr((char *)dest->scope); in smb_encode_netbios_name() 223 uint32_t addr_attr, struct name_entry *dest) in smb_init_name_struct() argument 225 bzero(dest, sizeof (struct name_entry)); in smb_init_name_struct() 226 smb_encode_netbios_name(name, suffix, scope, dest); in smb_init_name_struct() [all …]
|
/titanic_41/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_util.h | 123 #define READ_UNALIGNED(dbg,dest,desttype, source, length) \ argument 128 dest = (desttype)_ltmp; \ 140 #define SIGN_EXTEND(dest, length) \ argument 141 do {if (*(Dwarf_Sbyte *)((char *)&dest + sizeof(dest) - length) < 0) {\ 142 memcpy((char *)&dest, "\xff\xff\xff\xff\xff\xff\xff\xff", \ 143 sizeof(dest) - length); \ 148 #define READ_UNALIGNED(dbg,dest,desttype, source, length) \ argument 153 dest = (desttype)_ltmp; \ 165 #define SIGN_EXTEND(dest, length) \ argument 166 do {if (*(Dwarf_Sbyte *)((char *)&dest + (length-1)) < 0) {\ [all …]
|
/titanic_41/usr/src/cmd/bnu/ |
H A D | uudecode.c | 118 char dest[PATH_MAX]; in main() local 127 bzero(dest, sizeof (dest)); in main() 197 modebits, dest) == 2) && in main() 206 modebits, dest) == 2) && in main() 231 (void) strncpy(dest, outfile, sizeof (dest)); in main() 234 (dest[0] == '-' && dest[1] == '\0' && outfile[0] == '\0')) { in main() 237 bzero(dest, sizeof (dest)); in main() 240 if (dest[0] == '~') { in main() 245 sl = strchr(dest, '/'); in main() 252 user = getpwnam(dest+1); in main() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/ |
H A D | piclsdr.c | 64 uint8_t dest; member 87 get_fru_data_info(int src, int dest, format_t *fru_format) in get_fru_data_info() argument 92 dest = IPMB_ADDR(dest); in get_fru_data_info() 94 if (src != dest) { /* ipmi */ in get_fru_data_info() 97 ret = get_sdr_info(src, dest, i); in get_fru_data_info() 99 ret = get_sun_sdr(ret, src, dest, i); in get_fru_data_info() 109 ret = get_sdr_info(src, dest, 0); in get_fru_data_info() 111 ret = get_sun_sdr(ret, src, dest, 0); in get_fru_data_info() 156 get_sdr_info(int src, int dest, uint8_t lun) in get_sdr_info() argument 165 if (src == dest) { /* onboard */ in get_sdr_info() [all …]
|
/titanic_41/usr/src/lib/libxcurses/src/libc/mks/ |
H A D | m_pathca.c | 68 char *dest; local 116 if ((dest = m_malloc(m)) == NULL) { 120 strcpy(dest, dir); 123 && !M_FSDELIM(dest[dir_len-1]) 124 && !M_DRDELIM(dest[dir_len-1])) { 125 dest[dir_len++] = '/'; 127 strcpy(dest+dir_len, file); 129 return (dest);
|
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_split.c | 101 char *dest; local 121 dest = (char *)h + h->upper; 123 WR_RLEAF(dest, data, flags) 125 WR_BLEAF(dest, key, data, flags) 240 dest = (char *)h + h->linp[skip]; 241 memmove(dest, bi, nbytes); 242 ((BINTERNAL *)dest)->pgno = rchild->pgno; 246 dest = (char *)h + h->linp[skip]; 247 WR_BINTERNAL(dest, nksize ? nksize : bl->ksize, 249 memmove(dest, bl->bytes, nksize ? nksize : bl->ksize); [all …]
|
/titanic_41/usr/src/uts/sparc/fs/proc/ |
H A D | prmachdep.c | 231 prgregset_32ton(klwp_t *lwp, prgregset32_t src, prgregset_t dest) in prgregset_32ton() argument 235 dest[R_G0] = SET_LOWER_32(0, src[R_G0]); in prgregset_32ton() 236 dest[R_G1] = SET_LOWER_32(r->r_g1, src[R_G1]); in prgregset_32ton() 237 dest[R_G2] = SET_LOWER_32(r->r_g2, src[R_G2]); in prgregset_32ton() 238 dest[R_G3] = SET_LOWER_32(r->r_g3, src[R_G3]); in prgregset_32ton() 239 dest[R_G4] = SET_LOWER_32(r->r_g4, src[R_G4]); in prgregset_32ton() 240 dest[R_G5] = SET_LOWER_32(r->r_g5, src[R_G5]); in prgregset_32ton() 241 dest[R_G6] = SET_LOWER_32(r->r_g6, src[R_G6]); in prgregset_32ton() 242 dest[R_G7] = SET_LOWER_32(r->r_g7, src[R_G7]); in prgregset_32ton() 244 dest[R_O0] = SET_LOWER_32(r->r_o0, src[R_O0]); in prgregset_32ton() [all …]
|
/titanic_41/usr/src/cmd/ldap/common/ |
H A D | convutf8.c | 67 char *dest, *tptr, *tmp; in ldaptool_convert() local 90 if ((dest = (char *)malloc(size)) == NULL) { in ldaptool_convert() 95 tptr = dest; in ldaptool_convert() 122 if ((tmp = (char *) realloc(dest, size)) == NULL) in ldaptool_convert() 124 tptr = tmp + (tptr - dest); in ldaptool_convert() 125 dest = tmp; in ldaptool_convert() 133 if (dest != NULL) { in ldaptool_convert() 136 free(dest); in ldaptool_convert() 137 dest = NULL; in ldaptool_convert() 140 *(dest + (size - oleft)) = '\0'; in ldaptool_convert() [all …]
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/ip/ |
H A D | tst.remotetcpstate.ksh | 69 $getaddr $tcpport | read source dest 81 PeerAddr => "$dest", 84 die "Could not connect to host $dest port $tcpport" unless \$s; 97 /args[2]->ip_saddr == "$source" && args[2]->ip_daddr == "$dest" && 104 /args[2]->ip_saddr == "$source" && args[2]->ip_daddr == "$dest" && 111 /args[2]->ip_saddr == "$dest" && args[2]->ip_daddr == "$source" && 118 /args[2]->ip_saddr == "$dest" && args[2]->ip_daddr == "$source" && 130 /args[2]->ip_saddr == "$source" && args[2]->ip_daddr == "$dest" && 137 /args[2]->ip_saddr == "$dest" && args[2]->ip_daddr == "$source" &&
|
H A D | tst.ipv4remotetcp.ksh | 62 $getaddr $tcpport | read source dest 74 PeerAddr => "$dest", 77 die "Could not connect to host $dest port $tcpport" unless \$s; 88 /args[2]->ip_saddr == "$source" && args[2]->ip_daddr == "$dest" && 95 /args[2]->ip_saddr == "$source" && args[2]->ip_daddr == "$dest"/ 101 /args[2]->ip_saddr == "$dest" && args[2]->ip_daddr == "$source" && 108 /args[2]->ip_saddr == "$dest" && args[2]->ip_daddr == "$source"/
|
/titanic_41/usr/src/uts/common/kiconv/kiconv_ja/ |
H A D | kiconv_ja.c | 891 ushort_t dest, upper, lower; in _do_kiconv_fr_sjis() local 892 dest = (ic1 << 8) + ic2; in _do_kiconv_fr_sjis() 893 if ((0xed40 <= dest) && (dest <= 0xeffc)) { in _do_kiconv_fr_sjis() 894 KICONV_JA_REMAP_NEC(dest); in _do_kiconv_fr_sjis() 895 if (dest == 0xffff) { in _do_kiconv_fr_sjis() 904 if ((dest == 0xfa54) || (dest == 0xfa5b)) { in _do_kiconv_fr_sjis() 905 if (dest == 0xfa54) { in _do_kiconv_fr_sjis() 924 dest = dest - 0xfa40 - in _do_kiconv_fr_sjis() 925 (((dest>>8) - 0xfa) * 0x40); in _do_kiconv_fr_sjis() 926 dest = kiconv_ja_sjtoibmext[dest]; in _do_kiconv_fr_sjis() [all …]
|