Home
last modified time | relevance | path

Searched refs:absolute_value (Results 1 – 16 of 16) sorted by relevance

/external/perfetto/include/perfetto/ext/base/
Dstring_writer.h74 uint64_t absolute_value; in AppendPaddedInt() local
76 absolute_value = in AppendPaddedInt()
79 absolute_value = static_cast<uint64_t>(std::abs(sign_value)); in AppendPaddedInt()
81 AppendPaddedInt<padchar, padding>(absolute_value, negate); in AppendPaddedInt()
144 void AppendPaddedInt(uint64_t absolute_value, bool negate) { in AppendPaddedInt() argument
154 for (idx = kSizeNeeded - 1; absolute_value >= 10;) { in AppendPaddedInt()
155 char digit = absolute_value % 10; in AppendPaddedInt()
156 absolute_value /= 10; in AppendPaddedInt()
159 data[idx--] = static_cast<char>(absolute_value) + '0'; in AppendPaddedInt()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_printf.cc44 static int AppendNumber(char **buff, const char *buff_end, u64 absolute_value, in AppendNumber() argument
50 RAW_CHECK(absolute_value || !negative); in AppendNumber()
61 num_buffer[pos++] = absolute_value % base; in AppendNumber()
62 absolute_value /= base; in AppendNumber()
63 } while (absolute_value > 0); in AppendNumber()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_printf.cpp41 static int AppendNumber(char **buff, const char *buff_end, u64 absolute_value, in AppendNumber() argument
47 RAW_CHECK(absolute_value || !negative); in AppendNumber()
58 num_buffer[pos++] = absolute_value % base; in AppendNumber()
59 absolute_value /= base; in AppendNumber()
60 } while (absolute_value > 0); in AppendNumber()
/external/tensorflow/tensorflow/core/kernels/
Dspectrogram_test.cc187 double absolute_value = std::abs(spectrogram[i][j]); in GetMaximumAbsolute() local
188 if (absolute_value > max_absolute) { in GetMaximumAbsolute()
189 max_absolute = absolute_value; in GetMaximumAbsolute()
/external/libtextclassifier/native/annotator/
Dflatbuffer-utils.cc76 datetime_component.absolute_value = c.value; in CreateDatetimeSerializedEntityData()
Dannotator_test-include.cc2582 EXPECT_EQ(meridiem->absolute_value(), 0); in VerifyClassifyTextOutputsDatetimeEntityData()
2590 EXPECT_EQ(minute->absolute_value(), 0); in VerifyClassifyTextOutputsDatetimeEntityData()
2598 EXPECT_EQ(hour->absolute_value(), 0); in VerifyClassifyTextOutputsDatetimeEntityData()
2607 EXPECT_EQ(day->absolute_value(), 5); in VerifyClassifyTextOutputsDatetimeEntityData()
2615 EXPECT_EQ(month->absolute_value(), 3); in VerifyClassifyTextOutputsDatetimeEntityData()
2623 EXPECT_EQ(year->absolute_value(), 1970); in VerifyClassifyTextOutputsDatetimeEntityData()
2668 EXPECT_EQ(day->absolute_value(), 1); in VerifyAnnotateOutputsDatetimeEntityData()
2676 EXPECT_EQ(month->absolute_value(), 9); in VerifyAnnotateOutputsDatetimeEntityData()
2684 EXPECT_EQ(year->absolute_value(), 2019); in VerifyAnnotateOutputsDatetimeEntityData()
Dentity-data.fbs64 absolute_value:int;
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Dsimdlib_256_avx2.inl98 SIMD_IWRAPPER_1(abs_epi32); // return absolute_value(a) (int32)
Dsimdlib_128_avx512.inl152 SIMD_IWRAPPER_1_32(abs_epi32); // return absolute_value(a) (int32)
Dsimdlib_256_avx512.inl152 SIMD_IWRAPPER_1_32(abs_epi32); // return absolute_value(a) (int32)
Dsimdlib_128_avx.inl126 SIMD_IWRAPPER_1(abs_epi32); // return absolute_value(a) (int32)
Dsimdlib_512_avx512.inl171 SIMD_IWRAPPER_1(abs_epi32); // return absolute_value(a) (int32)
Dsimdlib_256_avx.inl203 SIMD_EMU_IWRAPPER_1(abs_epi32); // return absolute_value(a) (int32)
Dsimdlib_512_emu.inl173 SIMD_IWRAPPER_1(abs_epi32); // return absolute_value(a) (int32)
/external/libxml2/
Dxpath.c3184 double absolute_value; in xmlXPathFormatNumber() local
3187 absolute_value = fabs(number); in xmlXPathFormatNumber()
3194 if ( ((absolute_value > UPPER_DOUBLE) || in xmlXPathFormatNumber()
3195 (absolute_value < LOWER_DOUBLE)) && in xmlXPathFormatNumber()
3196 (absolute_value != 0.0) ) { in xmlXPathFormatNumber()
3207 if (absolute_value > 0.0) { in xmlXPathFormatNumber()
3208 integer_place = (int)log10(absolute_value); in xmlXPathFormatNumber()
Dxmlschemastypes.c5748 double absolute_value;
5751 absolute_value = fabs(number);