/frameworks/compile/mclinker/unittests/ |
H A D | BinTreeTest.cpp | 20 // create testee. modify it if need 271 BinaryTree<int>::iterator it = m_pTestee->begin(); local 274 ASSERT_EQ(0, **it); 275 ++it; 276 ASSERT_EQ(1, **it); 277 --it; 278 ASSERT_EQ(2, **it); 279 ++it; 280 ASSERT_EQ(3, **it); 281 ++it; [all...] |
/frameworks/support/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/proguard/ |
H A D | ProGuardTester.kt | 58 return forGivenProGuardMapSet(*(rules.map { it.first to setOf(it.second) }.toTypedArray())) 63 ProGuardType.fromDotNotation(it.first) to it.second.map { 64 ProGuardType.fromDotNotation(it) } 85 .map { RewriteRule(it.first, it.second) } 88 types = javaTypes.map { JavaType(it.first) to JavaType(it.second) }.toMap()
|
/frameworks/compile/mclinker/lib/Script/ |
H A D | InputCmd.cpp | 60 for (StringList::const_iterator it = m_StringList.begin(), 62 it != ie; 63 ++it) { 64 assert((*it)->kind() == StrToken::Input); 65 InputToken* input = llvm::cast<InputToken>(*it); 93 for (StringList::const_iterator it = m_StringList.begin(), 95 it != ie; 96 ++it) { 97 assert((*it)->kind() == StrToken::Input); 98 InputToken* token = llvm::cast<InputToken>(*it); [all...] |
/frameworks/data-binding/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/ |
H A D | ExportLicensesTask.groovy | 113 licenseLookup.put(it, license) 130 if (!it.getModuleGroup().equals("com.android.tools.build")) { 131 it.getAllModuleArtifacts().each { add(it) } 172 notice.append("\n* ${it.key}") 174 def license = it.value 177 notice.append("\n ****** NOTICE:\n${urlToText(it)}") 181 notice.append("\n ****** LICENSE:\n${urlToText(it)}") 184 notice.append("\n ****** LICENSE:\n${it}")
|
/frameworks/support/paging/common/src/test/java/androidx/paging/ |
H A D | PageKeyedDataSourceTest.kt | 91 // invalidate data source so it's invalid when onResult() called 122 it.onResult(listOf("a", "b"), 0, 2, null, null) 128 val elevenLetterList = List(11) { "" + 'a' + it } 129 it.onResult(elevenLetterList, 0, 12, null, null) 135 it.onResult(listOf("a", "b", "c"), 0, 2, null, null) 141 it.onResult(listOf("a", "b"), 1, 2, null, null) 147 it.onResult(listOf("a", "b", "c"), -1, 2, null, null) 153 it.onResult(emptyList(), 0, 2, null, null) 159 it.onResult(emptyList(), 0, 1, null, null) 217 return source.map { it [all...] |
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/ |
H A D | TableInfoValidationWriter.kt | 62 val myColumnNames = it.childFields 63 .joinToString(",") { "\"${it.columnName}\"" } 64 val refColumnNames = it.parentColumns 65 .joinToString(",") { "\"$it\"" } 69 /*parent table*/ it.parentTable, 70 /*on delete*/ it.onDelete.sqlName, 71 /*on update*/ it.onUpdate.sqlName, 85 .joinToString(",") { "\"${it.columnName}\"" }
|
/frameworks/support/compat/src/main/java/androidx/core/text/util/ |
H A D | FindAddress.java | 304 * then it must also be preceded by a word delimiter. 323 * then it must also be preceded by a word delimiter. 403 int it = houseNumberMatch.end(); 412 for (; it < content.length(); lastWord = matcher.group(0), it = matcher.end()) { 413 if (!matcher.find(it)) { 423 while (it < matcher.start()) { 424 if (NL.indexOf(content.charAt(it++)) != -1) ++numLines; 433 if (matchHouseNumber(content, it) != null) { 437 return -it; [all...] |
/frameworks/base/core/java/android/content/ |
H A D | IntentFilter.java | 62 * will not be tested if no values have been given (treating it as a wildcard); 73 * has somewhat special meaning: it will match either an Intent with no URI 76 * you must also specify one or more schemes that it is associated with. 78 * one or more schemes it is associated with. 97 * Intent action; if the filter specifies no actions, then it will only match 196 * lower numbers reduce it. 203 * lower numbers reduce it. 253 * The filter didn't match because it required one or more categories 381 * can call and turns it into a runtime exception. 479 * before the default, lower values will be after it [all...] |
/frameworks/av/include/media/ |
H A D | IMediaSource.h | 50 // Also, it is imperative that any buffers output by this object and 144 // on the receiving side. We hold a reference to the IMemory here to ensure it doesn't 191 for (auto it = mMemoryToIndex.begin(); it != mMemoryToIndex.end(); ) { 192 if (MediaBuffer::isDeadObject(it->second.first)) { 193 it = mMemoryToIndex.erase(it); 195 ++it;
|
/frameworks/av/media/libmedia/include/media/ |
H A D | IMediaSource.h | 50 // Also, it is imperative that any buffers output by this object and 144 // on the receiving side. We hold a reference to the IMemory here to ensure it doesn't 191 for (auto it = mMemoryToIndex.begin(); it != mMemoryToIndex.end(); ) { 192 if (MediaBuffer::isDeadObject(it->second.first)) { 193 it = mMemoryToIndex.erase(it); 195 ++it;
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ALooper.cpp | 74 // clean up stale AHandlers. Doing it here instead of in the destructor avoids 178 List<Event>::iterator it = mEventQueue.begin(); local 179 while (it != mEventQueue.end() && (*it).mWhenUs <= whenUs) { 180 ++it; 187 if (it == mEventQueue.begin()) { 191 mEventQueue.insert(it, event);
|
/frameworks/av/media/libstagefright/omx/ |
H A D | OMXMaster.cpp | 130 for (List<OMXPluginBase *>::iterator it = mPlugins.begin(); 131 it != mPlugins.end(); ++it) { 133 destroyOMXPlugin(*it); 135 delete *it; 136 *it = NULL;
|
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/expr/ |
H A D | ExprWriters.kt | 32 mExprMap.values.filter { it.shouldLocalizeInCallbacks() && !ignore.contains(it) }.forEach { 33 nl("// ${it.toString()}") 34 nl("${it.resolvedType.toJavaCode()} ${it.scopedName()} = ${if (it.isVariable()) it.fieldName else it.defaultValue};") 52 // if i know the value, short circuit it 68 nl(it [all...] |
/frameworks/support/jetifier/jetifier/gradle-plugin/src/main/kotlin/com/android/tools/build/jetifier/plugin/gradle/ |
H A D | TasksCommon.kt | 41 logger.log(LogLevel.DEBUG, it.from.absolutePath) 53 it.from.artifactId == artifactId && it.from.groupId == groupId
|
/frameworks/support/jetifier/jetifier/preprocessor/src/main/kotlin/com/android/tools/build/jetifier/preprocessor/ |
H A D | ConfigGenerator.kt | 57 if (it.isDirectory) { 58 it.listFiles().forEach { fileInDir -> 63 val library = Archive.Builder.extract(it)
|
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/pom/ |
H A D | PomScanner.kt | 52 it.logDocumentDetails() 54 if (!context.ignorePomVersionCheck && !it.validate(context.config.pomRewriteRules)) { 59 pomFilesInternal.add(it)
|
/frameworks/support/navigation/safe-args-generator/ |
H A D | build.gradle | 52 def classpath = it.classpath.getFiles() 53 def androidJar = classpath.find { it.name == "android.jar" } 56 it.classpath = files(classpath)
|
/frameworks/support/navigation/safe-args-generator/src/main/kotlin/androidx/navigation/safe/args/generator/ |
H A D | NavArgumentResolver.kt | 27 val nested = dest.nested.filter { it.id != null }.associateBy { it.id!! } 47 val duplicate = result.find { it.name == arg.name }
|
H A D | XmlPositionParser.kt | 71 parser.getAttributeNamespace(it) == namespace && name == parser.getAttributeName(it) 72 }?.let { parser.getAttributeValue(it) }
|
/frameworks/support/navigation/safe-args-gradle-plugin/src/main/kotlin/androidx/navigation/safeargs/gradle/ |
H A D | SafeArgsPlugin.kt | 54 .flatMap { it.resDirectories } 56 File(it, "navigation").let { navFolder -> 65 val mainSourceSet = sourceSets.find { it.name == "main" }
|
H A D | ArgumentsGenerationTask.kt | 52 File(incrementalFolder, MAPPING_FILE).writer().use { Gson().toJson(mappings, it) } 59 return mappingsFile.reader().use { Gson().fromJson(it, type) } 82 val newJavaFiles = newMapping.flatMap { it.javaFiles }.toSet() 84 File(project.projectDir, it.navFile) in changedInputs 86 modified.flatMap { it.javaFiles } 101 val errString = errors.joinToString("\n") { it.toClickableText() }
|
/frameworks/base/core/jni/ |
H A D | android_database_SQLiteCommon.cpp | 115 auto it = sErrorCodesMap.find(errcode); local 116 if (it != sErrorCodesMap.end()) { 117 return std::to_string(errcode) + " " + it->second; 140 // because it is based on the extended error code rather than the simplified
|
/frameworks/rs/rsov/compiler/ |
H A D | Context.h | 108 auto it = mVarNameToSlot.find(strVarName); local 109 if (it == mVarNameToSlot.end()) { 112 return it->second;
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/ |
H A D | RoomProcessor.kt | 57 DatabaseProcessor(context, MoreElements.asType(it)).process() 59 val allDaoMethods = databases?.flatMap { it.daoMethods } 61 prepareDaosForWriting(databases, it) 62 it.forEach { 63 DaoWriter(it.dao, context.processingEnv).write(context.processingEnv) 99 daoMethods.groupBy { it.dao.typeName }
|
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | BluetoothLeUtils.java | 66 Iterator<Map.Entry<T, byte[]>> it = map.entrySet().iterator(); 67 while (it.hasNext()) { 68 Map.Entry<T, byte[]> entry = it.next(); 71 if (it.hasNext()) {
|