OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:minMask
(Results
1 - 4
of
4
) sorted by null
/frameworks/av/media/codec2/vndk/util/
C2InterfaceUtils.cpp
182
T
minMask
= min();
183
if (~value &
minMask
) {
186
value &= ~
minMask
;
214
T
minMask
= min() | limit.min();
216
if (limit.contains(
minMask
) && contains(
minMask
)) {
217
values[0] =
minMask
;
219
std::remove_if(values.begin(), values.end(), [&limit,
minMask
](const C2Value::Primitive &v) -> bool {
220
T value = v.ref<ValueType>() |
minMask
;
221
return value ==
minMask
|| !limit.contains(value); })
[
all
...]
/frameworks/av/media/libstagefright/foundation/tests/
Flagged_test.cpp
152
kSafeMask = _Flagged_helper::
minMask
(kSafe),
170
kOriginMask = _Flagged_helper::
minMask
(kBinder),
190
kValidatedMask = _Flagged_helper::
minMask
(kValidated),
280
//
minMask
(maxValue)
281
static_assert(helper::
minMask
(0U) == 0U, "lowest 0 bits");
282
static_assert(helper::
minMask
(1U) == 1U, "lowest 1 bit");
283
static_assert(helper::
minMask
(2U) == 3U, "lowest 2 bits");
284
static_assert(helper::
minMask
(3U) == 3U, "lowest 2 bits");
285
static_assert(helper::
minMask
(4U) == 7U, "lowest 3 bits");
286
static_assert(helper::
minMask
(~0U) == ~0U, "all bits")
[
all
...]
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
Flagged.h
33
* mask. _Flagged_helper::
minMask
<Flag> is provided to easily calculate a mask for a max value.
41
* kSafeMask = _Flagged_helper::
minMask
(kSafe),
65
* kOriginMask = _Flagged_helper::
minMask
(kBinder),
86
* kValidatedMask = _Flagged_helper::
minMask
(kValidated),
132
static constexpr Flag
minMask
(Flag maxValue, int shift=sizeof(Flag) * 4) {
135
return shift ?
minMask
<Flag>(Flag(maxValue | (maxValue >> shift)), shift >> 1) : maxValue;
AData.h
583
static constexpr Flag mask = _Flagged_helper::
minMask
<Flag>(count); ///< flag mask
664
_Flagged_helper::
minMask
<Flag>(count * max_size_stored); ///< flag mask
[
all
...]
Completed in 1622 milliseconds