Home
last modified time | relevance | path

Searched refs:indexVar (Results 1 – 9 of 9) sorted by relevance

/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/query/result/
DArrayQueryResultAdapter.kt36 val indexVar = scope.getTmpVar("_index") in convert() constant
37 addStatement("$T $L = 0", TypeName.INT, indexVar) in convert()
41 addStatement("$L[$L] = $L", outVarName, indexVar, tmpVarName) in convert()
42 addStatement("$L ++", indexVar) in convert()
DPojoRowAdapter.kt113 val indexVar = scope.getTmpVar("_cursorIndexOf${it.name.stripNonJava().capitalize()}") in <lambda>() constant
120 TypeName.INT, indexVar, cursorVarName, indexMethod, it.columnName) in <lambda>()
121 FieldWithIndex(field = it, indexVar = indexVar, alwaysExists = info != null) in <lambda>()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/
DFieldReadWriteWriter.kt38 val indexVar = fieldWithIndex.indexVar in <lambda>() constant
123 addStatement("$L.bindNull($L)", stmtParamVar, it.indexVar) in <lambda>()
291 binder.bindToStmt(stmtParamVar, indexVar, varName, scope) in <lambda>()
308 indexVar, scope) in <lambda>()
313 reader.readFromCursor(tmpField, cursorVar, indexVar, scope) in <lambda>()
327 beginControlFlow("if ($L != -1)", indexVar).apply { in <lambda>()
344 field.cursorValueReader?.readFromCursor(tmpField, cursorVar, indexVar, scope) in <lambda>()
346 beginControlFlow("if ($L == -1)", indexVar).apply { in <lambda>()
350 field.cursorValueReader?.readFromCursor(tmpField, cursorVar, indexVar, scope) in <lambda>()
DEntityCursorConverterWriter.kt57 val indexVar = scope.getTmpVar( in buildConvertMethodBody() constant
60 TypeName.INT, indexVar, cursorParam, it.columnName) in buildConvertMethodBody()
62 indexVar = indexVar, in buildConvertMethodBody()
DEntityUpdateAdapterWriter.kt73 indexVar = "${pkeyStart + index + 1}", in <lambda>()
DRelationCollectorMethodWriter.kt133 indexVar = itemKeyIndexVar, in <lambda>()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/
DFieldWithIndex.kt26 data class FieldWithIndex(val field: Field, val indexVar: String, val alwaysExists: Boolean) { in <lambda>() constant in androidx.room.vo.FieldWithIndex
31 indexVar = "${index + 1}", in <lambda>()
DRelationCollector.kt72 val indexVar = fieldsWithIndices.firstOrNull { in <lambda>() constant
74 }?.indexVar in <lambda>()
78 indexVar = indexVar, in <lambda>()
103 fun readKey(cursorVarName: String, indexVar: String?, scope: CodeGenScope, in <lambda>()
115 beginControlFlow("if (!$L.isNull($L))", cursorVarName, indexVar).apply { in <lambda>()
118 tmpVar, cursorVarName, cursorGetter, indexVar) in <lambda>()
/frameworks/compile/libbcc/lib/
DRSAddDebugInfoPass.cpp182 llvm::AllocaInst* indexVar = nullptr; in attachDebugInfo() local
186 indexVar = allocaInst; in attachDebugInfo()
235 if (indexVar) { in attachDebugInfo()
244 indexVar, indexVarDI, emptyExpr, in attachDebugInfo()
245 llvm::DebugLoc::get(1, 1, ExpandedFunc), indexVar); in attachDebugInfo()
246 indexVar->moveBefore(decl); in attachDebugInfo()