/external/chromium_org/v8/test/mjsunit/ |
debug-stepout-recursive-function.js | 70 function fact(x) { function 77 return x*fact(x-1); 84 fact(3); 90 fact(3); 96 fact(3); 102 fact(3);
|
/external/v8/test/mjsunit/ |
debug-stepout-recursive-function.js | 70 function fact(x) { function 77 return x*fact(x-1); 84 fact(3); 90 fact(3); 96 fact(3); 102 fact(3);
|
/external/valgrind/main/memcheck/tests/ |
wrap2.c | 7 /* This is needed to stop gcc4 turning 'fact' into a loop */ 11 int fact ( int n ) function 13 if (n == 0) return 1; else return mul(n, fact(n-1)); 16 int I_WRAP_SONAME_FNNAME_ZU(NONE,fact) ( int n ) 21 printf("in wrapper1-pre: fact(%d)\n", n); 23 printf("in wrapper1-post: fact(%d) = %d\n", n, r); 32 printf("computing fact(5)\n"); 33 r = fact(5); 34 printf("fact(5) = %d\n", r);
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
AbstractXmlPullParser.java | 43 XmlPullParserFactory fact = org.xmlpull.v1.XmlPullParserFactory.newInstance(); local 44 XmlPullParser parser = fact.newPullParser();
|
/libcore/luni/src/test/java/tests/security/spec/ |
EncodedKeySpec2Test.java | 45 KeyFactory fact = KeyFactory.getInstance("DSA"); local 50 Key key = fact.generatePublic(new X509EncodedKeySpec(encoded)); 57 key = fact.generatePrivate(new PKCS8EncodedKeySpec(encoded));
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
EncodedKeySpec2Test.java | 44 KeyFactory fact = KeyFactory.getInstance("DSA"); local 49 Key key = fact.generatePublic(new X509EncodedKeySpec(encoded)); 56 key = fact.generatePrivate(new PKCS8EncodedKeySpec(encoded));
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
transform.c | 25 double fact, phase; local 27 fact = PI / (FRAMESAMPLES_HALF); 32 phase += fact; 35 fact = PI * ((double) (FRAMESAMPLES_HALF - 1)) / ((double) FRAMESAMPLES_HALF); 36 phase = 0.5 * fact; 40 phase += fact; 54 double tmp1r, tmp1i, xr, xi, yr, yi, fact; local 62 fact = 0.5 / sqrt(FRAMESAMPLES_HALF); 66 tmpre[k] = (inre1[k] * tmp1r + inre2[k] * tmp1i) * fact; 67 tmpim[k] = (inre2[k] * tmp1r - inre1[k] * tmp1i) * fact; 95 double tmp1r, tmp1i, xr, xi, yr, yi, fact; local [all...] |
/external/smack/asmack-master/static-src/custom/de/measite/smack/ |
Sasl.java | 82 SaslClientFactory fact = getSaslClientFactories().nextElement(); local 83 String[] mech = fact.getMechanismNames(null); 96 return fact.createSaslClient(
|
/external/smack/src/de/measite/smack/ |
Sasl.java | 82 SaslClientFactory fact = getSaslClientFactories().nextElement(); local 83 String[] mech = fact.getMechanismNames(null); 96 return fact.createSaslClient(
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyFactory2Test.java | 96 KeyFactory fact = KeyFactory.getInstance(keyfactAlgs[i], local 109 KeySpec privateKeySpec = fact.getKeySpec(keys.getPrivate(), 111 PrivateKey privateKey = fact.generatePrivate(privateKeySpec); 117 fact.generatePrivate(new PKCS8EncodedKeySpec(keys.getPrivate() 137 KeyFactory fact = KeyFactory.getInstance(keyfactAlgs[i], local 149 KeySpec publicKeySpec = fact.getKeySpec(keys.getPublic(), 151 PublicKey publicKey = fact.generatePublic(publicKeySpec); 175 KeyFactory fact = KeyFactory.getInstance(keyfactAlgs[i], local 178 fact.getAlgorithm().equals(keyfactAlgs[i])); 245 KeyFactory fact = KeyFactory.getInstance(keyfactAlgs[i] local 301 KeyFactory fact = KeyFactory.getInstance(keyfactAlgs[i]); local 319 KeyFactory fact = KeyFactory.getInstance(keyfactAlgs[i], local [all...] |
/external/clang/utils/ABITest/ |
TypeGen.py | 223 def fact(n): function 232 return fact(n) / (fact(k) * fact(n - k))
|
/external/skia/tests/ |
skia_test.cpp | 43 TestRegistry::Factory fact = fReg->factory(); local 45 Test* test = fact(NULL);
|
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateFactory4Test.java | 61 CertificateFactory fact = CertificateFactory.getInstance("X.509"); local 65 fact.generateCertificate(bais); 70 fact.generateCertificate(bais); 76 fact.generateCertificate(is); 90 CertificateFactory fact = CertificateFactory.getInstance("X.509"); local 95 Collection<? extends Certificate> certs = fact.generateCertificates(is); 112 CertificateFactory fact = CertificateFactory.getInstance("X.509"); local 117 CRL crl = fact.generateCRL(is); 133 CertificateFactory fact = CertificateFactory.getInstance("X.509"); local 138 Collection<? extends CRL> crls = fact.generateCRLs(is) 154 CertificateFactory fact = CertificateFactory.getInstance("X.509"); local 172 CertificateFactory fact = CertificateFactory.getInstance( local [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateFactory4Test.java | 58 CertificateFactory fact = CertificateFactory.getInstance("X.509"); local 62 fact.generateCertificate(bais); 67 fact.generateCertificate(bais); 73 fact.generateCertificate(is); 87 CertificateFactory fact = CertificateFactory.getInstance("X.509"); local 92 Collection certs = fact.generateCertificates(is); 109 CertificateFactory fact = CertificateFactory.getInstance("X.509"); local 114 CRL crl = fact.generateCRL(is); 130 CertificateFactory fact = CertificateFactory.getInstance("X.509"); local 135 Collection crls = fact.generateCRLs(is) 151 CertificateFactory fact = CertificateFactory.getInstance("X.509"); local 169 CertificateFactory fact = CertificateFactory.getInstance( local [all...] |
/external/eigen/Eigen/src/IterativeLinearSolvers/ |
IncompleteLUT.h | 347 Scalar fact = u(jj) / ki_it.value(); local 350 if(abs(fact) <= m_droptol) 360 Scalar prod = fact * ki_it.value(); 386 u(len) = fact;
|
/external/smack/src/org/apache/harmony/javax/security/sasl/ |
Sasl.java | 94 HashSet<Object> fact = new HashSet<Object>(); local 97 return fact; 109 fact.add(newInstance(prop, pp[i])); 118 return fact; 146 SaslServerFactory fact = (SaslServerFactory) iter.next(); local 147 String[] mech = fact.getMechanismNames(null); 158 SaslServer saslS = fact.createSaslServer(mechanism, protocol, serverName, prop, 181 SaslClientFactory fact = (SaslClientFactory) iter.next(); local 182 String[] mech = fact.getMechanismNames(null); 195 SaslClient saslC = fact.createSaslClient(mechanisms, authanticationID [all...] |
/external/speex/libspeex/ |
ltp.c | 716 spx_word16_t fact = DIV32_16(SHL32(EXTEND32(tmp),14),gain_sum); local 718 gain[i]=MULT16_16_Q14(fact,gain[i]);
|
nb_celp.c | 689 float fact = ((float)sub+1.0f)/st->nbSubframes; local 691 curr_curve[i] = (1.0f-fact)*st->old_curve[i] + fact*st->curve[i]; 1025 spx_word16_t fact; local 1235 spx_word16_t fact; local [all...] |
/external/svox/pico/lib/ |
picodata.c | 704 picoos_int32 fact, rest; local 708 fact = (targetdur << (PICODATA_PRECISION - frame_duration_exp)) / inputdur; 711 rest += fact * inout[i]; 730 picoos_int32 fact, rest, out, weighted_sum; local 744 fact = ((targetdur - inputdur) << (PICODATA_PRECISION-frame_duration_exp))/ weighted_sum; 746 fact = -((inputdur - targetdur) << (PICODATA_PRECISION-frame_duration_exp))/ weighted_sum; 749 /* input[i] * fact * weight[i] is the additive modification in PICODATA_PRECISION */ 751 rest += fact * inout[i] * weight[i]; 788 PICODBG_TRACE(("######## transforming duration fact=%i, limits = [%i,%i] (input frames: %i)",facttarget,mintarget,maxtarget, inputdur)); [all...] |
picosig2.c | 4014 picoos_single fact; \/*normalization factor*\/ local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyFactory2Test.java | 111 KeyFactory fact = KeyFactory.getInstance(keyfactAlgs[i], providerName); local 122 KeySpec privateKeySpec = fact.getKeySpec(keys.getPrivate(), 124 PrivateKey privateKey = fact.generatePrivate(privateKeySpec); 128 privateKey = fact.generatePrivate(new PKCS8EncodedKeySpec(keys.getPrivate().getEncoded())); 139 KeyFactory fact = KeyFactory.getInstance(keyfactAlgs[i], local 151 KeySpec publicKeySpec = fact.getKeySpec(keys.getPublic(), 153 PublicKey publicKey = fact.generatePublic(publicKeySpec); 157 + fact.getProvider().getName() + ")", 167 KeyFactory fact = KeyFactory.getInstance(keyfactAlgs[i], local 170 fact.getAlgorithm().equals(keyfactAlgs[i])) 230 KeyFactory fact = KeyFactory.getInstance(keyfactAlgs[i], local 277 KeyFactory fact = KeyFactory.getInstance(keyfactAlgs[i]); local 287 KeyFactory fact = KeyFactory.getInstance(keyfactAlgs[i], local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_math.py | 371 def fact(n): function in function:MathTests.testFactorial 380 self.assertEqual(math.factorial(cast(x)), fact(x), (x, fact(x), math.factorial(x))) [all...] |
test_itertools.py | 51 def fact(n): function 126 self.assertEqual(len(result), 0 if r>n else fact(n) // fact(r) // fact(n-r)) # right number of combs 183 return fact(n+r-1) // fact(r) // fact(n-1) 264 self.assertEqual(len(result), 0 if r>n else fact(n) // fact(n-r)) # right number of perms 296 self.assertEqual(len(cwr), (fact(n+r-1) // fact(r) // fact(n-1)) if n else (not r) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_math.py | 371 def fact(n): function in function:MathTests.testFactorial 380 self.assertEqual(math.factorial(cast(x)), fact(x), (x, fact(x), math.factorial(x))) [all...] |
/external/eigen/unsupported/test/ |
NonLinearOptimization.cpp | 818 double fact = 1./(1.+b[4]*x+b[5]*xx+b[6]*xxx); local 819 fjac(i,0) = 1.*fact; 820 fjac(i,1) = x*fact; 821 fjac(i,2) = xx*fact; 822 fjac(i,3) = xxx*fact; 823 fact = - (b[0]+b[1]*x+b[2]*xx+b[3]*xxx) * fact * fact; 824 fjac(i,4) = x*fact; 825 fjac(i,5) = xx*fact; 1562 double fact = 1.\/(1.+b[4]*x+b[5]*xx+b[6]*xxx); local [all...] |