Searched refs:createSource (Results 1 – 9 of 9) sorted by relevance
/external/guava/android/guava-tests/test/com/google/common/io/ |
D | SourceSinkFactories.java | 105 public ByteSource createSource(byte[] data) throws IOException { in asByteSourceFactory() 106 return factory.createSource(new String(data, Charsets.UTF_8)).asByteSource(Charsets.UTF_8); in asByteSourceFactory() 125 public CharSource createSource(String string) throws IOException { 126 return factory.createSource(string.getBytes(Charsets.UTF_8)).asCharSource(Charsets.UTF_8); 176 public ByteSource createSource(byte[] bytes) throws IOException { 177 return factory.createSource(bytes).slice(off, len); 198 public CharSource createSource(String data) throws IOException { 214 public ByteSource createSource(byte[] bytes) throws IOException { 230 public CharSource createSource(String data) throws IOException { 246 public ByteSource createSource(byte[] bytes) throws IOException { [all …]
|
D | SourceSinkFactory.java | 53 S createSource(T data) throws IOException; in createSource() method
|
D | CharSourceTester.java | 91 this.source = factory.createSource(data); in setUp()
|
D | ByteSourceTester.java | 121 source = factory.createSource(data); in setUp()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | SourceSinkFactories.java | 140 public ByteSource createSource(byte[] data) throws IOException { in asByteSourceFactory() 141 return factory.createSource(new String(data, Charsets.UTF_8)).asByteSource(Charsets.UTF_8); in asByteSourceFactory() 160 public CharSource createSource(String string) throws IOException { 161 return factory.createSource(string.getBytes(Charsets.UTF_8)).asCharSource(Charsets.UTF_8); 211 public ByteSource createSource(byte[] bytes) throws IOException { 212 return factory.createSource(bytes).slice(off, len); 233 public CharSource createSource(String data) throws IOException { 249 public ByteSource createSource(byte[] bytes) throws IOException { 265 public CharSource createSource(String data) throws IOException { 281 public ByteSource createSource(byte[] bytes) throws IOException { [all …]
|
D | SourceSinkFactory.java | 53 S createSource(T data) throws IOException; in createSource() method
|
D | CharSourceTester.java | 94 this.source = factory.createSource(data); in setUp()
|
D | ByteSourceTester.java | 121 source = factory.createSource(data); in setUp()
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/schedulers/ |
D | rx-test.hpp | 466 auto start(F createSource, long created, long subscribed, long unsubscribed) const in start() argument 472 typedef decltype(createSource()) source_type; in start() 485 schedule_absolute(created, [createSource, state](const schedulable&) { in start() 486 state->source.reset(new typename state_type::source_type(createSource())); in start() 501 auto start(F&& createSource, long unsubscribed) const in start() argument 504 … return start<T>(std::forward<F>(createSource), created_time, subscribed_time, unsubscribed); in start() 508 auto start(F&& createSource) const in start() 511 … return start<T>(std::forward<F>(createSource), created_time, subscribed_time, unsubscribed_time); in start() 523 auto start(F createSource, long created, long subscribed, long unsubscribed) const in start() argument 526 …return start<rxu::value_type_t<start_traits<F>>>(std::move(createSource), created, subscribed, uns… in start() [all …]
|