Home
last modified time | relevance | path

Searched refs:javaEscapeString (Results 1 – 2 of 2) sorted by relevance

/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DFieldItem.kt127 writer.print(javaEscapeString(value)) in <lambda>()
188 String.format("0x%04x '%s'", intValue, javaEscapeString(value.toString())) in <lambda>()
205 fun javaEscapeString(str: String): String { in javaEscapeString() method
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DCodePrinter.kt24 import com.android.tools.metalava.model.javaEscapeString
170 sb.append('"').append(javaEscapeString(v)).append('"') in appendSourceLiteral()
216 sb.append('\'').append(javaEscapeString(v.toString())).append('\'') in appendSourceLiteral()
470 sb.append(javaEscapeString(literalValue.toString())) in appendLiteralValue()
522 return String.format("'%s'", javaEscapeString(value.toString())) in constantToSource()