/illumos-gate/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 …]
|
/illumos-gate/usr/src/test/util-tests/tests/awk/tests/ |
H A D | T.-f-f | 17 TEMP0=$WORKDIR/test.temp.0 18 TEMP1=$WORKDIR/test.temp.1 19 TEMP2=$WORKDIR/test.temp.2 20 TEMP3=$WORKDIR/test.temp.3 21 TEMP4=$WORKDIR/test.temp.4 22 TEMP5=$WORKDIR/test.temp.5 23 TEMP6=$WORKDIR/test.temp.6
|
H A D | T.argv | 8 TEMP0=$WORKDIR/test.temp.0 9 TEMP1=$WORKDIR/test.temp.1 10 TEMP2=$WORKDIR/test.temp.2 11 TEMP3=$WORKDIR/test.temp.3 12 TEMP4=$WORKDIR/test.temp.4 13 TEMP5=$WORKDIR/test.temp.5
|
/illumos-gate/usr/src/cmd/vgrind/ |
H A D | regexp.c | 143 int temp; in expconv() local 174 temp = OCNT(acs); in expconv() 176 acs -= temp; in expconv() 177 } while (temp != 0); in expconv() 193 temp = OCNT(acs); in expconv() 195 acs -= temp; in expconv() 196 } while (temp != 0); in expconv() 215 temp = OCNT(acs); in expconv() 217 acs -= temp; in expconv() 218 } while (temp != 0); in expconv() [all …]
|
/illumos-gate/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);
|
/illumos-gate/usr/src/cmd/sgs/lex/common/ |
H A D | sub2.c | 150 int i, *temp; in add() local 152 temp = nxtpos; in add() 155 *temp++ = count; in add() 158 *temp++ = i; in add() 159 nxtpos = temp; in add() 456 CHR *temp, *tz; in nextstate() local 460 temp = tmpstat; in nextstate() 472 temp[*newpos++] = 2; in nextstate() 476 tz = temp + tptr; in nextstate() 477 while (temp < tz) { in nextstate() [all …]
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rpcdname.c | 53 char temp[256]; in get_default_domain() local 63 if (getdomainname(temp, (size_t)sizeof (temp)) < 0) { in get_default_domain() 67 if ((int)strlen(temp) > 0) { in get_default_domain() 68 default_domain = strdup(temp); in get_default_domain()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/ |
H A D | fsdb.c | 379 long temp; in main() local 849 temp = 1; in main() 851 temp = expr(); in main() 859 addr = getdirslot((long)(dirslot + temp)); in main() 864 cur_inum += temp; in main() 867 cur_inum -= temp; in main() 873 cur_cgrp += temp; in main() 875 cur_cgrp -= temp; in main() 880 addr = getshadowslot((long)(cur_shad + temp)); in main() 887 addr += temp * objsz; in main() [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_util.c | 263 u32_t temp = 0 ; in calc_crc32() local 289 temp = crc32_result ; in calc_crc32() 293 temp <<= 1; in calc_crc32() 294 temp |= crc32_result & 1; in calc_crc32() 297 temp <<= shft ; in calc_crc32() 303 t0 = ( ( 0x000000ff ) & ( temp >> 24 ) ) ; // temp >> 24 ; in calc_crc32() 304 t1 = ( ( 0x0000ff00 ) & ( temp >> 8 ) ) ; in calc_crc32() 305 t2 = ( ( 0x00ff0000 ) & ( temp << 8 ) ) ; in calc_crc32() 306 t3 = ( ( 0xff000000 ) & ( temp << 24 ) ) ; in calc_crc32()
|
/illumos-gate/usr/src/cmd/factor/ |
H A D | factor.c | 58 double junk, temp; in main() local 97 modf(nn/ii, &temp); in main() 98 if(nn == temp*ii){ in main() 117 double temp; in try() local 119 modf(nn/arg, &temp); in try() 120 if(nn == temp*arg){ in try()
|
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fx_fire.c | 168 uint32_t temp; in fab_xlate_fire_ue() local 202 temp = entry->fire_bit; in fab_xlate_fire_ue() 203 for (data->pcie_adv_ctl = (uint32_t)-1; temp; in fab_xlate_fire_ue() 205 temp = temp >> 1; in fab_xlate_fire_ue() 320 uint32_t temp; in fab_xlate_fire_dmc() local 345 temp = entry->fire_bit; in fab_xlate_fire_dmc() 346 for (data->pcie_adv_ctl = (uint32_t)-1; temp; data->pcie_adv_ctl++) in fab_xlate_fire_dmc() 347 temp = temp >> 1; in fab_xlate_fire_dmc() 353 temp = (reg & 0x3F0000) >> 16; in fab_xlate_fire_dmc() 354 data->pcie_ue_hdr[0] = (uint32_t)(temp << 24); in fab_xlate_fire_dmc() [all …]
|
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | merginfo.c | 141 char temp[PATH_MAX]; in merginfo() local 463 i = snprintf(temp, PATH_MAX, "%s/%s", pkgbin, in merginfo() 470 if (cppath(MODE_SRC|DIR_DISPLAY, path, temp, 0644)) { in merginfo() 516 i = snprintf(temp, PATH_MAX, "%s/install/%s", in merginfo() 527 if (cppath(MODE_SRC, path, temp, 0644)) { in merginfo() 528 progerr(ERR_CANNOT_COPY, path, temp); in merginfo() 547 i = snprintf(temp, sizeof (temp), "%s/%s", in merginfo() 549 if (i > sizeof (temp)) { in merginfo() 555 if (cppath(MODE_SRC, path, temp, 0644)) { in merginfo() 556 progerr(ERR_CANNOT_COPY, path, temp); in merginfo() [all …]
|
/illumos-gate/usr/src/cmd/sdiff/ |
H A D | sdiff.c | 118 static char *temp; variable 219 temp = strdup("/tmp/sdiffXXXXXX"); in main() 220 tempfd = mkstemp(temp); in main() 223 "Cannot open/create temp %s"), temp); in main() 224 free(temp); in main() 225 temp = 0; in main() 636 if (temp) { in sremove() 637 (void) unlink(temp); in sremove() 638 free(temp); in sremove() 703 if ((tempdes = fopen(temp, "w")) == NULL) in cmdin() [all …]
|
/illumos-gate/usr/src/common/util/ |
H A D | qsort.c | 514 uint32_t temp; in swapp32() local 516 temp = *r1; in swapp32() 518 *r2++ = temp; in swapp32() 525 uint64_t temp; in swapp64() local 527 temp = *r1; in swapp64() 529 *r2++ = temp; in swapp64() 535 uint32_t temp; in swapi() local 539 temp = *r1; in swapi() 541 *r2++ = temp; in swapi() 548 char temp; in swapb() local [all …]
|
/illumos-gate/usr/src/common/iscsi/ |
H A D | utils.c | 255 char *temp = NULL; in utils_iqn_create() local 269 if ((temp = malloc(strlen(uts_info.nodename) + in utils_iqn_create() 285 (void) snprintf(temp, strlen(p), "%s.%s", uts_info.nodename, p); in utils_iqn_create() 288 for (p = temp; *p; p++) in utils_iqn_create() 292 len = strlen(temp) + 1; in utils_iqn_create() 297 if (reverse_fqdn(temp, pmet, len) == B_FALSE) { in utils_iqn_create() 310 if (temp) in utils_iqn_create() 311 free(temp); in utils_iqn_create()
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_hw.c | 647 u32 temp = data; in unm_nic_pci_write_normalize_2M() local 649 adapter->unm_nic_hw_write_wx(adapter, off, &temp, 4); in unm_nic_pci_write_normalize_2M() 658 u32 temp; in unm_nic_pci_read_normalize_2M() local 660 adapter->unm_nic_hw_read_wx(adapter, off, &temp, 4); in unm_nic_pci_read_normalize_2M() 662 return (temp); in unm_nic_pci_read_normalize_2M() 671 u32 temp = *data; in unm_nic_pci_write_immediate_2M() local 673 adapter->unm_nic_hw_write_wx(adapter, off, &temp, 4); in unm_nic_pci_write_immediate_2M() 684 u32 temp; in unm_nic_pci_read_immediate_2M() local 686 adapter->unm_nic_hw_read_wx(adapter, off, &temp, 4); in unm_nic_pci_read_immediate_2M() 688 *data = temp; in unm_nic_pci_read_immediate_2M() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/ |
H A D | fsdb.c | 1069 struct recu_dir *rd, *erd, *temp; in list() local 1072 rd = erd = temp = NULL; in list() 1115 temp = (struct recu_dir *) in list() 1117 if (temp == NULL) { in list() 1121 temp->next = NULL; in list() 1122 temp->inode = iloc; in list() 1123 temp->nm = malloc(strlen(nm) + 1 + in list() 1125 if (temp->nm != NULL) { in list() 1126 (void) strcpy(temp->nm, nm); in list() 1127 (void) strcat(temp->nm, "/"); in list() [all …]
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_alloc.c | 236 uint32_t bno, begin, dummy, temp, lbsz, bb_count; in ud_alloc_space_bmap() local 257 temp = blkcount; in ud_alloc_space_bmap() 259 ud_part, proximity, &temp) == 0) { in ud_alloc_space_bmap() 260 if (temp != 0) { in ud_alloc_space_bmap() 262 *size = temp; in ud_alloc_space_bmap() 313 temp = eblk - bno; in ud_alloc_space_bmap() 315 temp = blkcount; in ud_alloc_space_bmap() 318 bno - bblk, temp)) == temp) { in ud_alloc_space_bmap() 319 ud_mark_used(addr, bno - bblk, temp); in ud_alloc_space_bmap() 322 *size = temp; in ud_alloc_space_bmap() [all …]
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/ |
H A D | dpost.c | 573 char temp[150]; variable 1357 sprintf(temp, "%s/dev%s/DESC.out", fontdir, devname); in fontinit() 1358 if ( (fin = open(temp, 0)) < 0 ) in fontinit() 1359 error(FATAL, "can't open tables for %s", temp); in fontinit() 1421 sprintf(temp, "%s/dev%s/%s.out", fontdir, devname, s); in loadfont() 1422 else sprintf(temp, "%s/%s.out", s1, s); in loadfont() 1424 if ( (fin = open(temp, 0)) < 0 ) { in loadfont() 1425 sprintf(temp, "%s/dev%s/%s.out", fontdir, devname, mapfont(s)); in loadfont() 1426 if ( (fin = open(temp, 0)) < 0 ) in loadfont() 1427 error(FATAL, "can't open font table %s", temp); in loadfont() [all …]
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | main.c | 184 char temp[MAX_PKG_PARAM_LENGTH]; in main() local 467 (void) snprintf(temp, sizeof (temp), in main() 469 putparam("VERSION", temp); in main() 471 logerr(gettext(WRN_SETPARAM), "VERSION", temp); in main() 489 (void) snprintf(temp, sizeof (temp), "%s%s", in main() 491 putparam("PSTAMP", temp); in main() 492 logerr(gettext(WRN_SETPARAM), "PSTAMP", temp); in main() 707 char *svpt, *path, temp[PATH_MAX]; in outvol() local 715 (void) snprintf(temp, sizeof (temp), "%s/pkgmap", pkgloc); in outvol() 716 if ((fp = fopen(temp, "w")) == NULL) { in outvol() [all …]
|
/illumos-gate/usr/src/ucbcmd/vipw/ |
H A D | vipw.c | 224 editfile(char *editor, char *temp, char *orig, time_t *mtime) in editfile() argument 226 (void)sprintf(buf, "%s %s", editor, temp); in editfile() 228 return (sanity_check(temp, mtime, orig)); in editfile() 257 sanity_check(char *temp, time_t *mtime, char *orig) in sanity_check() argument 269 if (stat(temp, &sbuf) < 0) { in sanity_check() 272 temp, orig); in sanity_check() 278 temp, orig); in sanity_check() 281 ft = fopen(temp, "r"); in sanity_check() 285 temp, orig); in sanity_check() 386 temp, orig); in sanity_check()
|
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | setbuffer.c | 55 Uchar *temp; in setbuffer() local 80 temp = buf + PUSHBACK; in setbuffer() 81 iop->_base = temp; in setbuffer() 82 _setbufend(iop, temp + size); in setbuffer() 83 iop->_ptr = temp; in setbuffer()
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | setbuf.c | 52 Uchar *temp; in setbuf() local 89 temp = buf + PUSHBACK; in setbuf() 90 iop->_base = temp; in setbuf() 91 _setbufend(iop, temp + size); in setbuf() 92 iop->_ptr = temp; in setbuf()
|
H A D | setvbuf.c | 45 Uchar *temp; in setvbuf() local 102 temp = buf + PUSHBACK; in setvbuf() 103 iop->_base = temp; in setvbuf() 104 _setbufend(iop, temp + size); in setvbuf() 105 iop->_ptr = temp; in setvbuf()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | processor_info.c | 50 processor_info_t temp; in processor_info() local 57 bcopy(&cp->cpu_type_info, &temp, sizeof (temp)); in processor_info() 66 if (copyout((caddr_t)&temp, (caddr_t)infop, in processor_info()
|