/titanic_51/usr/src/lib/iconv_modules/ko/common/ |
H A D | nbyte_to_UTF2.c | 275 unsigned short make_johap_code(int n, char* temp) in make_johap_code() argument 282 if (temp[4] == '\0') in make_johap_code() 284 save = temp[3]; in make_johap_code() 285 temp[3] = '\0'; in make_johap_code() 289 save = temp[4]; in make_johap_code() 290 temp[4] = '\0'; in make_johap_code() 294 code = (temp[1] >= 'A' && temp[1] <= '^') ? in make_johap_code() 295 (unsigned short)X32_19[temp[1] - '@'] in make_johap_code() 297 code = (code << 5) | (unsigned short)((temp[ in make_johap_code() [all...] |
H A D | nbyte_to_euc.c | 293 unsigned short make_johap_code(int n, char* temp) in make_johap_code() argument 300 if (temp[4] == '\0') in make_johap_code() 302 save = temp[3]; in make_johap_code() 303 temp[3] = '\0'; in make_johap_code() 307 save = temp[4]; in make_johap_code() 308 temp[4] = '\0'; in make_johap_code() 312 code = (temp[1] >= 'A' && temp[1] <= '^') ? in make_johap_code() 313 (unsigned short)X32_19[temp[1] - '@'] in make_johap_code() 315 code = (code << 5) | (unsigned short)((temp[ in make_johap_code() [all...] |
H A D | nbyte_euc.h | 83 char temp[5];\ 85 temp[1] = cd->hbuf[1];\ 86 temp[2] = cd->hbuf[2];\ 87 temp[3] = cd->hbuf[3];\ 88 temp[4] = cd->hbuf[4];\ 90 make_johap_code((K), temp))) != FAILED)\ 98 cd->hbuf[1] = temp[1];\ 99 cd->hbuf[2] = temp[2];\ 100 cd->hbuf[3] = temp[3];\ 101 cd->hbuf[4] = temp[ [all...] |
H A D | nbyte_utf.h | 81 char temp[5];\ 83 temp[1] = cd->hbuf[1];\ 84 temp[2] = cd->hbuf[2];\ 85 temp[3] = cd->hbuf[3];\ 86 temp[4] = cd->hbuf[4];\ 88 make_johap_code((K), temp))) == HANGUL)\ 96 cd->hbuf[1] = temp[1];\ 97 cd->hbuf[2] = temp[2];\ 98 cd->hbuf[3] = temp[3];\ 99 cd->hbuf[4] = temp[ [all...] |
/titanic_51/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 in libfdisk_init() 360 logical_drive_t *temp = fdisk_get_ld_head(epp); fdisk_get_solaris_part() local 386 logical_drive_t *temp = fdisk_get_ld_head(epp); fdisk_get_part_info() local 412 logical_drive_t *temp; fdisk_alloc_ld_node() local 427 logical_drive_t *temp; fdisk_free_ld_nodes() local 444 logical_drive_t *temp; fdisk_ext_find_first_free_sec() local 504 logical_drive_t *temp; fdisk_ext_find_last_free_sec() local 569 logical_drive_t *temp; fdisk_ext_overlapping_parts() local 625 logical_drive_t *temp, *ep_ptr; fdisk_read_extpart() local 822 logical_drive_t *temp; fdisk_ext_validate_part_start() local 857 logical_drive_t *temp; fdisk_change_logical_drive_id() local 889 logical_drive_t *temp, *pre, *cur; fdisk_add_logical_drive() local 1184 logical_drive_t *temp; fdisk_commit_ext_part() local [all...] |
/titanic_51/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 [all...] |
/titanic_51/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, "BASEDI in rdconfig() 379 char temp[256]; compver() local 425 char temp[128]; ckinfo() local [all...] |
/titanic_51/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() 287 * di_data will be via temp->name.val_ptr and in dump_di_node() 288 * temp->value.val_ptr respectively. However, this may in dump_di_node() 290 * temp->name.opp and temp->value.opp. in dump_di_node() 294 * temp->name.opp.oprom_array to temp->name.val_ptr. in dump_di_node() 298 * We thus set temp->value.opp.oprom_node[] (although in dump_di_node() 304 * temp 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() 159 /* Now copy over temp' in dump_node() 379 Board_node *temp = root->bd_list; insert_board() local [all...] |
/titanic_51/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 [all...] |
/titanic_51/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; 223 GENERIC a, b, temp = 0; global() local [all...] |
/titanic_51/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; 226 GENERIC a, b, temp; global() local [all...] |
/titanic_51/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() 234 GENERIC a, b, temp = 0, ox, on; yn() local [all...] |
/titanic_51/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | mkpkgmap.c | 52 * IMPORTANT NOTE: PLEASE SEE THE DEFINITION OF temp[] BELOW BEFORE 131 * NOTE: THE SIZE OF temp IS HARD CODED INTO CALLS TO fscanf. in mkpkgmap() 132 * YOU *MUST* MAKE SURE TO CHANGE THOSE CALLS IF THE SIZE OF temp in mkpkgmap() 135 char temp[PATH_LGTH]; in mkpkgmap() local 182 * IMPORTANT NOTE: THE SIZE OF temp IS HARD CODED INTO in mkpkgmap() 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, "defaul in mkpkgmap() 367 char temp[PATH_MAX], *basename; findfile() local 449 char temp[PATH_MAX], lookpath[PATH_MAX], *pt; dosearch() local 478 char temp[PATH_MAX], lookpath[PATH_MAX], *pt; dorsearch() local 589 char temp[PATH_MAX]; doinclude() local [all...] |
/titanic_51/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; tem in krb5_free_authdata() 212 register krb5_cred_info **temp; krb5_free_cred_enc_part() local 483 register krb5_last_req_entry **temp; krb5_free_last_req() local 493 register krb5_pa_data **temp; krb5_free_pa_data() local 567 register passwd_phrase_element **temp; krb5_free_pwd_sequences() local 624 register krb5_ticket **temp; krb5_free_tickets() local [all...] |
/titanic_51/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 << in unm_niu_macaddr_set() 485 unm_crbword_t temp = 0; unm_niu_xg_macaddr_set() local [all...] |
/titanic_51/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 in dlist_get_last() 141 DL_NODE *temp = list; dlist_length() local 197 DL_NODE *temp = list; dlist_remove_node() local [all...] |
/titanic_51/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_51/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_51/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() [all...] |
/titanic_51/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_51/usr/src/ucblib/libcurses/ |
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()
|
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()
|
/titanic_51/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 403 char temp[MAXLOCALENAME + 1]; getlocale_time() local [all...] |
/titanic_51/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 [all...] |