/netbsd-src/external/bsd/ntp/dist/tests/ntpd/ |
H A D | t-ntp_scanner.c | 13 const char * temp = keyword(999); in test_keywordIncorrectToken() local 15 TEST_ASSERT_EQUAL_STRING("(keyword #999 not found)",temp); in test_keywordIncorrectToken() 21 const char * temp = keyword(T_Server); in test_keywordServerToken() local 23 TEST_ASSERT_EQUAL_STRING("server",temp); in test_keywordServerToken() 54 int temp = lex_pop_file(); in test_PopEmptyStack() local 56 TEST_ASSERT_FALSE(temp); in test_PopEmptyStack() 62 int temp = is_integer("123"); in test_IsInteger() local 63 TEST_ASSERT_TRUE(temp); in test_IsInteger() 64 temp = is_integer("-999"); in test_IsInteger() 65 TEST_ASSERT_TRUE(temp); in test_IsInteger() [all …]
|
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/missing/crypto/rijndael/ |
H A D | rijndael-alg-fst.c | 154 #define temp xtemp.x8 in rijndaelEncrypt() macro 158 *((word32*)temp[0]) = *((word32*)(a )) ^ *((word32*)rk[0][0]); in rijndaelEncrypt() 159 *((word32*)temp[1]) = *((word32*)(a+ 4)) ^ *((word32*)rk[0][1]); in rijndaelEncrypt() 160 *((word32*)temp[2]) = *((word32*)(a+ 8)) ^ *((word32*)rk[0][2]); in rijndaelEncrypt() 161 *((word32*)temp[3]) = *((word32*)(a+12)) ^ *((word32*)rk[0][3]); in rijndaelEncrypt() 162 *((word32*)(b )) = *((const word32*)T1[temp[0][0]]) in rijndaelEncrypt() 163 ^ *((const word32*)T2[temp[1][1]]) in rijndaelEncrypt() 164 ^ *((const word32*)T3[temp[2][2]]) in rijndaelEncrypt() 165 ^ *((const word32*)T4[temp[3][3]]); in rijndaelEncrypt() 166 *((word32*)(b + 4)) = *((const word32*)T1[temp[1][0]]) in rijndaelEncrypt() [all …]
|
/netbsd-src/external/bsd/elftosb/dist/common/ |
H A D | rijndael.cpp | 1458 uint8_t temp[4][4]; in encrypt() local 1460 *((uint32_t*)temp[0]) = *((uint32_t*)(a )) ^ *((uint32_t*)m_expandedKey[0][0]); in encrypt() 1461 *((uint32_t*)temp[1]) = *((uint32_t*)(a+ 4)) ^ *((uint32_t*)m_expandedKey[0][1]); in encrypt() 1462 *((uint32_t*)temp[2]) = *((uint32_t*)(a+ 8)) ^ *((uint32_t*)m_expandedKey[0][2]); in encrypt() 1463 *((uint32_t*)temp[3]) = *((uint32_t*)(a+12)) ^ *((uint32_t*)m_expandedKey[0][3]); in encrypt() 1464 *((uint32_t*)(b )) = *((uint32_t*)T1[temp[0][0]]) in encrypt() 1465 ^ *((uint32_t*)T2[temp[1][1]]) in encrypt() 1466 ^ *((uint32_t*)T3[temp[2][2]]) in encrypt() 1467 ^ *((uint32_t*)T4[temp[3][3]]); in encrypt() 1468 *((uint32_t*)(b + 4)) = *((uint32_t*)T1[temp[1][0]]) in encrypt() [all …]
|
/netbsd-src/external/gpl2/texinfo/dist/makeinfo/ |
H A D | float.c | 91 FLOAT_ELT *temp = float_stack; in count_floats_of_type_in_chapter() local 93 while (temp && strncmp (temp->number, chapter, l) == 0) in count_floats_of_type_in_chapter() 95 if (strlen (temp->id) > 0 && STREQ (text_expansion (temp->type), type)) in count_floats_of_type_in_chapter() 97 temp = temp->next; in count_floats_of_type_in_chapter() 142 FLOAT_ELT *temp = float_stack; in get_float_ref() local 144 while (temp) in get_float_ref() 146 if (STREQ (id, temp->id)) in get_float_ref() 148 char *s = xmalloc (strlen (temp->type) + strlen (temp->number) + 2); in get_float_ref() 149 sprintf (s, "%s %s", temp->type, temp->number); in get_float_ref() 152 temp = temp->next; in get_float_ref() [all …]
|
H A D | sectioning.c | 184 char *temp; in what_section() local 209 temp = xmalloc (1 + j); in what_section() 210 strncpy (temp, text, j); in what_section() 211 temp[j] = 0; in what_section() 213 index = search_sectioning (temp); in what_section() 214 free (temp); in what_section() 323 char *temp, *secname; in sectioning_underscore() local 331 temp = xmalloc (2 + strlen (cmd)); in sectioning_underscore() 332 temp[0] = COMMAND_PREFIX; in sectioning_underscore() 333 strcpy (&temp[1], cmd); in sectioning_underscore() [all …]
|
/netbsd-src/external/mit/isl/dist/ |
H A D | isl_imath.c | 35 mpz_t temp; in isl_imath_addmul_ui() local 36 mp_int_init(&temp); in isl_imath_addmul_ui() 38 mp_int_set_uvalue(&temp, op2); in isl_imath_addmul_ui() 39 mp_int_mul(op1, &temp, &temp); in isl_imath_addmul_ui() 40 mp_int_add(rop, &temp, rop); in isl_imath_addmul_ui() 42 mp_int_clear(&temp); in isl_imath_addmul_ui() 47 mpz_t temp; in isl_imath_submul_ui() local 48 mp_int_init(&temp); in isl_imath_submul_ui() 50 mp_int_set_uvalue(&temp, op2); in isl_imath_submul_ui() 51 mp_int_mul(op1, &temp, &temp); in isl_imath_submul_ui() [all …]
|
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/common/ |
H A D | cpu_frequency.h | 130 char temp[1024]; in get_cpu_frequency() local 136 while (fgets (temp, 1024, procf) != NULL) in get_cpu_frequency() 138 if (strncmp (temp, "processor", strlen ("processor")) == 0) in get_cpu_frequency() 140 char *val = strchr (temp, ':'); in get_cpu_frequency() 144 else if (strncmp (temp, "model", strlen ("model")) == 0 in get_cpu_frequency() 145 && strstr (temp, "name") == 0) in get_cpu_frequency() 147 char *val = strchr (temp, ':'); in get_cpu_frequency() 150 else if (strncmp (temp, "cpu family", strlen ("cpu family")) == 0) in get_cpu_frequency() 152 char *val = strchr (temp, ':'); in get_cpu_frequency() 156 else if (strncmp (temp, "cpu MHz", strlen ("cpu MHz")) == 0) in get_cpu_frequency() [all …]
|
/netbsd-src/external/gpl3/binutils/dist/gprofng/common/ |
H A D | cpu_frequency.h | 130 char temp[1024]; in get_cpu_frequency() local 136 while (fgets (temp, 1024, procf) != NULL) in get_cpu_frequency() 138 if (strncmp (temp, "processor", strlen ("processor")) == 0) in get_cpu_frequency() 140 char *val = strchr (temp, ':'); in get_cpu_frequency() 144 else if (strncmp (temp, "model", strlen ("model")) == 0 in get_cpu_frequency() 145 && strstr (temp, "name") == 0) in get_cpu_frequency() 147 char *val = strchr (temp, ':'); in get_cpu_frequency() 150 else if (strncmp (temp, "cpu family", strlen ("cpu family")) == 0) in get_cpu_frequency() 152 char *val = strchr (temp, ':'); in get_cpu_frequency() 156 else if (strncmp (temp, "cpu MHz", strlen ("cpu MHz")) == 0) in get_cpu_frequency() [all …]
|
/netbsd-src/external/bsd/bc/dist/ |
H A D | storage.c | 240 fstack_rec *temp; in fpop() local 245 temp = fn_stack; in fpop() 246 fn_stack = temp->s_next; in fpop() 247 retval = temp->s_val; in fpop() 248 free (temp); in fpop() 264 fstack_rec *temp; in fpush() local 266 temp = bc_malloc (sizeof (fstack_rec)); in fpush() 267 temp->s_next = fn_stack; in fpush() 268 temp->s_val = val; in fpush() 269 fn_stack = temp; in fpush() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/pa/ |
H A D | milli64.S | 297 RDEFINE(temp,r1) 322 ldo -1(arg1),temp /* is there at most one bit set ? */ 323 and,<> arg1,temp,r0 /* if not, don't use power of 2 divide */ 328 add arg0,temp,retreg /* (denominaotr -1) to correct for shifts */ 329 extru,= arg1,15,16,temp /* test denominator with 0xffff0000 */ 331 or arg1,temp,arg1 /* arg1 = arg1 | (arg1 >> 16) */ 333 extru,= arg1,23,8,temp /* test denominator with 0xff00 */ 335 or arg1,temp,arg1 /* arg1 = arg1 | (arg1 >> 8) */ 336 ldi 0xaa,temp /* setup 0xaa in temp */ 341 and,= arg1,temp,r0 /* test denominator with 0xaa */ [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/pa/ |
H A D | milli64.S | 297 RDEFINE(temp,r1) 322 ldo -1(arg1),temp /* is there at most one bit set ? */ 323 and,<> arg1,temp,r0 /* if not, don't use power of 2 divide */ 328 add arg0,temp,retreg /* (denominaotr -1) to correct for shifts */ 329 extru,= arg1,15,16,temp /* test denominator with 0xffff0000 */ 331 or arg1,temp,arg1 /* arg1 = arg1 | (arg1 >> 16) */ 333 extru,= arg1,23,8,temp /* test denominator with 0xff00 */ 335 or arg1,temp,arg1 /* arg1 = arg1 | (arg1 >> 8) */ 336 ldi 0xaa,temp /* setup 0xaa in temp */ 341 and,= arg1,temp,r0 /* test denominator with 0xaa */ [all …]
|
/netbsd-src/external/gpl2/xcvs/dist/src/ |
H A D | mkmodules.c | 24 static int checkout_file (char *file, char *temp); 26 static void rename_rcsfile (char *temp, char *real); 29 static void rename_dbmfile (char *temp); 30 static void write_dbmfile (char *temp); 780 char *temp; in mkmodules() local 802 temp = make_tempfile (); in mkmodules() 803 switch (checkout_file (CVSROOTADM_MODULES, temp)) in mkmodules() 809 if ((db = dbm_open (temp, O_RDONLY, 0666)) != NULL) in mkmodules() 812 write_dbmfile (temp); in mkmodules() 813 rename_dbmfile (temp); in mkmodules() [all …]
|
/netbsd-src/external/bsd/wpa/dist/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() 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 …]
|
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/ |
H A D | Stats_data.cc | 130 PrUsage *tots, *temp; in compute_data() local 138 temp = fetchPrUsage (index); in compute_data() 139 tots->pr_tstamp += temp->pr_tstamp; in compute_data() 140 tots->pr_create += temp->pr_create; in compute_data() 141 tots->pr_term += temp->pr_term; in compute_data() 142 tots->pr_rtime += temp->pr_rtime; in compute_data() 143 tots->pr_utime += temp->pr_utime; in compute_data() 144 tots->pr_stime += temp->pr_stime; in compute_data() 145 tots->pr_ttime += temp->pr_ttime; in compute_data() 146 tots->pr_tftime += temp->pr_tftime; in compute_data() [all …]
|
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/ |
H A D | Stats_data.cc | 130 PrUsage *tots, *temp; in compute_data() local 138 temp = fetchPrUsage (index); in compute_data() 139 tots->pr_tstamp += temp->pr_tstamp; in compute_data() 140 tots->pr_create += temp->pr_create; in compute_data() 141 tots->pr_term += temp->pr_term; in compute_data() 142 tots->pr_rtime += temp->pr_rtime; in compute_data() 143 tots->pr_utime += temp->pr_utime; in compute_data() 144 tots->pr_stime += temp->pr_stime; in compute_data() 145 tots->pr_ttime += temp->pr_ttime; in compute_data() 146 tots->pr_tftime += temp->pr_tftime; in compute_data() [all …]
|
/netbsd-src/external/gpl2/texinfo/dist/info/ |
H A D | filesys.c | 88 char *temp; in info_find_fullpath() local 107 temp = info_absolute_file (partial); in info_find_fullpath() 113 temp = info_absolute_file (expansion); in info_find_fullpath() 117 temp = expansion; in info_find_fullpath() 138 temp = info_absolute_file (local_temp_filename); /* try extensions */ in info_find_fullpath() 139 if (!temp) in info_find_fullpath() 143 temp = info_file_in_path (partial, infopath); in info_find_fullpath() 145 if (temp) in info_find_fullpath() 147 remember_info_filename (partial, temp); in info_find_fullpath() 148 if (strlen (temp) > (unsigned int) local_temp_filename_size) in info_find_fullpath() [all …]
|
/netbsd-src/lib/libm/src/ |
H A D | e_jn.c | 59 double a, b, temp, di; in __ieee754_jn() local 62 temp = 0; in __ieee754_jn() 98 case 0: temp = cos(x)+sin(x); break; in __ieee754_jn() 99 case 1: temp = -cos(x)+sin(x); break; in __ieee754_jn() 100 case 2: temp = -cos(x)-sin(x); break; in __ieee754_jn() 101 case 3: temp = cos(x)-sin(x); break; in __ieee754_jn() 103 b = invsqrtpi*temp/sqrt(x); in __ieee754_jn() 108 temp = b; in __ieee754_jn() 110 a = temp; in __ieee754_jn() 121 temp = x*0.5; b = temp; in __ieee754_jn() [all …]
|
/netbsd-src/external/public-domain/xz/dist/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; \ 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 …]
|
/netbsd-src/sys/dev/ic/ |
H A D | smc93cx6.c | 113 u_int32_t temp; in read_seeprom() local 121 temp = sd->sd_MS ^ sd->sd_CS; in read_seeprom() 122 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); in read_seeprom() 131 temp ^= sd->sd_DO; in read_seeprom() 132 SEEPROM_OUTB(sd, temp); in read_seeprom() 134 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); in read_seeprom() 137 temp ^= sd->sd_DO; in read_seeprom() 142 temp ^= sd->sd_DO; in read_seeprom() 143 SEEPROM_OUTB(sd, temp); in read_seeprom() 145 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); in read_seeprom() [all …]
|
/netbsd-src/lib/libedit/ |
H A D | filecomplete.c | 73 char *temp; in fn_tilde_expand() local 81 temp = strdup(txt + 1); in fn_tilde_expand() 82 if (temp == NULL) in fn_tilde_expand() 87 temp = el_calloc(len, sizeof(*temp)); in fn_tilde_expand() 88 if (temp == NULL) in fn_tilde_expand() 90 (void)strlcpy(temp, txt + 1, len - 1); in fn_tilde_expand() 92 if (temp[0] == 0) { in fn_tilde_expand() 104 if (getpwnam_r(temp, &pwres, pwbuf, sizeof(pwbuf), &pass) != 0) in fn_tilde_expand() 107 pass = getpwnam_r(temp, &pwres, pwbuf, sizeof(pwbuf)); in fn_tilde_expand() 109 pass = getpwnam(temp); in fn_tilde_expand() [all …]
|
/netbsd-src/lib/libm/noieee_src/ |
H A D | n_jn.c | 116 double a, b, temp; in jn() local 155 case 0: temp = cos(x)+sin(x); break; in jn() 156 case 1: temp = -cos(x)+sin(x); break; in jn() 157 case 2: temp = -cos(x)-sin(x); break; in jn() 158 case 3: temp = cos(x)-sin(x); break; in jn() 160 b = invsqrtpi*temp/sqrt(x); in jn() 167 temp = b; in jn() 169 a = temp; in jn() 180 temp = x*0.5; b = temp; in jn() 183 b *= temp; /* b = (x/2)^n */ in jn() [all …]
|
/netbsd-src/external/gpl3/gdb/dist/readline/readline/ |
H A D | histexpand.c | 146 char *temp; in get_history_event() local 245 temp = (char *)xmalloc (1 + which); in get_history_event() 247 strncpy (temp, string + local_index, which); in get_history_event() 248 temp[which] = '\0'; in get_history_event() 257 history_offset = history_length; xfree (temp) ; return (char *)NULL; \ in get_history_event() 262 if (*temp == '\0' && substring_okay) in get_history_event() 266 xfree (temp); in get_history_event() 267 temp = savestring (search_string); in get_history_event() 276 local_index = (*search_func) (temp, -1); in get_history_event() 293 search_string = temp; in get_history_event() [all …]
|
/netbsd-src/external/gpl2/grep/dist/intl/ |
H A D | Makefile | 161 sed -f ref-add.sed $$orig > $$temp; \ 162 $(INSTALL_DATA) $$temp $$dest; \ 163 rm -f $$temp; \ 167 sed -f ref-add.sed $$orig > $$temp; \ 168 $(INSTALL_DATA) $$temp $$dest; \ 169 rm -f $$temp; \ 178 sed -f ref-add.sed $$orig > $$temp; \ 179 $(INSTALL_DATA) $$temp $$dest; \ 180 rm -f $$temp; \ 246 sed -f ref-del.sed $$dest > $$temp; \ [all …]
|
H A D | Makefile.in | 161 sed -f ref-add.sed $$orig > $$temp; \ 162 $(INSTALL_DATA) $$temp $$dest; \ 163 rm -f $$temp; \ 167 sed -f ref-add.sed $$orig > $$temp; \ 168 $(INSTALL_DATA) $$temp $$dest; \ 169 rm -f $$temp; \ 178 sed -f ref-add.sed $$orig > $$temp; \ 179 $(INSTALL_DATA) $$temp $$dest; \ 180 rm -f $$temp; \ 246 sed -f ref-del.sed $$dest > $$temp; \ [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | file-find.cc | 36 char *temp; in find_a_file() local 47 temp = XNEWVEC (char, len); in find_a_file() 55 strcpy (temp, name); in find_a_file() 60 return temp; in find_a_file() 66 strcpy (temp, name); in find_a_file() 67 strcat (temp, HOST_EXECUTABLE_SUFFIX); in find_a_file() 69 if (access (temp, mode) == 0) in find_a_file() 70 return temp; in find_a_file() 81 strcpy (temp, pl->prefix); in find_a_file() 82 strcat (temp, name); in find_a_file() [all …]
|