| /NextBSD/contrib/ntp/tests/ntpd/ |
| HD | t-ntp_scanner.c | 29 const char * temp = keyword(999); in test_keywordIncorrectToken() local 31 TEST_ASSERT_EQUAL_STRING("(keyword not found)",temp); in test_keywordIncorrectToken() 35 const char * temp = keyword(T_Server); in test_keywordServerToken() local 37 TEST_ASSERT_EQUAL_STRING("server",temp); in test_keywordServerToken() 62 int temp = lex_pop_file(); in test_PopEmptyStack() local 64 TEST_ASSERT_FALSE(temp); in test_PopEmptyStack() 70 int temp = is_integer("123"); in test_IsInteger() local 71 TEST_ASSERT_TRUE(temp); in test_IsInteger() 72 temp = is_integer("-999"); in test_IsInteger() 73 TEST_ASSERT_TRUE(temp); in test_IsInteger() [all …]
|
| /NextBSD/lib/libusb/ |
| HD | libusb20_desc.c | 349 uint8_t temp; in libusb20_me_encode() local 354 temp = *((const uint8_t *) in libusb20_me_encode() 356 buf[0] = temp; in libusb20_me_encode() 367 uint16_t temp; in libusb20_me_encode() local 373 temp = *((const uint16_t *) in libusb20_me_encode() 375 buf[1] = (temp >> 8) & 0xFF; in libusb20_me_encode() 376 buf[0] = temp & 0xFF; in libusb20_me_encode() 387 uint32_t temp; in libusb20_me_encode() local 392 temp = *((const uint32_t *) in libusb20_me_encode() 394 buf[3] = (temp >> 24) & 0xFF; in libusb20_me_encode() [all …]
|
| HD | libusb20_ugen20.c | 108 uint32_t temp = 0; in ugen20_path_convert_one() local 113 temp *= 10; in ugen20_path_convert_one() 114 temp += (*ptr - '0'); in ugen20_path_convert_one() 115 if (temp >= 1000000) { in ugen20_path_convert_one() 128 return (temp); in ugen20_path_convert_one() 512 int temp; in ugen20_get_config_index() local 514 if (ioctl(pdev->file_ctrl, IOUSB(USB_GET_CONFIG), &temp)) { in ugen20_get_config_index() 517 *pindex = temp; in ugen20_get_config_index() 525 int temp = cfg_index; in ugen20_set_config_index() local 530 if (ioctl(pdev->file_ctrl, IOUSB(USB_SET_CONFIG), &temp)) { in ugen20_set_config_index() [all …]
|
| /NextBSD/crypto/openssl/crypto/bn/asm/ |
| HD | armv4-mont.pl | 253 my $temp=&Dlo($Temp); 285 vshl.i64 $temp,`&Dhi("$A0xB")`,#16 288 vadd.u64 $temp,$temp,`&Dlo("$A0xB")` 290 vmul.u32 $Ni,$temp,$M0 318 vshr.u64 $temp,$temp,#16 321 vadd.u64 $temp,$temp,`&Dhi("$Temp")` 324 vshr.u64 $temp,$temp,#16 333 vadd.u64 `&Dlo("$A0xB")`,`&Dlo("$A0xB")`,$temp 338 vshl.i64 $temp,`&Dhi("$A0xB")`,#16 341 vadd.u64 $temp,$temp,`&Dlo("$A0xB")` [all …]
|
| /NextBSD/sys/dev/aic7xxx/ |
| HD | aic7xxx_93cx6.c | 115 uint8_t temp; in send_seeprom_cmd() local 119 temp = sd->sd_MS ^ sd->sd_CS; in send_seeprom_cmd() 120 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); in send_seeprom_cmd() 125 temp ^= sd->sd_DO; in send_seeprom_cmd() 126 SEEPROM_OUTB(sd, temp); in send_seeprom_cmd() 128 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); in send_seeprom_cmd() 131 temp ^= sd->sd_DO; in send_seeprom_cmd() 141 uint8_t temp; in reset_seeprom() local 143 temp = sd->sd_MS; in reset_seeprom() 144 SEEPROM_OUTB(sd, temp); in reset_seeprom() [all …]
|
| /NextBSD/sys/dev/usb/controller/ |
| HD | musb_otg.c | 275 uint8_t temp; in musbotg_pull_common() local 277 temp = MUSB2_READ_1(sc, MUSB2_REG_POWER); in musbotg_pull_common() 279 temp |= MUSB2_MASK_SOFTC; in musbotg_pull_common() 281 temp &= ~MUSB2_MASK_SOFTC; in musbotg_pull_common() 283 MUSB2_WRITE_1(sc, MUSB2_REG_POWER, temp); in musbotg_pull_common() 312 uint8_t temp; in musbotg_suspend_host() local 318 temp = MUSB2_READ_1(sc, MUSB2_REG_POWER); in musbotg_suspend_host() 319 temp |= MUSB2_MASK_SUSPMODE; in musbotg_suspend_host() 320 MUSB2_WRITE_1(sc, MUSB2_REG_POWER, temp); in musbotg_suspend_host() 327 uint8_t temp; in musbotg_wakeup_host() local [all …]
|
| HD | xhci.c | 287 uint32_t temp; in xhci_reset_command_queue_locked() local 291 temp = XREAD4(sc, oper, XHCI_CRCR_LO); in xhci_reset_command_queue_locked() 292 if (temp & XHCI_CRCR_LO_CRR) { in xhci_reset_command_queue_locked() 294 temp &= ~(XHCI_CRCR_LO_CS | XHCI_CRCR_LO_CA); in xhci_reset_command_queue_locked() 303 XWRITE4(sc, oper, XHCI_CRCR_LO, temp | XHCI_CRCR_LO_CS); in xhci_reset_command_queue_locked() 306 XWRITE4(sc, oper, XHCI_CRCR_LO, temp | XHCI_CRCR_LO_CA); in xhci_reset_command_queue_locked() 313 temp = XREAD4(sc, oper, XHCI_CRCR_LO); in xhci_reset_command_queue_locked() 314 if (temp & XHCI_CRCR_LO_CRR) { in xhci_reset_command_queue_locked() 351 uint32_t temp; in xhci_start_controller() local 366 temp = (XREAD4(sc, oper, XHCI_USBCMD) & XHCI_CMD_HCRST) | in xhci_start_controller() [all …]
|
| HD | avr32dci.c | 175 uint32_t temp; in avr32dci_mod_ctrl() local 177 temp = AVR32_READ_4(sc, AVR32_CTRL); in avr32dci_mod_ctrl() 178 temp |= set; in avr32dci_mod_ctrl() 179 temp &= ~clear; in avr32dci_mod_ctrl() 180 AVR32_WRITE_4(sc, AVR32_CTRL, temp); in avr32dci_mod_ctrl() 186 uint32_t temp; in avr32dci_mod_ien() local 188 temp = AVR32_READ_4(sc, AVR32_IEN); in avr32dci_mod_ien() 189 temp |= set; in avr32dci_mod_ien() 190 temp &= ~clear; in avr32dci_mod_ien() 191 AVR32_WRITE_4(sc, AVR32_IEN, temp); in avr32dci_mod_ien() [all …]
|
| HD | dwc_otg.c | 187 uint32_t temp; in dwc_otg_write_fifo() local 190 temp = count & ~3; in dwc_otg_write_fifo() 193 if (temp != 0 && usb_pc_buffer_is_aligned(pc, offset, temp, 3)) { in dwc_otg_write_fifo() 197 count -= temp; in dwc_otg_write_fifo() 204 if (buf_res.length > temp) in dwc_otg_write_fifo() 205 buf_res.length = temp; in dwc_otg_write_fifo() 213 temp -= buf_res.length; in dwc_otg_write_fifo() 214 } while (temp != 0); in dwc_otg_write_fifo() 237 uint32_t temp; in dwc_otg_read_fifo() local 240 temp = count & ~3; in dwc_otg_read_fifo() [all …]
|
| HD | uss820dci.c | 167 uint8_t temp; in uss820dci_update_shared_1() local 170 temp = USS820_READ_1(sc, reg); in uss820dci_update_shared_1() 171 temp &= (keep_mask); in uss820dci_update_shared_1() 172 temp |= (set_mask); in uss820dci_update_shared_1() 173 USS820_WRITE_1(sc, reg, temp); in uss820dci_update_shared_1() 197 uint8_t temp; in uss820dci_pull_up() local 207 temp = USS820_READ_1(sc, USS820_MCSR); in uss820dci_pull_up() 208 temp |= USS820_MCSR_DPEN; in uss820dci_pull_up() 209 USS820_WRITE_1(sc, USS820_MCSR, temp); in uss820dci_pull_up() 216 uint8_t temp; in uss820dci_pull_down() local [all …]
|
| HD | saf1761_otg.c | 201 uint16_t temp; in saf1761_otg_wakeup_peer() local 208 temp = SAF1761_READ_LE_4(sc, SOTG_MODE); in saf1761_otg_wakeup_peer() 209 SAF1761_WRITE_LE_4(sc, SOTG_MODE, temp | SOTG_MODE_SNDRSU); in saf1761_otg_wakeup_peer() 210 SAF1761_WRITE_LE_4(sc, SOTG_MODE, temp & ~SOTG_MODE_SNDRSU); in saf1761_otg_wakeup_peer() 439 uint32_t temp; in saf1761_host_setup_tx() local 474 temp = SOTG_PTD_DW3_ACTIVE | (td->toggle << 25) | SOTG_PTD_DW3_CERR_3; in saf1761_host_setup_tx() 475 SAF1761_WRITE_LE_4(sc, pdt_addr + SOTG_PTD_DW3, temp); in saf1761_host_setup_tx() 477 temp = SOTG_HC_MEMORY_ADDR(SOTG_DATA_ADDR(td->channel)) << 8; in saf1761_host_setup_tx() 478 SAF1761_WRITE_LE_4(sc, pdt_addr + SOTG_PTD_DW2, temp); in saf1761_host_setup_tx() 480 temp = td->dw1_value | (2 << 10) /* SETUP PID */ | (td->ep_index >> 1); in saf1761_host_setup_tx() [all …]
|
| HD | atmegadci.c | 218 uint8_t temp; in atmegadci_wakeup_peer() local 224 temp = ATMEGA_READ_1(sc, ATMEGA_UDCON); in atmegadci_wakeup_peer() 225 ATMEGA_WRITE_1(sc, ATMEGA_UDCON, temp | ATMEGA_UDCON_RMWKUP); in atmegadci_wakeup_peer() 250 uint8_t temp; in atmegadci_setup_rx() local 259 temp = ATMEGA_READ_1(sc, ATMEGA_UEINTX); in atmegadci_setup_rx() 261 DPRINTFN(5, "UEINTX=0x%02x\n", temp); in atmegadci_setup_rx() 263 if (!(temp & ATMEGA_UEINTX_RXSTPI)) { in atmegadci_setup_rx() 320 if (temp & ATMEGA_UEINTX_RXSTPI) { in atmegadci_setup_rx() 335 uint8_t temp; in atmegadci_data_rx() local 351 temp = ATMEGA_READ_1(sc, ATMEGA_UEINTX); in atmegadci_data_rx() [all …]
|
| HD | at91dci.c | 306 uint32_t temp; in at91dci_setup_rx() local 314 temp = csr; in at91dci_setup_rx() 315 temp &= (AT91_UDP_CSR_RX_DATA_BK0 | in at91dci_setup_rx() 367 AT91_CSR_ACK(csr, temp); in at91dci_setup_rx() 375 temp |= AT91_UDP_CSR_FORCESTALL; in at91dci_setup_rx() 380 if (temp) { in at91dci_setup_rx() 381 DPRINTFN(5, "clearing 0x%08x\n", temp); in at91dci_setup_rx() 382 AT91_CSR_ACK(csr, temp); in at91dci_setup_rx() 393 uint32_t temp; in at91dci_data_rx() local 424 temp = csr; in at91dci_data_rx() [all …]
|
| /NextBSD/sys/contrib/xz-embedded/linux/lib/xz/ |
| HD | xz_dec_stream.c | 140 } temp; member 171 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp() 173 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp() 175 s->temp.pos += copy_size; in fill_temp() 177 if (s->temp.pos == s->temp.size) { in fill_temp() 178 s->temp.pos = 0; in fill_temp() 409 if (!memeq(s->temp.buf, HEADER_MAGIC, HEADER_MAGIC_SIZE)) in dec_stream_header() 412 if (xz_crc32(s->temp.buf + HEADER_MAGIC_SIZE, 2, 0) in dec_stream_header() 413 != get_le32(s->temp.buf + HEADER_MAGIC_SIZE + 2)) in dec_stream_header() 416 if (s->temp.buf[HEADER_MAGIC_SIZE] != 0) in dec_stream_header() [all …]
|
| /NextBSD/contrib/wpa/src/crypto/ |
| HD | 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() 826 temp = rk[7]; in rijndaelKeySetupEnc() 827 rk[8] = rk[0] ^ TE421(temp) ^ TE432(temp) ^ in rijndaelKeySetupEnc() 828 TE443(temp) ^ TE414(temp) ^ RCON(i); in rijndaelKeySetupEnc() [all …]
|
| /NextBSD/contrib/gperf/src/ |
| HD | search.cc | 139 for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) in prepare() local 145 for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) in prepare() local 147 KeywordExt *keyword = temp->first(); in prepare() 168 for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) in prepare() local 170 KeywordExt *keyword = temp->first(); in prepare() 220 for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) in init_selchars_tuple() local 221 temp->first()->init_selchars_tuple(positions, alpha_unify); in init_selchars_tuple() 228 for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) in delete_selchars() local 229 temp->first()->delete_selchars(); in delete_selchars() 247 for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) in count_duplicates_tuple() local [all …]
|
| /NextBSD/sys/dev/usb/template/ |
| HD | usb_template.c | 121 usb_make_raw_desc(struct usb_temp_setup *temp, in usb_make_raw_desc() argument 132 if (temp->buf) { in usb_make_raw_desc() 133 dst = USB_ADD_BYTES(temp->buf, temp->size); in usb_make_raw_desc() 146 temp->bInterfaceNumber; in usb_make_raw_desc() 148 temp->bInterfaceNumber; in usb_make_raw_desc() 160 temp->bInterfaceNumber; in usb_make_raw_desc() 173 temp->bInterfaceNumber; in usb_make_raw_desc() 176 temp->size += len; in usb_make_raw_desc() 188 usb_make_endpoint_desc(struct usb_temp_setup *temp, in usb_make_endpoint_desc() argument 199 old_size = temp->size; in usb_make_endpoint_desc() [all …]
|
| /NextBSD/contrib/xz/src/liblzma/lz/ |
| HD | 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; \ 53 = (temp ^ ((uint32_t)(cur[2]) << 8)) & mf->hash_mask 56 const uint32_t temp = hash_table[cur[0]] ^ cur[1]; \ 57 const uint32_t hash_2_value = temp & HASH_2_MASK; \ 59 = (temp ^ ((uint32_t)(cur[2]) << 8)) & HASH_3_MASK; \ 60 const uint32_t hash_value = (temp ^ ((uint32_t)(cur[2]) << 8) \ 67 const uint32_t temp = hash_table[cur[0]] ^ cur[1]; \ 68 const uint32_t hash_2_value = temp & HASH_2_MASK; \ 70 = (temp ^ ((uint32_t)(cur[2]) << 8)) & HASH_3_MASK; \ [all …]
|
| /NextBSD/lib/libedit/ |
| HD | filecomplete.c | 81 char *temp; in fn_tilde_expand() local 87 temp = strchr(txt + 1, '/'); in fn_tilde_expand() 88 if (temp == NULL) { in fn_tilde_expand() 89 temp = strdup(txt + 1); in fn_tilde_expand() 90 if (temp == NULL) in fn_tilde_expand() 94 len = (size_t)(temp - txt + 1); in fn_tilde_expand() 95 temp = el_malloc(len * sizeof(*temp)); in fn_tilde_expand() 96 if (temp == NULL) in fn_tilde_expand() 98 (void)strncpy(temp, txt + 1, len - 2); in fn_tilde_expand() 99 temp[len - 2] = '\0'; in fn_tilde_expand() [all …]
|
| /NextBSD/lib/msun/src/ |
| HD | e_jn.c | 59 double a, b, temp, di; in __ieee754_jn() local 97 case 0: temp = cos(x)+sin(x); break; in __ieee754_jn() 98 case 1: temp = -cos(x)+sin(x); break; in __ieee754_jn() 99 case 2: temp = -cos(x)-sin(x); break; in __ieee754_jn() 100 case 3: temp = cos(x)-sin(x); break; in __ieee754_jn() 102 b = invsqrtpi*temp/sqrt(x); in __ieee754_jn() 107 temp = b; in __ieee754_jn() 109 a = temp; in __ieee754_jn() 120 temp = x*0.5; b = temp; in __ieee754_jn() 123 b *= temp; /* b = (x/2)^n */ in __ieee754_jn() [all …]
|
| /NextBSD/sys/dev/drm2/i915/ |
| HD | intel_ddi.c | 143 u32 reg, temp, i; in hsw_fdi_link_train() local 169 temp = I915_READ(DDI_BUF_CTL(PORT_E)); in hsw_fdi_link_train() 170 temp = (temp & ~DDI_BUF_EMP_MASK); in hsw_fdi_link_train() 172 temp | in hsw_fdi_link_train() 192 temp = I915_READ(DP_TP_STATUS(PORT_E)); in hsw_fdi_link_train() 193 if (temp & DP_TP_STATUS_AUTOTRAIN_DONE) { in hsw_fdi_link_train() 204 temp = I915_READ(TRANS_DDI_FUNC_CTL(pipe)); in hsw_fdi_link_train() 205 temp &= ~TRANS_DDI_PORT_MASK; in hsw_fdi_link_train() 206 temp |= TRANS_DDI_SELECT_PORT(PORT_E) | in hsw_fdi_link_train() 211 temp); in hsw_fdi_link_train() [all …]
|
| /NextBSD/contrib/libreadline/ |
| HD | histexpand.c | 139 char *temp; local 235 temp = (char *)xmalloc (1 + which); 237 strncpy (temp, string + local_index, which); 238 temp[which] = '\0'; 247 history_offset = history_length; free (temp) ; return (char *)NULL; \ 252 if (*temp == '\0' && substring_okay) 256 free (temp); 257 temp = savestring (search_string); 266 local_index = (*search_func) (temp, -1); 281 search_string = temp; [all …]
|
| HD | misc.c | 338 HIST_ENTRY *temp; in rl_maybe_replace_line() local 340 temp = current_history (); in rl_maybe_replace_line() 342 if (temp && ((UNDO_LIST *)(temp->data) != rl_undo_list)) in rl_maybe_replace_line() 344 temp = replace_history_entry (where_history (), rl_line_buffer, (histdata_t)rl_undo_list); in rl_maybe_replace_line() 345 free (temp->line); in rl_maybe_replace_line() 346 FREE (temp->timestamp); in rl_maybe_replace_line() 347 free (temp); in rl_maybe_replace_line() 466 HIST_ENTRY *temp; local 480 temp = (HIST_ENTRY *)NULL; 483 temp = next_history (); [all …]
|
| /NextBSD/sys/contrib/dev/ath/ath_hal/ar9300/ |
| HD | ar9300_paprd.c | 831 int temp; in ar9300_paprd_debug_print() local 837 temp = in ar9300_paprd_debug_print() 841 "BB_paprd_trainer_cntl1.cf_paprd_lb_skip=0x%x\n", temp); in ar9300_paprd_debug_print() 843 temp = in ar9300_paprd_debug_print() 847 "BB_paprd_trainer_cntl1.cf_paprd_lb_enable=0x%x\n", temp); in ar9300_paprd_debug_print() 849 temp = in ar9300_paprd_debug_print() 853 "BB_paprd_trainer_cntl1.cf_paprd_tx_gain_force=0x%x\n", temp); in ar9300_paprd_debug_print() 858 temp = in ar9300_paprd_debug_print() 862 "BB_paprd_trainer_cntl1.cf_paprd_rx_bb_gain_force=0x%x\n", temp); in ar9300_paprd_debug_print() 864 temp = in ar9300_paprd_debug_print() [all …]
|
| /NextBSD/contrib/gdb/gdb/ |
| HD | jv-lang.c | 206 struct value *temp = name; in get_java_utf8_name() local 209 temp = value_struct_elt (&temp, NULL, "length", NULL, "structure"); in get_java_utf8_name() 210 name_length = (int) value_as_long (temp); in get_java_utf8_name() 211 data_addr = VALUE_ADDRESS (temp) + VALUE_OFFSET (temp) in get_java_utf8_name() 212 + TYPE_LENGTH (VALUE_TYPE (temp)); in get_java_utf8_name() 251 struct value *temp; in type_from_class() local 283 temp = clas; in type_from_class() 284 sig = value_struct_elt (&temp, NULL, "method_count", NULL, "structure"); in type_from_class() 290 temp = clas; in type_from_class() 291 utf8_name = value_struct_elt (&temp, NULL, "name", NULL, "structure"); in type_from_class() [all …]
|