Searched defs:fact (Results 1 - 25 of 29) sorted by relevance

12

/external/skia/bench/
H A DWriterBench.cpp41 static SkBenchmark* fact(void* p) { return new WriterBench(p); } function
42 static BenchRegistry gReg(fact);
H A DReadPixBench.cpp65 static SkBenchmark* fact(void* p) { return new ReadPixBench(p); } function
66 static BenchRegistry gReg(fact);
/external/v8/test/mjsunit/
H A Ddebug-stepout-recursive-function.js70 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/
H A Dwrap2.c7 /* 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);
/external/apache-http/src/org/apache/http/conn/routing/
H A DBasicRouteDirector.java57 * @param fact the currently established route, or
64 public int nextStep(RouteInfo plan, RouteInfo fact) { argument
72 if ((fact == null) || (fact.getHopCount() < 1))
75 step = proxiedStep(plan, fact);
77 step = directStep(plan, fact);
102 * @param fact the currently established route
107 protected int directStep(RouteInfo plan, RouteInfo fact) { argument
109 if (fact.getHopCount() > 1)
111 if (!plan.getTargetHost().equals(fact
142 proxiedStep(RouteInfo plan, RouteInfo fact) argument
[all...]
H A DHttpRouteDirector.java77 * @param fact the currently established route, or
84 public int nextStep(RouteInfo plan, RouteInfo fact) argument
/external/skia/include/core/
H A DSkTRegistry.h23 SkTRegistry(Factory fact) { argument
36 fFact = fact;
/external/skia/legacy/include/core/
H A DSkTRegistry.h23 SkTRegistry(Factory fact) { argument
36 fFact = fact;
/external/skia/legacy/src/images/
H A DSkImageRef.cpp78 SkImageDecoderFactory* fact) {
79 SkRefCnt_SafeAssign(fFactory, fact);
80 return fact;
77 setDecoderFactory( SkImageDecoderFactory* fact) argument
/external/skia/src/core/
H A DSkFlattenable.cpp116 const char* SkFlattenable::FactoryToName(Factory fact) { argument
122 if (pairs[i].fFactory == fact) {
/external/skia/src/images/
H A DSkImageRef.cpp75 SkImageDecoderFactory* fact) {
76 SkRefCnt_SafeAssign(fFactory, fact);
77 return fact;
74 setDecoderFactory( SkImageDecoderFactory* fact) argument
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
H A Dtransform.c25 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/clang/utils/ABITest/
H A DTypeGen.py223 def fact(n): function
232 return fact(n) / (fact(k) * fact(n - k))
/external/skia/emoji/
H A DEmojiFont.cpp83 EmojiFactory* fact = get_emoji_factory(); local
84 if (NULL == fact) {
89 rec->fData = fact->GetImageBinaryFromAndroidPua(pua, &rec->fSize);
133 EmojiFactory* fact = get_emoji_factory(); local
134 if (NULL != fact) {
135 if (strcmp(fact->Name(), "kddi") == 0) {
137 } else if (strcmp(fact->Name(), "softbank") == 0) {
/external/skia/legacy/emoji/
H A DEmojiFont.cpp82 EmojiFactory* fact = get_emoji_factory(); local
83 if (NULL == fact) {
88 rec->fData = fact->GetImageBinaryFromAndroidPua(pua, &rec->fSize);
132 EmojiFactory* fact = get_emoji_factory(); local
133 if (NULL != fact) {
134 if (strcmp(fact->Name(), "kddi") == 0) {
136 } else if (strcmp(fact->Name(), "softbank") == 0) {
/external/skia/tests/
H A Dskia_test.cpp33 TestRegistry::Factory fact = fReg->factory(); local
35 Test* test = fact(NULL);
/external/skia/legacy/src/core/
H A DSkPixelRef.cpp208 const char* SkPixelRef::FactoryToName(Factory fact) { argument
214 if (pairs[i].fFactory == fact) {
H A DSkBitmap.cpp1423 SkPixelRef::Factory fact = fPixelRef->getFactory(); local
1424 if (fact) {
1425 const char* name = SkPixelRef::FactoryToName(fact);
1477 SkPixelRef::Factory fact = deserialize_factory(buffer); local
1478 SkPixelRef* pr = fact(buffer);
/external/eigen/Eigen/src/IterativeLinearSolvers/
H A DIncompleteLUT.h347 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/eigen/unsupported/test/
H A DNonLinearOptimization.cpp818 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...]
/external/speex/libspeex/
H A Dltp.c716 spx_word16_t fact = DIV32_16(SHL32(EXTEND32(tmp),14),gain_sum); local
718 gain[i]=MULT16_16_Q14(fact,gain[i]);
H A Dnb_celp.c689 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
1031 fact = attenuation[st->count_lost];
1033 fact = 0;
1049 pitch_gain = MULT16_16_Q15(fact,pitch_gain) + VERY_SMALL;
1052 noise_gain = MULT16_16_Q15(innov_gain, MULT16_16_Q15(fact, SUB16(Q15ONE,MULT16_16_Q15(pitch_gain,pitch_gain))));
1235 spx_word16_t fact; local
1240 fact
[all...]
H A Dresample.c1018 spx_uint32_t fact; local
1030 for (fact=2;fact<=IMIN(st->num_rate, st->den_rate);fact++)
1032 while ((st->num_rate % fact == 0) && (st->den_rate % fact == 0))
1034 st->num_rate /= fact;
1035 st->den_rate /= fact;
/external/svox/pico/lib/
H A Dpicosig2.c4014 picoos_single fact; /*normalization factor*/ local
4060 fact = 3;
4066 / (hop * sig_inObj->Fuv_p)) * fact * PICODSP_GETEXC_K1);
4080 * sqrt((double) Fs / (hop * sig_inObj->F0_p)) * fact
H A Dpicodata.c704 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));

Completed in 598 milliseconds

12