/freebsd-current/lib/libc/rpc/ |
H A D | rpcdname.c | 47 char temp[256]; local 51 if (getdomainname(temp, sizeof(temp)) < 0) 53 if ((int) strlen(temp) > 0) { 54 default_domain = malloc((strlen(temp) + (unsigned)1)); 57 (void) strcpy(default_domain, temp);
|
/freebsd-current/contrib/ntp/libntp/ |
H A D | refidsmear.c | 20 l_fp temp; local 26 temp.l_uf = (r << 10); /* 22 fractional bits */ 28 temp.l_ui = (r >> 22) & 0x3; 29 temp.l_ui |= ~(temp.l_ui & 2) + 1; 31 return temp; 38 uint32_t temp; local 50 temp = (num.l_ui << 22) | (num.l_uf >> 10); 53 temp |= UINT32_C(0xFE000000); 55 // printf("%03d %08x: ", (temp >> 2 [all...] |
/freebsd-current/bin/sh/ |
H A D | mktokens | 38 temp=`mktemp -t ka` 39 cat > $temp <<\! 69 nl=`wc -l $temp` 71 awk '{print "#define " $1 " " NR-1}' $temp 75 awk '{print "\t" $2 ","}' $temp 81 $temp 84 sed 's/"//g' $temp | awk ' 90 rm $temp
|
H A D | mkbuiltins | 34 temp=`mktemp -t ka` 52 print $0}' $srcdir/builtins.def | sed 's/-j//' > $temp 54 awk '/^[^#]/ { printf "\t%s,\n", $1}' $temp 68 }}' $temp 79 tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ < $temp | 87 awk '{ printf "int %s(int, char **);\n", $1}' $temp 120 }' $temp 129 rm -f $temp
|
/freebsd-current/contrib/ncurses/ncurses/widechar/ |
H A D | charable.c | 55 char temp[MB_LEN_MAX]; local 56 result = wctomb(temp, ch); 57 if (strlen(temp) == 1) 58 result = UChar(temp[0]); 74 char temp[2]; local 75 temp[0] = ch; 76 temp[1] = '\0'; 77 if (mbtowc(&convert, temp, 1) >= 0)
|
/freebsd-current/crypto/openssl/crypto/md2/ |
H A D | md2_one.c | 38 char temp[1024]; 42 chunk = (n > sizeof(temp)) ? sizeof(temp) : n; 43 ebcdic2ascii(temp, d, chunk); 44 MD2_Update(&c, temp, chunk);
|
/freebsd-current/lib/libc/gen/ |
H A D | _rand48.c | 32 unsigned short temp[2]; local 36 temp[0] = (unsigned short) accu; /* lower 16 bits */ 40 temp[1] = (unsigned short) accu; /* middle 16 bits */ 43 xseed[0] = temp[0]; 44 xseed[1] = temp[1];
|
H A D | getosreldate.c | 44 char *temp; local 46 if ((temp = getenv("OSVERSION"))) { 47 value = atoi(temp);
|
/freebsd-current/usr.sbin/vidcontrol/ |
H A D | decode.c | 40 char temp[128]; local 45 if (!fgets(temp, sizeof(temp), fd)) 47 } while (strncmp(temp, "begin ", 6)); 48 sscanf(temp, "begin %o %s", (unsigned *)&n, temp); 51 if (!fgets(p = temp, sizeof(temp), fd)) 93 if (!fgets(temp, sizeof(temp), f [all...] |
/freebsd-current/contrib/xz/src/liblzma/lz/ |
H A D | lz_encoder_hash.h | 51 const uint32_t temp = hash_table[cur[0]] ^ cur[1]; \ 52 const uint32_t hash_2_value = temp & HASH_2_MASK; \ 54 = (temp ^ ((uint32_t)(cur[2]) << 8)) & mf->hash_mask 57 const uint32_t temp = hash_table[cur[0]] ^ cur[1]; \ 58 const uint32_t hash_2_value = temp & HASH_2_MASK; \ 60 = (temp ^ ((uint32_t)(cur[2]) << 8)) & HASH_3_MASK; \ 61 const uint32_t hash_value = (temp ^ ((uint32_t)(cur[2]) << 8) \ 68 const uint32_t temp = hash_table[cur[0]] ^ cur[1]; \ 69 const uint32_t hash_2_value = temp & HASH_2_MASK; \ 71 = (temp [all...] |
/freebsd-current/lib/libusb/ |
H A D | libusb20_desc.c | 354 uint8_t temp; local 359 temp = *((const uint8_t *) 361 buf[0] = temp; 372 uint16_t temp; local 378 temp = *((const uint16_t *) 380 buf[1] = (temp >> 8) & 0xFF; 381 buf[0] = temp & 0xFF; 392 uint32_t temp; local 397 temp = *((const uint32_t *) 399 buf[3] = (temp >> 2 413 uint64_t temp; local 586 uint8_t temp; local 605 uint16_t temp; local 625 uint32_t temp; local 648 uint64_t temp; local 676 uint16_t temp; local [all...] |
/freebsd-current/sys/dev/aic7xxx/ |
H A D | aic7xxx_93cx6.c | 107 uint8_t temp; local 111 temp = sd->sd_MS ^ sd->sd_CS; 112 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); 117 temp ^= sd->sd_DO; 118 SEEPROM_OUTB(sd, temp); 120 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); 123 temp ^= sd->sd_DO; 133 uint8_t temp; local 135 temp = sd->sd_MS; 136 SEEPROM_OUTB(sd, temp); 155 uint8_t temp; local 226 uint8_t temp; local [all...] |
/freebsd-current/contrib/googletest/googletest/samples/ |
H A D | sample2.cc | 51 const char* const temp = MyString::CloneCString(a_c_string); local 53 c_string_ = temp;
|
/freebsd-current/crypto/openssl/crypto/md4/ |
H A D | md4_one.c | 38 char temp[1024]; 42 chunk = (n > sizeof(temp)) ? sizeof(temp) : n; 43 ebcdic2ascii(temp, d, chunk); 44 MD4_Update(&c, temp, chunk);
|
/freebsd-current/crypto/openssl/crypto/md5/ |
H A D | md5_one.c | 38 char temp[1024]; 42 chunk = (n > sizeof(temp)) ? sizeof(temp) : n; 43 ebcdic2ascii(temp, d, chunk); 44 MD5_Update(&c, temp, chunk);
|
/freebsd-current/lib/libusbhid/ |
H A D | descr_compat.c | 59 int temp = -1; local 61 if (ioctl(fd, USB_GET_REPORT_ID, &temp) < 0) 64 return (temp);
|
/freebsd-current/sbin/nvmecontrol/modules/samsung/ |
H A D | samsung.c | 68 struct samsung_log_extended_smart *temp = buf; local 133 printf(" Lifetime Write Amplification Factor : %u\n", le32dec(&temp->lwaf)); 134 printf(" Trailing Hour Write Amplification Factor : %u\n", le32dec(&temp->thwaf)); 136 uint128_to_str(to128(temp->luw), cbuf, sizeof(cbuf))); 138 uint128_to_str(to128(temp->lnw), cbuf, sizeof(cbuf))); 140 uint128_to_str(to128(temp->lur), cbuf, sizeof(cbuf))); 141 printf(" Lifetime Retired Block Count : %u\n", le32dec(&temp->lrbc)); 143 print_temp_K(le16dec(&temp->ct)); 144 printf(" Capacitor Health : %u\n", le16dec(&temp->ch)); 145 printf(" Reserved Erase Block Count : %u\n", le32dec(&temp [all...] |
/freebsd-current/sys/contrib/xz-embedded/linux/lib/xz/ |
H A D | xz_dec_stream.c | 141 } temp; member in struct:xz_dec 164 * Fill s->temp by copying data starting from b->in[b->in_pos]. Caller 165 * must have set s->temp.pos to indicate how much data we are supposed 166 * to copy into s->temp.buf. Return true once s->temp.pos has reached 167 * s->temp.size. 172 b->in_size - b->in_pos, s->temp.size - s->temp.pos); 174 memcpy(s->temp.buf + s->temp [all...] |
/freebsd-current/sys/dev/rtwn/ |
H A D | if_rtwn_calib.c | 53 uint8_t temp; local 68 temp = rtwn_temp_read(sc); 69 if (temp == 0) { /* Read failed, skip. */ 77 sc->thcal_temp, temp); 87 sc->thcal_temp = temp; 88 } else if (abs(temp - sc->thcal_temp) > sc->temp_delta) { 90 "%s: LC/IQ calib triggered by temp: %u -> %u\n", 91 __func__, sc->thcal_temp, temp); 97 sc->thcal_temp = temp;
|
/freebsd-current/contrib/bc/scripts/ |
H A D | sqrt_frac_guess.bc | 58 temp = i 64 while (temp < 1) 66 temp <<= 1 70 if (temp == 1)
|
/freebsd-current/lib/msun/src/ |
H A D | e_jn.c | 53 double a, b, c, s, temp, di; local 92 case 0: temp = c+s; break; 93 case 1: temp = -c+s; break; 94 case 2: temp = -c-s; break; 95 case 3: temp = c-s; break; 97 b = invsqrtpi*temp/sqrt(x); 102 temp = b; 104 a = temp; 115 temp = x*0.5; b = temp; 216 double a, b, c, s, temp; local [all...] |
H A D | e_jnf.c | 35 float a, b, temp, di; local 61 temp = b; 63 a = temp; 73 temp = x*(float)0.5; b = temp; 76 b *= temp; /* b = (x/2)^n */ 137 temp = b; 140 a = temp; 145 temp = b; 148 a = temp; 174 float a, b, temp; local [all...] |
/freebsd-current/contrib/libedit/ |
H A D | filecomplete.c | 73 char *temp; local 81 temp = strdup(txt + 1); 82 if (temp == NULL) 87 temp = el_calloc(len, sizeof(*temp)); 88 if (temp == NULL) 90 (void)strlcpy(temp, txt + 1, len - 1); 92 if (temp[0] == 0) { 104 if (getpwnam_r(temp, &pwres, pwbuf, sizeof(pwbuf), &pass) != 0) 107 pass = getpwnam_r(temp, 207 wchar_t *temp = el->el_line.buffer; local 331 char *temp; local 594 wchar_t *temp; local 669 wchar_t *temp; local [all...] |
/freebsd-current/sys/dev/qat/qat_common/ |
H A D | adf_clock.c | 68 u64 temp = 0; local 83 temp = delta.tv_nsec; 84 do_div(temp, NSEC_PER_USEC); 86 delta_us = delta.tv_sec * USEC_PER_SEC + temp; 108 temp = delta.tv_nsec; 109 do_div(temp, NSEC_PER_USEC); 111 delta_us = delta.tv_sec * USEC_PER_SEC + temp; 122 temp = 124 do_div(temp, NSEC_PER_USEC); 125 delta_us = temp; [all...] |
/freebsd-current/sys/contrib/alpine-hal/ |
H A D | al_hal_reg_utils.h | 139 uint8_t temp; local 140 temp = al_reg_read8(reg); 141 al_reg_write8(reg, AL_MASK_VAL(mask, data, temp)); 158 uint16_t temp; local 159 temp = al_reg_read16(reg); 160 al_reg_write16(reg, AL_MASK_VAL(mask, data, temp)); 177 uint32_t temp; local 178 temp = al_reg_read32(reg); 179 al_reg_write32(reg, AL_MASK_VAL(mask, data, temp));
|