Home
last modified time | relevance | path

Searched refs:mapping (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/compile/mclinker/include/mcld/Target/
DKeyEntryMap.h90 const_iterator mapping, mEnd = m_Pool.end(); in lookUp() local
91 for (mapping = m_Pool.begin(); mapping != mEnd; ++mapping) { in lookUp()
92 if (mapping->key == &pKey) { in lookUp()
93 return mapping->entry.entry_ptr; in lookUp()
102 iterator mapping, mEnd = m_Pool.end(); in lookUp() local
103 for (mapping = m_Pool.begin(); mapping != mEnd; ++mapping) { in lookUp()
104 if (mapping->key == &pKey) { in lookUp()
105 return mapping->entry.entry_ptr; in lookUp()
115 const_iterator mapping, mEnd = m_Pool.end(); in lookUpFirstEntry() local
116 for (mapping = m_Pool.begin(); mapping != mEnd; ++mapping) { in lookUpFirstEntry()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DKeySetManagerServiceTest.java129 ArraySet<Long> mapping = ksMapping.get(1); in testAddSigningKSToPackageEmpty() local
130 assertEquals(1, mapping.size()); in testAddSigningKSToPackageEmpty()
131 assertTrue(mapping.contains(new Long(1))); in testAddSigningKSToPackageEmpty()
159 ArraySet<Long> mapping = ksMapping.get(1); in testAddSigningKSToPackageUpgradeSame() local
160 assertEquals(1, mapping.size()); in testAddSigningKSToPackageUpgradeSame()
161 assertTrue(mapping.contains(new Long(1))); in testAddSigningKSToPackageUpgradeSame()
194 ArraySet<Long> mapping = ksMapping.get(2); in testAddSigningKSToPackageUpgradeDiff() local
195 assertEquals(1, mapping.size()); in testAddSigningKSToPackageUpgradeDiff()
196 assertTrue(mapping.contains(new Long(2))); in testAddSigningKSToPackageUpgradeDiff()
233 ArraySet<Long> mapping = ksMapping.get(1); in testAddSigningKSToPackageUpgradeDiff2() local
[all …]
DPackageManagerSettingsTests.java853 ArraySet<Long> mapping = ksMapping.get(1); in verifyKeySetMetaData() local
854 assertThat(mapping.size(), is(1)); in verifyKeySetMetaData()
855 assertThat(mapping.contains(new Long(1)), is(true)); in verifyKeySetMetaData()
856 mapping = ksMapping.get(2); in verifyKeySetMetaData()
857 assertThat(mapping.size(), is(1)); in verifyKeySetMetaData()
858 assertThat(mapping.contains(new Long(2)), is(true)); in verifyKeySetMetaData()
859 mapping = ksMapping.get(3); in verifyKeySetMetaData()
860 assertThat(mapping.size(), is(1)); in verifyKeySetMetaData()
861 assertThat(mapping.contains(new Long(3)), is(true)); in verifyKeySetMetaData()
862 mapping = ksMapping.get(4); in verifyKeySetMetaData()
[all …]
/frameworks/rs/
DrsClosure.cpp88 auto mapping = mArgDeps[dep]; in Closure() local
89 if (mapping == nullptr) { in Closure()
90 mapping = new Map<int, ObjectBaseRef<ScriptFieldID>>(); in Closure()
91 mArgDeps[dep] = mapping; in Closure()
93 (*mapping)[i].set(const_cast<ScriptFieldID*>(depFieldIDs[i])); in Closure()
100 auto mapping = mGlobalDeps[dep]; in Closure() local
101 if (mapping == nullptr) { in Closure()
102 mapping = new Map<const ScriptFieldID*, in Closure()
104 mGlobalDeps[dep] = mapping; in Closure()
107 (*mapping)[fieldIDs[i]].set(const_cast<ScriptFieldID*>(depFieldIDs[i])); in Closure()
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/ext/
Dext.kt21 private val mapping = hashMapOf<K, T>() constant in android.databinding.tool.ext.LazyExt
23 val t = mapping[thisRef] in getValue()
28 mapping.put(thisRef, result) in getValue()
34 private val mapping = hashMapOf<K, VersionedResult<T>>() constant in android.databinding.tool.ext.VersionedLazyExt
37 val t = mapping[thisRef] in getValue()
43 mapping.put(thisRef, VersionedResult(version, result)) in getValue()
/frameworks/rs/rsov/compiler/
DGlobalAllocSPIRITPass.cpp72 std::stringstream mapping; in CreateGAIDMetadata() local
75 mapping << "{\"__RSoV_GA\": {"; in CreateGAIDMetadata()
82 mapping << ", "; in CreateGAIDMetadata()
84 mapping << "\"" << A.VarName.substr(1) << "\":" << A.ID; in CreateGAIDMetadata()
87 mapping << "}}"; in CreateGAIDMetadata()
90 return mapping.str().c_str(); in CreateGAIDMetadata()
/frameworks/support/room/compiler/src/test/kotlin/android/arch/persistence/room/processor/
DQueryMethodProcessorTest.kt483 assertThat(adapter?.mapping?.unusedColumns, `is`(emptyList())) in <lambda>()
484 assertThat(adapter?.mapping?.unusedFields, `is`(emptyList())) in <lambda>()
494 assertThat(adapter?.mapping?.unusedColumns, `is`(emptyList())) in <lambda>()
495 assertThat(adapter?.mapping?.unusedFields, `is`(emptyList())) in <lambda>()
508 assertThat(adapter?.mapping?.unusedColumns, `is`(emptyList())) in <lambda>()
509 assertThat(adapter?.mapping?.unusedFields, `is`(emptyList())) in <lambda>()
520 assertThat(adapter?.mapping?.unusedColumns, `is`(emptyList())) in <lambda>()
521 assertThat(adapter?.mapping?.unusedFields, `is`(emptyList())) in <lambda>()
531 assertThat(adapter?.mapping?.unusedColumns, `is`(listOf("name", "lastName"))) in <lambda>()
532 assertThat(adapter?.mapping?.unusedFields, `is`(adapter?.pojo?.fields)) in <lambda>()
[all …]
/frameworks/av/services/mediaanalytics/
DMediaAnalyticsService.cpp819 struct UidToPkgMap mapping; in setPkgInfo() local
820 mapping.uid = (-1); in setPkgInfo()
824 mapping = mPkgMappings.valueAt(i); in setPkgInfo()
826 uid, mapping.expiration, now); in setPkgInfo()
827 if (mapping.expiration < now) { in setPkgInfo()
935 mapping.uid = uid; in setPkgInfo()
936 mapping.pkg = pkg; in setPkgInfo()
937 mapping.installer = installer.c_str(); in setPkgInfo()
938 mapping.versionCode = versionCode; in setPkgInfo()
939 mapping.expiration = now + PKG_EXPIRATION_NS; in setPkgInfo()
[all …]
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/solver/query/result/
DPojoRowAdapter.kt44 val mapping: Mapping in <lambda>() constant
80 mapping = Mapping( in <lambda>()
100 mapping.fieldsWithIndices = mapping.matchedFields.map { in <lambda>()
114 fieldsWithIndices = mapping.fieldsWithIndices, in <lambda>()
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/vo/
DForeignKeyAction.kt31 private val mapping by lazy { in <lambda>() constant
34 fun fromAnnotationValue(value : Int?) = mapping[value]
/frameworks/base/core/java/android/view/
DViewDebug.java122 IntToString[] mapping() default { }; in mapping() method
1201 final IntToString[] mapping = property.mapping(); in exportMethods() local
1202 if (mapping.length > 0) { in exportMethods()
1205 int mappingCount = mapping.length; in exportMethods()
1207 final IntToString mapper = mapping[j]; in exportMethods()
1286 final IntToString[] mapping = property.mapping(); in exportFields() local
1287 if (mapping.length > 0) { in exportFields()
1289 int mappingCount = mapping.length; in exportFields()
1291 final IntToString mapped = mapping[j]; in exportFields()
1361 private static void exportUnrolledFlags(BufferedWriter out, FlagToString[] mapping, in exportUnrolledFlags() argument
[all …]
/frameworks/compile/mclinker/include/mcld/Object/
DSectionMap.h146 typedef std::pair<Output*, Input*> mapping; typedef
162 mapping find(const std::string& pInputFile, const std::string& pInputSection);
167 std::pair<mapping, bool> insert(
171 std::pair<mapping, bool> insert(const InputSectDesc& pInputDesc,
/frameworks/compile/mclinker/include/mcld/LD/
DDiagLayouts.inc21 "Illegal section mapping rule: %0 -> %1. (conflict with %2 -> %3)",
22 "Illegal section mapping rule: %0 -> %1. (conflict with %2 -> %3)")
/frameworks/av/media/libaaudio/src/fifo/
DREADME.md9 location of indices and data buffer, mapping, allocation of memmory will probably be kept as-is.
/frameworks/compile/mclinker/tools/mcld/
DMain.cpp694 mcld::StringEntry<uint64_t>* mapping = in TranslateArguments() local
696 mapping->setValue(addr); in TranslateArguments()
709 mcld::StringEntry<uint64_t>* mapping = in TranslateArguments() local
711 mapping->setValue(addr); in TranslateArguments()
724 mcld::StringEntry<uint64_t>* mapping = in TranslateArguments() local
726 mapping->setValue(addr); in TranslateArguments()
739 mcld::StringEntry<uint64_t>* mapping = in TranslateArguments() local
741 mapping->setValue(addr); in TranslateArguments()
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/writer/
DQueryWriter.kt79 sectionToParamMapping.firstOrNull { mapping -> in <lambda>() method
80 mapping.first == it in <lambda>()
/frameworks/rs/script_api/
Drs_allocation_data.spec76 arg: uint32_t srcMip, "Mip level in the source allocation. 0 if mip mapping is not used."
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DResourceExpr.java105 final Map<String, ModelClass> mapping = getResourceToTypeMapping( in resolveType() local
107 final ModelClass modelClass = mapping.get(mResourceType); in resolveType()
/frameworks/compile/mclinker/lib/Target/
DELFEmulation.cpp77 std::pair<SectionMap::mapping, bool> res = in MCLDEmulateELF()
/frameworks/compile/mclinker/lib/Object/
DSectionMap.cpp186 SectionMap::mapping SectionMap::find(const std::string& pInputFile, in find()
219 std::pair<SectionMap::mapping, bool> SectionMap::insert( in insert()
252 std::pair<SectionMap::mapping, bool> SectionMap::insert( in insert()
DObjectBuilder.cpp57 SectionMap::mapping pair = m_Module.getScript().sectionMap().find( in MergeSection()
/frameworks/base/tools/aapt2/proto/
DTableProtoDeserializer.cpp35 explicit ReferenceIdToNameVisitor(const std::map<ResourceId, ResourceNameRef>* mapping) in ReferenceIdToNameVisitor() argument
36 : mapping_(mapping) { in ReferenceIdToNameVisitor()
/frameworks/base/tools/aapt2/unflatten/
DBinaryResourceParser.cpp51 explicit ReferenceIdToNameVisitor(const std::map<ResourceId, ResourceName>* mapping) in ReferenceIdToNameVisitor() argument
52 : mapping_(mapping) { in ReferenceIdToNameVisitor()
/frameworks/rs/rsov/driver/
DrsovScript.cpp748 std::map<std::string, int> mapping; in visit() local
749 ParseMD p(s->mOperand1, mapping); in visit()
751 *mGAMapping = std::move(mapping); in visit()
/frameworks/base/core/java/android/app/
DActionBar.java1354 @ViewDebug.ExportedProperty(category = "layout", mapping = {

12