/external/clang/lib/Basic/ |
D | OperatorPrecedence.cpp | 18 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/ |
D | tcuTexLookupVerifier.hpp | 101 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 …]
|
D | tcuTexLookupVerifier.cpp | 77 static inline bool isColorValid (const LookupPrecision& prec, const Vec4& ref, const Vec4& result) in isColorValid() argument 80 return boolAll(logicalOr(lessThanEqual(diff, prec.colorThreshold), logicalNot(prec.colorMask))); in isColorValid() 83 static inline bool isColorValid (const IntLookupPrecision& prec, const IVec4& ref, const IVec4& res… in isColorValid() argument 85 …ll(logicalOr(lessThanEqual(absDiff(ref, result).asUint(), prec.colorThreshold), logicalNot(prec.co… in isColorValid() 88 static inline bool isColorValid (const IntLookupPrecision& prec, const UVec4& ref, const UVec4& res… in isColorValid() argument 90 …return boolAll(logicalOr(lessThanEqual(absDiff(ref, result), prec.colorThreshold), logicalNot(prec… in isColorValid() 139 static float computeBilinearSearchStepFromFloatLine (const LookupPrecision& prec, in computeBilinearSearchStepFromFloatLine() argument 142 DE_ASSERT(boolAll(greaterThan(prec.colorThreshold, Vec4(0.0f)))); in computeBilinearSearchStepFromFloatLine() 146 const Vec4 stepCount = d / prec.colorThreshold; in computeBilinearSearchStepFromFloatLine() 153 static float computeBilinearSearchStepFromFloatQuad (const LookupPrecision& prec, in computeBilinearSearchStepFromFloatQuad() argument [all …]
|
D | tcuTexCompareVerifier.cpp | 191 const TexComparePrecision& prec, in isLinearCompareValid() argument 203 …const CmpResultSet cmp0 = execCompare(compareMode, d0, cmpReference, prec.referenceBits, isFixedP… in isLinearCompareValid() 204 …const CmpResultSet cmp1 = execCompare(compareMode, d1, cmpReference, prec.referenceBits, isFixedP… in isLinearCompareValid() 216 const float pcfErr = computeFixedPointError(prec.pcfBits); in isLinearCompareValid() 217 const float resErr = computeFixedPointError(prec.resultBits); in isLinearCompareValid() 256 const TexComparePrecision& prec, in isBilinearAnyCompareValid() argument 262 DE_ASSERT(prec.pcfBits == 0); in isBilinearAnyCompareValid() 269 …const CmpResultSet cmp0 = execCompare(compareMode, d0, cmpReference, prec.referenceBits, isFixedP… in isBilinearAnyCompareValid() 270 …const CmpResultSet cmp1 = execCompare(compareMode, d1, cmpReference, prec.referenceBits, isFixedP… in isBilinearAnyCompareValid() 271 …const CmpResultSet cmp2 = execCompare(compareMode, d2, cmpReference, prec.referenceBits, isFixedP… in isBilinearAnyCompareValid() [all …]
|
D | tcuTexCompareVerifier.hpp | 55 …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/ |
D | Fuzzy.h | 22 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 …]
|
D | CwiseNullaryOp.h | 298 (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 …]
|
D | Dot.h | 228 (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))
|
D | 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) 701 return numext::abs2(x - y) <= (min)(numext::abs2(x), numext::abs2(y)) * prec * prec;
|
/external/tcpdump/missing/ |
D | snprintf.c | 135 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/libpcap/missing/ |
D | snprintf.c | 135 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/ |
D | tostring.cc | 62 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/ |
D | es3fFragmentOutputTests.cpp | 1172 glu::Precision prec = precisions[precNdx]; in init() local 1173 string precName = glu::getPrecisionName(prec); in init() 1175 …float").c_str(), "", fboSpec, (OutputVec() << FragmentOutput(glu::TYPE_FLOAT, prec, 0)).toVec())); in init() 1176 …2").c_str(), "", fboSpec, (OutputVec() << FragmentOutput(glu::TYPE_FLOAT_VEC2, prec, 0)).toVec())); in init() 1177 …3").c_str(), "", fboSpec, (OutputVec() << FragmentOutput(glu::TYPE_FLOAT_VEC3, prec, 0)).toVec())); in init() 1178 …4").c_str(), "", fboSpec, (OutputVec() << FragmentOutput(glu::TYPE_FLOAT_VEC4, prec, 0)).toVec())); in init() 1195 glu::Precision prec = precisions[precNdx]; in init() local 1196 string precName = glu::getPrecisionName(prec); in init() 1198 …float").c_str(), "", fboSpec, (OutputVec() << FragmentOutput(glu::TYPE_FLOAT, prec, 0)).toVec())); in init() 1199 …2").c_str(), "", fboSpec, (OutputVec() << FragmentOutput(glu::TYPE_FLOAT_VEC2, prec, 0)).toVec())); in init() [all …]
|
/external/bison/src/ |
D | conflicts.c | 107 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()
|
D | gram.c | 258 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()
|
D | parse-gram.y | 219 %type <symbol> id id_colon string_as_id symbol symbol.prec 224 %type <list> symbols.1 symbols.prec generic_symlist generic_symlist_item 441 precedence_declarator type.opt symbols.prec 467 symbols.prec: 468 symbol.prec 470 | symbols.prec symbol.prec 474 symbol.prec:
|
D | symtab.c | 82 res->prec = 0; in symbol_new() 306 symbol_precedence_set (symbol *sym, int prec, assoc a, location loc) in symbol_precedence_set() argument 310 if (sym->prec != 0) in symbol_precedence_set() 313 sym->prec = prec; in symbol_precedence_set() 474 if (sym->prec || str->prec) in symbol_check_alias_consistency() 476 if (str->prec) in symbol_check_alias_consistency() 477 symbol_precedence_set (sym, str->prec, str->assoc, in symbol_check_alias_consistency() 480 symbol_precedence_set (str, sym->prec, sym->assoc, in symbol_check_alias_consistency()
|
/external/ppp/pppd/ |
D | utils.c | 163 int width, prec, fillch; local 192 prec = -1; 210 prec = va_arg(args, int); 213 prec = 0; 215 prec = prec * 10 + c - '0'; 311 if (fillch == '0' && prec >= 0) { 312 n = prec; 315 if (prec >= 0 && n > prec) 316 n = prec; 364 for (n = prec; n > 0; --n) { [all …]
|
/external/jpeg/ |
D | jcmarker.c | 149 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/pdfium/core/src/fxcodec/libjpeg/ |
D | fpdfapi_jcmarker.c | 150 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/pdfium/core/src/fxcodec/codec/ |
D | fx_codec_jpx_opj.cpp | 162 i = (int)img->comps[0].prec; in sycc444_to_rgb() 196 i = (int)img->comps[0].prec; in sycc422_to_rgb() 248 i = (int)img->comps[0].prec; in sycc420_to_rgb() 370 int prec = (int)image->comps[0].prec; in color_apply_icc_profile() local 373 if( prec <= 8 ) { in color_apply_icc_profile() 383 if( prec <= 8 ) { in color_apply_icc_profile() 409 if( prec <= 8 ) { in color_apply_icc_profile() 527 prec0 = (double)image->comps[0].prec; in color_apply_conversion() 528 prec1 = (double)image->comps[1].prec; in color_apply_conversion() 529 prec2 = (double)image->comps[2].prec; in color_apply_conversion() [all …]
|
/external/fdlibm/ |
D | k_rem_pio2.c | 164 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) {
|
/external/eigen/unsupported/test/mpreal/ |
D | mpreal.h | 177 …mpreal(const mpz_t u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode = mpr… 178 …mpreal(const mpq_t u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode = mpr… 179 …mpreal(const double u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode = mpr… 180 …mpreal(const long double u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode = mpr… 181 …mpreal(const unsigned long int u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode = mpr… 182 …mpreal(const unsigned int u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode = mpr… 183 …mpreal(const long int u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode = mpr… 184 …mpreal(const int u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode = mpr… 191 …mpreal(const uint64_t u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode = mp… 192 …mpreal(const int64_t u, mp_prec_t prec = mpreal::get_default_prec(), mp_rnd_t mode = mp… [all …]
|
/external/bison/tests/ |
D | conflicts.at | 388 | /*empty*/ %prec 'a' 496 reduce-nonassoc: %prec 'a'; 968 ## %prec with user strings. ## 971 AT_SETUP([%prec with user string]) 976 "foo" %prec "foo" 985 ## %no-default-prec without %prec. ## 988 AT_SETUP([%no-default-prec without %prec]) 996 %no-default-prec; 1011 ## %no-default-prec with %prec. ## 1014 AT_SETUP([%no-default-prec with %prec]) [all …]
|
/external/clang/include/clang/Basic/ |
D | OperatorPrecedence.h | 26 namespace prec { 47 prec::Level getBinOpPrecedence(tok::TokenKind Kind, bool GreaterThanIsOperator,
|