/freebsd/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/contrib/ntp/util/ |
H A D | ntp-keygen.c | 332 u_int temp; in main() local 869 &temp, sizeof(temp)); in gen_md5() 877 if (temp > 0x20 && temp < 0x7f) in gen_md5() 1155 u_int temp; in gen_iffkey() local 1334 u_int temp; in gen_gqkey() local 1587 temp = 0; in gen_mvkey() 1599 temp++; in gen_mvkey() 1616 temp = 0; in gen_mvkey() 1627 temp++; in gen_mvkey() 1720 temp = 1; in gen_mvkey() [all …]
|
/freebsd/sys/dev/iicbus/rtc/ |
H A D | rv3032.c | 265 rv3032_temp_read(struct rv3032_softc *sc, int *temp) in rv3032_temp_read() argument 274 *temp = (((data[0] & RV3032_TEMP_LSB_MASK) >> RV3032_TEMP_LSB_SHIFT) | in rv3032_temp_read() 277 temp2 = *temp; in rv3032_temp_read() 278 *temp = (((data[0] & RV3032_TEMP_LSB_MASK) >> RV3032_TEMP_LSB_SHIFT) | in rv3032_temp_read() 280 } while (temp2 != *temp); in rv3032_temp_read() 281 *temp = (*temp / TEMP_DIV) + TEMP_C_TO_K; in rv3032_temp_read() 288 int error, temp; in rv3032_temp_sysctl() local 292 if (rv3032_temp_read(sc, &temp) != 0) in rv3032_temp_sysctl() 294 error = sysctl_handle_int(oidp, &temp, 0, req); in rv3032_temp_sysctl()
|
/freebsd/sys/contrib/device-tree/Bindings/hwmon/ |
H A D | jedec,jc42.yaml | 16 const: jedec,jc-42.4-temp 24 - const: jedec,jc-42.4-temp 51 - const: jedec,jc-42.4-temp 74 temp-sensor@1a { 75 compatible = "jedec,jc-42.4-temp";
|
/freebsd/usr.bin/enigma/ |
H A D | enigma.c | 36 int ic, i, k, temp; in setup() local 67 temp = t1[k]; in setup() 69 t1[ic] = temp; in setup() 141 int i, ic, k, temp; in shuffle() local 150 temp = deckary[k]; in shuffle() 152 deckary[ic] = temp; in shuffle()
|
/freebsd/sys/dev/iicbus/sensor/ |
H A D | lm75.c | 378 lm75_temp_read(struct lm75_softc *sc, uint8_t reg, int32_t *temp) in lm75_temp_read() argument 391 *temp += TZ_ZEROC * sc->sc_multiplier / TZ_ZEROC_DIVIDER; in lm75_temp_read() 403 temp -= TZ_ZEROC * multiplier / TZ_ZEROC_DIVIDER; in lm75_temp_write() 404 if (temp > LM75_MAX_TEMP * multiplier) in lm75_temp_write() 405 temp = LM75_MAX_TEMP * multiplier; in lm75_temp_write() 406 if (temp < LM75_MIN_TEMP * multiplier) in lm75_temp_write() 407 temp = LM75_MIN_TEMP * multiplier; in lm75_temp_write() 460 int32_t temp; in lm75_temp_sysctl() local 468 if (lm75_temp_read(sc, reg, &temp) != 0) in lm75_temp_sysctl() 471 error = sysctl_handle_int(oidp, &temp, 0, req); in lm75_temp_sysctl() [all …]
|
/freebsd/contrib/dialog/ |
H A D | dialog.c | 689 free(temp); in findOption() 747 Usage(temp); in howmany_tags() 751 Usage(temp); in howmany_tags() 1339 char temp[80]; in optionString() local 1341 Usage(temp); in optionString() 1362 char temp[80]; in optionValue() local 1364 Usage(temp); in optionValue() 1417 char temp[80]; in button_code() local 1419 Usage(temp); in button_code() 2024 sprintf(temp, in main() [all …]
|
/freebsd/sys/netpfil/ipfw/ |
H A D | dn_heap.c | 236 int temp, i, max = h->elements-1; 247 DN_KEY_LT(new_key, p[(temp = HEAP_FATHER(i))].key); 248 i = temp ) { /* bubble up */ 249 HEAP_SWAP(p[i], p[temp], buf); 254 while ( (temp = HEAP_LEFT(i)) <= max ) { 256 if (temp != max && 257 DN_KEY_LT(p[temp+1].key, p[temp].key)) 258 temp++; /* select child with min key */ 259 if (DN_KEY_LT(>p[temp].key, new_key)) { 261 HEAP_SWAP(p[i], p[temp], buf); [all …]
|
H A D | dn_aqm_codel.c | 145 uint64_t temp; in control_law() local 164 temp = (uint32_t) cst->isqrt * cst->isqrt; in control_law() 166 temp = (3ULL<< (FIX_POINT_BITS*2)) - (count * temp); in control_law() 172 temp >>= (1 + 8); in control_law() 177 temp = (cst->isqrt * temp) >> (FIX_POINT_BITS + FIX_POINT_BITS - 8); in control_law() 178 cst->isqrt = temp; in control_law() 181 return t + ((cprms->interval * temp) >> FIX_POINT_BITS); in control_law()
|
/freebsd/contrib/unbound/util/ |
H A D | module.c | 329 struct inplace_cb* temp = env->inplace_cb_lists[type]; in inplace_cb_delete() local 332 while(temp) { in inplace_cb_delete() 333 if(temp->id == id) { in inplace_cb_delete() 335 env->inplace_cb_lists[type] = temp->next; in inplace_cb_delete() 336 free(temp); in inplace_cb_delete() 337 temp = env->inplace_cb_lists[type]; in inplace_cb_delete() 340 prev->next = temp->next; in inplace_cb_delete() 341 free(temp); in inplace_cb_delete() 342 temp = prev->next; in inplace_cb_delete() 346 prev = temp; in inplace_cb_delete() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | sa8775p-pmics.dtsi | 108 pmm8654au_0_temp_alarm: temp-alarm@a00 { 109 compatible = "qcom,spmi-temp-alarm"; 165 pmm8654au_1_temp_alarm: temp-alarm@a00 { 166 compatible = "qcom,spmi-temp-alarm"; 189 pmm8654au_2_temp_alarm: temp-alarm@a00 { 190 compatible = "qcom,spmi-temp-alarm"; 213 pmm8654au_3_temp_alarm: temp-alarm@a00 { 214 compatible = "qcom,spmi-temp-alarm";
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | T.split | 7 TEMP0=$WORKDIR/test.temp.0 8 TEMP1=$WORKDIR/test.temp.1 9 TEMP2=$WORKDIR/test.temp.2 191 rm -f $WORKDIR/test.temp* 206 rm -f $WORKDIR/test.temp*
|
/freebsd/sys/dev/irdma/ |
H A D | irdma_ctrl.c | 364 u64 temp; in irdma_sc_manage_qhash_table_entry() local 2107 u64 temp; in irdma_sc_gather_stats() local 2151 u64 temp; in irdma_sc_manage_stats_inst() local 2348 u64 temp; in irdma_sc_gen_ae() local 2857 u64 temp; in irdma_sc_decode_fpm_commit() local 2981 u64 temp; in irdma_sc_decode_fpm_query() local 3008 u64 temp; in irdma_sc_parse_fpm_query_buf() local 3233 u64 temp; in irdma_sc_cqp_create() local 3278 temp = 0; in irdma_sc_cqp_create() 3285 temp = 0; in irdma_sc_cqp_create() [all …]
|
/freebsd/contrib/ncurses/ncurses/widechar/ |
H A D | lib_unget_wch.c | 55 wchar_t temp[2]; in NCURSES_EXPORT() local 56 const wchar_t *tempp = temp; in NCURSES_EXPORT() 57 temp[0] = source; in NCURSES_EXPORT() 58 temp[1] = 0; in NCURSES_EXPORT()
|
/freebsd/sys/dev/agp/ |
H A D | agp_nvidia.c | 128 u_int32_t temp; in agp_nvidia_attach() local 224 temp = pci_read_config(sc->mc2_dev, AGP_NVIDIA_2_GARTCTRL, 4); in agp_nvidia_attach() 225 pci_write_config(sc->mc2_dev, AGP_NVIDIA_2_GARTCTRL, temp | 0x11, 4); in agp_nvidia_attach() 228 temp = pci_read_config(sc->dev, AGP_NVIDIA_0_APSIZE, 4); in agp_nvidia_attach() 229 pci_write_config(sc->dev, AGP_NVIDIA_0_APSIZE, temp | 0x100, 4); in agp_nvidia_attach() 241 u_int32_t temp; in agp_nvidia_detach() local 246 temp = pci_read_config(sc->dev, AGP_NVIDIA_0_APSIZE, 4); in agp_nvidia_detach() 247 pci_write_config(sc->dev, AGP_NVIDIA_0_APSIZE, temp & ~(0x100), 4); in agp_nvidia_detach() 250 temp = pci_read_config(sc->mc2_dev, AGP_NVIDIA_2_GARTCTRL, 4); in agp_nvidia_detach() 251 pci_write_config(sc->mc2_dev, AGP_NVIDIA_2_GARTCTRL, temp & ~(0x11), 4); in agp_nvidia_detach()
|
H A D | agp_ati.c | 170 u_int32_t temp; in agp_ati_attach() local 223 temp = pci_read_config(dev, apsize_reg, 4); in agp_ati_attach() 224 pci_write_config(dev, apsize_reg, temp | 1, 4); in agp_ati_attach() 230 temp = pci_read_config(dev, 4, 4); /* XXX: Magic reg# */ in agp_ati_attach() 231 pci_write_config(dev, 4, temp | (1 << 14), 4); in agp_ati_attach() 244 u_int32_t apsize_reg, temp; in agp_ati_detach() local 259 temp = pci_read_config(dev, apsize_reg, 4); in agp_ati_detach() 260 pci_write_config(dev, apsize_reg, temp & ~1, 4); in agp_ati_detach()
|
/freebsd/contrib/ncurses/progs/ |
H A D | tset.c | 150 char temp[BUFSIZ]; in failed() local 153 if ((int) len < (int) sizeof(temp) - 12) { in failed() 154 _nc_STRCPY(temp, _nc_progname, sizeof(temp)); in failed() 155 _nc_STRCAT(temp, ": ", sizeof(temp)); in failed() 157 _nc_STRCPY(temp, "tset: ", sizeof(temp)); in failed() 159 _nc_STRNCAT(temp, msg, sizeof(temp), sizeof(temp) - strlen(temp) - 2); in failed() 160 perror(temp); in failed()
|
/freebsd/sys/dev/sym/ |
H A D | sym_fw2.h | 260 SCR_LOAD_REL (temp, 4), 263 SCR_STORE_ABS (temp, 4), 268 SCR_LOAD_REL (temp, 4), 317 SCR_LOAD_REL (temp, 4), 714 SCR_LOAD_REL (temp, 4), 934 SCR_LOAD_REL (temp, 4), 990 SCR_LOAD_REL (temp, 4), 1006 SCR_LOAD_REL (temp, 4), 1027 SCR_LOAD_REL (temp, 4), 1127 SCR_LOAD_REL (temp, 4), [all …]
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | main.c | 609 uint32_t temp, dbg_lvl; in main() local 890 temp = strtoul(optarg, NULL, 0); in main() 891 if (temp > 7) { in main() 896 opt.lmc = (uint8_t) temp; in main() 897 printf(" LMC = %d\n", temp); in main() 991 temp = strtoul(optarg, NULL, 0); in main() 992 if (temp > 15) { in main() 1109 temp = strtoul(optarg, NULL, 0); in main() 1110 if (temp >= IB_MAX_NUM_VLS) { in main() 1120 if (temp > 15) { in main() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Interpreter/ |
H A D | OptionValueDictionary.cpp | 242 llvm::StringRef left, temp; in GetSubValue() local 243 std::tie(left, temp) = name.split('['); in GetSubValue() 252 assert(!temp.empty()); in GetSubValue() 256 if (temp[0] == '\"' || temp[0] == '\'') { in GetSubValue() 257 quote_char = temp.take_front(); in GetSubValue() 258 temp = temp.drop_front(); in GetSubValue() 262 std::tie(key, sub_name) = temp.split(']'); in GetSubValue()
|
/freebsd/lib/libc/gen/ |
H A D | getosreldate.c | 44 char *temp; in getosreldate() local 46 if ((temp = getenv("OSVERSION"))) { in getosreldate() 47 value = atoi(temp); in getosreldate()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_write_set_format_gnutar.c | 474 archive_entry_set_uname(temp, "root"); in archive_write_gnutar_header() 475 archive_entry_set_gname(temp, "wheel"); in archive_write_gnutar_header() 477 archive_entry_set_pathname(temp, "././@LongLink"); in archive_write_gnutar_header() 478 archive_entry_set_size(temp, length); in archive_write_gnutar_header() 479 ret = archive_format_gnutar_header(a, buff, temp, 'K'); in archive_write_gnutar_header() 480 archive_entry_free(temp); in archive_write_gnutar_header() 504 archive_entry_set_uname(temp, "root"); in archive_write_gnutar_header() 505 archive_entry_set_gname(temp, "wheel"); in archive_write_gnutar_header() 507 archive_entry_set_pathname(temp, "././@LongLink"); in archive_write_gnutar_header() 508 archive_entry_set_size(temp, length); in archive_write_gnutar_header() [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_collapse.cpp | 335 kmp_uint64 temp = 0; in kmp_calc_one_iv_XX() local 406 kmp_uint64 temp = in kmp_calc_one_iv_rectang_XX() local 501 auto temp = new_iv / bounds->trip_count; in __kmpc_calc_original_ivs_rectang() local 503 new_iv = temp; in __kmpc_calc_original_ivs_rectang() 1013 T temp = 0; in kmp_calc_one_iv_for_chunk_end_XX() local 1056 temp = kmp_fix_iv(bounds->loop_iv_type, temp); in kmp_calc_one_iv_for_chunk_end_XX() 1061 (temp < start)) || in kmp_calc_one_iv_for_chunk_end_XX() 1063 (temp > start))) { in kmp_calc_one_iv_for_chunk_end_XX() 1066 temp = start + iteration / 4 * step; in kmp_calc_one_iv_for_chunk_end_XX() 1071 original_ivs[ind] = temp = kmp_fix_iv(bounds->loop_iv_type, temp); in kmp_calc_one_iv_for_chunk_end_XX() [all …]
|
/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/ |
H A D | bsnmptools.c | 1241 struct index *temp; in snmp_parse_index() local 1381 struct snmp_object *temp; in snmp_object_remove() local 1393 if (temp == NULL) { in snmp_object_remove() 1402 free(temp); in snmp_object_remove() 1891 struct asn_oid temp, out; in snmp_output_index() local 1905 if ((temp.subs[0] > temp.len -1 ) || (temp.subs[0] > in snmp_output_index() 1909 bytes += temp.subs[0]; in snmp_output_index() 1913 if ((temp.subs[0] > temp.len -1) || (temp.subs[0] > in snmp_output_index() 1917 bytes += temp.subs[0]; in snmp_output_index() 1924 if (temp.len < 4) in snmp_output_index() [all …]
|
/freebsd/lib/libusbhid/ |
H A D | descr_compat.c | 59 int temp = -1; in hid_get_report_id_compat7() local 61 if (ioctl(fd, USB_GET_REPORT_ID, &temp) < 0) in hid_get_report_id_compat7() 64 return (temp); in hid_get_report_id_compat7()
|