Home
last modified time | relevance | path

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

/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DJavaCommentsHelper.java71 int lineIdx = CharMatcher.whitespace().negate().indexIn(lines.get(i)); in preserveIndentation() local
72 if (lineIdx >= 0 && (startCol == -1 || lineIdx < startCol)) { in preserveIndentation()
73 startCol = lineIdx; in preserveIndentation()
/external/icu/icu4c/source/test/iotest/
Dfiletst.c719 int32_t lineIdx; in TestfgetsNewLineHandling() local
726 for (lineIdx = 0; lineIdx < UPRV_LENGTHOF(testUStr); lineIdx++) { in TestfgetsNewLineHandling()
727 u_file_write(testUStr[lineIdx], u_strlen(testUStr[lineIdx]), myFile); in TestfgetsNewLineHandling()
733 for (lineIdx = 0; lineIdx < UPRV_LENGTHOF(testUStr); lineIdx++) { in TestfgetsNewLineHandling()
743 if (u_strcmp(buffer, testUStr[lineIdx]) != 0) { in TestfgetsNewLineHandling()
744 log_err("buffers are different at index = %d\n", lineIdx); in TestfgetsNewLineHandling()
750 if (lineIdx != UPRV_LENGTHOF(testUStr)) { in TestfgetsNewLineHandling()