/freebsd/lib/libusb/ |
H A D | libusb20_desc.c | 354 uint8_t temp; in libusb20_me_encode() local 586 uint8_t temp; in libusb20_me_decode() local 590 temp = 0; in libusb20_me_decode() 609 temp = 0; in libusb20_me_decode() 629 temp = 0; in libusb20_me_decode() 652 temp = 0; in libusb20_me_decode() 709 temp = 0; in libusb20_me_decode() 723 temp = 0; in libusb20_me_decode() 729 temp = 0; in libusb20_me_decode() 784 buf += temp; in libusb20_me_decode() [all …]
|
H A D | libusb20_ugen20.c | 114 temp *= 10; in ugen20_path_convert_one() 521 int temp; in ugen20_get_config_index() local 601 int temp; in ugen20_set_power_mode() local 631 int temp; in ugen20_get_power_mode() local 663 int temp; in ugen20_get_power_usage() local 804 } temp; in ugen20_tr_open() local 810 memset(&temp, 0, sizeof(temp)); in ugen20_tr_open() 848 memset(&temp, 0, sizeof(temp)); in ugen20_tr_close() 863 memset(&temp, 0, sizeof(temp)); in ugen20_tr_clear_stall_sync() 881 memset(&temp, 0, sizeof(temp)); in ugen20_tr_submit() [all …]
|
/freebsd/sys/dev/aic7xxx/ |
H A D | aic7xxx_93cx6.c | 107 uint8_t temp; in send_seeprom_cmd() local 117 temp ^= sd->sd_DO; in send_seeprom_cmd() 123 temp ^= sd->sd_DO; in send_seeprom_cmd() 133 uint8_t temp; in reset_seeprom() local 135 temp = sd->sd_MS; in reset_seeprom() 155 uint8_t temp; in ahc_read_seeprom() local 172 temp ^= sd->sd_DO; in ahc_read_seeprom() 178 temp ^= sd->sd_DO; in ahc_read_seeprom() 226 uint8_t temp; in ahc_write_seeprom() local 254 temp ^= sd->sd_DO; in ahc_write_seeprom() [all …]
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | aes-internal.c | 782 u32 temp; in rijndaelKeySetupEnc() local 791 temp = rk[3]; in rijndaelKeySetupEnc() 792 rk[4] = rk[0] ^ TE421(temp) ^ TE432(temp) ^ in rijndaelKeySetupEnc() 793 TE443(temp) ^ TE414(temp) ^ RCON(i); in rijndaelKeySetupEnc() 807 temp = rk[5]; in rijndaelKeySetupEnc() 808 rk[6] = rk[0] ^ TE421(temp) ^ TE432(temp) ^ in rijndaelKeySetupEnc() 809 TE443(temp) ^ TE414(temp) ^ RCON(i); in rijndaelKeySetupEnc() 827 rk[8] = rk[0] ^ TE421(temp) ^ TE432(temp) ^ in rijndaelKeySetupEnc() 828 TE443(temp) ^ TE414(temp) ^ RCON(i); in rijndaelKeySetupEnc() 835 rk[12] = rk[4] ^ TE411(temp) ^ TE422(temp) ^ in rijndaelKeySetupEnc() [all …]
|
/freebsd/sys/dev/usb/controller/ |
H A D | musb_otg.c | 293 uint8_t temp; in musbotg_pull_common() local 330 uint8_t temp; in musbotg_suspend_host() local 345 uint8_t temp; in musbotg_wakeup_host() local 370 uint8_t temp; in musbotg_wakeup_peer() local 712 if (temp) { in musbotg_dev_ctrl_data_rx() 2482 temp.short_pkt = temp.len ? 1 : 0; in musbotg_setup_standard_chain() 2564 temp.offset += temp.len; in musbotg_setup_standard_chain() 2889 temp = 0; in musbotg_clear_stall_sub() 2949 temp = 0; in musbotg_clear_stall_sub() 3170 for (temp = 1; temp <= sc->sc_ep_max; temp++) { in musbotg_init() [all …]
|
H A D | xhci.c | 432 if (!temp) in xhci_start_controller() 435 if (temp) { in xhci_start_controller() 471 if (temp) in xhci_halt_controller() 475 if (!temp) { in xhci_halt_controller() 497 if (!temp) in xhci_reset_controller() 501 if (temp) { in xhci_reset_controller() 1718 if (temp->len % temp->max_packet_size) { in xhci_setup_generic_chain_sub() 1801 usbd_get_page(temp->pc, temp->offset + in xhci_setup_generic_chain_sub() 2090 temp.shortpkt = temp.len ? 1 : 0; in xhci_setup_generic_chain() 2185 temp.isoc_frame += temp.isoc_delta; in xhci_setup_generic_chain() [all …]
|
H A D | uss820dci.c | 166 uint8_t temp; in uss820dci_update_shared_1() local 196 uint8_t temp; in uss820dci_pull_up() local 215 uint8_t temp; in uss820dci_pull_down() local 253 uint8_t temp; in uss820dci_setup_rx() local 910 temp.short_pkt = temp.len ? 1 : 0; in uss820dci_setup_standard_chain() 965 temp.offset += temp.len; in uss820dci_setup_standard_chain() 1007 td = temp.td; in uss820dci_setup_standard_chain() 1030 uint8_t temp; in uss820dci_intr_set() local 1254 uint8_t temp; in uss820dci_set_stall() local 1286 uint8_t temp; in uss820dci_clear_stall_sub() local [all …]
|
H A D | dwc_otg.c | 173 uint32_t temp; in dwc_otg_write_fifo() local 183 count -= temp; in dwc_otg_write_fifo() 223 uint32_t temp; in dwc_otg_read_fifo() local 276 uint32_t temp; in dwc_otg_tx_fifo_reset() local 282 for (temp = 0; temp != 16; temp++) { in dwc_otg_tx_fifo_reset() 473 uint32_t temp; in dwc_otg_update_host_frame_interval() 480 temp /= 125; in dwc_otg_update_host_frame_interval() 491 temp *= 125; in dwc_otg_update_host_frame_interval() 3163 temp.short_pkt = temp.len ? 1 : 0; in dwc_otg_setup_standard_chain() 3233 temp.offset += temp.len; in dwc_otg_setup_standard_chain() [all …]
|
H A D | avr32dci.c | 176 uint32_t temp; in avr32dci_mod_ctrl() local 179 temp |= set; in avr32dci_mod_ctrl() 180 temp &= ~clear; in avr32dci_mod_ctrl() 187 uint32_t temp; in avr32dci_mod_ien() local 190 temp |= set; in avr32dci_mod_ien() 191 temp &= ~clear; in avr32dci_mod_ien() 278 uint32_t temp; in avr32dci_setup_rx() local 353 uint32_t temp; in avr32dci_data_rx() local 782 temp.short_pkt = temp.len ? 1 : 0; in avr32dci_setup_standard_chain() 840 temp.offset += temp.len; in avr32dci_setup_standard_chain() [all …]
|
H A D | atmegadci.c | 215 uint8_t temp; in atmegadci_wakeup_peer() local 247 uint8_t temp; in atmegadci_setup_rx() local 332 uint8_t temp; in atmegadci_data_rx() local 447 uint8_t temp; in atmegadci_data_tx() local 529 uint8_t temp; in atmegadci_data_tx_sync() local 732 uint8_t temp; in atmegadci_interrupt() local 808 temp.short_pkt = temp.len ? 1 : 0; in atmegadci_setup_standard_chain() 867 temp.offset += temp.len; in atmegadci_setup_standard_chain() 911 td = temp.td; in atmegadci_setup_standard_chain() 1128 uint8_t temp; in atmegadci_clear_stall_sub() local [all …]
|
/freebsd/sys/contrib/xz-embedded/linux/lib/xz/ |
H A D | xz_dec_stream.c | 178 if (s->temp.pos == s->temp.size) { in fill_temp() 499 if (dec_vli(s, s->temp.buf, &s->temp.pos, s->temp.size) in dec_block_header() 510 if (dec_vli(s, s->temp.buf, &s->temp.pos, s->temp.size) in dec_block_header() 523 if (s->temp.size - s->temp.pos < 2) in dec_block_header() 534 if (s->temp.buf[s->temp.pos++] != 0x00) in dec_block_header() 540 if (s->temp.size - s->temp.pos < 2) in dec_block_header() 544 if (s->temp.buf[s->temp.pos++] != 0x21) in dec_block_header() 548 if (s->temp.buf[s->temp.pos++] != 0x01) in dec_block_header() 552 if (s->temp.size - s->temp.pos < 1) in dec_block_header() 560 while (s->temp.pos < s->temp.size) in dec_block_header() [all …]
|
H A D | xz_dec_bcj.c | 75 } temp; member 408 s->temp.size -= copy_size; in bcj_flush() 409 memmove(s->temp.buf, s->temp.buf + copy_size, s->temp.size); in bcj_flush() 449 if (s->temp.size < b->out_size - b->out_pos || s->temp.size == 0) { in xz_dec_bcj_run() 451 memcpy(b->out + b->out_pos, s->temp.buf, s->temp.size); in xz_dec_bcj_run() 471 memcpy(s->temp.buf, b->out + b->out_pos, s->temp.size); in xz_dec_bcj_run() 495 b->out = s->temp.buf; in xz_dec_bcj_run() 509 bcj_apply(s, s->temp.buf, &s->temp.filtered, s->temp.size); in xz_dec_bcj_run() 517 s->temp.filtered = s->temp.size; in xz_dec_bcj_run() 568 s->temp.filtered = 0; in xz_dec_bcj_reset() [all …]
|
/freebsd/contrib/xz/src/liblzma/lz/ |
H A D | lz_encoder_hash.h | 50 const uint32_t temp = hash_table[cur[0]] ^ cur[1]; \ 51 const uint32_t hash_2_value = temp & HASH_2_MASK; \ 56 const uint32_t temp = hash_table[cur[0]] ^ cur[1]; \ 57 const uint32_t hash_2_value = temp & HASH_2_MASK; \ 67 const uint32_t temp = hash_table[cur[0]] ^ cur[1]; \ 68 const uint32_t hash_2_value = temp & HASH_2_MASK; \ 95 const uint32_t temp = hash_table[cur[0]] ^ cur[1]; \ 96 const uint32_t hash_2_value = temp & HASH_2_MASK; \ 98 = (temp ^ ((uint32_t)(cur[2]) << 8)) & HASH_3_MASK 101 const uint32_t temp = hash_table[cur[0]] ^ cur[1]; \ [all …]
|
/freebsd/lib/msun/src/ |
H A D | e_jn.c | 53 double a, b, c, s, temp, di; in jn() local 102 temp = b; in jn() 104 a = temp; in jn() 115 temp = x*0.5; b = temp; in jn() 179 temp = b; in jn() 182 a = temp; in jn() 187 temp = b; in jn() 190 a = temp; in jn() 216 double a, b, c, s, temp; in yn() local 263 temp = b; in yn() [all …]
|
/freebsd/sbin/nvmecontrol/modules/samsung/ |
H A D | samsung.c | 68 struct samsung_log_extended_smart *temp = buf; in print_samsung_extended_smart() local 133 printf(" Lifetime Write Amplification Factor : %u\n", le32dec(&temp->lwaf)); in print_samsung_extended_smart() 136 uint128_to_str(to128(temp->luw), cbuf, sizeof(cbuf))); in print_samsung_extended_smart() 138 uint128_to_str(to128(temp->lnw), cbuf, sizeof(cbuf))); in print_samsung_extended_smart() 140 uint128_to_str(to128(temp->lur), cbuf, sizeof(cbuf))); in print_samsung_extended_smart() 143 print_temp_K(le16dec(&temp->ct)); in print_samsung_extended_smart() 144 printf(" Capacitor Health : %u\n", le16dec(&temp->ch)); in print_samsung_extended_smart() 150 uint128_to_str(to128(temp->poh), cbuf, sizeof(cbuf))); in print_samsung_extended_smart() 152 uint128_to_str(to128(temp->npoc), cbuf, sizeof(cbuf))); in print_samsung_extended_smart() 154 uint128_to_str(to128(temp->spoc), cbuf, sizeof(cbuf))); in print_samsung_extended_smart() [all …]
|
/freebsd/sys/dev/usb/template/ |
H A D | usb_template.c | 210 if (temp->buf) { in usb_make_raw_desc() 211 dst = USB_ADD_BYTES(temp->buf, temp->size); in usb_make_raw_desc() 254 temp->size += len; in usb_make_raw_desc() 316 if (temp->buf) { in usb_make_endpoint_desc() 424 if (temp->buf) { in usb_make_interface_desc() 477 if (temp->buf) { in usb_make_config_desc() 539 if (temp->buf) { in usb_make_device_desc() 645 uint16_t temp; in usb_hw_ep_find_match() local 767 uint16_t temp; in usb_hw_ep_get_needs() local 816 if (temp == 1) { in usb_hw_ep_get_needs() [all …]
|
/freebsd/contrib/ntp/libntp/ |
H A D | refidsmear.c | 20 l_fp temp; in convertRefIDToLFP() local 26 temp.l_uf = (r << 10); /* 22 fractional bits */ in convertRefIDToLFP() 28 temp.l_ui = (r >> 22) & 0x3; in convertRefIDToLFP() 29 temp.l_ui |= ~(temp.l_ui & 2) + 1; in convertRefIDToLFP() 31 return temp; in convertRefIDToLFP() 38 uint32_t temp; in convertLFPToRefID() local 50 temp = (num.l_ui << 22) | (num.l_uf >> 10); in convertLFPToRefID() 53 temp |= UINT32_C(0xFE000000); in convertLFPToRefID() 57 return htonl(temp); in convertLFPToRefID()
|
/freebsd/contrib/libedit/ |
H A D | filecomplete.c | 73 char *temp; in fn_tilde_expand() local 87 temp = el_calloc(len, sizeof(*temp)); in fn_tilde_expand() 121 temp = el_calloc(len, sizeof(*temp)); in fn_tilde_expand() 126 return temp; in fn_tilde_expand() 219 (temp == el->el_line.buffer || temp[-1] != '\\')) in escape_filename() 226 temp++; in escape_filename() 331 char *temp; in fn_filename_completion_function() local 432 temp = el_calloc(len, sizeof(*temp)); in fn_filename_completion_function() 442 return temp; in fn_filename_completion_function() 639 temp = el_malloc((len + 1) * sizeof(*temp)); in find_word_to_complete() [all …]
|
/freebsd/sys/contrib/openzfs/module/icp/algs/aes/ |
H A D | aes_impl_generic.c | 794 uint32_t temp; in rijndael_key_setup_enc() local 803 temp = rk[3]; in rijndael_key_setup_enc() 826 temp = rk[5]; in rijndael_key_setup_enc() 852 temp = rk[7]; in rijndael_key_setup_enc() 866 temp = rk[11]; in rijndael_key_setup_enc() 898 uint32_t temp; in rijndael_key_setup_dec() local 905 temp = rk[i]; in rijndael_key_setup_dec() 907 rk[j] = temp; in rijndael_key_setup_dec() 908 temp = rk[i + 1]; in rijndael_key_setup_dec() 910 rk[j + 1] = temp; in rijndael_key_setup_dec() [all …]
|
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_paprd.c | 831 int temp; in ar9300_paprd_debug_print() local 837 temp = in ar9300_paprd_debug_print() 843 temp = in ar9300_paprd_debug_print() 849 temp = in ar9300_paprd_debug_print() 858 temp = in ar9300_paprd_debug_print() 864 temp = in ar9300_paprd_debug_print() 870 temp = in ar9300_paprd_debug_print() 876 temp = in ar9300_paprd_debug_print() 1199 temp = in ar9300_paprd_debug_print() 1204 temp = in ar9300_paprd_debug_print() [all …]
|
/freebsd/usr.sbin/vidcontrol/ |
H A D | decode.c | 40 char temp[128]; in decode() local 45 if (!fgets(temp, sizeof(temp), fd)) in decode() 47 } while (strncmp(temp, "begin ", 6)); in decode() 48 sscanf(temp, "begin %o %s", (unsigned *)&n, temp); in decode() 51 if (!fgets(p = temp, sizeof(temp), fd)) in decode() 93 if (!fgets(temp, sizeof(temp), fd) || strcmp(temp, "end\n")) in decode()
|
/freebsd/usr.sbin/makefs/ |
H A D | cd9660.c | 170 cd9660node *temp = ecalloc(1, sizeof(*temp)); in cd9660_allocate_cd9660node() local 173 temp->parent = temp->dot_record = temp->dot_dot_record = NULL; in cd9660_allocate_cd9660node() 174 temp->ptnext = temp->ptprev = temp->ptlast = NULL; in cd9660_allocate_cd9660node() 178 temp->rr_real_parent = temp->rr_relocated = NULL; in cd9660_allocate_cd9660node() 738 temp = emalloc(sizeof(*temp)); in cd9660_setup_volume_descriptors() 754 temp = t; in cd9660_setup_volume_descriptors() 807 flag, strlen(temp), temp); in cd9660_translate_node_common() 1099 temp = i; in cd9660_rename_filename() 1102 temp = temp - digit * powers; in cd9660_rename_filename() 1920 temp->level = temp->parent->level + 1; in cd9660_create_virtual_entry() [all …]
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | rsaz_exp.c | 277 temp[1] = ~m[1]; 278 temp[2] = ~m[2]; 279 temp[3] = ~m[3]; 280 temp[4] = ~m[4]; 281 temp[5] = ~m[5]; 282 temp[6] = ~m[6]; 301 rsaz_512_sqr(temp, temp, m, k0, 4); 302 rsaz_512_mul_gather4(temp, temp, table, m, k0, wvalue & 0xf); 307 rsaz_512_sqr(temp, temp, m, k0, 4); 308 rsaz_512_mul_gather4(temp, temp, table, m, k0, wvalue >> 4); [all …]
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | kstrtox.h | 107 long temp; in kstrtoint() local 109 *res = temp = strtol(cp, &end, base); in kstrtoint() 116 if (temp != (int)temp) in kstrtoint() 125 unsigned long temp; in kstrtouint() local 127 *res = temp = strtoul(cp, &end, base); in kstrtouint() 134 if (temp != (unsigned int)temp) in kstrtouint() 143 unsigned long temp; in kstrtou8() local 145 *res = temp = strtoul(cp, &end, base); in kstrtou8() 152 if (temp != (uint8_t)temp) in kstrtou8() 161 unsigned long temp; in kstrtou16() local [all …]
|
/freebsd/sys/dev/qat/qat_common/ |
H A D | adf_clock.c | 68 u64 temp = 0; in measure_clock() local 83 temp = delta.tv_nsec; in measure_clock() 84 do_div(temp, NSEC_PER_USEC); in measure_clock() 86 delta_us = delta.tv_sec * USEC_PER_SEC + temp; in measure_clock() 108 temp = delta.tv_nsec; in measure_clock() 109 do_div(temp, NSEC_PER_USEC); in measure_clock() 122 temp = in measure_clock() 124 do_div(temp, NSEC_PER_USEC); in measure_clock() 125 delta_us = temp; in measure_clock() 128 do_div(temp, delta_us); in measure_clock() [all …]
|