Searched defs:trunc (Results 1 - 25 of 27) sorted by relevance

12

/external/skia/src/opts/
H A DSkPMFloat_none.h16 inline SkPMColor SkPMFloat::trunc() const { function in class:SkPMFloat
H A DSkPMFloat_neon.h24 inline SkPMColor SkPMFloat::trunc() const { function in class:SkPMFloat
34 return SkPMFloat(Sk4f(0.5f) + *this).trunc();
H A DSkPMFloat_SSE2.h38 inline SkPMColor SkPMFloat::trunc() const { function in class:SkPMFloat
H A DSkPMFloat_SSSE3.h25 inline SkPMColor SkPMFloat::trunc() const { function in class:SkPMFloat
35 return SkPMFloat(Sk4f(0.5f) + *this).trunc();
/external/tcpdump/
H A Dprint-ripng.c69 int trunc; local
93 trunc = ((i / sizeof(*ni)) * sizeof(*ni) != i);
109 trunc = ((i / sizeof(*ni)) * sizeof(*ni) != i);
118 if (trunc)
H A Dprint-aodv.c150 int n, trunc; local
167 trunc = n - (i/sizeof(ap->rerr.r.dest[0]));
173 if (trunc)
263 int i, j, n, trunc; local
272 trunc = n - (i/j);
277 if (trunc)
372 int i, j, n, trunc; local
381 trunc = n - (i/j);
386 if (trunc)
/external/fsck_msdos/
H A Dfat.c434 tryclear(struct bootblock *boot, struct fatEntry *fat, cl_t head, cl_t *trunc) argument
440 *trunc = CLUST_EOF;
/external/icu/icu4c/source/samples/uresb/
H A Duresb.c52 static UBool trunc = FALSE; variable
131 trunc = TRUE;
138 trunc = FALSE;
234 if(trunc && len > truncsize) {
269 if(trunc && len > truncsize) {
/external/skia/samplecode/
H A DSampleColorFilter.cpp31 int trunc = x >> 3; local
41 return trunc + bias;
74 SkDebugf("--- %3d : trunc=%3d (%2d) round:%3d (%2d) \n"/*new:%d (%2d)\n"*/, i,
85 SkDebugf("--- trunc: %d %d round: %d %d new: %d %d\n", e0, ae0, e1, ae1, e2, ae2);
/external/deqp/framework/common/
H A DtcuVectorUtil.hpp117 inline float trunc (float a) { return (float)chopToInt(a); } function in namespace:tcu
453 TCU_DECLARE_VECTOR_UNARY_FUNC(trunc, trunc)
/external/libcxx/src/
H A Dios.cpp122 const ios_base::openmode ios_base::trunc; member in class:ios_base
/external/llvm/include/llvm/ADT/
H A DAPSInt.h71 APSInt LLVM_ATTRIBUTE_UNUSED_RESULT trunc(uint32_t width) const { function in class:llvm::APSInt
72 return APSInt(APInt::trunc(width), IsUnsigned);
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
H A DDfp.java149 private static final String TRUNC_TRAP = "trunc";
917 return trunc(DfpField.RoundingMode.ROUND_HALF_EVEN);
925 return trunc(DfpField.RoundingMode.ROUND_FLOOR);
933 return trunc(DfpField.RoundingMode.ROUND_CEIL);
957 protected Dfp trunc(final DfpField.RoundingMode rmode) { method in class:Dfp
/external/bison/darwin-lib/
H A Dmath.h2292 # define trunc rpl_trunc
2294 _GL_FUNCDECL_RPL (trunc, double, (double x));
2295 _GL_CXXALIAS_RPL (trunc, double, (double x));
2298 _GL_FUNCDECL_SYS (trunc, double, (double x));
2300 _GL_CXXALIAS_SYS (trunc, double, (double x));
2302 _GL_CXXALIASWARN (trunc);
2304 # undef trunc macro
2306 _GL_WARN_ON_USE (trunc, "trunc is unportable - "
2307 "use gnulib module trunc fo
[all...]
/external/bison/lib/
H A Dmath.in.h1980 # define trunc rpl_trunc macro
1982 _GL_FUNCDECL_RPL (trunc, double, (double x));
1983 _GL_CXXALIAS_RPL (trunc, double, (double x));
1986 _GL_FUNCDECL_SYS (trunc, double, (double x));
1988 _GL_CXXALIAS_SYS (trunc, double, (double x));
1990 _GL_CXXALIASWARN (trunc); variable
1992 # undef trunc macro
1994 _GL_WARN_ON_USE (trunc, "trunc is unportable - "
1995 "use gnulib module trunc fo
[all...]
/external/bison/linux-lib/
H A Dmath.h2292 # define trunc rpl_trunc
2294 _GL_FUNCDECL_RPL (trunc, double, (double x));
2295 _GL_CXXALIAS_RPL (trunc, double, (double x));
2298 _GL_FUNCDECL_SYS (trunc, double, (double x));
2300 _GL_CXXALIAS_SYS (trunc, double, (double x));
2302 _GL_CXXALIASWARN (trunc);
2304 # undef trunc macro
2306 _GL_WARN_ON_USE (trunc, "trunc is unportable - "
2307 "use gnulib module trunc fo
[all...]
/external/clang/lib/Headers/
H A Dtgmath.h1208 // trunc
1216 __tg_trunc(double __x) {return trunc(__x);}
1222 #undef trunc macro
1223 #define trunc(__x) __tg_trunc(__tg_promote1((__x))(__x)) macro
/external/dnsmasq/src/
H A Drfc1035.c1141 int nxdomain = 0, auth = 1, trunc = 0; local
1210 if (add_resource_record(header, limit, &trunc, nameoffset, &ansp,
1249 if (add_resource_record(header, limit, &trunc, nameoffset, &ansp,
1263 add_resource_record(header, limit, &trunc, nameoffset, &ansp,
1296 if (add_resource_record(header, limit, &trunc, nameoffset, &ansp,
1337 if (add_resource_record(header, limit, &trunc, nameoffset, &ansp,
1363 if (add_resource_record(header, limit, &trunc, nameoffset, &ansp,
1405 if (add_resource_record(header, limit, &trunc, nameoffset, &ansp,
1442 if (add_resource_record(header, limit, &trunc, nameoffset, &ansp,
1463 if (add_resource_record(header, limit, &trunc, nameoffse
[all...]
H A Drfc2131.c1422 unsigned char trunc = option_len(start); local
1425 for (daemon->namebuff[0]= 0, i = 0; i <= trunc - INADDRSZ; i += INADDRSZ)
1433 if (trunc > 13)
1434 trunc = 13;
1435 print_mac(daemon->namebuff, option_ptr(start, 0), trunc);
1441 trunc == 0 ? "" : " ",
1442 trunc == 0 ? "" : daemon->namebuff,
1443 trunc == option_len(start) ? "" : "...");
/external/libcxx/test/std/numerics/c.math/
H A Dcmath.pass.cpp101 Ambiguous trunc(Ambiguous){ return Ambiguous(); } function
1398 static_assert((std::is_same<decltype(std::trunc((float)0)), float>::value), "");
1399 static_assert((std::is_same<decltype(std::trunc((bool)0)), double>::value), "");
1400 static_assert((std::is_same<decltype(std::trunc((unsigned short)0)), double>::value), "");
1401 static_assert((std::is_same<decltype(std::trunc((int)0)), double>::value), "");
1402 static_assert((std::is_same<decltype(std::trunc((unsigned int)0)), double>::value), "");
1403 static_assert((std::is_same<decltype(std::trunc((long)0)), double>::value), "");
1404 static_assert((std::is_same<decltype(std::trunc((unsigned long)0)), double>::value), "");
1405 static_assert((std::is_same<decltype(std::trunc((long long)0)), double>::value), "");
1406 static_assert((std::is_same<decltype(std::trunc((unsigne
[all...]
/external/regex-re2/re2/
H A Dre2.cc108 static string trunc(const StringPiece& pattern) { function in namespace:re2
196 LOG(ERROR) << "Error parsing '" << trunc(pattern_) << "': "
218 LOG(ERROR) << "Error compiling '" << trunc(pattern_) << "'";
239 LOG(ERROR) << "Error reverse compiling '" << trunc(pattern_) << "'";
620 LOG(INFO) << "Match " << trunc(pattern_)
626 LOG(INFO) << "Match " << trunc(pattern_)
632 LOG(INFO) << "Match " << trunc(pattern_)
649 LOG(INFO) << "Match " << trunc(pattern_)
655 LOG(INFO) << "Match " << trunc(pattern_)
663 LOG(INFO) << "Match " << trunc(pattern
[all...]
/external/skia/tests/
H A DMathTest.cpp391 int trunc = (int)floorf(s); local
397 REPORTER_ASSERT(reporter, itrunc == trunc);
/external/v8/test/cctest/compiler/
H A Dtest-simplified-lowering.cc675 const Operator* trunc) {
677 Return(graph()->NewNode(trunc, node));
976 Node* trunc = t.graph()->NewNode(t.simplified()->NumberToInt32(), t.p0); local
977 Node* use = t.Use(trunc, kRepTagged);
987 Node* trunc = t.graph()->NewNode(t.simplified()->NumberToInt32(), t.p0); local
988 Node* use = t.Use(trunc, kRepFloat64);
998 Node* trunc = t.graph()->NewNode(t.simplified()->NumberToInt32(), t.p0); local
999 Node* use = t.Use(trunc, kTypeInt32);
1010 Node* trunc = t.graph()->NewNode(t.simplified()->NumberToInt32(), p0); local
1011 Node* use = t.Use(trunc, kMachInt3
674 CheckLoweringTruncatedBinop(IrOpcode::Value expected, const Operator* op, const Operator* trunc) argument
1021 Node* trunc = t.graph()->NewNode(t.simplified()->NumberToInt32(), t.p0); local
1047 Node* trunc = t.graph()->NewNode(t.simplified()->NumberToUint32(), t.p0); local
1058 Node* trunc = t.graph()->NewNode(t.simplified()->NumberToUint32(), t.p0); local
1069 Node* trunc = t.graph()->NewNode(t.simplified()->NumberToUint32(), t.p0); local
1081 Node* trunc = t.graph()->NewNode(t.simplified()->NumberToUint32(), p0); local
1092 Node* trunc = t.graph()->NewNode(t.simplified()->NumberToUint32(), t.p0); local
[all...]
/external/eigen/unsupported/test/mpreal/
H A Dmpreal.h509 friend const mpreal trunc(const mpreal& v);
2378 /* R = rem(X,Y) if Y != 0, returns X - n * Y where n = trunc(X/Y). */
2497 inline const mpreal trunc(const mpreal& v) function in namespace:mpfr
/external/mdnsresponder/mDNSShared/
H A Ddnsextd.c693 UDPServerTransaction(const DaemonInfo *d, const PktMsg *request, PktMsg *reply, mDNSBool *trunc) argument
703 *trunc = mDNSfalse;
738 *trunc = mDNStrue;
1550 mDNSBool trunc; local
1552 if ( UDPServerTransaction( self, request, &buf, &trunc) < 0 )
1556 else if ( trunc )
1762 mDNSBool trunc; local
1764 if (UDPServerTransaction(d, &q, &buf, &trunc) < 0)
1766 else if (trunc)

Completed in 627 milliseconds

12