HomeSort by relevance Sort by last modified time
    Searched refs:prec (Results 1 - 25 of 134) sorted by null

1 2 3 4 5 6

  /external/clang/lib/Basic/
OperatorPrecedence.cpp 18 prec::Level getBinOpPrecedence(tok::TokenKind Kind, bool GreaterThanIsOperator,
27 return prec::Relational;
28 return prec::Unknown;
38 return prec::Shift;
39 return prec::Unknown;
41 default: return prec::Unknown;
42 case tok::comma: return prec::Comma;
53 case tok::pipeequal: return prec::Assignment;
54 case tok::question: return prec::Conditional;
55 case tok::pipepipe: return prec::LogicalOr
    [all...]
  /external/clang/include/clang/Basic/
OperatorPrecedence.h 26 namespace prec { namespace in namespace:clang
47 prec::Level getBinOpPrecedence(tok::TokenKind Kind, bool GreaterThanIsOperator,
  /external/deqp/framework/common/
tcuTexLookupVerifier.hpp 101 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec);
102 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const float dvdy, const LodPrecision& prec);
103 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const float dudy, const float dvdy, const float dwdy, const LodPrecision& prec);
104 Vec2 computeCubeLodBoundsFromDerivates (const Vec3& coord, const Vec3& coordDx, const Vec3& coordDy, const int faceSize, const LodPrecision& prec);
106 Vec2 clampLodBounds (const Vec2& lodBounds, const Vec2& lodMinMax, const LodPrecision& prec);
108 bool isLookupResultValid (const Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& result);
109 bool isLookupResultValid (const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result);
110 bool isLookupResultValid (const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result);
111 bool isLookupResultValid (const Texture1DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result);
112 bool isLookupResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result)
    [all...]
