Home
last modified time | relevance | path

Searched refs:flagSet (Results 1 – 4 of 4) sorted by relevance

/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/writer/
DFlagSetTest.java30 FlagSet flagSet = new FlagSet(bs, 3); in testSimple1Level() local
31 assertEquals(3, flagSet.buckets.length); in testSimple1Level()
32 assertEquals(1 << 7, flagSet.buckets[0]); in testSimple1Level()
33 assertEquals(0, flagSet.buckets[1]); in testSimple1Level()
34 assertEquals(0, flagSet.buckets[2]); in testSimple1Level()
41 FlagSet flagSet = new FlagSet(bs, 3); in testSimple2Level() local
42 assertEquals(3, flagSet.buckets.length); in testSimple2Level()
43 assertEquals(0, flagSet.buckets[0]); in testSimple2Level()
44 assertEquals(1 << 2, flagSet.buckets[1]); in testSimple2Level()
45 assertEquals(0, flagSet.buckets[2]); in testSimple2Level()
[all …]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DInverseBinding.java124 FlagSet flagSet = new FlagSet(); in toJavaCode() local
126 flagSet = flagSet.or(new FlagSet(expr.getId())); in toJavaCode()
128 final FlagSet allFlags = flagSet; in toJavaCode()
131 .mapOr(flagField, flagSet, new Function2<String, Integer, KCode>() { in toJavaCode()
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
DLayoutBinderWriter.kt586 val flagSet = it.invalidateFlagSet in <lambda>() constant
588 mDirtyFlags.mapOr(flagSet) { suffix, index -> in <lambda>()
636 … val flagSet = it.value.foldRight(FlagSet()) { l, r -> l.invalidateFlagSet.or(r) } in <lambda>() constant
638 mDirtyFlags.mapOr(flagSet) { suffix, index -> in <lambda>()
647 val flagSet = it.invalidateFlagSet in <lambda>() constant
649 mDirtyFlags.mapOr(flagSet) { suffix, index -> in <lambda>()
860 val flagSet = it.key in readWithDependants() constant
861 val needsIfWrapper = inheritedFlags == null || !flagSet.bitsEqual(inheritedFlags) in readWithDependants()
864 "(${tmpDirtyFlags.localValue(index)} & ${flagSet.localValue(index)}) != 0" in readWithDependants()
895 …L.d("flag set:%s . inherited flags: %s. need another if: %s", flagSet, inheritedFlags, needsIfWrap… in readWithDependants()
[all …]
/frameworks/base/tools/aapt2/
DResourceUtils.cpp303 bool flagSet = false; in tryParseFlagSymbol() local
310 flagSet = true; in tryParseFlagSymbol()
315 if (!flagSet) { in tryParseFlagSymbol()