/frameworks/support/core/ktx/src/androidTest/java/androidx/core/util/ |
H A D | AtomicFileTest.kt | 42 it.write(byteArrayOf(0, 1, 2)) 44 val bytes = file.openRead().use { it.readBytes() } 56 it.write(byteArrayOf(3, 4, 5)) 61 val bytes = file.openRead().use { it.readBytes() } 68 val bytes = file.openRead().use { it.readBytes() } 75 val bytes = file.openRead().use { it.readBytes() } 82 val bytes = file.openRead().use { it.readBytes() }
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/ |
H A D | FieldProcessorTest.kt | 69 val arrayDef = "${it.name.toLowerCase()}[]" 73 " stringIntoArray${it.name}(String input) { return null;}" 76 val arrayDef = "${it.box()}[]" 80 " stringIntoArray${it.name}Boxed(String input) { return null;}" 257 assertThat(Field(mock(Element::class.java), "x", TypeKind.INT.typeMirror(it), 259 assertThat(Field(mock(Element::class.java), "x", TypeKind.BOOLEAN.typeMirror(it), 262 TypeKind.BOOLEAN.typeMirror(it), SQLTypeAffinity.INTEGER) 271 assertThat(Field(elm, "isX", TypeKind.BOOLEAN.typeMirror(it), 273 assertThat(Field(elm, "isX", TypeKind.INT.typeMirror(it), 275 assertThat(Field(elm, "is", TypeKind.BOOLEAN.typeMirror(it), [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_env.cpp | 49 for (std::map<int, SurfaceWindowPair>::iterator it = surfaces_.begin(); 50 it != surfaces_.end(); 51 ++it) { 52 if (it->first != 0 || created_surface_) { 53 eglDestroySurface(display(), it->second.first); 54 if (it->second.second) { 55 it->second.second->Destroy(); 56 delete it->second.second; 62 for (std::map<int, EGLContext>::iterator it = contexts_.begin(); 63 it ! [all...] |
/frameworks/compile/mclinker/include/mcld/ |
H A D | InputTree.h | 100 bfs_iterator it = bfs_iterator(BinaryTreeBase<Input>::m_Root.node.left); local 101 if (it.isGroup()) 102 ++it; 103 return it; 111 const_bfs_iterator it = local 113 if (it.isGroup()) 114 ++it; 115 return it; 123 dfs_iterator it = dfs_iterator(BinaryTreeBase<Input>::m_Root.node.left); local 124 if (it 134 const_dfs_iterator it = local 155 iterator it = iterator(BinaryTreeBase<Input>::m_Root.node.left); local [all...] |
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/ |
H A D | EntityProcessor.kt | 92 .filter { it.indexed }.mapNotNull { 93 if (it.parent != null) { 94 it.indexed = false 95 context.logger.w(Warning.INDEX_FROM_EMBEDDED_FIELD_IS_DROPPED, it.element, 97 it.getPath(), element.qualifiedName.toString())) 99 } else if (it.element.enclosingElement != element && !inheritSuperIndices) { 100 it.indexed = false 103 it.columnName, element.toString(), 104 it.element.enclosingElement.toString() 109 name = createIndexName(listOf(it [all...] |
H A D | ShortcutMethodProcessor.kt | 57 element = it).process() } 60 .filter { it.entityType != null } 61 .associateBy({ it.name }, { 64 element = MoreTypes.asTypeElement(it.entityType)).process()
|
/frameworks/base/media/mca/filterfw/native/base/ |
H A D | utilities.h | 32 // For hash_[multi]set, it is important that this deletes behind the iterator 33 // because the hash_set may call the hash function on the iterator when it is 48 // in the case it's given a NULL pointer. 65 typename Collection::const_iterator it = collection.find(key); local 66 if (it == collection.end()) { 69 return &it->second; 119 typename Collection::const_iterator it = collection.find(key); local 120 if (it == collection.end()) { 123 return it->second;
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | utilities.h | 44 // For hash_[multi]set, it is important that this deletes behind the iterator 45 // because the hash_set may call the hash function on the iterator when it is 60 // in the case it's given a NULL pointer. 77 typename Collection::const_iterator it = collection.find(key); local 78 if (it == collection.end()) { 81 return &it->second; 131 typename Collection::const_iterator it = collection.find(key); local 132 if (it == collection.end()) { 135 return it->second;
|
/frameworks/compile/mclinker/lib/Script/ |
H A D | RpnEvaluator.cpp | 35 for (RpnExpr::const_iterator it = pExpr.begin(), ie = pExpr.end(); it != ie; 36 ++it) { 37 switch ((*it)->kind()) { 39 Operator* op = llvm::cast<Operator>(*it); 80 Operand* opd = llvm::cast<Operand>(*it);
|
H A D | ScriptFile.cpp | 67 for (iterator it = begin(), ie = end(); it != ie; ++it) { 68 if (*it != NULL) 69 delete *it; 76 for (const_iterator it = begin(), ie = end(); it != ie; ++it) 77 (*it)->dump(); 81 for (const_iterator it [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | HyphenatorMap.cpp | 64 auto it = mMap.find(toLocale.getIdentifier()); local 65 if (it == mMap.end()) { 70 mMap[fromLocale.getIdentifier()] = it->second; 116 auto it = mMap.find(id); local 117 return it == mMap.end() ? nullptr : it->second;
|
H A D | LocaleListCache.cpp | 85 SplitIterator it(input, ','); 86 while (it.hasNext()) { 87 StringPiece localeStr = it.next(); 108 // The default locale list has only one Locale and it is the unsupported locale. 115 const auto& it = mLocaleListLookupTable.find(locales); local 116 if (it != mLocaleListLookupTable.end()) { 117 return it->second; 120 // Given locale list is not in cache. Insert it and return newly assigned ID.
|
/frameworks/support/jetifier/jetifier/gradle-plugin/src/main/kotlin/com/android/tools/build/jetifier/plugin/gradle/ |
H A D | JetifierPlugin.kt | 36 val jetifyLibs = it.tasks.findByName(JetifyLibsTask.TASK_NAME) 37 val jetifyGlobal = it.tasks.findByName(JetifyGlobalTask.TASK_NAME) 47 val preBuildTask = it.tasks.findByName("preBuild")
|
/frameworks/support/lifecycle/compiler/src/main/kotlin/androidx/lifecycle/ |
H A D | elements_ext.kt | 34 it == Modifier.PUBLIC || it == Modifier.PROTECTED || it == Modifier.PRIVATE
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/ext/ |
H A D | KotlinMetadataProcessor.kt | 37 return if (valueParameterList.all { it.hasName() }) { 39 data.nameResolver.getName(it.name) 60 it.getJvmConstructorSignature(nameResolver, classProto.typeTable) == jvmSignature
|
/frameworks/base/cmds/statsd/src/ |
H A D | StatsLogProcessor.cpp | 130 auto it = android::util::AtomsInfo::kAtomsWithUidField.find(event->GetTagId()); local 131 if (it != android::util::AtomsInfo::kAtomsWithUidField.end()) { 132 int uidField = it->second; // uidField is the field number in proto, 173 for (auto it = mMetricsManagers.begin(); it != mMetricsManagers.end(); it++) { 174 configKeys.push_back(it->first); 274 // We have to add listener after the MetricsManager is constructed because it's 282 // If there is any error in the config, don't use it. 289 auto it local 327 auto it = mMetricsManagers.find(key); local 370 auto it = mMetricsManagers.find(key); local 422 auto it = mMetricsManagers.find(key); local 445 auto it = mMetricsManagers.find(key); local 545 auto it = mMetricsManagers.find(key); local [all...] |
/frameworks/av/include/media/ |
H A D | VolumeShaper.h | 243 for (auto it = this->begin(); it != this->end(); ++it) { 244 if (!(it->second <= MAX_LOG_VOLUME) /* handle nan */) { 245 it->second = MAX_LOG_VOLUME; 249 for (auto it = this->begin(); it != this->end(); ++it) { 250 if (!(it->second >= MIN_LINEAR_VOLUME) /* handle nan */) { 251 it 841 auto it = findId_l(id); local 895 auto it = findId_l(id); local 1000 std::list<VolumeShaper>::iterator it = mVolumeShapers.begin(); local [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | FindAddress.java | 295 * then it must also be preceded by a word delimiter. 313 * then it must also be preceded by a word delimiter. 366 int it = houseNumberMatch.end(); 375 for (; it < content.length(); lastWord = matcher.group(0), it = matcher.end()) { 376 if (!matcher.find(it)) { 386 while (it < matcher.start()) { 387 if (NL.indexOf(content.charAt(it++)) != -1) ++numLines; 396 if (matchHouseNumber(content, it) != null) { 400 return -it; [all...] |
/frameworks/base/cmds/statsd/src/packages/ |
H A D | UidMap.cpp | 71 auto it = mMap.find(std::make_pair(uid, packageName)); local 72 return it != mMap.end() && !it->second.deleted; 99 auto it = mMap.find(std::make_pair(uid, packageName)); local 100 if (it == mMap.end() || it->second.deleted) { 103 return it->second.versionCode; 141 // listener removes itself before we call it. It's then the listener's job to handle it (expect 143 // ignore it) 160 auto it = mMap.find(std::make_pair(uid, appName)); local 230 auto it = mMap.find(key); local 278 auto it = mIsolatedUidMap.find(isolatedUid); local 287 auto it = mIsolatedUidMap.find(uid); local [all...] |
/frameworks/base/core/jni/ |
H A D | fd_utils.cpp | 202 // S_ISDIR : Not supported. (We could if we wanted to, but it's unused). 249 // In particular, it can't set O_SYNC and O_DSYNC. We'll have to test for 386 // This is an unnamed local socket, we do not accept it. 401 // pathname (man 7 unix). Remove the terminator before assigning it to an 511 std::unordered_map<int, FileDescriptorInfo*>::const_iterator it; local 512 for (it = open_fd_map_.begin(); it != open_fd_map_.end(); ++it) { 513 const FileDescriptorInfo* info = it->second; 537 std::unordered_map<int, FileDescriptorInfo*>::iterator it local 589 std::set<int>::const_iterator it; local [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | UriPermissionOwner.java | 76 Iterator<UriPermission> it = mReadPerms.iterator(); 77 while (it.hasNext()) { 78 UriPermission perm = it.next(); 82 it.remove(); 91 Iterator<UriPermission> it = mWritePerms.iterator(); 92 while (it.hasNext()) { 93 UriPermission perm = it.next(); 97 it.remove();
|
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/ext/ |
H A D | list_ext.kt | 22 else -> this.map {it.toCamelCase()}.joinToString("")
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/ |
H A D | Warning.kt | 39 val PUBLIC_KEY_MAP = Warning.values().associateBy { it.publicKey }
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | AudioPlaybackHandler.java | 103 Iterator<PlaybackQueueItem> it = mQueue.iterator(); 105 while (it.hasNext()) { 106 final PlaybackQueueItem item = it.next(); 108 it.remove();
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFSegment.cpp | 65 for (const_iterator it = begin(), ie = end(); it != ie; ++it) { 66 if ((*it)->kind() != LDFileFormat::BSS)
|