/titanic_41/usr/src/lib/libfdisk/common/ |
H A D | libfdisk.c | 154 ext_part_t *temp; in libfdisk_init() local 159 if ((temp = calloc(1, sizeof (ext_part_t))) == NULL) { in libfdisk_init() 164 (void) strncpy(temp->device_name, devstr, in libfdisk_init() 165 sizeof (temp->device_name)); in libfdisk_init() 168 if (stat(temp->device_name, &sbuf) != 0) { in libfdisk_init() 171 (void) snprintf(temp->device_name, sizeof (temp->device_name), in libfdisk_init() 174 if (stat(temp->device_name, &sbuf) != 0) { in libfdisk_init() 181 if (strrchr(temp->device_name, 'p') == NULL) { in libfdisk_init() 182 (void) strcat(temp->device_name, "p0"); in libfdisk_init() 185 if (stat(temp->device_name, &sbuf) != 0) { in libfdisk_init() [all …]
|
/titanic_41/usr/src/common/lzma/ |
H A D | LzHash.h | 18 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \ 19 hash2Value = temp & (kHash2Size - 1); \ 20 hashValue = (temp ^ ((UInt32)cur[2] << 8)) & p->hashMask; } 23 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \ 24 hash2Value = temp & (kHash2Size - 1); \ 25 hash3Value = (temp ^ ((UInt32)cur[2] << 8)) & (kHash3Size - 1); \ 26 hashValue = (temp ^ ((UInt32)cur[2] << 8) ^ (p->crc[cur[3]] << 5)) & p->hashMask; } 29 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \ 30 hash2Value = temp & (kHash2Size - 1); \ 31 hash3Value = (temp ^ ((UInt32)cur[2] << 8)) & (kHash3Size - 1); \ [all …]
|
/titanic_41/usr/src/lib/libadm/common/ |
H A D | pkginfo.c | 194 char temp[256]; in rdconfig() local 203 *temp = '\0'; in rdconfig() 205 while (value = fpkgparam(fp, temp)) { in rdconfig() 206 if (strcmp(temp, "ARCH") == 0 || in rdconfig() 207 strcmp(temp, "CATEGORY") == 0) { in rdconfig() 219 if (strcmp(temp, "NAME") == 0) in rdconfig() 221 else if (strcmp(temp, "VERSION") == 0) in rdconfig() 223 else if (strcmp(temp, "ARCH") == 0) in rdconfig() 225 else if (strcmp(temp, "VENDOR") == 0) in rdconfig() 227 else if (strcmp(temp, "BASEDIR") == 0) in rdconfig() [all …]
|
/titanic_41/usr/src/lib/libprtdiag/common/ |
H A D | libdevinfo_sun4u.c | 202 Prop *temp; /* newly allocated property */ in dump_di_node() local 279 if ((temp = (Prop *) malloc(sizeof (Prop))) == NULL) { in dump_di_node() 308 temp->name.val_ptr = (void *)di_name; in dump_di_node() 309 temp->name.opp.oprom_array = temp->name.val_ptr; in dump_di_node() 310 temp->name.opp.holds_array = 1; in dump_di_node() 312 temp->value.val_ptr = (void *)di_data; in dump_di_node() 315 temp->value.opp.oprom_node[i] = *((int *)di_data+i); in dump_di_node() 317 temp->value.opp.holds_array = 0; in dump_di_node() 319 temp->value.opp.oprom_array = temp->value.val_ptr; in dump_di_node() 321 temp->value.opp.holds_array = 0; in dump_di_node() [all …]
|
H A D | pdevinfo_funcs.c | 121 StaticProp *temp; in dump_node() local 130 if ((temp = malloc(sizeof (StaticProp))) == NULL) { in dump_node() 150 temp->name.opp.oprom_size = opp->oprom_size; in dump_node() 151 (void) strcpy(temp->name.opp.oprom_array, in dump_node() 154 (void) strcpy(temp->value.opp.oprom_array, in dump_node() 155 temp->name.opp.oprom_array); in dump_node() 156 getpropval(&temp->value.opp); in dump_node() 157 temp->size = temp->value.opp.oprom_size; in dump_node() 170 new->name.opp.oprom_size = temp->name.opp.oprom_size; in dump_node() 178 temp->name.opp.oprom_array); in dump_node() [all …]
|
/titanic_41/usr/src/uts/common/io/rtw/ |
H A D | smc93cx6.c | 103 uint32_t temp; local 111 temp = sd->sd_MS ^ sd->sd_CS; 112 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); 121 temp ^= sd->sd_DO; 122 SEEPROM_OUTB(sd, temp); 124 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); 127 temp ^= sd->sd_DO; 132 temp ^= sd->sd_DO; 133 SEEPROM_OUTB(sd, temp); 135 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); [all …]
|
/titanic_41/usr/src/cmd/ssh/ssh-socks5-proxy-connect/ |
H A D | ssh-socks5-proxy-connect.c | 133 char *buffer, *temp, recv_buf[BUFFER_SIZ]; in send_request() local 138 temp = buffer; in send_request() 141 (void) memcpy(temp, &version, sizeof (version)); in send_request() 142 temp += sizeof (version); in send_request() 143 (void) memcpy(temp, &cmd, sizeof (cmd)); in send_request() 144 temp += sizeof (cmd); in send_request() 145 (void) memcpy(temp, &rsv, sizeof (rsv)); in send_request() 146 temp += sizeof (rsv); in send_request() 147 (void) memcpy(temp, &atyp, sizeof (atyp)); in send_request() 148 temp += sizeof (atyp); in send_request() [all …]
|
/titanic_41/usr/src/lib/libm/common/LD/ |
H A D | jnl.c | 73 GENERIC a, b, temp = 0, z, w; local 113 case 0: temp = cosl(x)+sinl(x); break; 114 case 1: temp = -cosl(x)+sinl(x); break; 115 case 2: temp = -cosl(x)-sinl(x); break; 116 case 3: temp = cosl(x)-sinl(x); break; 118 b = invsqrtpi*temp/sqrtl(x); 123 temp = b; 125 a = temp; 194 temp = b; 196 a = temp; [all …]
|
/titanic_41/usr/src/lib/libm/common/Q/ |
H A D | jnl.c | 73 GENERIC a, b, temp, z, w; local 116 case 0: temp = cosl(x)+sinl(x); break; 117 case 1: temp = -cosl(x)+sinl(x); break; 118 case 2: temp = -cosl(x)-sinl(x); break; 119 case 3: temp = cosl(x)-sinl(x); break; 121 b = invsqrtpi*temp/sqrtl(x); 126 temp = b; 128 a = temp; 197 temp = b; 199 a = temp; [all …]
|
/titanic_41/usr/src/lib/libm/common/C/ |
H A D | jn.c | 74 GENERIC a, b, temp = 0; in jn() local 124 case 0: temp = cos(x)+sin(x); break; in jn() 125 case 1: temp = -cos(x)+sin(x); break; in jn() 126 case 2: temp = -cos(x)-sin(x); break; in jn() 127 case 3: temp = cos(x)-sin(x); break; in jn() 129 b = invsqrtpi*temp/sqrt(x); in jn() 134 temp = b; in jn() 136 a = temp; in jn() 205 temp = b; in jn() 207 a = temp; in jn() [all …]
|
/titanic_41/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | mkpkgmap.c | 135 char temp[PATH_LGTH]; in mkpkgmap() local 186 (void) fscanf(fp, "%4096s", temp); in mkpkgmap() 188 if (strcmp(temp, "include") == 0) in mkpkgmap() 190 else if (strcmp(temp, "rsearch") == 0) in mkpkgmap() 192 else if (strcmp(temp, "search") == 0) in mkpkgmap() 194 else if (strcmp(temp, "default") == 0) { in mkpkgmap() 197 } else if (strchr(temp, '=')) { in mkpkgmap() 198 translate(temp, mybuff); in mkpkgmap() 205 logerr(gettext(MSG_BANG), temp); in mkpkgmap() 367 char temp[PATH_MAX], *basename; in findfile() local [all …]
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | kfree.c | 50 register krb5_address **temp; in krb5_free_addresses() local 52 for (temp = val; *temp; temp++) { in krb5_free_addresses() 53 if ((*temp)->contents) in krb5_free_addresses() 54 krb5_xfree((*temp)->contents); in krb5_free_addresses() 55 krb5_xfree(*temp); in krb5_free_addresses() 119 register krb5_authdata **temp; in krb5_free_authdata() local 121 for (temp = val; *temp; temp++) { in krb5_free_authdata() 122 if ((*temp)->contents) in krb5_free_authdata() 123 krb5_xfree_wrap((*temp)->contents, (*temp)->length); in krb5_free_authdata() 124 krb5_xfree_wrap(*temp, sizeof(krb5_authdata)); in krb5_free_authdata() [all …]
|
/titanic_41/usr/src/uts/common/io/ntxn/ |
H A D | niu.c | 122 unm_niu_gb_mac_config_0_t temp; in unm_niu_gbe_phy_read() local 123 *(unm_crbword_t *)&temp = 0; in unm_niu_gbe_phy_read() 124 temp.tx_reset_pb = 1; in unm_niu_gbe_phy_read() 125 temp.rx_reset_pb = 1; in unm_niu_gbe_phy_read() 126 temp.tx_reset_mac = 1; in unm_niu_gbe_phy_read() 127 temp.rx_reset_mac = 1; in unm_niu_gbe_phy_read() 129 UNM_NIU_GB_MAC_CONFIG_0(0), &temp, 4); in unm_niu_gbe_phy_read() 213 unm_crbword_t temp = 0; in unm_niu_macaddr_set() local 219 (void) memcpy(&temp, addr, 2); in unm_niu_macaddr_set() 220 temp <<= 16; in unm_niu_macaddr_set() [all …]
|
/titanic_41/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | utility.c | 80 DL_NODE *temp = dlist_get_last(list); in dlist_add_as_last() local 81 temp->next = node; in dlist_add_as_last() 82 node->prev = temp; in dlist_add_as_last() 109 DL_NODE *temp = list; in dlist_get_first() local 113 while (temp->prev != NULL) in dlist_get_first() 114 temp = temp->prev; in dlist_get_first() 116 return (temp); in dlist_get_first() 126 DL_NODE *temp = list; in dlist_get_last() local 130 while (temp->next != NULL) in dlist_get_last() 131 temp = temp->next; in dlist_get_last() [all …]
|
/titanic_41/usr/src/cmd/tnf/tnfdump/ |
H A D | cooked.c | 178 tnf_datum_t temp; in insert_event() local 183 temp = tnf_get_slot_named(schedule_rec, TNF_N_TIME_BASE); in insert_event() 184 evt_time = tnf_get_int64(temp); in insert_event() 185 temp = tnf_get_slot_named(datum, TNF_N_TIME_DELTA); in insert_event() 186 time_delta = (unsigned) tnf_get_int32(temp); in insert_event() 202 tnf_datum_t temp; in describe_event() local 208 temp = tnf_get_slot_named(schedule_rec, TNF_N_TID); in describe_event() 209 if (IS_64BIT(tnf_get_kind(temp))) { in describe_event() 210 tid = tnf_get_int64(temp); in describe_event() 212 tid = (unsigned int)tnf_get_int32(temp); in describe_event() [all …]
|
/titanic_41/usr/src/cmd/utmp_update/ |
H A D | utmp_update.c | 230 int temp, i; in load_utmpx_struct() local 253 (void) sscanf(pid, "%d", &temp); in load_utmpx_struct() 254 entryx->ut_pid = temp; in load_utmpx_struct() 256 (void) sscanf(type, "%d", &temp); in load_utmpx_struct() 257 entryx->ut_type = temp; in load_utmpx_struct() 259 (void) sscanf(term, "%d", &temp); in load_utmpx_struct() 260 entryx->ut_exit.e_termination = temp; in load_utmpx_struct() 262 (void) sscanf(exitstatus, "%d", &temp); in load_utmpx_struct() 263 entryx->ut_exit.e_exit = temp; in load_utmpx_struct() 272 (void) sscanf(xtime, "%d", &temp); in load_utmpx_struct() [all …]
|
/titanic_41/usr/src/cmd/fs.d/cachefs/common/ |
H A D | subr.c | 1007 double temp; in cachefs_convert_uv2cl() local 1020 temp = (double)uvp->uv_maxblocks / 100.0 * in cachefs_convert_uv2cl() 1022 clp->cl_maxblks = temp < (double)INT_MAX ? (int)temp : INT_MAX; in cachefs_convert_uv2cl() 1024 temp = (double)uvp->uv_minblocks / 100.0 * in cachefs_convert_uv2cl() 1026 clp->cl_blockmin = temp < (double)INT_MAX ? (int)temp : INT_MAX; in cachefs_convert_uv2cl() 1028 temp = (double)uvp->uv_threshblocks / 100.0 * in cachefs_convert_uv2cl() 1030 clp->cl_blocktresh = temp < (double)INT_MAX ? (int)temp : INT_MAX; in cachefs_convert_uv2cl() 1032 temp = (double)uvp->uv_maxfiles / 100.0 * (double)fs.f_files + .5; in cachefs_convert_uv2cl() 1033 clp->cl_maxinodes = temp < (double)INT_MAX ? (int)temp : INT_MAX; in cachefs_convert_uv2cl() 1035 temp = (double)uvp->uv_minfiles / 100.0 * (double)fs.f_files + .5; in cachefs_convert_uv2cl() [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/crypto/des/ |
H A D | string2key.c | 57 register unsigned temp; in mit_des_string_to_key_int() local 121 temp = (unsigned int) *str++; in mit_des_string_to_key_int() 124 fprintf(stdout,"%02x ",temp & 0xff); in mit_des_string_to_key_int() 129 *p_char++ ^= (int) temp & 01; in mit_des_string_to_key_int() 131 *--p_char ^= (int) temp & 01; in mit_des_string_to_key_int() 132 temp = temp >> 1; in mit_des_string_to_key_int() 145 temp = 0; in mit_des_string_to_key_int() 147 temp |= *p_char++ << (1+j); in mit_des_string_to_key_int() 148 *k_p++ = (unsigned char) temp; in mit_des_string_to_key_int()
|
/titanic_41/usr/src/cmd/eqn/ |
H A D | size.c | 51 char temp[20]; in globsize() local 53 getstr(temp, 20); in globsize() 54 if (temp[0] == '+') in globsize() 55 gsize += atoi(temp+1); in globsize() 56 else if (temp[0] == '-') in globsize() 57 gsize -= atoi(temp+1); in globsize() 59 gsize = atoi(temp); in globsize()
|
/titanic_41/usr/src/ucblib/libcurses/ |
H A D | insertln.c | 35 char *temp; in winsertln() local 43 temp = win->_y[win->_maxy - 1]; in winsertln() 52 win->_y[y] = temp; in winsertln() 54 temp = win->_y[y]; in winsertln() 55 for (end = &temp[win->_maxx]; temp < end; ) in winsertln() 56 *temp++ = ' '; in winsertln()
|
H A D | deleteln.c | 35 char *temp; in wdeleteln() local 42 temp = win->_y[win->_cury]; in wdeleteln() 51 win->_y[y] = temp; in wdeleteln() 53 temp = win->_y[y]; in wdeleteln() 54 for (end = &temp[win->_maxx]; temp < end; ) in wdeleteln() 55 *temp++ = ' '; in wdeleteln()
|
/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | strftime.c | 67 int i, temp; local 199 temp = tm->tm_hour > 12 ? 202 if (temp < 10) { 204 cp = itoa(temp, cp, 1); 206 cp = itoa(temp, cp, 2); 281 temp = tm->tm_yday - tm->tm_wday; 282 if (temp >= -3 ) { 283 i = (temp + 1) / 7 + 1; /* +1 for - tm->tm_wday */ 284 if (temp % 7 >= 4) 302 temp = tm->tm_yday - 6; [all …]
|
/titanic_41/usr/src/cmd/spell/ |
H A D | malloc.c | 86 register temp; local 94 for(temp=0; ; ) { 111 if(++temp>1) 115 temp = nw; 118 temp -= p - r - 1; 119 temp = ((temp+BLOCK/WORD)/(BLOCK/WORD))*(BLOCK/WORD); 120 if(p+temp <= p) 123 q = (union store *)sbrk(temp*WORD); 126 temp -= (temp-nw+1)/2; 127 if(temp <= nw) [all …]
|
/titanic_41/usr/src/lib/libsmbfs/smb/ |
H A D | ui-sun.c | 48 char temp[MAXLINE+1]; 52 memset(temp, 0, sizeof (temp)); 55 cp = temp; 62 if (cp == &temp[MAXLINE]) 67 if (cp == temp) 71 strncpy(buf, temp, buflen);
|
/titanic_41/usr/src/common/crypto/aes/ |
H A D | aes_impl.c | 880 uint32_t temp; in rijndael_key_setup_enc_raw() local 889 temp = rk[3]; in rijndael_key_setup_enc_raw() 891 (Te4[(temp >> 16) & 0xff] & 0xff000000) ^ in rijndael_key_setup_enc_raw() 892 (Te4[(temp >> 8) & 0xff] & 0x00ff0000) ^ in rijndael_key_setup_enc_raw() 893 (Te4[temp & 0xff] & 0x0000ff00) ^ in rijndael_key_setup_enc_raw() 894 (Te4[temp >> 24] & 0x000000ff) ^ in rijndael_key_setup_enc_raw() 912 temp = rk[5]; in rijndael_key_setup_enc_raw() 914 (Te4[(temp >> 16) & 0xff] & 0xff000000) ^ in rijndael_key_setup_enc_raw() 915 (Te4[(temp >> 8) & 0xff] & 0x00ff0000) ^ in rijndael_key_setup_enc_raw() 916 (Te4[temp & 0xff] & 0x0000ff00) ^ in rijndael_key_setup_enc_raw() [all …]
|