tcuTexCompareVerifier.hpp 55 bool isTexCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const Vec2& lodBounds, const float cmpReference, const float result);
56 bool isTexCompareResultValid (const TextureCubeView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float result);
57 bool isTexCompareResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float result);
59 bool isGatherOffsetsCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result);
60 bool isGatherOffsetsCompareResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result);
62 bool isGatherCompareResultValid (const TextureCubeView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, float cmpReference, const Vec4& result);
tcuTexLookupVerifier.cpp 82 static inline bool isColorValid (const LookupPrecision& prec, const Vec4& ref, const Vec4& result)
85 return boolAll(logicalOr(lessThanEqual(diff, prec.colorThreshold), logicalNot(prec.colorMask)));
88 static inline bool isColorValid (const IntLookupPrecision& prec, const IVec4& ref, const IVec4& result)
90 return boolAll(logicalOr(lessThanEqual(absDiff(ref, result).asUint(), prec.colorThreshold), logicalNot(prec.colorMask)));
93 static inline bool isColorValid (const IntLookupPrecision& prec, const UVec4& ref, const UVec4& result)
95 return boolAll(logicalOr(lessThanEqual(absDiff(ref, result), prec.colorThreshold), logicalNot(prec.colorMask)));
144 static float computeBilinearSearchStepFromFloatLine (const LookupPrecision& prec,
1391 const LookupPrecision& prec, member in namespace:tcu
1451 const LookupPrecision& prec, member in namespace:tcu
1562 const LookupPrecision& prec, member in namespace:tcu
1581 const LookupPrecision& prec, member in namespace:tcu
    [all...]
tcuTexCompareVerifier.cpp 170 const TexComparePrecision& prec,
182 const CmpResultSet cmp0 = execCompare(compareMode, d0, cmpReference, prec.referenceBits, isFixedPointDepth);
183 const CmpResultSet cmp1 = execCompare(compareMode, d1, cmpReference, prec.referenceBits, isFixedPointDepth);
195 const float pcfErr = computeFixedPointError(prec.pcfBits);
196 const float resErr = computeFixedPointError(prec.resultBits);
235 const TexComparePrecision& prec,
241 DE_ASSERT(prec.pcfBits == 0);
248 const CmpResultSet cmp0 = execCompare(compareMode, d0, cmpReference, prec.referenceBits, isFixedPointDepth);
249 const CmpResultSet cmp1 = execCompare(compareMode, d1, cmpReference, prec.referenceBits, isFixedPointDepth);
250 const CmpResultSet cmp2 = execCompare(compareMode, d2, cmpReference, prec.referenceBits, isFixedPointDepth)
    [all...]
  /external/eigen/Eigen/src/Core/
Fuzzy.h 22 static bool run(const Derived& x, const OtherDerived& y, const typename Derived::RealScalar& prec)
27 return (nested - otherNested).cwiseAbs2().sum() <= prec * prec * (min)(nested.cwiseAbs2().sum(), otherNested.cwiseAbs2().sum());
43 static bool run(const Derived& x, const OtherDerived& y, const typename Derived::RealScalar& prec)
45 return x.cwiseAbs2().sum() <= numext::abs2(prec) * y.cwiseAbs2().sum();
61 static bool run(const Derived& x, const typename Derived::RealScalar& y, const typename Derived::RealScalar& prec)
63 return x.cwiseAbs2().sum() <= numext::abs2(prec * y);
80 * determined by \a prec.
100 const RealScalar& prec
103 return internal::isApprox_selector<Derived, OtherDerived>::run(derived(), other.derived(), prec);
    [all...]
Dot.h 220 * within the precision given by \a prec.
228 (const MatrixBase<OtherDerived>& other, const RealScalar& prec) const
232 return numext::abs2(nested.dot(otherNested)) <= prec * prec * nested.squaredNorm() * otherNested.squaredNorm();
236 * within the precision given by \a prec. In the case where the \a Scalar
247 bool MatrixBase<Derived>::isUnitary(const RealScalar& prec) const
252 if(!internal::isApprox(nested.col(i).squaredNorm(), static_cast<RealScalar>(1), prec))
255 if(!internal::isMuchSmallerThan(nested.col(i).dot(nested.col(j)), static_cast<Scalar>(1), prec))
MathFunctions.h 653 static inline bool isMuchSmallerThan(const Scalar& x, const OtherScalar& y, const RealScalar& prec)
656 return abs(x) <= abs(y) * prec;
658 static inline bool isApprox(const Scalar& x, const Scalar& y, const RealScalar& prec)
662 return abs(x - y) <= (min)(abs(x), abs(y)) * prec;
664 static inline bool isApproxOrLessThan(const Scalar& x, const Scalar& y, const RealScalar& prec)
666 return x <= y || isApprox(x, y, prec);
694 static inline bool isMuchSmallerThan(const Scalar& x, const OtherScalar& y, const RealScalar& prec)
696 return numext::abs2(x) <= numext::abs2(y) * prec * prec;
698 static inline bool isApprox(const Scalar& x, const Scalar& y, const RealScalar& prec)
    [all...]
  /external/chromium_org/third_party/re2/re2/
tostring.cc 62 int prec = parent_arg; local
84 if (prec < PrecConcat)
90 if (prec < PrecAlternate)
109 if (prec < PrecUnary)
141 int prec = parent_arg; local
152 if (prec < PrecEmpty)
163 if (prec < PrecConcat)
168 if (prec < PrecConcat)
179 if (prec < PrecAlternate)
187 if (prec < PrecUnary
    [all...]
  /external/libpcap/missing/
snprintf.c 135 int width, int prec, int flags, int minusp)
141 if(prec != -1)
144 prec = 1;
146 if(prec == 0 && num == 0)
154 prec -= len;
155 /* pad with prec zeros */
156 while(prec-- > 0){
225 int prec,
228 if(prec != -1)
229 width -= prec;
297 int prec = -1; local
    [all...]
  /bionic/libc/upstream-openbsd/lib/libc/stdio/
vfprintf.c 150 * string representation. If not -1, prec specifies the maximum number of
155 __wcsconv(wchar_t *wcsarg, int prec)
164 if (prec < 0) {
178 if (prec < 128)
179 nbytes = prec;
187 nbytes + clen > (size_t)prec)
283 int prec; /* precision from format; <0 for N/A */ local
320 int dprec; /* a copy of prec if %[diouxX], 0 otherwise */
510 prec = -1;
554 prec = n < 0 ? -1 : n
    [all...]
vfwprintf.c 158 * string representation. ``prec'' specifies the maximum number of bytes
159 * to output. If ``prec'' is greater than or equal to zero, we can't assume
166 __mbsconv(char *mbsarg, int prec)
180 if (prec >= 0) {
188 while (nchars != (size_t)prec) {
288 int prec; /* precision from format; <0 for N/A */ local
323 int dprec; /* a copy of prec if %[diouxX], 0 otherwise */
486 prec = -1;
530 prec = n < 0 ? -1 : n;
547 prec = n
    [all...]
  /external/bison/src/
conflicts.c 108 r->prec->tag,
116 r->prec->tag);
180 xml_escape_n (0, r->prec->tag),
188 xml_escape_n (1, r->prec->tag));
267 int redprec = redrule->prec->prec;
273 && symbols[i]->prec)
278 if (symbols[i]->prec < redprec)
283 else if (symbols[i]->prec > redprec)
348 if (reds->rules[i]->prec && reds->rules[i]->prec->pre
    [all...]
symtab.h 91 int prec; member in struct:symbol
161 void symbol_precedence_set (symbol *sym, int prec, assoc a, location loc);
gram.c 258 symbols[i]->prec, symbols[i]->assoc,
266 fprintf (out, "Num (Prec, Assoc, Useful, Ritem Range) Lhs -> Rhs (Ritem range) [Num]\n");
278 rule_i->prec ? rule_i->prec->prec : 0,
279 rule_i->prec ? rule_i->prec->assoc : 0,
parse-gram.y 143 %token PERCENT_PREC "%prec"
155 PERCENT_DEFAULT_PREC "%default-prec"
168 PERCENT_NO_DEFAULT_PREC "%no-default-prec"
219 %type <symbol> id id_colon string_as_id symbol symbol.prec
224 %type <list> symbols.1 symbols.prec generic_symlist generic_symlist_item
373 | "%default-prec"
377 | "%no-default-prec"
441 precedence_declarator type.opt symbols.prec
467 symbols.prec:
468 symbol.prec
    [all...]
  /external/deqp/modules/gles3/functional/
es3fFragmentOutputTests.cpp     [all...]
  /external/eigen/Eigen/src/Eigen2Support/Geometry/
ParametrizedLine.h 109 * determined by \a prec.
112 bool isApprox(const ParametrizedLine& other, typename NumTraits<Scalar>::Real prec = precision<Scalar>()) const
113 { return m_origin.isApprox(other.m_origin, prec) && m_direction.isApprox(other.m_direction, prec); }
AlignedBox.h 133 * determined by \a prec.
136 bool isApprox(const AlignedBox& other, typename NumTraits<Scalar>::Real prec = precision<Scalar>()) const
137 { return m_min.isApprox(other.m_min, prec) && m_max.isApprox(other.m_max, prec); }
AngleAxis.h 140 * determined by \a prec.
143 bool isApprox(const AngleAxis& other, typename NumTraits<Scalar>::Real prec = precision<Scalar>()) const
144 { return m_axis.isApprox(other.m_axis, prec) && ei_isApprox(m_angle,other.m_angle, prec); }
  /cts/tests/tests/content/src/android/content/res/cts/
FractionTest.java 81 float prec = expected * 1e-4f; local
82 if (prec < 1e-5f) {
83 prec = 1e-5f;
87 + Integer.toHexString(resid) + " " + mValue, diff > prec);
  /external/chromium_org/third_party/libjpeg_turbo/
jcmarker.c 153 int prec; local
159 prec = 0;
162 prec = 1;
168 emit_2bytes(cinfo, prec ? DCTSIZE2*2 + 1 + 2 : DCTSIZE2 + 1 + 2);
170 emit_byte(cinfo, index + (prec<<4));
175 if (prec)
183 return prec;
500 int ci, prec; local
507 prec = 0;
510 prec += emit_dqt(cinfo, compptr->quant_tbl_no)
    [all...]
  /external/jpeg/
jcmarker.c 149 int prec; local
155 prec = 0;
158 prec = 1;
164 emit_2bytes(cinfo, prec ? DCTSIZE2*2 + 1 + 2 : DCTSIZE2 + 1 + 2);
166 emit_byte(cinfo, index + (prec<<4));
171 if (prec)
179 return prec;
496 int ci, prec; local
503 prec = 0;
506 prec += emit_dqt(cinfo, compptr->quant_tbl_no)
    [all...]
  /external/fdlibm/
k_rem_pio2.c 15 * __kernel_rem_pio2(x,y,e0,nx,prec,ipio2)
16 * double x[],y[]; int e0,nx,prec; int ipio2[];
64 * prec an integer indicating the precision:
164 int __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec, const int *ipio2)
166 int __kernel_rem_pio2(x,y,e0,nx,prec,ipio2)
167 double x[], y[]; int e0,nx,prec; int ipio2[];
174 jk = init_jk[prec];
282 switch(prec) {

Completed in 271 milliseconds

1 2 3 4 5 6