/external/v8/test/mjsunit/ |
debug-stepout-recursive-function.js | 69 function fact(x) { function 76 return x*fact(x-1); 82 fact(3); 87 fact(3); 92 fact(3); 97 fact(3);
|
/external/valgrind/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();
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue143/ |
GenericMapTest.java | 26 BeanWithMap fact = new BeanWithMap(); local 27 GenericMap<Integer> shash = fact.getMap(); 32 // String txt = yaml.dump(fact);
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
transform.c | 19 double fact, phase; local 21 fact = PI / (FRAMESAMPLES_HALF); 26 phase += fact; 29 fact = PI * ((double) (FRAMESAMPLES_HALF - 1)) / ((double) FRAMESAMPLES_HALF); 30 phase = 0.5 * fact; 34 phase += fact; 46 double tmp1r, tmp1i, xr, xi, yr, yi, fact; local 54 fact = 0.5 / sqrt(FRAMESAMPLES_HALF); 58 tmpre[k] = (inre1[k] * tmp1r + inre2[k] * tmp1i) * fact; 59 tmpim[k] = (inre2[k] * tmp1r - inre1[k] * tmp1i) * fact; 89 double tmp1r, tmp1i, xr, xi, yr, yi, fact; local [all...] |
/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/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 | 227 def fact(n): function 236 return fact(n) / (fact(k) * fact(n - k))
|
/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); 89 CertificateFactory fact = CertificateFactory.getInstance("X.509"); local 94 Collection certs = fact.generateCertificates(is); 111 CertificateFactory fact = CertificateFactory.getInstance("X.509"); local 116 CRL crl = fact.generateCRL(is); 132 CertificateFactory fact = CertificateFactory.getInstance("X.509"); local 137 Collection crls = fact.generateCRLs(is) 153 CertificateFactory fact = CertificateFactory.getInstance("X.509"); local 171 CertificateFactory fact = CertificateFactory.getInstance( local [all...] |
/external/eigen/Eigen/src/IterativeLinearSolvers/ |
IncompleteLUT.h | 350 Scalar fact = u(jj) / ki_it.value(); local 353 if(abs(fact) <= m_droptol) 363 Scalar prod = fact * ki_it.value(); 389 u(len) = fact;
|
/external/eigen/unsupported/test/ |
levenberg_marquardt.cpp | 428 double fact = 1./(1.+b[4]*x+b[5]*xx+b[6]*xxx); local 429 fjac(i,0) = 1.*fact; 430 fjac(i,1) = x*fact; 431 fjac(i,2) = xx*fact; 432 fjac(i,3) = xxx*fact; 433 fact = - (b[0]+b[1]*x+b[2]*xx+b[3]*xxx) * fact * fact; 434 fjac(i,4) = x*fact; 435 fjac(i,5) = xx*fact; 1177 double fact = 1.\/(1.+b[4]*x+b[5]*xx+b[6]*xxx); local [all...] |
NonLinearOptimization.cpp | 822 double fact = 1./(1.+b[4]*x+b[5]*xx+b[6]*xxx); local 823 fjac(i,0) = 1.*fact; 824 fjac(i,1) = x*fact; 825 fjac(i,2) = xx*fact; 826 fjac(i,3) = xxx*fact; 827 fact = - (b[0]+b[1]*x+b[2]*xx+b[3]*xxx) * fact * fact; 828 fjac(i,4) = x*fact; 829 fjac(i,5) = xx*fact; 1571 double fact = 1.\/(1.+b[4]*x+b[5]*xx+b[6]*xxx); local [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]);
|
/libcore/ojluni/src/main/java/sun/net/ftp/ |
FtpDirEntry.java | 267 * Adds a 'fact', as defined in RFC 3659, to the list of facts of this file. 271 * @param fact the name of the fact (e.g. "Media-Type"). It is not case-sensitive. 272 * @param value the value associated with this fact. 275 public FtpDirEntry addFact(String fact, String value) { 276 facts.put(fact.toLowerCase(), value); 281 * Returns the requested 'fact', as defined in RFC 3659, if available. 283 * @param fact The name of the fact *e.g. "Media-Type"). It is not case sensitive. 284 * @return The value of the fact or, {@code null} if that fact wasn' [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
DfpMath.java | 294 Dfp fact = a.getOne(); local 299 fact = fact.divide(i); 300 y = y.add(x.multiply(fact)); 678 Dfp fact = a[0].getOne(); local 685 fact = fact.divide((i-1)*i); // 1 over fact 686 y = y.add(x.multiply(fact)); 710 Dfp fact = one 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...] |
/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/gdb/darwin-x86/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...] |
/prebuilts/gdb/linux-x86/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...] |
/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...] |
/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/autotest/client/deps/iwcap/src/ |
iwcap.c | 330 int fact = (1<<(13+factor))-1; local 331 if (fact > ampdu_fact) 332 ampdu_fact = fact;
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_rd.c | 637 int *const fact = &factor_buf[bs][mode]; local 639 *fact -= (*fact >> 4); 641 *fact = VPXMIN(*fact + RD_THRESH_INC, rd_thresh * RD_THRESH_MAX_FACT);
|