Home
last modified time | relevance | path

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

12

/external/guava/guava-gwt/test-super/com/google/common/base/super/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.java126 private static void checkNoOutput(Joiner joiner, Iterable<Integer> set) { in checkNoOutput() argument
127 assertEquals("", joiner.join(set)); in checkNoOutput()
128 assertEquals("", joiner.join(set.iterator())); in checkNoOutput()
131 assertEquals("", joiner.join(array)); in checkNoOutput()
134 assertSame(sb1FromIterable, joiner.appendTo(sb1FromIterable, set)); in checkNoOutput()
138 assertSame(sb1FromIterator, joiner.appendTo(sb1FromIterator, set)); in checkNoOutput()
142 assertSame(sb2, joiner.appendTo(sb2, array)); in checkNoOutput()
146 joiner.appendTo(NASTY_APPENDABLE, set); in checkNoOutput()
152 joiner.appendTo(NASTY_APPENDABLE, set.iterator()); in checkNoOutput()
158 joiner.appendTo(NASTY_APPENDABLE, array); in checkNoOutput()
[all …]
/external/guava/guava/src/com/google/common/base/
DJoiner.java300 private final Joiner joiner;
303 private MapJoiner(Joiner joiner, String keyValueSeparator) {
304 this.joiner = joiner; // only "this" is ever passed, so don't checkNotNull
357 appendable.append(joiner.toString(entry.getKey()));
359 appendable.append(joiner.toString(entry.getValue()));
361 appendable.append(joiner.separator);
363 appendable.append(joiner.toString(e.getKey()));
365 appendable.append(joiner.toString(e.getValue()));
428 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/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/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/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DImmutableBiMapTest.java54 private static final Joiner joiner = Joiner.on(", "); field in ImmutableBiMapTest.AbstractMapTests
66 assertEquals("{" + joiner.join(map.entrySet()) + "}", in assertMoreInvariants()
68 assertEquals("[" + joiner.join(map.entrySet()) + "]", in assertMoreInvariants()
70 assertEquals("[" + joiner.join(map.keySet()) + "]", in assertMoreInvariants()
72 assertEquals("[" + joiner.join(map.values()) + "]", in assertMoreInvariants()
DImmutableMapTest.java56 private static final Joiner joiner = Joiner.on(", "); field in ImmutableMapTest.AbstractMapTests
65 assertEquals("{" + joiner.join(map.entrySet()) + "}", in assertMoreInvariants()
67 assertEquals("[" + joiner.join(map.entrySet()) + "]", in assertMoreInvariants()
69 assertEquals("[" + joiner.join(map.keySet()) + "]", in assertMoreInvariants()
71 assertEquals("[" + joiner.join(map.values()) + "]", in assertMoreInvariants()
DImmutableSortedMapTest.java57 private static final Joiner joiner = Joiner.on(", "); field in ImmutableSortedMapTest.AbstractMapTests
66 assertEquals("{" + joiner.join(map.entrySet()) + "}", in assertMoreInvariants()
68 assertEquals("[" + joiner.join(map.entrySet()) + "]", in assertMoreInvariants()
70 assertEquals("[" + joiner.join(map.keySet()) + "]", in assertMoreInvariants()
72 assertEquals("[" + joiner.join(map.values()) + "]", in assertMoreInvariants()
/external/fonttools/Lib/fontTools/misc/
Dpy23.py121 def strjoin(iterable, joiner=''): argument
122 return tostr(joiner).join(iterable)
170 def bytesjoin(iterable, joiner=b''): argument
171 return tobytes(joiner).join(tobytes(item) for item in iterable)
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableBiMapTest.java95 private static final Joiner joiner = Joiner.on(", "); field in ImmutableBiMapTest.AbstractMapTests
107 assertEquals("{" + joiner.join(map.entrySet()) + "}", in assertMoreInvariants()
109 assertEquals("[" + joiner.join(map.entrySet()) + "]", in assertMoreInvariants()
111 assertEquals("[" + joiner.join(map.keySet()) + "]", in assertMoreInvariants()
113 assertEquals("[" + joiner.join(map.values()) + "]", in assertMoreInvariants()
DImmutableMapTest.java148 private static final Joiner joiner = Joiner.on(", "); field in ImmutableMapTest.AbstractMapTests
157 assertEquals("{" + joiner.join(map.entrySet()) + "}", in assertMoreInvariants()
159 assertEquals("[" + joiner.join(map.entrySet()) + "]", in assertMoreInvariants()
161 assertEquals("[" + joiner.join(map.keySet()) + "]", in assertMoreInvariants()
163 assertEquals("[" + joiner.join(map.values()) + "]", in assertMoreInvariants()
DImmutableSortedMapTest.java117 private static final Joiner joiner = Joiner.on(", "); field in ImmutableSortedMapTest.AbstractMapTests
126 assertEquals("{" + joiner.join(map.entrySet()) + "}", in assertMoreInvariants()
128 assertEquals("[" + joiner.join(map.entrySet()) + "]", in assertMoreInvariants()
130 assertEquals("[" + joiner.join(map.keySet()) + "]", in assertMoreInvariants()
132 assertEquals("[" + joiner.join(map.values()) + "]", in assertMoreInvariants()
/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/cldr/tools/java/org/unicode/cldr/util/
DLanguageTagParser.java417 final Joiner joiner; field in LanguageTagParser.OutputOption
421 joiner = Joiner.on(separator); in OutputOption()
430 builder.put(entry.getKey(), joiner.join(entry.getValue())); in convert()
452 String value = oo.joiner.join(extension.getValue()); in toString()
464 String value = oo.joiner.join(extension.getValue()); in toString()
/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/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/guava-testlib/test/com/google/common/testing/anotherpackage/
DForwardingWrapperTesterTest.java353 Charset charset, TimeUnit unit, Class<?> cls, Joiner joiner, in foo() argument
368 Charset charset, TimeUnit unit, Class<?> cls, Joiner joiner, in foo() argument
372 r, n, it, b, eq, e, in, c, ord, charset, unit, cls, joiner, pattern, in foo()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DFluentIterable.java480 public final String join(Joiner joiner) {
481 return joiner.join(this);
/external/guava/guava/src/com/google/common/collect/
DFluentIterable.java504 public final String join(Joiner joiner) {
505 return joiner.join(this);

12