/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 | 106 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec); 107 …(const float dudx, const float dvdx, const float dudy, const float dvdy, const LodPrecision& prec); 108 … const float dwdx, const float dudy, const float dvdy, const float dwdy, const LodPrecision& prec); 109 …c3& coord, const Vec3& coordDx, const Vec3& coordDy, const int faceSize, const LodPrecision& prec); 111 Vec2 clampLodBounds (const Vec2& lodBounds, const Vec2& lodMinMax, const LodPrecision& prec); 113 … Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord,… 114 … Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord,… 115 …extureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord,… 116 …ture1DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord,… 117 …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 | 193 const TexComparePrecision& prec, in isLinearCompareValid() argument 205 …const CmpResultSet cmp0 = execCompare(compareMode, d0, cmpReference, prec.referenceBits, isFixedP… in isLinearCompareValid() 206 …const CmpResultSet cmp1 = execCompare(compareMode, d1, cmpReference, prec.referenceBits, isFixedP… in isLinearCompareValid() 218 const float pcfErr = computeFixedPointError(prec.pcfBits); in isLinearCompareValid() 219 const float resErr = computeFixedPointError(prec.resultBits); in isLinearCompareValid() 258 const TexComparePrecision& prec, in isBilinearAnyCompareValid() argument 264 DE_ASSERT(prec.pcfBits == 0); in isBilinearAnyCompareValid() 271 …const CmpResultSet cmp0 = execCompare(compareMode, d0, cmpReference, prec.referenceBits, isFixedP… in isBilinearAnyCompareValid() 272 …const CmpResultSet cmp1 = execCompare(compareMode, d1, cmpReference, prec.referenceBits, isFixedP… in isBilinearAnyCompareValid() 273 …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 | 23 static bool run(const Derived& x, const OtherDerived& y, const typename Derived::RealScalar& prec) in run() 27 …return (nested - otherNested).cwiseAbs2().sum() <= prec * prec * numext::mini(nested.cwiseAbs2().s… in run() 45 static bool run(const Derived& x, const OtherDerived& y, const typename Derived::RealScalar& prec) 47 return x.cwiseAbs2().sum() <= numext::abs2(prec) * y.cwiseAbs2().sum(); 65 …(const Derived& x, const typename Derived::RealScalar& y, const typename Derived::RealScalar& prec) 67 return x.cwiseAbs2().sum() <= numext::abs2(prec * y); 105 const RealScalar& prec 108 return internal::isApprox_selector<Derived, OtherDerived>::run(derived(), other.derived(), prec); 127 const RealScalar& prec 130 return internal::isMuchSmallerThan_scalar_selector<Derived>::run(derived(), other, prec); [all …]
|
D | CwiseNullaryOp.h | 290 (const Scalar& val, const RealScalar& prec) const 295 if(!internal::isApprox(self.coeff(i, j), val, prec)) 305 (const Scalar& val, const RealScalar& prec) const 307 return isApproxToConstant(val, prec); 481 EIGEN_DEVICE_FUNC bool DenseBase<Derived>::isZero(const RealScalar& prec) const 486 if(!internal::isMuchSmallerThan(self.coeff(i, j), static_cast<Scalar>(1), prec)) 612 (const RealScalar& prec) const 614 return isApproxToConstant(Scalar(1), prec); 717 (const RealScalar& prec) const 726 if(!internal::isApprox(self.coeff(i, j), static_cast<Scalar>(1), prec)) [all …]
|
/external/syslinux/com32/lib/ |
D | vsnprintf.c | 46 int base, int width, int prec) in format_int() argument 77 if (prec < ndigits + 1) in format_int() 78 prec = ndigits + 1; in format_int() 81 if (ndigits < prec) { in format_int() 82 ndigits = prec; /* Mandatory number padding */ in format_int() 177 int prec = -1; in vsnprintf() local 200 prec = -1; in vsnprintf() 243 prec = 0; /* Precision given */ in vsnprintf() 253 prec = prec * 10 + (ch - '0'); in vsnprintf() 255 prec = va_arg(ap, int); in vsnprintf() [all …]
|
/external/tcpdump/missing/ |
D | snprintf.c | 128 int width, int prec, int flags, int minusp) in append_number() argument 134 if(prec != -1) in append_number() 137 prec = 1; in append_number() 139 if(prec == 0 && num == 0) in append_number() 147 prec -= len; in append_number() 149 while(prec-- > 0){ in append_number() 218 int prec, in append_string() argument 221 if(prec != -1) in append_string() 222 width -= prec; in append_string() 229 if (prec != -1) { in append_string() [all …]
|
/external/libpcap/missing/ |
D | snprintf.c | 128 int width, int prec, int flags, int minusp) in append_number() argument 134 if(prec != -1) in append_number() 137 prec = 1; in append_number() 139 if(prec == 0 && num == 0) in append_number() 147 prec -= len; in append_number() 149 while(prec-- > 0){ in append_number() 218 int prec, in append_string() argument 221 if(prec != -1) in append_string() 222 width -= prec; in append_string() 229 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/mksh/src/ |
D | exprtok.h | 25 #define FN(name, len, prec, enum) /* nothing */ argument 28 #define F0(name, len, prec, enum) enum = 0, argument 29 #define FN(name, len, prec, enum) enum, argument 34 #define FN(name, len, prec, enum) name, argument 37 #define FN(name, len, prec, enum) len, argument 40 #define FN(name, len, prec, enum) prec, argument
|
/external/libcups/cups/ |
D | snprintf.c | 40 prec; /* Number of characters of precision */ in _cups_vsnprintf() local 119 prec = va_arg(ap, int); in _cups_vsnprintf() 121 snprintf(tptr, sizeof(tformat) - (tptr - tformat), "%d", prec); in _cups_vsnprintf() 126 prec = 0; in _cups_vsnprintf() 133 prec = prec * 10 + *format++ - '0'; in _cups_vsnprintf() 138 prec = -1; in _cups_vsnprintf() 277 if (slen > width && prec != width) in _cups_vsnprintf()
|
/external/curl/lib/ |
D | mprintf.c | 610 long prec; in dprintf_formatf() local 679 prec = (long)vto[p->precision].data.num.as_signed; in dprintf_formatf() 682 if(prec < 0) in dprintf_formatf() 685 prec = -1; in dprintf_formatf() 688 prec = p->precision; in dprintf_formatf() 690 prec = -1; in dprintf_formatf() 748 if(prec == -1) in dprintf_formatf() 749 prec = 1; in dprintf_formatf() 758 prec -= (long)(workend - w); in dprintf_formatf() 760 if(is_alt && base == 8 && prec <= 0) { in dprintf_formatf() [all …]
|
/external/pdfium/core/fxcodec/codec/ |
D | fx_codec_jpx_opj.cpp | 175 int prec = img->comps[0].prec; in sycc444_to_rgb() local 176 int offset = 1 << (prec - 1); in sycc444_to_rgb() 177 int upb = (1 << prec) - 1; in sycc444_to_rgb() 234 int prec = img->comps[0].prec; in sycc422_to_rgb() local 235 if (prec <= 0 || prec >= 32) in sycc422_to_rgb() 238 int offset = 1 << (prec - 1); in sycc422_to_rgb() 239 int upb = (1 << prec) - 1; in sycc422_to_rgb() 306 OPJ_UINT32 prec = img->comps[0].prec; in sycc420_to_rgb() local 307 if (!prec) in sycc420_to_rgb() 309 OPJ_UINT32 offset = 1 << (prec - 1); in sycc420_to_rgb() [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()
|
/external/python/cpython2/Lib/ |
D | decimal.py | 350 return _dec_from_triple(sign, '9'*context.prec, 351 context.Emax-context.prec+1) 355 return _dec_from_triple(sign, '9'*context.prec, 356 context.Emax-context.prec+1) 1163 exp = max(exp, other._exp - context.prec-1) 1168 exp = max(exp, self._exp - context.prec-1) 1175 op1, op2 = _normalize(op1, op2, context.prec) 1328 shift = len(other._int) - len(self._int) + context.prec + 1 1366 if expdiff <= context.prec: 1374 if q < 10**context.prec: [all …]
|
/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/pdfium/third_party/libjpeg/ |
D | fpdfapi_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/libjpeg-turbo/ |
D | jcmarker.c | 154 int prec; in emit_dqt() local 160 prec = 0; in emit_dqt() 163 prec = 1; in emit_dqt() 169 emit_2bytes(cinfo, prec ? DCTSIZE2*2 + 1 + 2 : DCTSIZE2 + 1 + 2); in emit_dqt() 171 emit_byte(cinfo, index + (prec<<4)); in emit_dqt() 176 if (prec) in emit_dqt() 184 return prec; in emit_dqt() 501 int ci, prec; in write_frame_header() local 508 prec = 0; in write_frame_header() 511 prec += emit_dqt(cinfo, compptr->quant_tbl_no); in write_frame_header() [all …]
|
/external/eigen/Eigen/src/SparseCore/ |
D | SparseFuzzy.h | 17 …xBase<Derived>::isApprox(const SparseMatrixBase<OtherDerived>& other, const RealScalar &prec) const in isApprox() argument 24 …return (actualA - actualB).squaredNorm() <= prec * prec * numext::mini(actualA.squaredNorm(), actu… in isApprox()
|
/external/pdfium/third_party/libopenjpeg20/ |
D | 0028-upstream-check-size-in-opj_j2k_read_siz.patch | 14 + if( l_img_comp->prec > 38) { /* TODO openjpeg won't handle more than ? */ 16 + "Invalid values for comp = %d : prec=%u (should be between 1 and… 17 + i, l_img_comp->prec);
|
/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) {
|