Home
last modified time | relevance | path

Searched refs:unit (Results 1 – 25 of 3013) sorted by relevance

12345678910>>...121

/third_party/skia/third_party/externals/icu/source/data/misc/
Dunits.txt27 astronomical-unit{
47 british-thermal-unit{
477 unit{"square-kilometer"}
480 unit{"hectare"}
483 unit{"square-meter"}
486 unit{"square-centimeter"}
491 unit{"square-mile"}
494 unit{"acre"}
497 unit{"square-foot"}
500 unit{"square-inch"}
[all …]
/third_party/uboot/u-boot-2020.01/drivers/ddr/marvell/axp/
Dxor_regs.h17 #define MV_XOR_REGS_OFFSET(unit) (0xF0800) argument
19 #define MV_XOR_REGS_OFFSET(unit) (0x60900) argument
21 #define MV_XOR_REGS_BASE(unit) (MV_XOR_REGS_OFFSET(unit)) argument
24 #define XOR_CHANNEL_ARBITER_REG(unit) (MV_XOR_REGS_BASE(unit)) argument
25 #define XOR_CONFIG_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + (0x10 + ((chan) * 4))) argument
26 #define XOR_ACTIVATION_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + (0x20 + ((chan) * 4))) argument
29 #define XOR_CAUSE_REG(unit) (MV_XOR_REGS_BASE(unit) + 0x30) argument
30 #define XOR_MASK_REG(unit) (MV_XOR_REGS_BASE(unit) + 0x40) argument
31 #define XOR_ERROR_CAUSE_REG(unit) (MV_XOR_REGS_BASE(unit) + 0x50) argument
32 #define XOR_ERROR_ADDR_REG(unit) (MV_XOR_REGS_BASE(unit) + 0x60) argument
[all …]
/third_party/boost/boost/units/
Dunit.hpp37 class unit class
40 typedef unit<Dim, System> unit_type;
41 typedef unit<Dim,System> this_type;
45 BOOST_CONSTEXPR unit() { } in unit() function in boost::units::unit
46 BOOST_CONSTEXPR unit(const this_type&) { } in unit() function in boost::units::unit
56 ~unit() { in ~unit()
75 BOOST_TYPEOF_REGISTER_TEMPLATE(boost::units::unit, 2)
85 struct reduce_unit<unit<Dim, System> >
87 typedef unit<
105 struct unary_plus_typeof_helper< unit<Dim,System> >
[all …]
Dlambda.hpp48 boost::units::unit<Dim, System>,
51 boost::units::unit<Dim, System>, Y >::type type;
59 …struct multiply_typeof_helper<boost::units::unit<Dim, System>, boost::lambda::lambda_functor<Arg> …
63 …tuple<typename boost::lambda::const_copy_argument<const boost::units::unit<Dim, System> >::type, b…
72 …inline const typename multiply_typeof_helper<boost::units::unit<Dim, System>, boost::lambda::lambd…
73 operator*(const boost::units::unit<Dim, System>& a, in operator *()
75 …return typename multiply_typeof_helper<boost::units::unit<Dim, System>, boost::lambda::lambda_func… in operator *()
76 … (tuple<typename boost::lambda::const_copy_argument<const boost::units::unit<Dim, System> >::type, in operator *()
89 boost::units::unit<Dim, System>,
92 boost::units::unit<Dim, System>, Y >::type type;
[all …]
/third_party/uboot/u-boot-2020.01/drivers/ddr/marvell/a38x/
Dxor_regs.h16 #define MV_XOR_REGS_OFFSET(unit) (0x60900) argument
17 #define MV_XOR_REGS_BASE(unit) (MV_XOR_REGS_OFFSET(unit)) argument
20 #define XOR_CHANNEL_ARBITER_REG(unit) (MV_XOR_REGS_BASE(unit)) argument
21 #define XOR_CONFIG_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + \ argument
23 #define XOR_ACTIVATION_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + \ argument
27 #define XOR_CAUSE_REG(unit) (MV_XOR_REGS_BASE(unit)+(0x30)) argument
28 #define XOR_MASK_REG(unit) (MV_XOR_REGS_BASE(unit)+(0x40)) argument
29 #define XOR_ERROR_CAUSE_REG(unit) (MV_XOR_REGS_BASE(unit)+(0x50)) argument
30 #define XOR_ERROR_ADDR_REG(unit) (MV_XOR_REGS_BASE(unit)+(0x60)) argument
33 #define XOR_NEXT_DESC_PTR_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + \ argument
[all …]
/third_party/ffmpeg/libavutil/
Dcpu.c132 … { "flags" , NULL, 0, AV_OPT_TYPE_FLAGS, { .i64 = 0 }, INT64_MIN, INT64_MAX, .unit = "flags" }, in av_parse_cpu_flags()
134 … { "altivec" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AV_CPU_FLAG_ALTIVEC }, .unit = "flags" }, in av_parse_cpu_flags()
136 … { "mmx" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AV_CPU_FLAG_MMX }, .unit = "flags" }, in av_parse_cpu_flags()
137 … { "mmxext" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = CPUFLAG_MMXEXT }, .unit = "flags" }, in av_parse_cpu_flags()
138 … { "sse" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = CPUFLAG_SSE }, .unit = "flags" }, in av_parse_cpu_flags()
139 … { "sse2" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = CPUFLAG_SSE2 }, .unit = "flags" }, in av_parse_cpu_flags()
140 … { "sse2slow", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = CPUFLAG_SSE2SLOW }, .unit = "flags" }, in av_parse_cpu_flags()
141 … { "sse3" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = CPUFLAG_SSE3 }, .unit = "flags" }, in av_parse_cpu_flags()
142 … { "sse3slow", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = CPUFLAG_SSE3SLOW }, .unit = "flags" }, in av_parse_cpu_flags()
143 … { "ssse3" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = CPUFLAG_SSSE3 }, .unit = "flags" }, in av_parse_cpu_flags()
[all …]
/third_party/ejdb/src/jql/inc/
Djqpx.c117 static void _jqp_unit_push(yycontext *yy, JQPUNIT *unit) { in _jqp_unit_push() argument
120 stack->unit = unit; in _jqp_unit_push()
129 return stack.unit; in _jqp_unit_pop()
156 JQPUNIT *unit = _jqp_unit(yy); in _jqp_string() local
157 unit->type = JQP_STRING_TYPE; in _jqp_string()
158 unit->string.flavour |= flavour; in _jqp_string()
159 unit->string.value = _jqp_strdup(yy, text); in _jqp_string()
160 return unit; in _jqp_string()
164 JQPUNIT *unit = _jqp_unit(yy); in _jqp_number() local
172 unit->type = JQP_DOUBLE_TYPE; in _jqp_number()
[all …]
/third_party/ffmpeg/libavcodec/
Dcbs_jpeg.c113 int unit, start, end, marker, next_start, next_marker; in cbs_jpeg_split_fragment() local
147 for (unit = 0;; unit++) { in cbs_jpeg_split_fragment()
229 err = ff_cbs_insert_unit_data(ctx, frag, unit, marker, in cbs_jpeg_split_fragment()
244 CodedBitstreamUnit *unit) in cbs_jpeg_read_unit() argument
249 err = init_get_bits(&gbc, unit->data, 8 * unit->data_size); in cbs_jpeg_read_unit()
253 if (unit->type >= JPEG_MARKER_SOF0 && in cbs_jpeg_read_unit()
254 unit->type <= JPEG_MARKER_SOF3) { in cbs_jpeg_read_unit()
255 err = ff_cbs_alloc_unit_content(ctx, unit, in cbs_jpeg_read_unit()
261 err = cbs_jpeg_read_frame_header(ctx, &gbc, unit->content); in cbs_jpeg_read_unit()
265 } else if (unit->type >= JPEG_MARKER_APPN && in cbs_jpeg_read_unit()
[all …]
Dcbs.c131 CodedBitstreamUnit *unit) in cbs_unit_uninit() argument
133 av_buffer_unref(&unit->content_ref); in cbs_unit_uninit()
134 unit->content = NULL; in cbs_unit_uninit()
136 av_buffer_unref(&unit->data_ref); in cbs_unit_uninit()
137 unit->data = NULL; in cbs_unit_uninit()
138 unit->data_size = 0; in cbs_unit_uninit()
139 unit->data_bit_padding = 0; in cbs_unit_uninit()
172 CodedBitstreamUnit *unit = &frag->units[i]; in cbs_read_fragment_content() local
176 if (ctx->decompose_unit_types[j] == unit->type) in cbs_read_fragment_content()
183 av_buffer_unref(&unit->content_ref); in cbs_read_fragment_content()
[all …]
Dcodec2utils.h37 … {.i64 = default_val}, min_val, AVPRIV_CODEC2_MODE_MAX, .flags=option_flags, .unit="codec2_mode"},\
38 { "3200", "3200", 0, AV_OPT_TYPE_CONST, {.i64 = 0}, .flags=option_flags, .unit="codec2_mode"},\
39 { "2400", "2400", 0, AV_OPT_TYPE_CONST, {.i64 = 1}, .flags=option_flags, .unit="codec2_mode"},\
40 { "1600", "1600", 0, AV_OPT_TYPE_CONST, {.i64 = 2}, .flags=option_flags, .unit="codec2_mode"},\
41 { "1400", "1400", 0, AV_OPT_TYPE_CONST, {.i64 = 3}, .flags=option_flags, .unit="codec2_mode"},\
42 { "1300", "1300", 0, AV_OPT_TYPE_CONST, {.i64 = 4}, .flags=option_flags, .unit="codec2_mode"},\
43 { "1200", "1200", 0, AV_OPT_TYPE_CONST, {.i64 = 5}, .flags=option_flags, .unit="codec2_mode"},\
44 { "700", "700", 0, AV_OPT_TYPE_CONST, {.i64 = 6}, .flags=option_flags, .unit="codec2_mode"},\
45 { "700B", "700B", 0, AV_OPT_TYPE_CONST, {.i64 = 7}, .flags=option_flags, .unit="codec2_mode"},\
46 { "700C", "700C", 0, AV_OPT_TYPE_CONST, {.i64 = 8}, .flags=option_flags, .unit="codec2_mode"}
/third_party/json/test/
DCMakeLists.txt61 add_library(doctest_main OBJECT src/unit.cpp)
91 # one executable for each unit test file
95 src/unit-algorithms.cpp
96 src/unit-allocator.cpp
97 src/unit-alt-string.cpp
98 src/unit-assert_macro.cpp
99 src/unit-bson.cpp
100 src/unit-capacity.cpp
101 src/unit-cbor.cpp
102 src/unit-class_const_iterator.cpp
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dmeasure.cpp26 Measure::Measure() : unit(nullptr) {} in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
30 number(_number), unit(adoptedUnit) { in Measure()
38 UObject(other), unit(nullptr) { in Measure()
44 delete unit; in operator =()
46 if (other.unit != nullptr) { in operator =()
47 unit = other.unit->clone(); in operator =()
49 unit = nullptr; in operator =()
60 delete unit; in ~Measure()
72 ((unit == NULL) == (m.unit == NULL)) && in operator ==()
73 (unit == NULL || *unit == *m.unit); in operator ==()
/third_party/node/deps/icu-small/source/i18n/
Dmeasure.cpp26 Measure::Measure() : unit(nullptr) {} in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
30 number(_number), unit(adoptedUnit) { in Measure()
38 UObject(other), unit(nullptr) { in Measure()
44 delete unit; in operator =()
46 if (other.unit != nullptr) { in operator =()
47 unit = other.unit->clone(); in operator =()
49 unit = nullptr; in operator =()
60 delete unit; in ~Measure()
72 ((unit == NULL) == (m.unit == NULL)) && in operator ==()
73 (unit == NULL || *unit == *m.unit); in operator ==()
/third_party/boost/libs/units/test/
Dtest_predicates.cpp60 BOOST_MPL_ASSERT((bu::is_unit<bu::unit<bu::dimensionless_type, system1> >)); in main()
61 BOOST_MPL_ASSERT((bu::is_unit<bu::unit<dimension, system1> >)); in main()
64 BOOST_MPL_ASSERT((bu::is_unit_of_system<bu::unit<bu::dimensionless_type, system1>, system1>)); in main()
65 BOOST_MPL_ASSERT((bu::is_unit_of_system<bu::unit<dimension, system1>, system1>)); in main()
66 … BOOST_MPL_ASSERT_NOT((bu::is_unit_of_system<bu::unit<bu::dimensionless_type, system1>, system2>)); in main()
67 BOOST_MPL_ASSERT_NOT((bu::is_unit_of_system<bu::unit<dimension, system1>, system2>)); in main()
71 …BOOST_MPL_ASSERT((bu::is_unit_of_dimension<bu::unit<bu::dimensionless_type, system1>, bu::dimensio… in main()
72 BOOST_MPL_ASSERT((bu::is_unit_of_dimension<bu::unit<dimension, system1>, dimension>)); in main()
73 …BOOST_MPL_ASSERT_NOT((bu::is_unit_of_dimension<bu::unit<bu::dimensionless_type, system1>, dimensio… in main()
74 …BOOST_MPL_ASSERT_NOT((bu::is_unit_of_dimension<bu::unit<dimension, system1>, bu::dimensionless_typ… in main()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/
DPeriodBuilderFactoryTest.java44 for (TimeUnit unit = YEAR; unit != null; unit = unit.smaller()) { in testSetAvailableUnitRange()
45 Period p = b.create((long)(approxDurations[unit.ordinal()]*2.5)); in testSetAvailableUnitRange()
46 assertTrue(null, p.isSet(unit)); in testSetAvailableUnitRange()
52 for (TimeUnit unit = YEAR; unit != null; unit = unit.smaller()) { in testSetAvailableUnitRange()
53 Period p = b.create((long)(approxDurations[unit.ordinal()]*2.5)); in testSetAvailableUnitRange()
54 …assertEquals(null, p.isSet(unit), unit.ordinal() >= MONTH.ordinal() && unit.ordinal() <= MINUTE.or… in testSetAvailableUnitRange()
58 for (TimeUnit unit = YEAR; unit != null; unit = unit.smaller()) { in testSetAvailableUnitRange()
59 b = pbf.getFixedUnitBuilder(unit); in testSetAvailableUnitRange()
60 if (unit.ordinal() >= MONTH.ordinal() && unit.ordinal() <= MINUTE.ordinal()) { in testSetAvailableUnitRange()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/
DPeriod.java43 public static Period at(float count, TimeUnit unit) { in at() argument
45 return new Period(ETimeLimit.NOLIMIT, false, count, unit); in at()
55 public static Period moreThan(float count, TimeUnit unit) { in moreThan() argument
57 return new Period(ETimeLimit.MT, false, count, unit); in moreThan()
67 public static Period lessThan(float count, TimeUnit unit) { in lessThan() argument
69 return new Period(ETimeLimit.LT, false, count, unit); in lessThan()
83 public Period and(float count, TimeUnit unit) { in and() argument
85 return setTimeUnitValue(unit, count); in and()
94 public Period omit(TimeUnit unit) { in omit() argument
95 return setTimeUnitInternalValue(unit, 0); in omit()
[all …]
DBasicPeriodBuilderFactory.java34 static long approximateDurationOf(TimeUnit unit) { in approximateDurationOf() argument
35 return TimeUnit.approxDurations[unit.ordinal]; in approximateDurationOf()
212 public PeriodBuilderFactory setUnitIsAvailable(TimeUnit unit, in setUnitIsAvailable() argument
216 uset |= 1 << unit.ordinal; in setUnitIsAvailable()
218 uset &= ~(1 << unit.ordinal); in setUnitIsAvailable()
281 public PeriodBuilder getFixedUnitBuilder(TimeUnit unit) { in getFixedUnitBuilder() argument
282 return FixedUnitBuilder.get(unit, getSettings()); in getFixedUnitBuilder()
331 public long approximateDurationOf(TimeUnit unit) { in approximateDurationOf() argument
332 return BasicPeriodBuilderFactory.approximateDurationOf(unit); in approximateDurationOf()
377 private TimeUnit unit;
[all …]
/third_party/icu/icu4c/source/i18n/
Dmeasure.cpp30 number(_number), unit(adoptedUnit) { in Measure()
38 UObject(other), unit(0) { in Measure()
44 delete unit; in operator =()
46 unit = other.unit->clone(); in operator =()
56 delete unit; in ~Measure()
68 ((unit == NULL) == (m.unit == NULL)) && in operator ==()
69 (unit == NULL || *unit == *m.unit); in operator ==()
/third_party/boost/libs/spirit/classic/phoenix/test/
DJamfile14 unit-test binary_tests
19 unit-test binders_tests
24 unit-test functors_tests
29 unit-test iostream_tests
35 unit-test mixed_binary_tests
41 unit-test more_expressions_tests
47 unit-test primitives_tests
53 unit-test statements_tests
59 unit-test stl_tests
65 unit-test tuples_tests
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dmeasure.cpp30 number(_number), unit(adoptedUnit) { in Measure()
38 UObject(other), unit(0) { in Measure()
44 delete unit; in operator =()
46 unit = (MeasureUnit*) other.unit->clone(); in operator =()
56 delete unit; in ~Measure()
68 ((unit == NULL) == (m.unit == NULL)) && in operator ==()
69 (unit == NULL || *unit == *m.unit); in operator ==()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DMeasure.java36 private final MeasureUnit unit; field in Measure
43 public Measure(Number number, MeasureUnit unit) { in Measure() argument
44 if (number == null || unit == null) { in Measure()
48 this.unit = unit; in Measure()
64 return unit.equals(m.unit) && numbersEqual(number, m.number); in equals()
90 return 31 * Double.valueOf(number.doubleValue()).hashCode() + unit.hashCode(); in hashCode()
100 return number.toString() + ' ' + unit.toString(); in toString()
116 return unit; in getUnit()
/third_party/boost/libs/spirit/classic/phoenix/example/
DJamfile14 #unit-test sample1
20 unit-test sample2
26 unit-test sample3
32 unit-test sample4
38 unit-test sample5
44 unit-test sample6
50 unit-test sample7
56 unit-test sample8
62 unit-test sample9
68 unit-test sample10
[all …]
/third_party/node/deps/npm/node_modules/are-we-there-yet/
Dtracker-group.js37 TrackerGroup.prototype.addUnit = function (unit, weight) { argument
38 if (unit.addUnit) {
41 if (unit === toTest) {
44 unit.name + ' to tree that already includes it ' +
49 unit.parentGroup = this
51 this.weight[unit.id] = weight || 1
52 this.totalWeight += this.weight[unit.id]
53 this.trackers.push(unit)
54 this.completion[unit.id] = unit.completed()
55 unit.on('change', this.bubbleChange)
[all …]
/third_party/icu/icu4c/source/test/testdata/
Dnumberpermutationtest.txt4 compact-short percent unit-width-narrow
18 compact-short percent unit-width-full-name
32 compact-short currency/EUR unit-width-narrow
46 compact-short currency/EUR unit-width-full-name
60 compact-short measure-unit/length-furlong unit-width-narrow
74 compact-short measure-unit/length-furlong unit-width-full-name
88 scientific/+ee/sign-always percent unit-width-narrow
102 scientific/+ee/sign-always percent unit-width-full-name
116 scientific/+ee/sign-always currency/EUR unit-width-narrow
130 scientific/+ee/sign-always currency/EUR unit-width-full-name
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/data/
Dnumberpermutationtest.txt4 compact-short percent unit-width-narrow
18 compact-short percent unit-width-full-name
32 compact-short currency/EUR unit-width-narrow
46 compact-short currency/EUR unit-width-full-name
60 compact-short measure-unit/length-furlong unit-width-narrow
74 compact-short measure-unit/length-furlong unit-width-full-name
88 scientific/+ee/sign-always percent unit-width-narrow
102 scientific/+ee/sign-always percent unit-width-full-name
116 scientific/+ee/sign-always currency/EUR unit-width-narrow
130 scientific/+ee/sign-always currency/EUR unit-width-full-name
[all …]

12345678910>>...121