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

12

/external/valgrind/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.java62 * @param fact the currently established route, or
69 public int nextStep(RouteInfo plan, RouteInfo fact) { argument
77 if ((fact == null) || (fact.getHopCount() < 1))
80 step = proxiedStep(plan, fact);
82 step = directStep(plan, fact);
107 * @param fact the currently established route
112 protected int directStep(RouteInfo plan, RouteInfo fact) { argument
114 if (fact.getHopCount() > 1)
116 if (!plan.getTargetHost().equals(fact
147 proxiedStep(RouteInfo plan, RouteInfo fact) argument
[all...]
H A DHttpRouteDirector.java82 * @param fact the currently established route, or
89 public int nextStep(RouteInfo plan, RouteInfo fact) argument
/external/skia/tools/
H A DRegistry.h23 explicit Registry(T fact) : fFact(fact) { argument
/external/skia/src/core/
H A DSkFlattenable.cpp113 const char* SkFlattenable::FactoryToName(Factory fact) { argument
120 if (entries[i].fFactory == fact) {
H A DSkMipMap.cpp388 SkDiscardableFactoryProc fact) {
492 if (fact) {
493 SkDiscardableMemory* dm = fact(storageSize);
683 SkDiscardableFactoryProc fact) {
693 return Build(srcPixmap, colorMode, fact);
387 Build(const SkPixmap& src, SkDestinationSurfaceColorMode colorMode, SkDiscardableFactoryProc fact) argument
682 Build(const SkBitmap& src, SkDestinationSurfaceColorMode colorMode, SkDiscardableFactoryProc fact) argument
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Dtransform.c19 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...]
/external/clang/utils/ABITest/
H A DTypeGen.py227 def fact(n): function
236 return fact(n) / (fact(k) * fact(n - k))
/external/skia/samplecode/
H A DSampleCode.cpp74 SkViewRegister::SkViewRegister(SkViewFactory* fact) : fFact(fact) { argument
/external/eigen/Eigen/src/IterativeLinearSolvers/
H A DIncompleteLUT.h362 Scalar fact = u(jj) / ki_it.value(); local
365 if(abs(fact) <= m_droptol)
375 Scalar prod = fact * ki_it.value();
401 u(len) = fact;
/external/eigen/unsupported/test/
H A Dlevenberg_marquardt.cpp434 double fact = 1./(1.+b[4]*x+b[5]*xx+b[6]*xxx); local
435 fjac(i,0) = 1.*fact;
436 fjac(i,1) = x*fact;
437 fjac(i,2) = xx*fact;
438 fjac(i,3) = xxx*fact;
439 fact = - (b[0]+b[1]*x+b[2]*xx+b[3]*xxx) * fact * fact;
440 fjac(i,4) = x*fact;
441 fjac(i,5) = xx*fact;
1206 double fact = 1./(1.+b[4]*x+b[5]*xx+b[6]*xxx); local
[all...]
H A DNonLinearOptimization.cpp823 double fact = 1./(1.+b[4]*x+b[5]*xx+b[6]*xxx); local
824 fjac(i,0) = 1.*fact;
825 fjac(i,1) = x*fact;
826 fjac(i,2) = xx*fact;
827 fjac(i,3) = xxx*fact;
828 fact = - (b[0]+b[1]*x+b[2]*xx+b[3]*xxx) * fact * fact;
829 fjac(i,4) = x*fact;
830 fjac(i,5) = xx*fact;
1579 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.c1019 spx_uint32_t fact; local
1031 for (fact=2;fact<=IMIN(st->num_rate, st->den_rate);fact++)
1033 while ((st->num_rate % fact == 0) && (st->den_rate % fact == 0))
1035 st->num_rate /= fact;
1036 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/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
H A Dtransform_neon.c34 int32_t fact = 16921 << 5; local
35 int32x4_t factq = vdupq_n_s32(fact);
365 int32x4_t fact = vdupq_n_s32(factQ19); local
439 outre1_0 = vqdmulhq_s32(outre1_0, fact);
440 outre2_0 = vqdmulhq_s32(outre2_0, fact);
441 outre1_1 = vqdmulhq_s32(outre1_1, fact);
442 outre2_1 = vqdmulhq_s32(outre2_1, fact);
/external/ImageMagick/MagickCore/
H A Dmorphology.c99 static inline size_t fact(size_t n)
106 #define fact(n) ((size_t)tgamma((double)n+1)) macro
108 #define fact(n) ((size_t)lgamma((double)n+1))
1312 order_f = fact(kernel->width-1);
1323 alpha = order_f / ( fact((size_t) v) * fact(kernel->height-v-1) );
1326 (alpha * order_f / ( fact((size_t) u) * fact(kernel->height-u-1) ));
97 static inline size_t fact(size_t n) function
104 #define fact macro
/external/autotest/client/deps/iwcap/src/
H A Diwcap.c330 int fact = (1<<(13+factor))-1; local
331 if (fact > ampdu_fact)
332 ampdu_fact = fact;
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_rd.c662 int *const fact = &factor_buf[bs][mode]; local
664 *fact -= (*fact >> 4);
666 *fact = VPXMIN(*fact + RD_THRESH_INC, rd_thresh * RD_THRESH_MAX_FACT);
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderBuiltinPrecisionTests.cpp5096 void addFactory (SharedPtr<const CaseFactory> fact) { m_factories.push_back(fact); } argument
/external/deqp/modules/glshared/
H A DglsBuiltinPrecisionTests.cpp5194 void addFactory (SharedPtr<const CaseFactory> fact) argument
5196 m_factories.push_back(fact);
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dfindbugs.jarMETA-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd/ edu/umd/cs/ edu/ ...
/external/robolectric/v3/
H A Dshadows-httpclient-3.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ org/ org/robolectric/ org/robolectric/shadows/ ...

Completed in 743 milliseconds

12