Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 25 of 744) sorted by relevance

12345678910>>...30

/freebsd-9-stable/contrib/ntp/tests/ntpd/
Dt-ntp_scanner.c29 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 …]
/freebsd-9-stable/contrib/texinfo/makeinfo/
Dfloat.c89 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 …]
Dsectioning.c182 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 …]
/freebsd-9-stable/lib/libusb/
Dlibusb20_desc.c345 uint8_t temp; in libusb20_me_encode() local
350 temp = *((const uint8_t *) in libusb20_me_encode()
352 buf[0] = temp; in libusb20_me_encode()
363 uint16_t temp; in libusb20_me_encode() local
369 temp = *((const uint16_t *) in libusb20_me_encode()
371 buf[1] = (temp >> 8) & 0xFF; in libusb20_me_encode()
372 buf[0] = temp & 0xFF; in libusb20_me_encode()
383 uint32_t temp; in libusb20_me_encode() local
388 temp = *((const uint32_t *) in libusb20_me_encode()
390 buf[3] = (temp >> 24) & 0xFF; in libusb20_me_encode()
[all …]
Dlibusb20_ugen20.c100 uint32_t temp = 0; in ugen20_path_convert_one() local
105 temp *= 10; in ugen20_path_convert_one()
106 temp += (*ptr - '0'); in ugen20_path_convert_one()
107 if (temp >= 1000000) { in ugen20_path_convert_one()
120 return (temp); in ugen20_path_convert_one()
504 int temp; in ugen20_get_config_index() local
506 if (ioctl(pdev->file_ctrl, USB_GET_CONFIG, &temp)) { in ugen20_get_config_index()
509 *pindex = temp; in ugen20_get_config_index()
517 int temp = cfg_index; in ugen20_set_config_index() local
522 if (ioctl(pdev->file_ctrl, USB_SET_CONFIG, &temp)) { in ugen20_set_config_index()
[all …]
/freebsd-9-stable/sys/dev/aic7xxx/
Daic7xxx_93cx6.c115 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 …]
/freebsd-9-stable/sys/dev/usb/controller/
Dmusb_otg.c259 uint8_t temp; in musbotg_pull_common() local
261 temp = MUSB2_READ_1(sc, MUSB2_REG_POWER); in musbotg_pull_common()
263 temp |= MUSB2_MASK_SOFTC; in musbotg_pull_common()
265 temp &= ~MUSB2_MASK_SOFTC; in musbotg_pull_common()
267 MUSB2_WRITE_1(sc, MUSB2_REG_POWER, temp); in musbotg_pull_common()
296 uint8_t temp; in musbotg_suspend_host() local
302 temp = MUSB2_READ_1(sc, MUSB2_REG_POWER); in musbotg_suspend_host()
303 temp |= MUSB2_MASK_SUSPMODE; in musbotg_suspend_host()
304 MUSB2_WRITE_1(sc, MUSB2_REG_POWER, temp); in musbotg_suspend_host()
311 uint8_t temp; in musbotg_wakeup_host() local
[all …]
Duss820dci.c159 uint8_t temp; in uss820dci_update_shared_1() local
162 temp = USS820_READ_1(sc, reg); in uss820dci_update_shared_1()
163 temp &= (keep_mask); in uss820dci_update_shared_1()
164 temp |= (set_mask); in uss820dci_update_shared_1()
165 USS820_WRITE_1(sc, reg, temp); in uss820dci_update_shared_1()
189 uint8_t temp; in uss820dci_pull_up() local
199 temp = USS820_READ_1(sc, USS820_MCSR); in uss820dci_pull_up()
200 temp |= USS820_MCSR_DPEN; in uss820dci_pull_up()
201 USS820_WRITE_1(sc, USS820_MCSR, temp); in uss820dci_pull_up()
208 uint8_t temp; in uss820dci_pull_down() local
[all …]
Dxhci.c281 uint32_t temp; in xhci_reset_command_queue_locked() local
285 temp = XREAD4(sc, oper, XHCI_CRCR_LO); in xhci_reset_command_queue_locked()
286 if (temp & XHCI_CRCR_LO_CRR) { in xhci_reset_command_queue_locked()
288 temp &= ~(XHCI_CRCR_LO_CS | XHCI_CRCR_LO_CA); in xhci_reset_command_queue_locked()
297 XWRITE4(sc, oper, XHCI_CRCR_LO, temp | XHCI_CRCR_LO_CS); in xhci_reset_command_queue_locked()
300 XWRITE4(sc, oper, XHCI_CRCR_LO, temp | XHCI_CRCR_LO_CA); in xhci_reset_command_queue_locked()
307 temp = XREAD4(sc, oper, XHCI_CRCR_LO); in xhci_reset_command_queue_locked()
308 if (temp & XHCI_CRCR_LO_CRR) { in xhci_reset_command_queue_locked()
346 uint32_t temp; in xhci_start_controller() local
366 temp = XREAD4(sc, oper, XHCI_USBSTS); in xhci_start_controller()
[all …]
Davr32dci.c173 uint32_t temp; in avr32dci_mod_ctrl() local
175 temp = AVR32_READ_4(sc, AVR32_CTRL); in avr32dci_mod_ctrl()
176 temp |= set; in avr32dci_mod_ctrl()
177 temp &= ~clear; in avr32dci_mod_ctrl()
178 AVR32_WRITE_4(sc, AVR32_CTRL, temp); in avr32dci_mod_ctrl()
184 uint32_t temp; in avr32dci_mod_ien() local
186 temp = AVR32_READ_4(sc, AVR32_IEN); in avr32dci_mod_ien()
187 temp |= set; in avr32dci_mod_ien()
188 temp &= ~clear; in avr32dci_mod_ien()
189 AVR32_WRITE_4(sc, AVR32_IEN, temp); in avr32dci_mod_ien()
[all …]
Datmegadci.c215 uint8_t temp; in atmegadci_wakeup_peer() local
221 temp = ATMEGA_READ_1(sc, ATMEGA_UDCON); in atmegadci_wakeup_peer()
222 ATMEGA_WRITE_1(sc, ATMEGA_UDCON, temp | ATMEGA_UDCON_RMWKUP); in atmegadci_wakeup_peer()
247 uint8_t temp; in atmegadci_setup_rx() local
256 temp = ATMEGA_READ_1(sc, ATMEGA_UEINTX); in atmegadci_setup_rx()
258 DPRINTFN(5, "UEINTX=0x%02x\n", temp); in atmegadci_setup_rx()
260 if (!(temp & ATMEGA_UEINTX_RXSTPI)) { in atmegadci_setup_rx()
317 if (temp & ATMEGA_UEINTX_RXSTPI) { in atmegadci_setup_rx()
332 uint8_t temp; in atmegadci_data_rx() local
348 temp = ATMEGA_READ_1(sc, ATMEGA_UEINTX); in atmegadci_data_rx()
[all …]
Dat91dci.c301 uint32_t temp; in at91dci_setup_rx() local
310 temp = csr; in at91dci_setup_rx()
311 temp &= (AT91_UDP_CSR_RX_DATA_BK0 | in at91dci_setup_rx()
366 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()
395 uint32_t temp; in at91dci_data_rx() local
427 temp = csr; in at91dci_data_rx()
[all …]
/freebsd-9-stable/sys/contrib/xz-embedded/linux/lib/xz/
Dxz_dec_stream.c129 } 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 …]
/freebsd-9-stable/contrib/cvs/src/
Dmkmodules.c23 static int checkout_file PROTO((char *file, char *temp));
25 static void rename_rcsfile PROTO((char *temp, char *real));
28 static void rename_dbmfile PROTO((char *temp));
29 static void write_dbmfile PROTO((char *temp));
397 char *temp; local
419 temp = make_tempfile ();
420 switch (checkout_file (CVSROOTADM_MODULES, temp))
426 if ((db = dbm_open (temp, O_RDONLY, 0666)) != NULL)
429 write_dbmfile (temp);
430 rename_dbmfile (temp);
[all …]
/freebsd-9-stable/contrib/texinfo/info/
Dfilesys.c86 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 …]
/freebsd-9-stable/contrib/xz/src/liblzma/lz/
Dlz_encoder_hash.h50 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 …]
/freebsd-9-stable/contrib/gperf/src/
Dsearch.cc136 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 …]
/freebsd-9-stable/sys/dev/usb/template/
Dusb_template.c116 usb_make_raw_desc(struct usb_temp_setup *temp, in usb_make_raw_desc() argument
127 if (temp->buf) { in usb_make_raw_desc()
128 dst = USB_ADD_BYTES(temp->buf, temp->size); in usb_make_raw_desc()
141 temp->bInterfaceNumber; in usb_make_raw_desc()
143 temp->bInterfaceNumber; in usb_make_raw_desc()
155 temp->bInterfaceNumber; in usb_make_raw_desc()
168 temp->bInterfaceNumber; in usb_make_raw_desc()
171 temp->size += len; in usb_make_raw_desc()
183 usb_make_endpoint_desc(struct usb_temp_setup *temp, in usb_make_endpoint_desc() argument
194 old_size = temp->size; in usb_make_endpoint_desc()
[all …]
/freebsd-9-stable/lib/libedit/
Dfilecomplete.c73 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 …]
/freebsd-9-stable/lib/msun/src/
De_jn.c57 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 …]
/freebsd-9-stable/contrib/tcpdump/
Dparsenfsfh.c125 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 …]
/freebsd-9-stable/contrib/libreadline/
Dhistexpand.c139 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 …]
Dmisc.c338 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 …]
/freebsd-9-stable/sys/contrib/octeon-sdk/
Dcvmx-tim.c94 uint32_t temp; in cvmx_tim_setup() local
135 temp = (max_ticks * cvmx_tim.tick_cycles) >> cvmx_tim.bucket_shift; in cvmx_tim_setup()
138 temp -= 1; in cvmx_tim_setup()
139 temp = temp | (temp >> 1); in cvmx_tim_setup()
140 temp = temp | (temp >> 2); in cvmx_tim_setup()
141 temp = temp | (temp >> 4); in cvmx_tim_setup()
142 temp = temp | (temp >> 8); in cvmx_tim_setup()
143 temp = temp | (temp >> 16); in cvmx_tim_setup()
144 cvmx_tim.num_buckets = temp + 1; in cvmx_tim_setup()
/freebsd-9-stable/lib/libncp/
Dncpl_crypt.c64 nw_hash(buf32 temp, unsigned char *target) { in nw_hash() argument
73 b3 = (temp[s] + sum) ^ (temp[(s + sum) & 31] - encryptkeys[s]); in nw_hash()
75 temp[s] = b3; in nw_hash()
80 target[i] = encrypttable[temp[2 * i]] in nw_hash()
81 | (encrypttable[temp[2 * i + 1]] << 4); in nw_hash()
92 buf32 temp; in nw_keyhash() local
97 bzero(temp, sizeof(temp)); in nw_keyhash()
102 temp[s] ^= buf[d++]; in nw_keyhash()
109 temp[s] ^= encryptkeys[s]; in nw_keyhash()
112 temp[s] ^= buf[b2++]; in nw_keyhash()
[all …]

12345678910>>...30