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

/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/tests/
H A DColorFilterTest.cpp15 SkFlattenable::Factory fact = obj->getFactory(); local
16 if (NULL == fact) {
29 return fact(rb);
H A Dskia_test.cpp29 TestRegistry::Factory fact = fReg->factory(); local
31 Test* test = fact(NULL);
/external/skia/src/images/
H A DSkImageRef.cpp78 SkImageDecoderFactory* fact) {
79 SkRefCnt_SafeAssign(fFactory, fact);
80 return fact;
77 setDecoderFactory( SkImageDecoderFactory* fact) argument
/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.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/samplecode/
H A DSampleTests.cpp38 TestRegistry::Factory fact = fReg->factory(); local
40 Test* test = fact(NULL);
H A DSampleApp.cpp312 SkViewRegister::SkViewRegister(SkViewFactory* fact) : fFact(fact) { argument
/external/skia/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/skia/src/gpu/
H A Dapp-android.cpp93 SkViewRegister::SkViewRegister(SkViewFactory fact) : fFact(fact) { argument
/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));
/external/skia/gm/
H A Dgmmain.cpp73 GMRegistry::Factory fact = fReg->factory(); local
75 return fact(0);
/external/antlr/antlr-3.4/runtime/ActionScript/project/lib/
H A DFlexAntTasks.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/adobe/ com/adobe/ac/ com/adobe/ac/ant/ ...

Completed in 994 milliseconds