Home
last modified time | relevance | path

Searched refs:integral (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/external/llvm-project/libc/test/src/math/
Dmodfl_test.cpp19 long double integral; in TEST() local
21 EXPECT_TRUE(FPBits::zero() == __llvm_libc::modfl(FPBits::inf(), &integral)); in TEST()
22 EXPECT_TRUE(FPBits::inf() == integral); in TEST()
25 __llvm_libc::modfl(FPBits::negInf(), &integral)); in TEST()
26 EXPECT_TRUE(FPBits::negInf() == integral); in TEST()
28 EXPECT_TRUE(FPBits::zero() == __llvm_libc::modfl(FPBits::zero(), &integral)); in TEST()
29 EXPECT_TRUE(integral == 0.0l); in TEST()
32 __llvm_libc::modfl(FPBits::negZero(), &integral)); in TEST()
33 EXPECT_TRUE(integral == 0.0l); in TEST()
36 FPBits(__llvm_libc::modfl(FPBits::buildNaN(1), &integral)).isNaN()); in TEST()
[all …]
Dmodf_test.cpp25 double integral; in TEST() local
29 &integral))); in TEST()
32 valueFromBits(BitPatterns::aNegativeQuietNaN), &integral))); in TEST()
36 valueFromBits(BitPatterns::aSignallingNaN), &integral))); in TEST()
40 valueFromBits(BitPatterns::aNegativeSignallingNaN), &integral))); in TEST()
44 __llvm_libc::modf(valueFromBits(BitPatterns::inf), &integral))); in TEST()
45 EXPECT_EQ(valueAsBits(integral), BitPatterns::inf); in TEST()
49 &integral))); in TEST()
50 EXPECT_EQ(valueAsBits(integral), BitPatterns::negInf); in TEST()
54 &integral))); in TEST()
[all …]
Dmodff_test.cpp25 float integral; in TEST() local
29 valueFromBits(BitPatterns::aQuietNaN), &integral))); in TEST()
32 valueFromBits(BitPatterns::aNegativeQuietNaN), &integral))); in TEST()
36 valueFromBits(BitPatterns::aSignallingNaN), &integral))); in TEST()
40 valueFromBits(BitPatterns::aNegativeSignallingNaN), &integral))); in TEST()
44 &integral))); in TEST()
45 EXPECT_EQ(valueAsBits(integral), BitPatterns::inf); in TEST()
49 &integral))); in TEST()
50 EXPECT_EQ(valueAsBits(integral), BitPatterns::negInf); in TEST()
54 &integral))); in TEST()
[all …]
/external/freetype/src/psaux/
Dpsconv.c202 FT_Fixed integral = 0; in PS_Conv_ToFixed() local
231 integral = PS_Conv_ToInt( &p, limit ); in PS_Conv_ToFixed()
236 if ( integral > 0x7FFF ) in PS_Conv_ToFixed()
239 integral = (FT_Fixed)( (FT_UInt32)integral << 16 ); in PS_Conv_ToFixed()
265 if ( !integral && power_ten > 0 ) in PS_Conv_ToFixed()
298 if ( !integral && !decimal ) in PS_Conv_ToFixed()
308 if ( integral >= 0xCCCCCCCL ) in PS_Conv_ToFixed()
310 integral *= 10; in PS_Conv_ToFixed()
326 integral /= 10; in PS_Conv_ToFixed()
332 if ( !integral && !decimal ) in PS_Conv_ToFixed()
[all …]
/external/llvm-project/clang/test/SemaObjC/
Dsigned-char-bool-conversion.m19 b = i; // expected-warning {{implicit conversion from integral type 'int' to 'BOOL'}}
41 bp.p = i; // expected-warning {{implicit conversion from integral type 'int' to 'BOOL'}}
61 b = bf->signed_bf1; // expected-warning{{implicit conversion from integral type 'int' to 'BOOL'}}
62 b = bf->signed_bf2; // expected-warning{{implicit conversion from integral type 'int' to 'BOOL'}}
64 …b = bf->unsigned_bf2; // expected-warning{{implicit conversion from integral type 'unsigned int' t…
67 …b = local.unsigned_bf2; // expected-warning{{implicit conversion from integral type 'unsigned int'…
69 …b = local.nested->unsigned_bf2; // expected-warning{{implicit conversion from integral type 'unsig…
88 …b = bf.unsigned_bf2; // expected-warning{{implicit conversion from integral type 'unsigned int' to…
90 …b = unsigned_bf2; // expected-warning{{implicit conversion from integral type 'unsigned int' to 'B…
103 …BOOL b = i.i; // expected-warning{{implicit conversion from integral type 'unsigned int' to 'BOOL'…
[all …]
Darc-dict-bridged-cast.m31 …ubscript type 'CFStringRef' (aka 'const struct __CFString *') is not an integral or Objective-C po…
32 …bscript type 'CFMutableStringRef' (aka 'struct __CFString *') is not an integral or Objective-C po…
/external/llvm-project/llvm/test/Verifier/
Dnon-integral-pointers.ll6 ; CHECK: ptrtoint not supported for non-integral pointers
12 ; CHECK: ptrtoint not supported for non-integral pointers
24 ; CHECK: inttoptr not supported for non-integral pointers
30 ; CHECK: inttoptr not supported for non-integral pointers
42 ; CHECK: ptrtoint not supported for non-integral pointers
48 ; CHECK: inttoptr not supported for non-integral pointers
55 ; CHECK: ptrtoint not supported for non-integral pointers
60 ; CHECK: inttoptr not supported for non-integral pointers
67 ; CHECK: ptrtoint not supported for non-integral pointers
75 ; CHECK: ptrtoint not supported for non-integral pointers
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DPluralSnapshot.java75 private Integral integral; field in PluralSnapshot.SnapshotInfo
77 private SnapshotInfo(PluralType pluralType, Integral integral) { in SnapshotInfo() argument
78 this.integral = integral; in SnapshotInfo()
87 snap = new PluralSnapshot(pluralRules, integral, pluralsTransitionAt); in SnapshotInfo()
115 if (integral == Integral.fraction) { in toHtmlStringHeader()
121 + (integral == Integral.fraction ? ".x" : "")); in toHtmlStringHeader()
138 public static SnapshotInfo getInstance(PluralType pluralType, Integral integral) { in getInstance() argument
140 SnapshotInfo result = temp.get(integral); in getInstance()
142 temp.put(integral, result = new SnapshotInfo(pluralType, integral)); in getInstance()
147 PluralSnapshot(PluralRules pluralRules, Integral integral, BitSet pluralsTransitionAt) { in PluralSnapshot() argument
[all …]
/external/skia/src/gpu/effects/
DGrRectBlurEffect.fp36 // Effect that is a LUT for integral of normal distribution. The value at x:[0,6*sigma] is the
37 // integral from -inf to (3*sigma - x). I.e. x is mapped from [0, 6*sigma] to [3*sigma to -3*sigma].
39 in fragmentProcessor integral;
49 @samplerParams(integral) {
151 std::unique_ptr<GrFragmentProcessor> integral = MakeIntegralFP(context, sixSigma);
152 if (!integral) {
156 // In the fast variant we think of the midpoint of the integral texture as aligning
167 // do a lookup in the integral texture for each and multiply them. When the rect is
175 std::move(integral),
190 // The integral texture goes "backwards" (from 3*sigma to -3*sigma), So, the below
[all …]
DGrRRectBlurEffect.fp130 const uint8_t* integral, int integralSize, float sixSigma) {
147 return integral[lower] * (1.0f-frac) + integral[lower+1] * frac;
153 const uint8_t* integral, int integralSize, float sixSigma) {
165 accum += kernel[i] * eval_V(topVec[xSampleLoc], y, integral, integralSize, sixSigma);
195 SkBitmap integral;
196 if (!SkGpuBlurUtils::CreateIntegralTable(6*xformedSigma, &integral)) {
228 integral.getAddr8(0, 0), integral.width(), 6*xformedSigma);
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dperformance-no-int-to-ptr.rst8 While casting an (integral) pointer to an integer is obvious - you just get
9 the integral value of the pointer, casting an integer to an (integral) pointer
10 is deceivingly different. While you will get a pointer with that integral value,
11 if you got that integral value via a pointer-to-integer cast originally,
14 So while (integral) pointer to integer casts are effectively no-ops,
15 and are transparent to the optimizer, integer to (integral) pointer casts
Dbugprone-integer-division.rst11 - operands of operators expecting integral or bool types,
12 - call expressions of integral or bool types, and
13 - explicit cast expressions to integral or bool types,
/external/libcxx/include/
Datomic133 struct atomic<integral>
138 void store(integral desr, memory_order m = memory_order_seq_cst) volatile noexcept;
139 void store(integral desr, memory_order m = memory_order_seq_cst) noexcept;
140 integral load(memory_order m = memory_order_seq_cst) const volatile noexcept;
141 integral load(memory_order m = memory_order_seq_cst) const noexcept;
142 operator integral() const volatile noexcept;
143 operator integral() const noexcept;
144 integral exchange(integral desr,
146 integral exchange(integral desr, memory_order m = memory_order_seq_cst) noexcept;
147 bool compare_exchange_weak(integral& expc, integral desr,
[all …]
/external/parameter-framework/upstream/test/test-fixed-point-parameter/
DMain.py64 def __init__(self, pfwClient, size, integral, fractional): argument
66 self._paramPath = '/Test/test/%d/q%d.%d' % (size, integral, fractional)
75 self._upperAllowedBound = (2 ** integral) - self._quantum
80 self._lowerAllowedBound = -(2 ** integral)
240 for integral in range(0, size):
241 for fractional in range (0, size - integral):
242 tester = FixedPointTester(pfw, size, integral, fractional)
/external/llvm-project/libcxx/include/
Datomic112 struct atomic<integral>
114 using value_type = integral;
122 constexpr atomic(integral desr) noexcept;
127 integral load(memory_order m = memory_order_seq_cst) const volatile noexcept;
128 integral load(memory_order m = memory_order_seq_cst) const noexcept;
129 operator integral() const volatile noexcept;
130 operator integral() const noexcept;
131 void store(integral desr, memory_order m = memory_order_seq_cst) volatile noexcept;
132 void store(integral desr, memory_order m = memory_order_seq_cst) noexcept;
133 integral operator=(integral desr) volatile noexcept;
[all …]
/external/skia/src/gpu/effects/generated/
DGrRectBlurEffect.h128 std::unique_ptr<GrFragmentProcessor> integral = MakeIntegralFP(context, sixSigma); in Make() local
129 if (!integral) { in Make()
152 std::move(integral), in Make()
168 std::unique_ptr<GrFragmentProcessor> integral, in GrRectBlurEffect() argument
178 this->registerChild(std::move(integral), SkSL::SampleUsage::Explicit()); in GrRectBlurEffect()
DGrRRectBlurEffect.cpp117 static uint8_t eval_V(float top, int y, const uint8_t* integral, int integralSize, float sixSigma) { in eval_V() argument
134 return integral[lower] * (1.0f - frac) + integral[lower + 1] * frac; in eval_V()
143 const uint8_t* integral, in eval_H() argument
157 accum += kernel[i] * eval_V(topVec[xSampleLoc], y, integral, integralSize, sixSigma); in eval_H()
187 SkBitmap integral; in create_mask_on_cpu() local
188 if (!SkGpuBlurUtils::CreateIntegralTable(6 * xformedSigma, &integral)) { in create_mask_on_cpu()
223 integral.getAddr8(0, 0), in create_mask_on_cpu()
224 integral.width(), in create_mask_on_cpu()
/external/sfntly/cpp/src/sfntly/math/
Dfixed1616.h34 static inline int32_t Fixed(int32_t integral, int32_t fractional) { in Fixed() argument
35 return ((integral & 0xffff) << 16) | (fractional & 0xffff); in Fixed()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Betainc.pbtxt3 summary: "Compute the regularized incomplete beta integral \\\\(I_x(a, b)\\\\)."
5 The regularized incomplete beta integral is defined as:
/external/llvm-project/clang/include/clang/AST/
DOperationKinds.def170 /// CK_PointerToIntegral - Pointer to integral. A special kind of
190 /// CK_IntegralCast - A cast between integral types (other than to
217 /// CK_FixedPointToIntegral - Fixed point to integral.
229 /// CK_FloatingToIntegral - Floating point to integral. Rounds
284 /// Converts from a floating complex to an integral complex.
288 /// Converts from an integral real to an integral complex
294 /// Converts an integral complex to an integral real of the
299 /// Converts an integral complex to bool by comparing against
303 /// Converts between different integral complex types.
308 /// Converts from an integral complex to a floating complex.
/external/clang/include/clang/AST/
DOperationKinds.def165 /// CK_PointerToIntegral - Pointer to integral. A special kind of
185 /// CK_IntegralCast - A cast between integral types (other than to
200 /// CK_FloatingToIntegral - Floating point to integral. Rounds
255 /// \brief Converts from a floating complex to an integral complex.
259 /// \brief Converts from an integral real to an integral complex
265 /// \brief Converts an integral complex to an integral real of the
270 /// \brief Converts an integral complex to bool by comparing against
274 /// \brief Converts between different integral complex types.
279 /// \brief Converts from an integral complex to a floating complex.
/external/llvm-project/clang/test/CodeCompletion/
Dconcepts.cpp3 template <typename T> concept integral = true;
7 { b.www } noexcept -> integral;
/external/llvm-project/llvm/test/Transforms/LoopIdiom/
Dnon-integral-pointers.ll7 ; they're integral pointers.
28 ; they're non-integral pointers. NOTE: Zero is special value which
50 ; Same as previous case, but vector of non-integral pointers
/external/clang/test/SemaObjC/
Dobjc-container-subscripting-2.m19 …indexing expression is invalid because subscript type 'float' is not an integral or Objective-C po…
20 …ndexing expression is invalid because subscript type 'double' is not an integral or Objective-C po…
Darc-dict-bridged-cast.m31 …ubscript type 'CFStringRef' (aka 'const struct __CFString *') is not an integral or Objective-C po…
32 …bscript type 'CFMutableStringRef' (aka 'struct __CFString *') is not an integral or Objective-C po…

12345678910>>...13