Home
last modified time | relevance | path

Searched refs:joiner (Results 1 – 25 of 63) sorted by relevance

123

/external/guava/android/guava-tests/test/com/google/common/base/
DJoinerTest.java124 private static void checkNoOutput(Joiner joiner, Iterable<Integer> set) { in checkNoOutput() argument
125 assertEquals("", joiner.join(set)); in checkNoOutput()
126 assertEquals("", joiner.join(set.iterator())); in checkNoOutput()
129 assertEquals("", joiner.join(array)); in checkNoOutput()
132 assertSame(sb1FromIterable, joiner.appendTo(sb1FromIterable, set)); in checkNoOutput()
136 assertSame(sb1FromIterator, joiner.appendTo(sb1FromIterator, set)); in checkNoOutput()
140 assertSame(sb2, joiner.appendTo(sb2, array)); in checkNoOutput()
144 joiner.appendTo(NASTY_APPENDABLE, set); in checkNoOutput()
150 joiner.appendTo(NASTY_APPENDABLE, set.iterator()); in checkNoOutput()
156 joiner.appendTo(NASTY_APPENDABLE, array); in checkNoOutput()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DJoinerTest.java124 private static void checkNoOutput(Joiner joiner, Iterable<Integer> set) { in checkNoOutput() argument
125 assertEquals("", joiner.join(set)); in checkNoOutput()
126 assertEquals("", joiner.join(set.iterator())); in checkNoOutput()
129 assertEquals("", joiner.join(array)); in checkNoOutput()
132 assertSame(sb1FromIterable, joiner.appendTo(sb1FromIterable, set)); in checkNoOutput()
136 assertSame(sb1FromIterator, joiner.appendTo(sb1FromIterator, set)); in checkNoOutput()
140 assertSame(sb2, joiner.appendTo(sb2, array)); in checkNoOutput()
144 joiner.appendTo(NASTY_APPENDABLE, set); in checkNoOutput()
150 joiner.appendTo(NASTY_APPENDABLE, set.iterator()); in checkNoOutput()
156 joiner.appendTo(NASTY_APPENDABLE, array); in checkNoOutput()
[all …]
/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/
DMainTest.java51 private final Joiner joiner = Joiner.on(System.lineSeparator()); field in MainTest
159 InputStream in = new ByteArrayInputStream(joiner.join(input).getBytes(UTF_8)); in javadoc()
167 assertThat(out.toString()).isEqualTo(joiner.join(expected)); in javadoc()
195 InputStream in = new ByteArrayInputStream(joiner.join(input).getBytes(UTF_8)); in imports()
203 assertThat(out.toString()).isEqualTo(joiner.join(expected)); in imports()
233 String optimized = new Formatter().formatSourceAndFixImports(joiner.join(input)); in optimizeImportsDoesNotLeaveEmptyLines()
234 assertThat(optimized).isEqualTo(joiner.join(expected)); in optimizeImportsDoesNotLeaveEmptyLines()
236 InputStream in = new ByteArrayInputStream(joiner.join(input).getBytes(UTF_8)); in optimizeImportsDoesNotLeaveEmptyLines()
244 assertThat(out.toString()).isEqualTo(joiner.join(expected)); in optimizeImportsDoesNotLeaveEmptyLines()
271 new ByteArrayInputStream(joiner.join(input).getBytes(UTF_8))); in importRemovalLines()
[all …]
/external/guava/android/guava/src/com/google/common/base/
DJoiner.java318 private final Joiner joiner;
321 private MapJoiner(Joiner joiner, String keyValueSeparator) {
322 this.joiner = joiner; // only "this" is ever passed, so don't checkNotNull
371 appendable.append(joiner.toString(entry.getKey()));
373 appendable.append(joiner.toString(entry.getValue()));
375 appendable.append(joiner.separator);
377 appendable.append(joiner.toString(e.getKey()));
379 appendable.append(joiner.toString(e.getValue()));
451 return new MapJoiner(joiner.useForNull(nullText), keyValueSeparator);
/external/guava/guava/src/com/google/common/base/
DJoiner.java314 private final Joiner joiner;
317 private MapJoiner(Joiner joiner, String keyValueSeparator) {
318 this.joiner = joiner; // only "this" is ever passed, so don't checkNotNull
367 appendable.append(joiner.toString(entry.getKey()));
369 appendable.append(joiner.toString(entry.getValue()));
371 appendable.append(joiner.separator);
373 appendable.append(joiner.toString(e.getKey()));
375 appendable.append(joiner.toString(e.getValue()));
447 return new MapJoiner(joiner.useForNull(nullText), keyValueSeparator);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/
D4-1.c83 pthread_t joiner; in main() local
142 ret = pthread_create(&joiner, NULL, in main()
153 ret = pthread_cancel(joiner); in main()
158 ret = pthread_join(joiner, NULL); in main()
/external/libcxx/test/std/experimental/iterator/ostream.joiner/ostream.joiner.creation/
Dmake_ostream_joiner.pass.cpp35 auto joiner = exp::make_ostream_joiner(sstream, d); in test() local
37 static_assert((std::is_same<decltype(joiner), Joiner>::value), "" ); in test()
39 joiner = *first++; in test()
/external/llvm-project/libcxx/test/std/experimental/iterator/ostream.joiner/ostream.joiner.creation/
Dmake_ostream_joiner.pass.cpp35 auto joiner = exper::make_ostream_joiner(sstream, d); in test() local
37 static_assert((std::is_same<decltype(joiner), Joiner>::value), "" ); in test()
39 joiner = *first++; in test()
/external/fonttools/Lib/fontTools/misc/
Dpy23.py69 def strjoin(iterable, joiner=""): argument
70 return tostr(joiner).join(iterable)
113 def bytesjoin(iterable, joiner=b""): argument
114 return tobytes(joiner).join(tobytes(item) for item in iterable)
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DPathType.java74 private final Joiner joiner; field in PathType
81 this.joiner = Joiner.on(separator); in PathType()
140 public final Joiner joiner() { in joiner() method in PathType
141 return joiner; in joiner()
/external/python/cpython2/Lib/email/
Dheader.py371 joiner = NL + self._continuation_ws
372 return joiner.join(chunks)
448 joiner = eol + ' '
449 joinlen = len(joiner)
465 lines.append(joiner.join(this) + eol)
483 lines.append(joiner.join(this))
Dbase64mime.py117 joiner = eol + ' '
118 return joiner.join(lines)
Dquoprimime.py173 joiner = eol + ' '
174 return joiner.join(['=?%s?q?%s?=' % (charset, line) for line in quoted])
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DCancelledAwaitStressTest.kt41 val joiner = launch(start = CoroutineStart.UNDISPATCHED) { in <lambda>() constant
46 joiner.cancel() // cancel join in <lambda>()
/external/harfbuzz_ng/src/
Dhb-ot-shape-complex-khmer-machine.rl59 joiner = (ZWJ | ZWNJ);
60 xgroup = (joiner*.Xgroup)*;
65 matra_group = VPre? xgroup VBlw? xgroup (joiner?.VAbv)? xgroup VPst?;
Dhb-ot-shape-complex-use-machine.rl59 ZWNJ = 14; # Zero width non-joiner
60 ZWJ = 15; # Zero width joiner
61 WJ = 16; # Word joiner
/external/cldr/tools/java/org/unicode/cldr/util/
DLanguageTagParser.java493 final Joiner joiner; field in LanguageTagParser.OutputOption
497 joiner = Joiner.on(separator); in OutputOption()
506 builder.put(entry.getKey(), joiner.join(entry.getValue())); in convert()
535 String value = oo.joiner.join(extension.getValue()); in toString()
578 .append(oo.separator).append(oo.joiner.join(tValue)); in toString()
582 String value = oo.joiner.join(extension.getValue()); in toString()
593 result.append(oo.separator).append(oo.joiner.join(uValue)); in toString()
599 String value = oo.joiner.join(extension.getValue()); in toString()
614 String value = oo.joiner.join(extension.getValue()); in toString()
/external/autotest/frontend/client/src/autotest/common/
DUtils.java145 public static <T> String joinStrings(String joiner, List<T> objects, boolean wantBlanks) { in joinStrings() argument
156 result.append(joiner); in joinStrings()
163 public static <T> String joinStrings(String joiner, List<T> objects) { in joinStrings() argument
164 return joinStrings(joiner, objects, false); in joinStrings()
/external/autotest/frontend/client/src/autotest/tko/
DTkoUtils.java73 static String joinWithParens(String joiner, String first, String second) { in joinWithParens() argument
76 return Utils.joinStrings(joiner, Arrays.asList(new String[] {first, second})); in joinWithParens()
DFilterSelector.java227 String joiner = all.getValue() ? " AND " : " OR "; in buildFilterString() local
228 String fullFilterString = Utils.joinStrings(joiner, filterParts); in buildFilterString()
/external/llvm-project/libcxx/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/
Dostream_joiner.op.assign.pass.cpp65 Joiner joiner(sstream, d); in test() local
67 *joiner++ = *first++; in test()
/external/libcxx/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/
Dostream_joiner.op.assign.pass.cpp65 Joiner joiner(sstream, d); in test() local
67 *joiner++ = *first++; in test()
/external/guava/android/guava-tests/test/com/google/common/collect/
DImmutableBiMapTest.java109 private static final Joiner joiner = Joiner.on(", "); field in ImmutableBiMapTest.AbstractMapTests
121 assertEquals("{" + joiner.join(map.entrySet()) + "}", map.toString()); in assertMoreInvariants()
122 assertEquals("[" + joiner.join(map.entrySet()) + "]", map.entrySet().toString()); in assertMoreInvariants()
123 assertEquals("[" + joiner.join(map.keySet()) + "]", map.keySet().toString()); in assertMoreInvariants()
124 assertEquals("[" + joiner.join(map.values()) + "]", map.values().toString()); in assertMoreInvariants()
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableBiMapTest.java140 private static final Joiner joiner = Joiner.on(", "); field in ImmutableBiMapTest.AbstractMapTests
152 assertEquals("{" + joiner.join(map.entrySet()) + "}", map.toString()); in assertMoreInvariants()
153 assertEquals("[" + joiner.join(map.entrySet()) + "]", map.entrySet().toString()); in assertMoreInvariants()
154 assertEquals("[" + joiner.join(map.keySet()) + "]", map.keySet().toString()); in assertMoreInvariants()
155 assertEquals("[" + joiner.join(map.values()) + "]", map.values().toString()); in assertMoreInvariants()
/external/guava/guava-testlib/test/com/google/common/testing/anotherpackage/
DForwardingWrapperTesterTest.java441 Joiner joiner, in foo() argument
473 Joiner joiner, in foo() argument
482 s, r, n, it, b, eq, e, in, c, ord, charset, unit, cls, joiner, pattern, ui, ul, sb, pred, in foo()

123