Home
last modified time | relevance | path

Searched refs:UNIT (Results 1 – 25 of 54) sorted by relevance

123

/third_party/abseil-cpp/absl/time/
Dduration_test.cc125 #define TEST_DURATION_CONVERSION(UNIT) \ in TEST() argument
127 const absl::Duration d = absl::UNIT(1.5); \ in TEST()
131 EXPECT_EQ(kint64min, absl::ToInt64##UNIT(-inf)); \ in TEST()
132 EXPECT_EQ(-1, absl::ToInt64##UNIT(-d)); \ in TEST()
133 EXPECT_EQ(0, absl::ToInt64##UNIT(z)); \ in TEST()
134 EXPECT_EQ(1, absl::ToInt64##UNIT(d)); \ in TEST()
135 EXPECT_EQ(kint64max, absl::ToInt64##UNIT(inf)); \ in TEST()
136 EXPECT_EQ(-dbl_inf, absl::ToDouble##UNIT(-inf)); \ in TEST()
137 EXPECT_EQ(-1.5, absl::ToDouble##UNIT(-d)); \ in TEST()
138 EXPECT_EQ(0, absl::ToDouble##UNIT(z)); \ in TEST()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dduration_test.cc126 #define TEST_DURATION_CONVERSION(UNIT) \ in TEST() argument
128 const absl::Duration d = absl::UNIT(1.5); \ in TEST()
132 EXPECT_EQ(kint64min, absl::ToInt64##UNIT(-inf)); \ in TEST()
133 EXPECT_EQ(-1, absl::ToInt64##UNIT(-d)); \ in TEST()
134 EXPECT_EQ(0, absl::ToInt64##UNIT(z)); \ in TEST()
135 EXPECT_EQ(1, absl::ToInt64##UNIT(d)); \ in TEST()
136 EXPECT_EQ(kint64max, absl::ToInt64##UNIT(inf)); \ in TEST()
137 EXPECT_EQ(-dbl_inf, absl::ToDouble##UNIT(-inf)); \ in TEST()
138 EXPECT_EQ(-1.5, absl::ToDouble##UNIT(-d)); \ in TEST()
139 EXPECT_EQ(0, absl::ToDouble##UNIT(z)); \ in TEST()
[all …]
/third_party/musl/src/mman/
Dmmap.c11 #define UNIT SYSCALL_MMAP2_UNIT macro
12 #define OFF_MASK ((-0x2000ULL << (8*sizeof(syscall_arg_t)-1)) | (UNIT-1))
33 ret = __syscall(SYS_mmap2, start, len, prot, flags, fd, off/UNIT); in __mmap()
/third_party/musl/src/malloc/mallocng/
Dmallinfo.c37 int outer_sz = size_classes[outer_sc]*UNIT;
40 int sz = size_classes[sc]*UNIT;
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
DNumberRangeFormatterTest.java267 .collapse(RangeCollapse.UNIT) in testCollapse()
340 .collapse(RangeCollapse.UNIT) in testCollapse()
399 .collapse(RangeCollapse.UNIT) in testCollapse()
449 .collapse(RangeCollapse.UNIT) in testCollapse()
499 .collapse(RangeCollapse.UNIT) in testCollapse()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberRangeFormatterTest.java263 .collapse(RangeCollapse.UNIT) in testCollapse()
336 .collapse(RangeCollapse.UNIT) in testCollapse()
395 .collapse(RangeCollapse.UNIT) in testCollapse()
445 .collapse(RangeCollapse.UNIT) in testCollapse()
495 .collapse(RangeCollapse.UNIT) in testCollapse()
/third_party/jerryscript/tools/
Drun-perf-test.sh101 UNIT=$5
103 ABS_FP_FMT="%$((PRECISION + 4)).$((PRECISION))f$UNIT"
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
DLdmlConverter.java21 import static org.unicode.icu.tool.cldrtoicu.LdmlConverterConfig.IcuLocaleDir.UNIT;
189 .putAll(OutputType.LOCALES, CURR, LANG, LOCALES, REGION, UNIT, ZONE)
688 .put("durationUnits", UNIT)
689 .put("units", UNIT)
690 .put("unitsShort", UNIT)
691 .put("unitsNarrow", UNIT)
DLdmlConverterConfig.java36 UNIT(false), enumConstant
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
DNumberRangeFormatter.java65 UNIT, enumConstant
DNumberRangeFormatterImpl.java254 case UNIT: in formatRange()
279 if (fCollapse == RangeCollapse.UNIT) { in formatRange()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberRangeFormatter.java69 UNIT, enumConstant
DNumberRangeFormatterImpl.java254 case UNIT: in formatRange()
279 if (fCollapse == RangeCollapse.UNIT) { in formatRange()
/third_party/icu/icu4c/source/test/perf/collperf/
Dcollperf.cpp34 #define COMPATCT_ARRAY(CompactArrays, UNIT) \ argument
40 UNIT * data; /*the real space to hold strings*/ \
51 data = (UNIT *) realloc(data, sizeof(UNIT) * index[count]); \
53 UNIT * last(){return data + index[count - 1];} \
54 UNIT * dataOf(int32_t i){return data + index[i];} \
/third_party/icu/icu4c/source/test/perf/collperf2/
Dcollperf2.cpp24 #define COMPACT_ARRAY(CompactArrays, UNIT) \ argument
30 UNIT * data; /*the real space to hold strings*/ \
41 data = (UNIT *) realloc(data, sizeof(UNIT) * index[count]); \
43 UNIT * last(){return data + index[count - 1];} \
44 const UNIT * dataOf(int32_t i) const {return data + index[i];} \
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DMeasureFormat.java158 WIDE(ListFormatter.Style.UNIT, UnitWidth.FULL_NAME, UnitWidth.FULL_NAME),
185 DEFAULT_CURRENCY(ListFormatter.Style.UNIT, UnitWidth.FULL_NAME, UnitWidth.SHORT);
DListFormatter.java82 UNIT("unit"), enumConstant
/third_party/gstreamer/gstplugins_good/gst/goom/
Difs.c88 #define UNIT ( 1<<FIX ) macro
106 #define DBL_To_F_PT(x) (F_PT)( (DBL)(UNIT)*(x) )
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DListFormatterTest.java211 … DoTheRealListStyleTesting(locale, input, ListFormatter.Style.UNIT, "rouge, jaune, bleu et vert"); in TestDifferentStyles()
/third_party/pcre2/pcre2/maint/Unicode.tables/
DScriptExtensions.txt99 1D360..1D371 ; Hani # No [18] COUNTING ROD UNIT DIGIT ONE..COUNTING ROD TENS DIGIT NINE
207 10137..1013F ; Cprt Linb # So [9] AEGEAN WEIGHT BASE UNIT..AEGEAN MEASURE THIRD SUBUNIT
/third_party/python/Tools/unicode/python-mappings/
DTIS-620.TXT68 0x1F 0x001F # UNIT SEPARATOR
DCP273.TXT32 0x1F 0x001F #UNIT SEPARATOR (IS1)
DCP1140.TXT66 0x1F 0x001F #UNIT SEPARATOR
DKOI8-U.TXT66 0x1F 0x001F # UNIT SEPARATOR
/third_party/gstreamer/gstreamer/docs/random/wtay/
Dpipelineinfo147 1 UNIT (frames in the context of video). so,

123