Home
last modified time | relevance | path

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

12345678910>>...26

/external/ipsec-tools/src/racoon/missing/crypto/rijndael/
Drijndael-alg-fst.c154 #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 …]
/external/libgsm/src/
Dlpc.c36 word temp, smax, scalauto; variable
49 temp = GSM_ABS( s[k] );
50 if (temp > smax) smax = temp;
183 register word temp; variable
198 temp = gsm_norm( L_ACF[0] );
200 assert(temp >= 0 && temp < 32);
203 for (i = 0; i <= 8; i++) ACF[i] = SASR( L_ACF[i] << temp, 16 );
215 temp = P[1];
216 temp = GSM_ABS(temp);
217 if (P[0] < temp) {
[all …]
Drpe.c267 word xmax, xmaxc, temp, temp1, temp2; variable
276 temp = xM[i];
277 temp = GSM_ABS(temp);
278 if (temp > xmax) xmax = temp;
285 temp = SASR( xmax, 9 );
290 itest |= (temp <= 0);
291 temp = SASR( temp, 1 );
298 temp = exp + 5;
300 assert(temp <= 11 && temp >= 0);
301 xmaxc = gsm_add( SASR(xmax, temp), exp << 3 );
[all …]
/external/qemu/android/avd/
Dinfo.c221 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp); in _getSdkRoot() local
236 (void) bufprint_app_dir(temp, end); in _getSdkRoot()
238 i->sdkRootPath = path_parent(temp, 1); in _getSdkRoot()
250 char temp[PATH_MAX], *p = temp, *end= p+sizeof temp; in _getSearchPaths() local
258 p = bufprint(temp, end, "%s%d", SEARCH_PREFIX, nn+1 ); in _getSearchPaths()
262 path = iniFile_getString( i->configIni, temp ); in _getSearchPaths()
266 p = bufprint(temp, end, "%s/%s", i->sdkRootPath, path); in _getSearchPaths()
268 path = ASTRDUP(temp); in _getSearchPaths()
300 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp); in _getRootIni() local
302 p = bufprint_config_path(temp, end); in _getRootIni()
[all …]
/external/sonivox/arm-wt-22k/lib_src/
Deas_wtsynth.c510 EAS_I32 temp; in WT_UpdateVoice() local
544 temp = pChannel->staticPitch + pWTRegion->tuning; in WT_UpdateVoice()
548 temp += pVoice->note * 100; in WT_UpdateVoice()
550 temp += (pVoice->note + pSynth->globalTranspose) * 100; in WT_UpdateVoice()
551 intFrame.frame.phaseIncrement = WT_UpdatePhaseInc(pWTVoice, pArt, pChannel, temp); in WT_UpdateVoice()
617 EAS_I32 temp; in WT_UpdatePhaseInc() local
620 temp = MULT_EG1_EG1(DEFAULT_LFO_MOD_WHEEL_TO_PITCH_CENTS, in WT_UpdatePhaseInc()
624 temp += MULT_EG1_EG1(DEFAULT_LFO_CHANNEL_PRESSURE_TO_PITCH_CENTS, in WT_UpdatePhaseInc()
628 temp = MULT_EG1_EG1(pWTVoice->modLFO.lfoValue, temp); in WT_UpdatePhaseInc()
636 temp += pitchCents + in WT_UpdatePhaseInc()
[all …]
Deas_pan.c63 EAS_INT temp; in EAS_CalcPanControl() local
78 temp = EG1_ONE + FMUL_15x15(COEFF_PAN_G2, netAngle); in EAS_CalcPanControl()
79 temp = COEFF_PAN_G0 + FMUL_15x15(temp, netAngle); in EAS_CalcPanControl()
81 if (temp > SYNTH_FULL_SCALE_EG1_GAIN) in EAS_CalcPanControl()
82 temp = SYNTH_FULL_SCALE_EG1_GAIN; in EAS_CalcPanControl()
83 else if (temp < 0) in EAS_CalcPanControl()
84 temp = 0; in EAS_CalcPanControl()
86 *pGainRight = (EAS_I16) temp; in EAS_CalcPanControl()
89 temp = -EG1_ONE + FMUL_15x15(COEFF_PAN_G2, netAngle); in EAS_CalcPanControl()
90 temp = COEFF_PAN_G0 + FMUL_15x15(temp, netAngle); in EAS_CalcPanControl()
[all …]
Deas_dlssynth.c142 EAS_I32 temp; in DLS_UpdatePhaseInc() local
145 temp = pDLSArt->modLFOToPitch; in DLS_UpdatePhaseInc()
149 temp += ((pDLSArt->modLFOCC1ToPitch * pChannel->modWheel) >> 7); in DLS_UpdatePhaseInc()
153 temp += ((pDLSArt->modLFOChanPressToPitch * pChannel->channelPressure) >> 7); in DLS_UpdatePhaseInc()
156 pitchCents += FMUL_15x15(temp, pWTVoice->modLFO.lfoValue); in DLS_UpdatePhaseInc()
159 temp = pDLSArt->vibLFOToPitch; in DLS_UpdatePhaseInc()
163 temp += ((pDLSArt->vibLFOCC1ToPitch * pChannel->modWheel) >> 7); in DLS_UpdatePhaseInc()
167 temp += ((pDLSArt->vibLFOChanPressToPitch * pChannel->channelPressure) >> 7); in DLS_UpdatePhaseInc()
170 pitchCents += FMUL_15x15(temp, pWTVoice->vibLFO.lfoValue); in DLS_UpdatePhaseInc()
187 EAS_I32 temp; in DLS_UpdateGain() local
[all …]
/external/sonivox/arm-hybrid-22k/lib_src/
Deas_wtsynth.c506 EAS_I32 temp; in WT_UpdateVoice() local
540 temp = pChannel->staticPitch + pWTRegion->tuning; in WT_UpdateVoice()
544 temp += pVoice->note * 100; in WT_UpdateVoice()
546 temp += (pVoice->note + pSynth->globalTranspose) * 100; in WT_UpdateVoice()
547 intFrame.frame.phaseIncrement = WT_UpdatePhaseInc(pWTVoice, pArt, pChannel, temp); in WT_UpdateVoice()
611 EAS_I32 temp; in WT_UpdatePhaseInc() local
614 temp = MULT_EG1_EG1(DEFAULT_LFO_MOD_WHEEL_TO_PITCH_CENTS, in WT_UpdatePhaseInc()
618 temp += MULT_EG1_EG1(DEFAULT_LFO_CHANNEL_PRESSURE_TO_PITCH_CENTS, in WT_UpdatePhaseInc()
622 temp = MULT_EG1_EG1(pWTVoice->modLFO.lfoValue, temp); in WT_UpdatePhaseInc()
630 temp += pitchCents + in WT_UpdatePhaseInc()
[all …]
Deas_pan.c63 EAS_INT temp; in EAS_CalcPanControl() local
78 temp = EG1_ONE + FMUL_15x15(COEFF_PAN_G2, netAngle); in EAS_CalcPanControl()
79 temp = COEFF_PAN_G0 + FMUL_15x15(temp, netAngle); in EAS_CalcPanControl()
81 if (temp > SYNTH_FULL_SCALE_EG1_GAIN) in EAS_CalcPanControl()
82 temp = SYNTH_FULL_SCALE_EG1_GAIN; in EAS_CalcPanControl()
83 else if (temp < 0) in EAS_CalcPanControl()
84 temp = 0; in EAS_CalcPanControl()
86 *pGainRight = (EAS_I16) temp; in EAS_CalcPanControl()
89 temp = -EG1_ONE + FMUL_15x15(COEFF_PAN_G2, netAngle); in EAS_CalcPanControl()
90 temp = COEFF_PAN_G0 + FMUL_15x15(temp, netAngle); in EAS_CalcPanControl()
[all …]
Deas_fmsynth.c225 EAS_I32 temp; in FM_CalcEGRate() local
228 temp = (EAS_I32) nLogRate << 7; in FM_CalcEGRate()
229 temp += ((EAS_I32) nKeyNumber - EG_SCALE_PIVOT_POINT) * (EAS_I32) nEGScale; in FM_CalcEGRate()
232 temp = max(temp, 0); in FM_CalcEGRate()
233 temp = min(temp, 32767); in FM_CalcEGRate()
237 return fmRateTable[temp >> 8]; in FM_CalcEGRate()
401 EAS_I32 temp; in FM_StartVoice() local
422 temp = (EAS_I32) pChannel->pan - 64; in FM_StartVoice()
423 temp += (EAS_I32) pRegion->pan; in FM_StartVoice()
424 if (temp < -64) in FM_StartVoice()
[all …]
Deas_ota.c167 EAS_U8 temp; in OTA_CheckFileType() local
171 if ((result = EAS_HWGetByte(pEASData->hwInstData, fileHandle, &temp)) != EAS_SUCCESS) in OTA_CheckFileType()
175 cmdLen = temp; in OTA_CheckFileType()
181 if ((result = EAS_HWGetByte(pEASData->hwInstData, fileHandle, &temp)) != EAS_SUCCESS) in OTA_CheckFileType()
183 temp = temp >> 1; in OTA_CheckFileType()
187 if (temp != OTA_RINGTONE) in OTA_CheckFileType()
194 if (temp == OTA_SOUND) in OTA_CheckFileType()
217 if (temp != OTA_UNICODE) in OTA_CheckFileType()
322 EAS_U8 temp; in OTA_Event() local
385 if ((result = OTA_FetchBitField(pEASData->hwInstData, pData, 3, &temp)) != EAS_SUCCESS) in OTA_Event()
[all …]
/external/sonivox/arm-fm-22k/lib_src/
Deas_pan.c63 EAS_INT temp; in EAS_CalcPanControl() local
78 temp = EG1_ONE + FMUL_15x15(COEFF_PAN_G2, netAngle); in EAS_CalcPanControl()
79 temp = COEFF_PAN_G0 + FMUL_15x15(temp, netAngle); in EAS_CalcPanControl()
81 if (temp > SYNTH_FULL_SCALE_EG1_GAIN) in EAS_CalcPanControl()
82 temp = SYNTH_FULL_SCALE_EG1_GAIN; in EAS_CalcPanControl()
83 else if (temp < 0) in EAS_CalcPanControl()
84 temp = 0; in EAS_CalcPanControl()
86 *pGainRight = (EAS_I16) temp; in EAS_CalcPanControl()
89 temp = -EG1_ONE + FMUL_15x15(COEFF_PAN_G2, netAngle); in EAS_CalcPanControl()
90 temp = COEFF_PAN_G0 + FMUL_15x15(temp, netAngle); in EAS_CalcPanControl()
[all …]
Deas_fmsynth.c225 EAS_I32 temp; in FM_CalcEGRate() local
228 temp = (EAS_I32) nLogRate << 7; in FM_CalcEGRate()
229 temp += ((EAS_I32) nKeyNumber - EG_SCALE_PIVOT_POINT) * (EAS_I32) nEGScale; in FM_CalcEGRate()
232 temp = max(temp, 0); in FM_CalcEGRate()
233 temp = min(temp, 32767); in FM_CalcEGRate()
237 return fmRateTable[temp >> 8]; in FM_CalcEGRate()
401 EAS_I32 temp; in FM_StartVoice() local
422 temp = (EAS_I32) pChannel->pan - 64; in FM_StartVoice()
423 temp += (EAS_I32) pRegion->pan; in FM_StartVoice()
424 if (temp < -64) in FM_StartVoice()
[all …]
Deas_ota.c167 EAS_U8 temp; in OTA_CheckFileType() local
171 if ((result = EAS_HWGetByte(pEASData->hwInstData, fileHandle, &temp)) != EAS_SUCCESS) in OTA_CheckFileType()
175 cmdLen = temp; in OTA_CheckFileType()
181 if ((result = EAS_HWGetByte(pEASData->hwInstData, fileHandle, &temp)) != EAS_SUCCESS) in OTA_CheckFileType()
183 temp = temp >> 1; in OTA_CheckFileType()
187 if (temp != OTA_RINGTONE) in OTA_CheckFileType()
194 if (temp == OTA_SOUND) in OTA_CheckFileType()
217 if (temp != OTA_UNICODE) in OTA_CheckFileType()
322 EAS_U8 temp; in OTA_Event() local
385 if ((result = OTA_FetchBitField(pEASData->hwInstData, pData, 3, &temp)) != EAS_SUCCESS) in OTA_Event()
[all …]
/external/chromium/third_party/icu/source/test/intltest/
Dsrchtest.cpp352 UChar temp[128]; in assertEqual() local
359 u_unescape(search->text, temp, 128); in assertEqual()
361 text.setTo(temp); in assertEqual()
362 u_unescape(search->pattern, temp, 128); in assertEqual()
364 pattern.setTo(temp); in assertEqual()
409 UChar temp[128]; in assertCanonicalEqual() local
418 u_unescape(search->text, temp, 128); in assertCanonicalEqual()
420 text.setTo(temp); in assertCanonicalEqual()
421 u_unescape(search->pattern, temp, 128); in assertCanonicalEqual()
423 pattern.setTo(temp); in assertCanonicalEqual()
[all …]
/external/icu4c/test/intltest/
Dsrchtest.cpp362 UChar temp[128]; in assertEqual() local
369 u_unescape(search->text, temp, 128); in assertEqual()
371 text.setTo(temp); in assertEqual()
372 u_unescape(search->pattern, temp, 128); in assertEqual()
374 pattern.setTo(temp); in assertEqual()
419 UChar temp[128]; in assertCanonicalEqual() local
428 u_unescape(search->text, temp, 128); in assertCanonicalEqual()
430 text.setTo(temp); in assertCanonicalEqual()
431 u_unescape(search->pattern, temp, 128); in assertCanonicalEqual()
433 pattern.setTo(temp); in assertCanonicalEqual()
[all …]
/external/dropbear/libtomcrypt/src/ciphers/
Dnoekeon.c42 temp = a^c; temp = temp ^ ROLc(temp, 8) ^ RORc(temp, 8); \
43 b ^= temp; d ^= temp; \
44 temp = b^d; temp = temp ^ ROLc(temp, 8) ^ RORc(temp, 8); \
45 a ^= temp; c ^= temp;
48 temp = a^c; temp = temp ^ ROLc(temp, 8) ^ RORc(temp, 8); \
49 b ^= temp ^ k[1]; d ^= temp ^ k[3]; \
50 temp = b^d; temp = temp ^ ROLc(temp, 8) ^ RORc(temp, 8); \
51 a ^= temp ^ k[0]; c ^= temp ^ k[2];
56 temp = d; d = a; a = temp;\
77 ulong32 temp; in noekeon_setup() local
[all …]
/external/tcpdump/
Dparsenfsfh.c123 u_int32_t temp; local
267 temp = make_uint32(fhp[12], fhp[13], fhp[14], fhp[15]);
268 *inop = temp;
279 temp = make_uint32(fhp[15], fhp[14], fhp[13], fhp[12]);
280 *inop = temp;
290 temp = make_uint32(fhp[3], fhp[2], fhp[1], fhp[0]);
291 fsidp->Fsid_dev.Minor = temp & 0xFFFFF;
292 fsidp->Fsid_dev.Major = (temp>>20) & 0xFFF;
294 temp = make_uint32(fhp[15], fhp[14], fhp[13], fhp[12]);
295 *inop = temp;
[all …]
/external/fdlibm/
De_jn.c61 double a, b, temp, di; local
100 case 0: temp = ieee_cos(x)+ieee_sin(x); break;
101 case 1: temp = -ieee_cos(x)+ieee_sin(x); break;
102 case 2: temp = -ieee_cos(x)-ieee_sin(x); break;
103 case 3: temp = ieee_cos(x)-ieee_sin(x); break;
105 b = invsqrtpi*temp/ieee_sqrt(x);
110 temp = b;
112 a = temp;
123 temp = x*0.5; b = temp;
126 b *= temp; /* b = (x/2)^n */
[all …]
/external/dropbear/libtomcrypt/src/ciphers/aes/
Daes.c95 static ulong32 setup_mix(ulong32 temp) in setup_mix() argument
97 return (Te4_3[byte(temp, 2)]) ^ in setup_mix()
98 (Te4_2[byte(temp, 1)]) ^ in setup_mix()
99 (Te4_1[byte(temp, 0)]) ^ in setup_mix()
100 (Te4_0[byte(temp, 3)]); in setup_mix()
105 static ulong32 setup_mix2(ulong32 temp) in setup_mix2() argument
107 return Td0(255 & Te4[byte(temp, 3)]) ^ in setup_mix2()
108 Td1(255 & Te4[byte(temp, 2)]) ^ in setup_mix2()
109 Td2(255 & Te4[byte(temp, 1)]) ^ in setup_mix2()
110 Td3(255 & Te4[byte(temp, 0)]); in setup_mix2()
[all …]
/external/chromium/third_party/icu/source/test/cintltst/
Dcustrtst.c108 UChar temp[512]; in TestStringFunctions() local
126 temp[0] = 0; in TestStringFunctions()
127 temp[7] = 0xA4; /* Mark the end */ in TestStringFunctions()
128 u_memcpy(temp,dataTable[i][j], 7); in TestStringFunctions()
130 if(temp[7] != 0xA4) in TestStringFunctions()
132 if(u_memcmp(temp, dataTable[i][j], 7)!=0) in TestStringFunctions()
154 temp[7] = 0; in TestStringFunctions()
155 u_memcpy(temp,nullTemp, 7); in TestStringFunctions()
156 if(u_memcmp(temp, nullTemp, 7)!=0 || temp[7]!=0) in TestStringFunctions()
162 temp[i] = (UChar)i; in TestStringFunctions()
[all …]
/external/icu4c/test/cintltst/
Dcustrtst.c108 UChar temp[512]; in TestStringFunctions() local
126 temp[0] = 0; in TestStringFunctions()
127 temp[7] = 0xA4; /* Mark the end */ in TestStringFunctions()
128 u_memcpy(temp,dataTable[i][j], 7); in TestStringFunctions()
130 if(temp[7] != 0xA4) in TestStringFunctions()
132 if(u_memcmp(temp, dataTable[i][j], 7)!=0) in TestStringFunctions()
154 temp[7] = 0; in TestStringFunctions()
155 u_memcpy(temp,nullTemp, 7); in TestStringFunctions()
156 if(u_memcmp(temp, nullTemp, 7)!=0 || temp[7]!=0) in TestStringFunctions()
162 temp[i] = (UChar)i; in TestStringFunctions()
[all …]
/external/e2fsprogs/intl/
DMakefile.in300 sed -f ref-add.sed $$orig > $$temp; \
301 $(INSTALL_DATA) $$temp $$dest; \
302 rm -f $$temp; \
306 sed -f ref-add.sed $$orig > $$temp; \
307 $(INSTALL_DATA) $$temp $$dest; \
308 rm -f $$temp; \
317 sed -f ref-add.sed $$orig > $$temp; \
318 $(INSTALL_DATA) $$temp $$dest; \
319 rm -f $$temp; \
403 sed -f ref-del.sed $$dest > $$temp; \
[all …]
/external/qemu/android/utils/
Dfilelock.c77 char* temp; member
120 pidfile_fd = open( lock->temp, O_RDONLY ); in filelock_lock()
144 D( "could not read pid file '%s'", lock->temp ); in filelock_lock()
190 pidfile_fd = open( lock->temp, O_WRONLY | O_CREAT | O_TRUNC ); in filelock_lock()
193 if ( path_delete_file( lock->temp ) < 0 ) { in filelock_lock()
194 D( "could not remove '%s': %s\n", lock->temp, strerror(errno) ); in filelock_lock()
197 pidfile_fd = open( lock->temp, O_WRONLY | O_CREAT | O_TRUNC ); in filelock_lock()
200 D( "could not create '%s': %s\n", lock->temp, strerror(errno) ); in filelock_lock()
211 D( "could not write PID to '%s'\n", lock->temp ); in filelock_lock()
226 strcpy( lock->temp, lock->file ); in filelock_lock()
[all …]
/external/jpeg/
Djcphuff.c318 register int temp, nbits; in emit_eobrun() local
321 temp = entropy->EOBRUN; in emit_eobrun()
323 while ((temp >>= 1)) in emit_eobrun()
380 register int temp, temp2; in encode_mcu_DC_first() local
408 temp = temp2 - entropy->last_dc_val[ci]; in encode_mcu_DC_first()
412 temp2 = temp; in encode_mcu_DC_first()
413 if (temp < 0) { in encode_mcu_DC_first()
414 temp = -temp; /* temp is abs value of input */ in encode_mcu_DC_first()
422 while (temp) { in encode_mcu_DC_first()
424 temp >>= 1; in encode_mcu_DC_first()
[all …]

12345678910>>...26