Home
last modified time | relevance | path

Searched refs:fac (Results 1 – 25 of 41) sorted by relevance

12

/external/llvm/bindings/go/llvm/
Dexecutionengine_test.go29 fac := AddFunction(mod, "fac", fac_type)
30 fac.SetFunctionCallConv(CCallConv)
31 n := fac.Param(0)
33 entry := AddBasicBlock(fac, "entry")
34 iftrue := AddBasicBlock(fac, "iftrue")
35 iffalse := AddBasicBlock(fac, "iffalse")
36 end := AddBasicBlock(fac, "end")
52 call_fac := builder.CreateCall(fac, call_fac_args, "calltmp")
93 exec_res := engine.RunFunction(fac, exec_args)
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/
DAbstractTextureBlender.java137 …protected void blendHSV(int type, float[] materialRGB, float fac, float[] pixelColor, BlenderConte… in blendHSV() argument
138 float oneMinusFactor = 1.0f - fac; in blendHSV()
150 materialRGB[0] = oneMinusFactor * materialRGB[0] + fac * colorTransformResult[0]; in blendHSV()
151 materialRGB[1] = oneMinusFactor * materialRGB[1] + fac * colorTransformResult[1]; in blendHSV()
152 materialRGB[2] = oneMinusFactor * materialRGB[2] + fac * colorTransformResult[2]; in blendHSV()
164 … materialHelper.hsvToRgb(h, (oneMinusFactor * s + fac * colorTransformResult[1]), v, materialRGB); in blendHSV()
173 …materialHelper.hsvToRgb(rgbToHsv[0], rgbToHsv[1], (oneMinusFactor * rgbToHsv[2] + fac * colToHsv[2… in blendHSV()
185 materialRGB[0] = oneMinusFactor * materialRGB[0] + fac * rgbToHsv[0]; in blendHSV()
186 materialRGB[1] = oneMinusFactor * materialRGB[1] + fac * rgbToHsv[1]; in blendHSV()
187 materialRGB[2] = oneMinusFactor * materialRGB[2] + fac * rgbToHsv[2]; in blendHSV()
/external/oauth/core/src/main/java/net/oauth/signature/
DRSA_SHA1.java152 CertificateFactory fac = CertificateFactory.getInstance("X509"); in getPublicKeyFromPemCert() local
154 X509Certificate cert = (X509Certificate)fac.generateCertificate(in); in getPublicKeyFromPemCert()
160 CertificateFactory fac = CertificateFactory.getInstance("X509"); in getPublicKeyFromDerCert() local
162 X509Certificate cert = (X509Certificate)fac.generateCertificate(in); in getPublicKeyFromDerCert()
168 KeyFactory fac = KeyFactory.getInstance("RSA"); in getPublicKeyFromDer() local
170 return fac.generatePublic(pubKeySpec); in getPublicKeyFromDer()
180 KeyFactory fac = KeyFactory.getInstance("RSA"); in getPrivateKeyFromDer() local
182 return fac.generatePrivate(privKeySpec); in getPrivateKeyFromDer()
/external/v8/test/mjsunit/
Dleakcheck.js33 function fac(n) { function
34 if (n > 0) return fac(n - 1) * n;
39 if (fac(6) != 720) throw "Error";
/external/aac/libAACdec/src/
Dconceal.cpp855 FIXP_SGL fac; in CConcealment_ApplyNoise() local
868 fac = pConcealCommonData->fadeOutFactor[tFadeFrames]; in CConcealment_ApplyNoise()
892 pOut[i] = fMult(pCncl[i], fac); in CConcealment_ApplyNoise()
914 fac = pConcealCommonData->fadeOutFactor[tFadeFrames]; in CConcealment_ApplyNoise()
916 fac = (FIXP_SGL)0; in CConcealment_ApplyNoise()
975 FIXP_SGL fac = pConcealCommonData->fadeInFactor[pConcealmentInfo->cntFadeFrames]; in CConcealment_ApplyNoise() local
979 *pOut = fMult(*pOut, fac); in CConcealment_ApplyNoise()
1226 FIXP_SGL fac = pConcealCommonData->fadeOutFactor[pConcealmentInfo->cntFadeFrames]; in CConcealment_ApplyInter() local
1229 *pOut = fMult(*pOut, fac); in CConcealment_ApplyInter()
1244 FIXP_SGL fac = pConcealCommonData->fadeInFactor[pConcealmentInfo->cntFadeFrames]; in CConcealment_ApplyInter() local
[all …]
/external/libvorbis/vq/
Dlatticebuild.c135 int fac=1; in main() local
145 double test=fac*(quantlist[j]-min)/mindel; in main()
148 if(fac>100)break; in main()
149 if(j<quantvals)fac++; in main()
152 mindel/=fac; in main()
/external/toybox/toys/pending/
Dsyslogd.c104 char *fac = tk, *lvl; in resolve_config() local
109 tk = strchr(fac, '.'); in resolve_config()
115 char *nfac = strchr(fac, ','); in resolve_config()
118 if (*fac == '*') { in resolve_config()
120 if (fac[1]) return -1; in resolve_config()
122 if ((i = logger_lookup(0, fac)) == -1) return -1; in resolve_config()
125 if (nfac) fac = nfac + 1; in resolve_config()
324 int olen = len, fac, lvl; in logmsg() local
343 fac = LOG_FAC(pri); in logmsg()
362 if (!((tf->facility[lvl] & (1 << fac)) || (tf->level[fac] & (1<<lvl)))) { in logmsg()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/
Deval_param.pass.cpp25 double fac(double x) in fac() function
38 r += fac(a+b-1)/(fac(j) * fac(a + b - 1 - j)) * std::pow(x, j) * in I()
Deval.pass.cpp25 double fac(double x) in fac() function
38 r += fac(a+b-1)/(fac(j) * fac(a + b - 1 - j)) * std::pow(x, j) * in I()
/external/libvncserver/x11vnc/
D8to24.c274 static void pfb(int fac, char **fb, int *w, int *h) { in pfb() argument
279 *fb = (char *) calloc(fac * dpy_x * dpy_y, 1); in pfb()
854 int fac, n_off, w, xo, yo; in poll_line()
909 fac = 2; in poll_line()
911 fac = 1; in poll_line()
918 fac = 4; in poll_line()
954 dst = poll_fb + fac * n_off; in poll_line()
965 if (memcmp(dst, src, fac * w2)) { in poll_line()
988 dst += fac * stride; in poll_line()
989 src += fac * stride; in poll_line()
[all …]
Dscreen.h53 extern int scale_round(int len, double fac);
Dscan.c211 int f, fac = 1, n = dpy_y; in set_fs_factor() local
221 fac = fac * f; in set_fs_factor()
222 if ( (bpp/8) * dpy_x * (dpy_y/fac) <= max ) { in set_fs_factor()
223 fs_factor = fac; in set_fs_factor()
1302 int dst_bpl, Bpp = bpp/8, fac = 1; in scale_and_mark_rect() local
1330 fac = 4; in scale_and_mark_rect()
1332 fac = 2; in scale_and_mark_rect()
1339 scale_rect(scale_fac_x, scale_fac_y, scaling_blend, scaling_interpolate, fac * Bpp, in scale_and_mark_rect()
1340 src_fb, fac * main_bytes_per_line, dst_fb, dst_bpl, dpy_x, dpy_y, in scale_and_mark_rect()
Dscreen.c81 int scale_round(int len, double fac);
2952 int scale_round(int len, double fac) { in scale_round() argument
2955 len = (int) (len * fac + eps); in scale_round()
4166 double fac = 1.0; local
4298 fac = wait_ui * 1.5;
4300 fac = wait_ui;
4307 fac = wait_ui;
4310 if (fac == 1.0 && t2 < last_keyboard_time + cut3) {
4312 fac = wait_ui;
4314 if (fac != 1.0) {
[all …]
Dxevents.c697 int fac = 1; in process_watch() local
709 fac = 2; in process_watch()
712 fac *= npids; in process_watch()
715 if (now > watches[i].change + fac*too_long) { in process_watch()
Duserinput.c6602 double fac; in expire_rects2() local
6605 fac = 1.0 * (1.0 - amap/area) + map_factor * (amap/area); in expire_rects2()
6606 score *= fac; in expire_rects2()
8141 int dst_bpl, Bpp = bpp/8, fac = 1; in scale_mark_xrootpmap() local
8155 fac = 4; in scale_mark_xrootpmap()
8157 fac = 2; in scale_mark_xrootpmap()
8164 scale_rect(scale_fac_x, scale_fac_y, scaling_blend, scaling_interpolate, fac * Bpp, in scale_mark_xrootpmap()
8165 src_fb, fac * main_bytes_per_line, dst_fb, dst_bpl, dpy_x, yfac * dpy_y, in scale_mark_xrootpmap()
/external/v8/test/cctest/
Dtest-types.cc534 Factory* fac = isolate->factory(); in Constant() local
535 CHECK(T.Constant(fac->NewNumber(0))->Is(T.UnsignedSmall)); in Constant()
536 CHECK(T.Constant(fac->NewNumber(1))->Is(T.UnsignedSmall)); in Constant()
537 CHECK(T.Constant(fac->NewNumber(0x3fffffff))->Is(T.UnsignedSmall)); in Constant()
538 CHECK(T.Constant(fac->NewNumber(-1))->Is(T.OtherSignedSmall)); in Constant()
539 CHECK(T.Constant(fac->NewNumber(-0x3fffffff))->Is(T.OtherSignedSmall)); in Constant()
540 CHECK(T.Constant(fac->NewNumber(-0x40000000))->Is(T.OtherSignedSmall)); in Constant()
542 CHECK(T.Constant(fac->NewNumber(0x40000000))->Is(T.OtherUnsigned31)); in Constant()
543 CHECK(T.Constant(fac->NewNumber(0x7fffffff))->Is(T.OtherUnsigned31)); in Constant()
544 CHECK(T.Constant(fac->NewNumber(-0x40000001))->Is(T.OtherSigned32)); in Constant()
[all …]
/external/aac/libSBRenc/src/
Dton_corr.cpp147 FIXP_DBL alphar[2],alphai[2],fac; in FDKsbrEnc_CalculateTonalityQuotas() local
221 fac = fMultDiv2(ac->r00r, ac->r11r)>>1; in FDKsbrEnc_CalculateTonalityQuotas()
230 fac = fMultDiv2(ac->r00r, fMult(ac->det, ac->r11r))>>(ac->det_scale+1); in FDKsbrEnc_CalculateTonalityQuotas()
233 if(fac == FL2FXCONST_DBL(0.0f)){ in FDKsbrEnc_CalculateTonalityQuotas()
247 denom = (fac>>1) + (fMultDiv2(fac,RELAXATION_FRACT)>>RELAXATION_SHIFT) - num; in FDKsbrEnc_CalculateTonalityQuotas()
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
DGraggBulirschStoerIntegrator.java718 double fac = stepControl2 / FastMath.pow(error / stepControl1, exp); in integrate() local
720 fac = FastMath.max(pow / stepControl4, FastMath.min(1 / pow, fac)); in integrate()
721 optimalStep[k] = FastMath.abs(filterStep(stepSize * fac, forward, true)); in integrate()
/external/clang/test/SemaCXX/
Dcxx1y-deduced-return-type.cpp75 auto fac(int n) { in fac() function
78 return n * fac(n-1); // ok in fac()
/external/icu/icu4c/source/data/brkitr/
Dpt.txt150 "fac.",
/external/dnsmasq/src/
Doption.c1761 int fac = 1; in one_opt() local
1768 fac *= 24; in one_opt()
1772 fac *= 60; in one_opt()
1776 fac *= 60; in one_opt()
1783 new->lease_time = atoi(a[leasepos]) * fac; in one_opt()
1871 int fac = 1; in one_opt() local
1881 fac *= 24; in one_opt()
1885 fac *= 60; in one_opt()
1889 fac *= 60; in one_opt()
1924 new->lease_time = atoi(a[j]) * fac; in one_opt()
/external/libphonenumber/demo/war/WEB-INF/lib/
Dcommons-fileupload-1.2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/zlib/src/
Dmake_vms.com678 $ set message/fac/ident/sever/text
/external/tcpdump/tests/
Dgeonet_and_calm_fast.out110 0x00d0: 000f de8a 7f8f 4402 0fac 0006 0139 7040 ......D......9p@
/external/libxml2/
Dxmlschemas.c17168 #define FACET_RESTR_FIXED_ERR(fac) \ argument
17171 WXS_BASIC_CAST fac, fac->node, \
17822 xmlSchemaFacetPtr fac; in xmlSchemaTypeFixupOptimFacets() local
17824 for (fac = type->facets; fac != NULL; fac = fac->next) { in xmlSchemaTypeFixupOptimFacets()
17825 switch (fac->type) { in xmlSchemaTypeFixupOptimFacets()

12