Home
last modified time | relevance | path

Searched refs:joiner (Results 1 – 25 of 40) 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.c85 pthread_t joiner; in main() local
144 ret = pthread_create(&joiner, NULL, in main()
155 ret = pthread_cancel(joiner); in main()
160 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/valgrind/drd/
Ddrd_thread.c404 const ThreadId joiner = DRD_(DrdThreadIdToVgThreadId)(drd_joiner); in DRD_() local
413 if (joiner) in DRD_()
1157 void DRD_(thread_combine_vc_join)(DrdThreadId joiner, DrdThreadId joinee) in DRD_()
1159 tl_assert(joiner != joinee); in DRD_()
1160 tl_assert(0 <= (int)joiner && joiner < DRD_N_THREADS in DRD_()
1161 && joiner != DRD_INVALID_THREADID); in DRD_()
1164 tl_assert(DRD_(g_threadinfo)[joiner].sg_first); in DRD_()
1165 tl_assert(DRD_(g_threadinfo)[joiner].sg_last); in DRD_()
1172 str1 = DRD_(vc_aprint)(DRD_(thread_get_vc)(joiner)); in DRD_()
1179 if (joiner == DRD_(g_drd_running_tid)) { in DRD_()
[all …]
/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/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/harfbuzz_ng/src/
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/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/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);
/external/valgrind/drd/tests/
Dfp_race_xml.stderr.exp82 <trace><text>drd_post_thread_join joiner = 1, joinee = 2, new vc: [ ... ]</text></trace>
/external/harfbuzz_ng/test/shaping/
DMakefile.am62 tests/indic-joiner-candrabindu.tests \

12