/frameworks/minikin/include/minikin/ |
H A D | LayoutPieces.h | 35 for (const auto it : offsetMap) { 36 const_cast<LayoutCacheKey*>(&it.first)->freeText(); 56 auto it = offsetMap.find(LayoutCacheKey(textBuf, range, paint, dir, startEdit, endEdit)); local 57 if (it == offsetMap.end()) { 61 f(it->second);
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/ |
H A D | Entity.kt | 50 val autoIncrement = primaryKey.autoGenerateId && primaryKey.fields.contains(it) 51 it.databaseDefinition(autoIncrement) 57 return foreignKeys.map { it.databaseDefinition() } 64 val keys = primaryKey.fields.joinToString(", ") { "`${it.columnName}`" } 71 it.parentTable == other.tableName 72 && ((!it.deferred && it.onDelete == ForeignKeyAction.NO_ACTION) 73 || it.onDelete == ForeignKeyAction.RESTRICT) 80 fields.map { it.toBundle() }, 82 indices.map { it [all...] |
H A D | Constructor.kt | 29 when (it) { 30 is FieldParam -> it.field === field 31 is EmbeddedParam -> it.embedded.field === field
|
H A D | Index.kt | 33 return "$unique-$name-${fields.joinToString(",") { it.columnName }}" 44 ON `$tableName` (${fields.map { it.columnName }.joinToString(", ") { "`$it`" }}) 48 val columnNames by lazy { fields.map { it.columnName } } 50 fun toBundle(): IndexBundle = IndexBundle(name, unique, fields.map { it.columnName },
|
/frameworks/av/services/camera/libcameraservice/gui/ |
H A D | RingBufferConsumer.cpp | 69 List<RingBufferItem>::iterator it, end, accIt; local 75 for (it = mBufferItemList.begin(), end = mBufferItemList.end(); 76 it != end; 77 ++it) { 79 const RingBufferItem& item = *it; 95 accIt = it; 165 List<RingBufferItem>::iterator it, end; local 167 for (it = mBufferItemList.begin(), end = mBufferItemList.end(); 168 it != end; 169 ++it) { 190 List<RingBufferItem>::iterator it, end, accIt; local 328 List<RingBufferItem>::iterator it, end, accIt; local [all...] |
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/ |
H A D | DaoProcessor.kt | 60 it.hasAnyOf(ABSTRACT) && it.kind == ElementKind.METHOD 61 && it.findKotlinDefaultImpl(context.processingEnv.typeUtils) == null 63 MoreElements.asExecutable(it) 66 PROCESSED_ANNOTATIONS.count { method.hasAnnotation(it) } == 1, method, 94 executableElement = it, 102 executableElement = it 110 executableElement = it).process() 117 executableElement = it).process() 124 executableElement = it) [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaClock.cpp | 30 // If larger than this threshold, it's treated as discontinuity. 67 auto it = mTimers.begin(); local 68 while (it != mTimers.end()) { 69 it->mNotify->setInt32("reason", TIMER_REASON_RESET); 70 it->mNotify->post(); 71 it = mTimers.erase(it); 94 ALOGW("reject anchor time since it is negative."); 103 ALOGW("reject anchor time since it leads to negative media time."); 215 auto it local 266 auto it = mTimers.begin(); local [all...] |
/frameworks/base/tools/bit/ |
H A D | command.cpp | 84 for (map<string,string>::const_iterator it=env.begin(); it!=env.end(); it++) { 85 copy[it->first] = it->second; 89 for (map<string,string>::const_iterator it=copy.begin(); it!=copy.end(); it++) { 90 *row = (char*)malloc(it->first.size() + it [all...] |
/frameworks/compile/mclinker/lib/Script/ |
H A D | Assignment.cpp | 109 for (RpnExpr::iterator it = m_RpnExpr.begin(), ie = m_RpnExpr.end(); 110 it != ie; 111 ++it) { 113 if ((*it)->kind() == ExprToken::OPERAND && 114 llvm::cast<Operand>(*it)->isDot()) { 115 *it = &(prevDotAssign.symbol()); 146 for (RpnExpr::iterator it = m_RpnExpr.begin(), ie = m_RpnExpr.end(); 147 it != ie; 148 ++it) { 150 if ((*it) [all...] |
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64PLT.cpp | 107 AArch64PLT::iterator it = m_pSectionData->begin(); local 109 assert(it != ie && "FragmentList is empty, applyPLT1 failed!"); 117 ++it; // skip PLT0 122 while (it != ie) { 123 plt1 = &(llvm::cast<AArch64PLT1>(*it)); 138 ++it; 149 iterator it = begin(); local 153 llvm::cast<AArch64PLT0>((*it)).getValue(), 156 ++it; 160 while (it ! [all...] |
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMPLT.cpp | 102 ARMPLT::iterator it = m_pSectionData->begin(); local 104 assert(it != ie && "FragmentList is empty, applyPLT1 failed!"); 111 ++it; // skip PLT0 116 while (it != ie) { 117 plt1 = &(llvm::cast<ARMPLT1>(*it)); 132 ++it; 143 iterator it = begin(); local 146 memcpy(buffer, llvm::cast<ARMPLT0>((*it)).getValue(), ARMPLT0::EntrySize); 148 ++it; 152 while (it ! [all...] |
H A D | ARMException.h | 100 SectMap::const_iterator it = m_SectToExData.find(&pSect); local 101 if (it == m_SectToExData.end()) { 104 return it->second.get(); 127 void erase(iterator it) { m_SectToExData.erase(it); } argument 153 InputMap::const_iterator it = m_Inputs.find(pInput); local 154 if (it == m_Inputs.end()) { 157 return it->second.get(); 162 ExIdxMap::const_iterator it = m_ExIdxToTuple.find(pExIdxFragment); local 163 if (it [all...] |
/frameworks/native/libs/vr/libvr_manager/ |
H A D | trusted_uids.cpp | 20 // These are already whitelisted by the permission service, but it might not 29 auto it = uid_cache.find(uid); local 30 if (it != uid_cache.end()) 31 return it->second; 40 // Note: we ignore the pid because it's only used to automatically reply
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AAVCAssembler.cpp | 55 List<sp<ABuffer> >::iterator it = queue->begin(); local 56 while (it != queue->end()) { 57 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) { 61 it = queue->erase(it); 226 List<sp<ABuffer> >::iterator it = ++queue->begin(); local 227 while (it != queue->end()) { 230 const sp<ABuffer> &buffer = *it; 250 it = queue->begin(); 252 it 293 List<sp<ABuffer> >::iterator it = queue->begin(); local [all...] |
H A D | ARTPConnection.cpp | 218 List<StreamInfo>::iterator it = mStreams.begin(); local 219 while (it != mStreams.end() 220 && (it->mRTPSocket != rtpSocket || it->mRTCPSocket != rtcpSocket)) { 221 ++it; 224 if (it == mStreams.end()) { 228 mStreams.erase(it); 257 for (List<StreamInfo>::iterator it = mStreams.begin(); 258 it != mStreams.end(); ++it) { 281 List<StreamInfo>::iterator it = mStreams.begin(); local 312 List<StreamInfo>::iterator it = mStreams.begin(); local 655 List<StreamInfo>::iterator it = mStreams.begin(); local [all...] |
/frameworks/compile/mclinker/lib/Fragment/ |
H A D | Stub.cpp | 57 for (fixup_iterator it = fixup_begin(), ie = fixup_end(); it != ie; ++it) { 59 Relocation::Create((*it)->type(), 60 *(FragmentRef::Create(*this, (*it)->offset())), 61 (*it)->addend());
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | DebugString.cpp | 43 SectionData::iterator it, end = pSection.getSectionData()->end(); local 44 for (it = pSection.getSectionData()->begin(); it != end; ++it) { 45 if ((*it).getKind() == Fragment::Region) { 46 RegionFragment* frag = llvm::cast<RegionFragment>(&(*it));
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/ |
H A D | CallbackWrapperWriter.kt | 22 "int ${CallbackWrapper.SOURCE_ID} ${method.parameterTypes.withIndex().map { ", ${it.value.toJavaCode()} ${CallbackWrapper.ARG_PREFIX}${it.index}" }.joinToString("")}" 25 method.parameterTypes.withIndex().map { "${it.value.toJavaCode()} ${CallbackWrapper.ARG_PREFIX}${it.index}" }.joinToString(", ") 28 method.parameterTypes.withIndex().map { "${CallbackWrapper.ARG_PREFIX}${it.index}" }.joinToString(", ") 31 "mSourceId ${method.parameterTypes.withIndex().map { ", ${CallbackWrapper.ARG_PREFIX}${it.index}" }.joinToString("")}" 34 * For any listener type we see, we create a class that can wrap around it. This wrapper has an
|
/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/rule/ |
H A D | RewriteRulesMap.kt | 34 val runtimeIgnoreRules = rewriteRules.filter { it.isRuntimeIgnoreRule() }.toSet() 57 .filter { !it.isIgnoreRule() } 58 .map { it.reverse() } 67 return JsonData(rewriteRules.map { it.toJson() }.toSet())
|
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/proguard/ |
H A D | ProGuardClassFilterParser.kt | 44 .map { it.trim() } 45 .filter { it.isNotEmpty() } 46 .map { replaceTypeInClassFilter(it) } 64 .map { '!' + it }
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/parser/ |
H A D | ParserErrors.kt | 27 QueryType.SUPPORTED.joinToString(", ") { it.name }
|
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/ |
H A D | Processor.kt | 107 pomRewriteRules = config.pomRewriteRules.map { it.getReversed() }.toSet(), 133 + it.from.groupId!!.replace(".", "[./\\\\]") 135 + it.from.artifactId 141 + it.to.groupId!!.replace(".", "[./\\\\]") 143 + it.to.artifactId 163 val inputLibraries = input.map { it.from }.toSet() 175 libraries.forEach { transformLibrary(it) } 198 .filter { copyUnmodifiedLibsAlso || it.wasChanged } 200 it.writeSelf() 210 .filter { it [all...] |
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsPLT.cpp | 80 iterator it = begin(); local 83 memcpy(buffer, llvm::cast<MipsPLT0>((*it)).getValue(), MipsPLT0::EntrySize); 85 ++it; 88 for (iterator ie = end(); it != ie; ++it) { 89 plta = &(llvm::cast<MipsPLTA>(*it)); 104 for (iterator it = m_pSectionData->begin(); it != m_pSectionData->end(); 105 ++it) { 106 PLTEntryBase* plt = &(llvm::cast<PLTEntryBase>(*it)); [all...] |
/frameworks/support/paging/common/src/test/java/androidx/paging/ |
H A D | PositionalDataSourceTest.kt | 124 // invalidate data source so it's invalid when onResult() called 151 it.onResult(listOf("a", "b"), 0, 2) 157 val elevenLetterList = List(11) { "" + 'a' + it } 158 it.onResult(elevenLetterList, 0, 12) 164 it.onResult(listOf("a", "b", "c"), 0, 2) 170 it.onResult(listOf("a", "b"), 1, 2) 176 it.onResult(listOf("a", "b", "c"), -1, 2) 182 it.onResult(emptyList(), 0, 2) 188 it.onResult(listOf("a", "b"), 0) 194 it [all...] |
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/query/result/ |
H A D | PojoRowAdapter.kt | 48 // toMutableList documentation is not clear if it copies so lets be safe. 49 val remainingFields = pojo.fields.mapTo(mutableListOf(), { it }) 56 val field = remainingFields.firstOrNull { it.columnName == column.name } ?: 57 pojo.fields.firstOrNull { it.columnName == column.name } 70 allColumns = info.columns.map { it.name }, 76 val nonNulls = remainingFields.filter { it.nonNull } 80 missingPojoFields = nonNulls.map { it.name }, 81 allQueryColumns = info.columns.map { it.name })) 87 matchedFields = remainingFields.map { it } 101 val queryTableNames = it [all...] |