| /trueos/contrib/texinfo/makeinfo/ |
| HD | float.c | 89 FLOAT_ELT *temp = float_stack; in count_floats_of_type_in_chapter() local 91 while (temp && strncmp (temp->number, chapter, l) == 0) in count_floats_of_type_in_chapter() 93 if (strlen (temp->id) > 0 && STREQ (text_expansion (temp->type), type)) in count_floats_of_type_in_chapter() 95 temp = temp->next; in count_floats_of_type_in_chapter() 140 FLOAT_ELT *temp = float_stack; in get_float_ref() local 142 while (temp) in get_float_ref() 144 if (STREQ (id, temp->id)) in get_float_ref() 146 char *s = xmalloc (strlen (temp->type) + strlen (temp->number) + 2); in get_float_ref() 147 sprintf (s, "%s %s", temp->type, temp->number); in get_float_ref() 150 temp = temp->next; in get_float_ref() [all …]
|
| HD | sectioning.c | 182 char *temp; in what_section() local 207 temp = xmalloc (1 + j); in what_section() 208 strncpy (temp, text, j); in what_section() 209 temp[j] = 0; in what_section() 211 index = search_sectioning (temp); in what_section() 212 free (temp); in what_section() 322 char *temp, *secname; in sectioning_underscore() local 330 temp = xmalloc (2 + strlen (cmd)); in sectioning_underscore() 331 temp[0] = COMMAND_PREFIX; in sectioning_underscore() 332 strcpy (&temp[1], cmd); in sectioning_underscore() [all …]
|
| /trueos/lib/libusb/ |
| HD | libusb20_desc.c | 351 uint8_t temp; in libusb20_me_encode() local 356 temp = *((const uint8_t *) in libusb20_me_encode() 358 buf[0] = temp; in libusb20_me_encode() 369 uint16_t temp; in libusb20_me_encode() local 375 temp = *((const uint16_t *) in libusb20_me_encode() 377 buf[1] = (temp >> 8) & 0xFF; in libusb20_me_encode() 378 buf[0] = temp & 0xFF; in libusb20_me_encode() 389 uint32_t temp; in libusb20_me_encode() local 394 temp = *((const uint32_t *) in libusb20_me_encode() 396 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 …]
|
| /trueos/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 …]
|
| /trueos/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 …]
|
| /trueos/sys/dev/usb/controller/ |
| HD | musb_otg.c | 264 uint8_t temp; in musbotg_pull_common() local 266 temp = MUSB2_READ_1(sc, MUSB2_REG_POWER); in musbotg_pull_common() 268 temp |= MUSB2_MASK_SOFTC; in musbotg_pull_common() 270 temp &= ~MUSB2_MASK_SOFTC; in musbotg_pull_common() 272 MUSB2_WRITE_1(sc, MUSB2_REG_POWER, temp); in musbotg_pull_common() 301 uint8_t temp; in musbotg_suspend_host() local 307 temp = MUSB2_READ_1(sc, MUSB2_REG_POWER); in musbotg_suspend_host() 308 temp |= MUSB2_MASK_SUSPMODE; in musbotg_suspend_host() 309 MUSB2_WRITE_1(sc, MUSB2_REG_POWER, temp); in musbotg_suspend_host() 316 uint8_t temp; in musbotg_wakeup_host() local [all …]
|
| HD | xhci.c | 292 uint32_t temp; in xhci_reset_command_queue_locked() local 296 temp = XREAD4(sc, oper, XHCI_CRCR_LO); in xhci_reset_command_queue_locked() 297 if (temp & XHCI_CRCR_LO_CRR) { in xhci_reset_command_queue_locked() 299 temp &= ~(XHCI_CRCR_LO_CS | XHCI_CRCR_LO_CA); in xhci_reset_command_queue_locked() 308 XWRITE4(sc, oper, XHCI_CRCR_LO, temp | XHCI_CRCR_LO_CS); in xhci_reset_command_queue_locked() 311 XWRITE4(sc, oper, XHCI_CRCR_LO, temp | XHCI_CRCR_LO_CA); in xhci_reset_command_queue_locked() 318 temp = XREAD4(sc, oper, XHCI_CRCR_LO); in xhci_reset_command_queue_locked() 319 if (temp & XHCI_CRCR_LO_CRR) { in xhci_reset_command_queue_locked() 356 uint32_t temp; in xhci_start_controller() local 371 temp = (XREAD4(sc, oper, XHCI_USBCMD) & XHCI_CMD_HCRST) | in xhci_start_controller() [all …]
|
| HD | uss820dci.c | 164 uint8_t temp; in uss820dci_update_shared_1() local 167 temp = USS820_READ_1(sc, reg); in uss820dci_update_shared_1() 168 temp &= (keep_mask); in uss820dci_update_shared_1() 169 temp |= (set_mask); in uss820dci_update_shared_1() 170 USS820_WRITE_1(sc, reg, temp); in uss820dci_update_shared_1() 194 uint8_t temp; in uss820dci_pull_up() local 204 temp = USS820_READ_1(sc, USS820_MCSR); in uss820dci_pull_up() 205 temp |= USS820_MCSR_DPEN; in uss820dci_pull_up() 206 USS820_WRITE_1(sc, USS820_MCSR, temp); in uss820dci_pull_up() 213 uint8_t temp; in uss820dci_pull_down() local [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_tx_fifo_reset() local 193 for (temp = 0; temp != 16; temp++) { in dwc_otg_tx_fifo_reset() 387 uint32_t temp; in dwc_otg_update_host_frame_interval() 390 temp = DWC_OTG_READ_4(sc, DOTG_HFIR) & HFIR_FRINT_MASK; in dwc_otg_update_host_frame_interval() 391 if (temp >= 10000) in dwc_otg_update_host_frame_interval() 392 temp /= 1000; in dwc_otg_update_host_frame_interval() 394 temp /= 125; in dwc_otg_update_host_frame_interval() 397 if (temp >= 54) in dwc_otg_update_host_frame_interval() 398 temp = 60; /* MHz */ in dwc_otg_update_host_frame_interval() 399 else if (temp >= 39) in dwc_otg_update_host_frame_interval() [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 …]
|
| /trueos/sys/contrib/xz-embedded/linux/lib/xz/ |
| HD | xz_dec_stream.c | 129 } temp; member 160 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp() 162 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp() 164 s->temp.pos += copy_size; in fill_temp() 166 if (s->temp.pos == s->temp.size) { in fill_temp() 167 s->temp.pos = 0; in fill_temp() 389 if (!memeq(s->temp.buf, HEADER_MAGIC, HEADER_MAGIC_SIZE)) in dec_stream_header() 392 if (xz_crc32(s->temp.buf + HEADER_MAGIC_SIZE, 2, 0) in dec_stream_header() 393 != get_le32(s->temp.buf + HEADER_MAGIC_SIZE + 2)) in dec_stream_header() 396 if (s->temp.buf[HEADER_MAGIC_SIZE] != 0) in dec_stream_header() [all …]
|
| /trueos/contrib/texinfo/info/ |
| HD | filesys.c | 86 char *temp; in info_find_fullpath() local 105 temp = info_absolute_file (partial); in info_find_fullpath() 111 temp = info_absolute_file (expansion); in info_find_fullpath() 115 temp = expansion; in info_find_fullpath() 136 temp = info_absolute_file (local_temp_filename); /* try extensions */ in info_find_fullpath() 137 if (!temp) in info_find_fullpath() 141 temp = info_file_in_path (partial, infopath); in info_find_fullpath() 143 if (temp) in info_find_fullpath() 145 remember_info_filename (partial, temp); in info_find_fullpath() 146 if (strlen (temp) > (unsigned int) local_temp_filename_size) in info_find_fullpath() [all …]
|
| /trueos/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 …]
|
| /trueos/contrib/gperf/src/ |
| HD | search.cc | 136 for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) in prepare() local 142 for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) in prepare() local 144 KeywordExt *keyword = temp->first(); in prepare() 165 for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) in prepare() local 167 KeywordExt *keyword = temp->first(); in prepare() 217 for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) in init_selchars_tuple() local 218 temp->first()->init_selchars_tuple(positions, alpha_unify); in init_selchars_tuple() 225 for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) in delete_selchars() local 226 temp->first()->delete_selchars(); in delete_selchars() 244 for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) in count_duplicates_tuple() local [all …]
|
| /trueos/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 …]
|
| /trueos/lib/libedit/ |
| HD | filecomplete.c | 73 char *temp; in fn_tilde_expand() local 80 temp = strchr(txt + 1, '/'); in fn_tilde_expand() 81 if (temp == NULL) { in fn_tilde_expand() 82 temp = strdup(txt + 1); in fn_tilde_expand() 83 if (temp == NULL) in fn_tilde_expand() 86 len = temp - txt + 1; /* text until string after slash */ in fn_tilde_expand() 87 temp = malloc(len); in fn_tilde_expand() 88 if (temp == NULL) in fn_tilde_expand() 90 (void)strncpy(temp, txt + 1, len - 2); in fn_tilde_expand() 91 temp[len - 2] = '\0'; in fn_tilde_expand() [all …]
|
| /trueos/lib/msun/src/ |
| HD | e_jn.c | 57 double a, b, temp, di; in __ieee754_jn() local 95 case 0: temp = cos(x)+sin(x); break; in __ieee754_jn() 96 case 1: temp = -cos(x)+sin(x); break; in __ieee754_jn() 97 case 2: temp = -cos(x)-sin(x); break; in __ieee754_jn() 98 case 3: temp = cos(x)-sin(x); break; in __ieee754_jn() 100 b = invsqrtpi*temp/sqrt(x); in __ieee754_jn() 105 temp = b; in __ieee754_jn() 107 a = temp; in __ieee754_jn() 118 temp = x*0.5; b = temp; in __ieee754_jn() 121 b *= temp; /* b = (x/2)^n */ in __ieee754_jn() [all …]
|
| /trueos/contrib/tcpdump/ |
| HD | parsenfsfh.c | 125 u_int32_t temp; local 269 temp = make_uint32(fhp[12], fhp[13], fhp[14], fhp[15]); 270 *inop = temp; 281 temp = make_uint32(fhp[15], fhp[14], fhp[13], fhp[12]); 282 *inop = temp; 292 temp = make_uint32(fhp[3], fhp[2], fhp[1], fhp[0]); 293 fsidp->Fsid_dev.Minor = temp & 0xFFFFF; 294 fsidp->Fsid_dev.Major = (temp>>20) & 0xFFF; 296 temp = make_uint32(fhp[15], fhp[14], fhp[13], fhp[12]); 297 *inop = temp; [all …]
|
| /trueos/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(DDI_FUNC_CTL(pipe)); in hsw_fdi_link_train() 205 temp &= ~PIPE_DDI_PORT_MASK; in hsw_fdi_link_train() 206 temp |= PIPE_DDI_SELECT_PORT(PORT_E) | in hsw_fdi_link_train() 211 temp); in hsw_fdi_link_train() [all …]
|
| /trueos/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 …]
|
| /trueos/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 …]
|