Home
last modified time | relevance | path

Searched refs:prec (Results 1 – 25 of 197) sorted by relevance

12345678

/external/clang/lib/Basic/
DOperatorPrecedence.cpp18 prec::Level getBinOpPrecedence(tok::TokenKind Kind, bool GreaterThanIsOperator, in getBinOpPrecedence()
27 return prec::Relational; in getBinOpPrecedence()
28 return prec::Unknown; in getBinOpPrecedence()
38 return prec::Shift; in getBinOpPrecedence()
39 return prec::Unknown; in getBinOpPrecedence()
41 default: return prec::Unknown; in getBinOpPrecedence()
42 case tok::comma: return prec::Comma; in getBinOpPrecedence()
53 case tok::pipeequal: return prec::Assignment; in getBinOpPrecedence()
54 case tok::question: return prec::Conditional; in getBinOpPrecedence()
55 case tok::pipepipe: return prec::LogicalOr; in getBinOpPrecedence()
[all …]
/external/deqp/framework/common/
DtcuTexLookupVerifier.hpp101 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec);
102 …(const float dudx, const float dvdx, const float dudy, const float dvdy, const LodPrecision& prec);
103 … const float dwdx, const float dudy, const float dvdy, const float dwdy, const LodPrecision& prec);
104 …c3& 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 … Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord,…
109 … Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord,…
110 …extureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord,…
111 …ture1DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord,…
112 …ture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord,…
[all …]
DtcuTexLookupVerifier.cpp82 static inline bool isColorValid (const LookupPrecision& prec, const Vec4& ref, const Vec4& result) in isColorValid() argument
85 return boolAll(logicalOr(lessThanEqual(diff, prec.colorThreshold), logicalNot(prec.colorMask))); in isColorValid()
88 static inline bool isColorValid (const IntLookupPrecision& prec, const IVec4& ref, const IVec4& res… in isColorValid() argument
90 …ll(logicalOr(lessThanEqual(absDiff(ref, result).asUint(), prec.colorThreshold), logicalNot(prec.co… in isColorValid()
93 static inline bool isColorValid (const IntLookupPrecision& prec, const UVec4& ref, const UVec4& res… in isColorValid() argument
95 …return boolAll(logicalOr(lessThanEqual(absDiff(ref, result), prec.colorThreshold), logicalNot(prec in isColorValid()
144 static float computeBilinearSearchStepFromFloatLine (const LookupPrecision& prec, in computeBilinearSearchStepFromFloatLine() argument
147 DE_ASSERT(boolAll(greaterThan(prec.colorThreshold, Vec4(0.0f)))); in computeBilinearSearchStepFromFloatLine()
151 const Vec4 stepCount = d / prec.colorThreshold; in computeBilinearSearchStepFromFloatLine()
158 static float computeBilinearSearchStepFromFloatQuad (const LookupPrecision& prec, in computeBilinearSearchStepFromFloatQuad() argument
[all …]
DtcuTexCompareVerifier.cpp170 const TexComparePrecision& prec, in isLinearCompareValid() argument
182 …const CmpResultSet cmp0 = execCompare(compareMode, d0, cmpReference, prec.referenceBits, isFixedP… in isLinearCompareValid()
183 …const CmpResultSet cmp1 = execCompare(compareMode, d1, cmpReference, prec.referenceBits, isFixedP… in isLinearCompareValid()
195 const float pcfErr = computeFixedPointError(prec.pcfBits); in isLinearCompareValid()
196 const float resErr = computeFixedPointError(prec.resultBits); in isLinearCompareValid()
235 const TexComparePrecision& prec, in isBilinearAnyCompareValid() argument
241 DE_ASSERT(prec.pcfBits == 0); in isBilinearAnyCompareValid()
248 …const CmpResultSet cmp0 = execCompare(compareMode, d0, cmpReference, prec.referenceBits, isFixedP… in isBilinearAnyCompareValid()
249 …const CmpResultSet cmp1 = execCompare(compareMode, d1, cmpReference, prec.referenceBits, isFixedP… in isBilinearAnyCompareValid()
250 …const CmpResultSet cmp2 = execCompare(compareMode, d2, cmpReference, prec.referenceBits, isFixedP… in isBilinearAnyCompareValid()
[all …]
DtcuTexCompareVerifier.hpp55 …xture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord,…
56 …ureCubeView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord,…
57 …e2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord,…
59 …xture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord,…
60 …e2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord,…
62 …ureCubeView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord,…
/external/eigen/Eigen/src/Core/
DFuzzy.h22 static bool run(const Derived& x, const OtherDerived& y, const typename Derived::RealScalar& prec) in run()
27 …return (nested - otherNested).cwiseAbs2().sum() <= prec * prec * (min)(nested.cwiseAbs2().sum(), o… in run()
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 …(const Derived& x, const typename Derived::RealScalar& y, const typename Derived::RealScalar& prec)
63 return x.cwiseAbs2().sum() <= numext::abs2(prec * y);
100 const RealScalar& prec
103 return internal::isApprox_selector<Derived, OtherDerived>::run(derived(), other.derived(), prec);
122 const RealScalar& prec
125 return internal::isMuchSmallerThan_scalar_selector<Derived>::run(derived(), other, prec);
[all …]
DDot.h228 (const MatrixBase<OtherDerived>& other, const RealScalar& prec) const
232 …return numext::abs2(nested.dot(otherNested)) <= prec * prec * nested.squaredNorm() * otherNested.s…
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))
DCwiseNullaryOp.h298 (const Scalar& val, const RealScalar& prec) const
302 if(!internal::isApprox(this->coeff(i, j), val, prec))
312 (const Scalar& val, const RealScalar& prec) const
314 return isApproxToConstant(val, prec);
482 bool DenseBase<Derived>::isZero(const RealScalar& prec) const
486 if(!internal::isMuchSmallerThan(this->coeff(i, j), static_cast<Scalar>(1), prec))
612 (const RealScalar& prec) const
614 return isApproxToConstant(Scalar(1), prec);
717 (const RealScalar& prec) const
725 if(!internal::isApprox(this->coeff(i, j), static_cast<Scalar>(1), prec))
[all …]
/external/libpcap/missing/
Dsnprintf.c135 int width, int prec, int flags, int minusp) in append_number() argument
141 if(prec != -1) in append_number()
144 prec = 1; in append_number()
146 if(prec == 0 && num == 0) in append_number()
154 prec -= len; in append_number()
156 while(prec-- > 0){ in append_number()
225 int prec, in append_string() argument
228 if(prec != -1) in append_string()
229 width -= prec; in append_string()
236 if (prec != -1) { in append_string()
[all …]
/external/tcpdump/missing/
Dsnprintf.c135 int width, int prec, int flags, int minusp) in append_number() argument
141 if(prec != -1) in append_number()
144 prec = 1; in append_number()
146 if(prec == 0 && num == 0) in append_number()
154 prec -= len; in append_number()
156 while(prec-- > 0){ in append_number()
225 int prec, in append_string() argument
228 if(prec != -1) in append_string()
229 width -= prec; in append_string()
236 if (prec != -1) { in append_string()
[all …]
/external/regex-re2/re2/
Dtostring.cc62 int prec = parent_arg; in PreVisit() local
84 if (prec < PrecConcat) in PreVisit()
90 if (prec < PrecAlternate) in PreVisit()
109 if (prec < PrecUnary) in PreVisit()
141 int prec = parent_arg; in PostVisit() local
152 if (prec < PrecEmpty) in PostVisit()
163 if (prec < PrecConcat) in PostVisit()
168 if (prec < PrecConcat) in PostVisit()
179 if (prec < PrecAlternate) in PostVisit()
187 if (prec < PrecUnary) in PostVisit()
[all …]
/external/chromium_org/third_party/re2/re2/
Dtostring.cc62 int prec = parent_arg; in PreVisit() local
84 if (prec < PrecConcat) in PreVisit()
90 if (prec < PrecAlternate) in PreVisit()
109 if (prec < PrecUnary) in PreVisit()
141 int prec = parent_arg; in PostVisit() local
152 if (prec < PrecEmpty) in PostVisit()
163 if (prec < PrecConcat) in PostVisit()
168 if (prec < PrecConcat) in PostVisit()
179 if (prec < PrecAlternate) in PostVisit()
187 if (prec < PrecUnary) in PostVisit()
[all …]
/external/deqp/modules/gles3/functional/
Des3fFragmentOutputTests.cpp1098 glu::Precision prec = precisions[precNdx]; in init() local
1099 string precName = glu::getPrecisionName(prec); in init()
1101 …float").c_str(), "", fboSpec, (OutputVec() << FragmentOutput(glu::TYPE_FLOAT, prec, 0)).toVec())); in init()
1102 …2").c_str(), "", fboSpec, (OutputVec() << FragmentOutput(glu::TYPE_FLOAT_VEC2, prec, 0)).toVec())); in init()
1103 …3").c_str(), "", fboSpec, (OutputVec() << FragmentOutput(glu::TYPE_FLOAT_VEC3, prec, 0)).toVec())); in init()
1104 …4").c_str(), "", fboSpec, (OutputVec() << FragmentOutput(glu::TYPE_FLOAT_VEC4, prec, 0)).toVec())); in init()
1121 glu::Precision prec = precisions[precNdx]; in init() local
1122 string precName = glu::getPrecisionName(prec); in init()
1124 …float").c_str(), "", fboSpec, (OutputVec() << FragmentOutput(glu::TYPE_FLOAT, prec, 0)).toVec())); in init()
1125 …2").c_str(), "", fboSpec, (OutputVec() << FragmentOutput(glu::TYPE_FLOAT_VEC2, prec, 0)).toVec())); in init()
[all …]
/external/bison/src/
Dconflicts.c107 r->prec->tag, in log_resolution()
115 r->prec->tag); in log_resolution()
179 xml_escape_n (0, r->prec->tag), in log_resolution()
187 xml_escape_n (1, r->prec->tag)); in log_resolution()
266 int redprec = redrule->prec->prec; in resolve_sr_conflict()
272 && symbols[i]->prec) in resolve_sr_conflict()
277 if (symbols[i]->prec < redprec) in resolve_sr_conflict()
282 else if (symbols[i]->prec > redprec) in resolve_sr_conflict()
347 if (reds->rules[i]->prec && reds->rules[i]->prec->prec in set_conflicts()
Dgram.c258 symbols[i]->prec, symbols[i]->assoc, in grammar_dump()
278 rule_i->prec ? rule_i->prec->prec : 0, in grammar_dump()
279 rule_i->prec ? rule_i->prec->assoc : 0, in grammar_dump()
/external/ppp/pppd/
Dutils.c169 int width, prec, fillch; local
198 prec = -1;
216 prec = va_arg(args, int);
219 prec = 0;
221 prec = prec * 10 + c - '0';
321 if (fillch == '0' && prec >= 0) {
322 n = prec;
325 if (prec >= 0 && n > prec)
326 n = prec;
374 for (n = prec; n > 0; --n) {
[all …]
/external/jpeg/
Djcmarker.c149 int prec; in emit_dqt() local
155 prec = 0; in emit_dqt()
158 prec = 1; in emit_dqt()
164 emit_2bytes(cinfo, prec ? DCTSIZE2*2 + 1 + 2 : DCTSIZE2 + 1 + 2); in emit_dqt()
166 emit_byte(cinfo, index + (prec<<4)); in emit_dqt()
171 if (prec) in emit_dqt()
179 return prec; in emit_dqt()
496 int ci, prec; in write_frame_header() local
503 prec = 0; in write_frame_header()
506 prec += emit_dqt(cinfo, compptr->quant_tbl_no); in write_frame_header()
[all …]
/external/qemu/distrib/jpeg-6b/
Djcmarker.c149 int prec; in emit_dqt() local
155 prec = 0; in emit_dqt()
158 prec = 1; in emit_dqt()
164 emit_2bytes(cinfo, prec ? DCTSIZE2*2 + 1 + 2 : DCTSIZE2 + 1 + 2); in emit_dqt()
166 emit_byte(cinfo, index + (prec<<4)); in emit_dqt()
171 if (prec) in emit_dqt()
179 return prec; in emit_dqt()
496 int ci, prec; in write_frame_header() local
503 prec = 0; in write_frame_header()
506 prec += emit_dqt(cinfo, compptr->quant_tbl_no); in write_frame_header()
[all …]
/external/chromium_org/third_party/libjpeg_turbo/
Djcmarker.c153 int prec; in emit_dqt() local
159 prec = 0; in emit_dqt()
162 prec = 1; in emit_dqt()
168 emit_2bytes(cinfo, prec ? DCTSIZE2*2 + 1 + 2 : DCTSIZE2 + 1 + 2); in emit_dqt()
170 emit_byte(cinfo, index + (prec<<4)); in emit_dqt()
175 if (prec) in emit_dqt()
183 return prec; in emit_dqt()
500 int ci, prec; in write_frame_header() local
507 prec = 0; in write_frame_header()
510 prec += emit_dqt(cinfo, compptr->quant_tbl_no); in write_frame_header()
[all …]
/external/pdfium/core/src/fxcodec/libjpeg/
Dfpdfapi_jcmarker.c150 int prec; in emit_dqt() local
156 prec = 0; in emit_dqt()
159 prec = 1; in emit_dqt()
165 emit_2bytes(cinfo, prec ? DCTSIZE2*2 + 1 + 2 : DCTSIZE2 + 1 + 2); in emit_dqt()
167 emit_byte(cinfo, index + (prec<<4)); in emit_dqt()
172 if (prec) in emit_dqt()
180 return prec; in emit_dqt()
497 int ci, prec; in write_frame_header() local
504 prec = 0; in write_frame_header()
507 prec += emit_dqt(cinfo, compptr->quant_tbl_no); in write_frame_header()
[all …]
/external/chromium_org/third_party/sqlite/src/test/
Dfts3expr2.test101 set prec(NOT) 2
102 set prec(AND) 3
103 set prec() 3
104 set prec(OR) 4
133 catch {set iPrec $prec($op)}
134 catch {set iLeftPrec $prec([lindex $lhs 0])}
135 catch {set iRightPrec $prec([lindex $rhs 0])}
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpx_opj.cpp133 i = (int)img->comps[0].prec; in sycc444_to_rgb()
167 i = (int)img->comps[0].prec; in sycc422_to_rgb()
220 i = (int)img->comps[0].prec; in sycc420_to_rgb()
324 int prec, i, max, max_w, max_h; in color_apply_icc_profile() local
336 prec = (int)image->comps[0].prec; in color_apply_icc_profile()
339 if( prec <= 8 ) { in color_apply_icc_profile()
349 if( prec <= 8 ) { in color_apply_icc_profile()
375 if( prec <= 8 ) { in color_apply_icc_profile()
494 prec0 = (double)image->comps[0].prec; in color_apply_conversion()
495 prec1 = (double)image->comps[1].prec; in color_apply_conversion()
[all …]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/speech_rules/
Dbase_rule_store.js89 name, dynamic, action, prec, cstr) { argument
93 var fullPrec = new cvox.SpeechRule.Precondition(prec, cstrList);
99 console.log('Rule Error ', prec, '(' + dynamic + '):', err.message);
357 var prec = rule.precondition;
358 return this.applyQuery(node, prec.query) === node &&
359 prec.constraints.every(
/external/eigen/unsupported/test/mpreal/
Dmpreal.h154 …mpreal(const mpz_t u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode = mpr…
155 …mpreal(const mpq_t u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode = mpr…
156 …mpreal(const double u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode = mpr…
157 …mpreal(const long double u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode = mpr…
158 …mpreal(const unsigned long int u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode = mpr…
159 …mpreal(const unsigned int u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode = mpr…
160 …mpreal(const long int u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode = mpr…
161 …mpreal(const int u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode = mpr…
164 …mpreal(const uint64_t u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode = mp…
165 …mpreal(const int64_t u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode = mp…
[all …]
/external/fdlibm/
Dk_rem_pio2.c164 int __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec, const int *ipio2) in __kernel_rem_pio2() argument
166 int __kernel_rem_pio2(x,y,e0,nx,prec,ipio2) in __kernel_rem_pio2()
167 double x[], y[]; int e0,nx,prec; int ipio2[]; in __kernel_rem_pio2()
174 jk = init_jk[prec];
282 switch(prec) {

12345678