Home
last modified time | relevance | path

Searched refs:LINEBR (Results 1 – 5 of 5) sorted by relevance

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/scanner/
DConstantTest.java23 assertTrue(Constant.LINEBR.has('\n')); in testHasChar()
24 assertTrue(Constant.LINEBR.has('\u0085')); in testHasChar()
25 assertFalse(Constant.LINEBR.has(' ')); in testHasChar()
29 assertTrue(Constant.LINEBR.has(' ', " ")); in testHasStringChar()
33 assertTrue(Constant.LINEBR.has((char) 0, "\0")); in testHas0()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/emitter/
DEmitter.java975 boolean isLineBreak = Constant.LINEBR.has(ch); in analyzeScalar()
1174 if (ch == 0 || Constant.LINEBR.hasNo(ch)) { in writeSingleQuoted()
1190 if (Constant.LINEBR.has(ch, "\0 \'")) { in writeSingleQuoted()
1206 breaks = Constant.LINEBR.has(ch); in writeSingleQuoted()
1290 if (Constant.LINEBR.has(text.charAt(0), " ")) { in determineBlockHints()
1294 if (Constant.LINEBR.hasNo(ch1)) { in determineBlockHints()
1296 } else if (text.length() == 1 || Constant.LINEBR.has(text.charAt(text.length() - 2))) { in determineBlockHints()
1319 if (ch == 0 || Constant.LINEBR.hasNo(ch)) { in writeFolded()
1349 if (Constant.LINEBR.has(ch, "\0 ")) { in writeFolded()
1360 breaks = Constant.LINEBR.has(ch); in writeFolded()
[all …]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/scanner/
DConstant.java31 public final static Constant LINEBR = new Constant(LINEBR_S); field in Constant
DScannerImpl.java1757 while (Constant.LINEBR.has(reader.peek(), " \r")) { in scanBlockScalarIndentation()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/reader/
DStreamReader.java125 if (Constant.LINEBR.has(ch) || (ch == '\r' && buffer.charAt(pointer) != '\n')) { in forward()