Home
last modified time | relevance | path

Searched refs:adapt (Results 1 – 25 of 288) sorted by relevance

12345678910>>...12

/external/apache-commons-io/src/main/java/org/apache/commons/io/function/
DIOStream.java61 static <T> IOStream<T> adapt(final Stream<T> stream) { in adapt() method
62 return IOStreamAdapter.adapt(stream); in adapt()
73 return IOStreamAdapter.adapt(Stream.empty()); in empty()
138 …return adapt(StreamSupport.stream(Spliterators.spliteratorUnknownSize(iterator, Spliterator.ORDERE… in iterate()
152 return values == null ? empty() : adapt(StreamSupport.stream(values.spliterator(), false)); in of()
165 return values == null || values.length == 0 ? empty() : adapt(Arrays.stream(values)); in of()
176 return adapt(Stream.of(t)); in of()
258 return adapt(unwrap().distinct()); in distinct()
270 return adapt(unwrap().filter(t -> Erase.test(predicate, t))); in filter()
301 return adapt(unwrap().flatMap(t -> Erase.apply(mapper, t).unwrap())); in flatMap()
[all …]
DIOSpliterator.java41 static <E> IOSpliterator<E> adapt(final Spliterator<E> iterator) { in adapt() method
42 return IOSpliteratorAdapter.adapt(iterator); in adapt()
133 return adapt(unwrap().trySplit()); in trySplit()
DIOStreamAdapter.java32 static <T> IOStream<T> adapt(final Stream<T> delegate) { in adapt() method in IOStreamAdapter
42 return unwrap() == delegate ? this : adapt(delegate); in wrap()
DIOIterator.java42 static <E> IOIterator<E> adapt(final Iterator<E> iterator) { in adapt() method
43 return IOIteratorAdapter.adapt(iterator); in adapt()
DIOBaseStream.java76 return IOIteratorAdapter.adapt(unwrap().iterator()); in iterator()
122 return IOSpliteratorAdapter.adapt(unwrap().spliterator()); in spliterator()
/external/bazelbuild-rules_android/mobile_install/adapters/
Dbase.bzl16 def make_adapter(aspect_attrs, adapt):
21 adapt: A function that extracts and processes data from the target.
28 if not adapt:
29 fail("adapt is None.")
32 adapt = adapt,
Dapk_import.bzl24 def adapt(target, ctx):
25 # adapt is made visibile for testing
47 apk_import = make_adapter(_aspect_attrs, adapt)
Dandroid_binary.bzl110 def adapt(target, ctx):
111 # adapt is made visibile for testing
149 android_binary = make_adapter(_aspect_attrs, adapt)
/external/apache-commons-io/src/test/java/org/apache/commons/io/function/
DIOIntStreamAdapter.java28 static IOIntStream adapt(final IntStream stream) { in adapt() method in IOIntStreamAdapter
38 return unwrap() == delegate ? this : IOIntStreamAdapter.adapt(delegate); in wrap()
DIOSpliteratorTest.java46 spliterator = IOSpliterator.adapt(newPathList().spliterator()); in beforeEach()
55 spliterator = IOSpliterator.adapt(newPathList().spliterator()); in testAdapt()
103 …final IOSpliterator<Path> adapted = IOSpliterator.adapt(new TreeSet<>(newPathList()).stream().sort… in testGetComparator()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DCompilationUnitContext.java149 …return SymbolReference.adapt(ref, com.github.javaparser.symbolsolver.model.declarations.TypeDeclar… in solveType()
160 …return SymbolReference.adapt(ref, com.github.javaparser.symbolsolver.model.declarations.TypeDeclar… in solveType()
171 …return SymbolReference.adapt(ref, com.github.javaparser.symbolsolver.model.declarations.TypeDeclar… in solveType()
178 …return SymbolReference.adapt(ref, com.github.javaparser.symbolsolver.model.declarations.TypeDeclar… in solveType()
185 …return SymbolReference.adapt(ref, com.github.javaparser.symbolsolver.model.declarations.TypeDeclar… in solveType()
190 …return SymbolReference.adapt(typeSolver.tryToSolveType(name), com.github.javaparser.symbolsolver.m… in solveType()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_CompilationUnitContext.txt51adapt(ref, com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.class) ==> com.gi…
57adapt(ref, com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.class) ==> com.gi…
66adapt(ref, com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.class) ==> com.gi…
69adapt(ref, com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.class) ==> com.gi…
72adapt(ref, com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration.class) ==> com.gi…
74adapt(typeSolver.tryToSolveType(name), com.github.javaparser.symbolsolver.model.declarations.TypeD…
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DCompilationUnitContext.java163 return SymbolReference.adapt(ref, ResolvedTypeDeclaration.class); in solveType()
170 return SymbolReference.adapt(ref, ResolvedTypeDeclaration.class); in solveType()
197 return SymbolReference.adapt(ref, ResolvedTypeDeclaration.class); in solveType()
210 return SymbolReference.adapt(ref, ResolvedTypeDeclaration.class); in solveType()
219 return SymbolReference.adapt(ref, ResolvedTypeDeclaration.class); in solveType()
224 … return SymbolReference.adapt(typeSolver.tryToSolveType(name), ResolvedTypeDeclaration.class); in solveType()
/external/python/cpython2/Lib/bsddb/test/
Dtest_distributed_transactions.py60 adapt = lambda x : x function
63 adapt = lambda x : bytes(x, "ascii") function
69 gid = adapt(gid %i)
/external/crosvm/media/cros-codecs/src/decoders/h264/test_data/
DREADME.md26 x264enc b-adapt=false ! video/x-h264,profile=constrained-baseline,stream-format=byte-stream ! \
37 x264enc b-adapt=false bframes=1 ! video/x-h264,profile=constrained-baseline,stream-format=byte-stre…
49 x264enc b-adapt=false bframes=1 ! video/x-h264,profile=high,stream-format=byte-stream ! \
/external/icu/icu4c/source/test/intltest/
Dpunyref.cpp110 static punycode_uint adapt( in adapt() function
202 bias = adapt(delta, h + 1, h == b); in punycode_encode()
273 bias = adapt(i - oldi, out + 1, oldi == 0); in punycode_decode()
/external/python/cpython2/Lib/encodings/
Dpunycode.py93 def adapt(delta, first, numchars): function
116 bias = adapt(delta, points==0, baselen+points+1)
181 bias = adapt(delta, (extpos == 0), len(base))
/external/cronet/third_party/icu/source/test/intltest/
Dpunyref.cpp110 static punycode_uint adapt( in adapt() function
202 bias = adapt(delta, h + 1, h == b); in punycode_encode()
273 bias = adapt(i - oldi, out + 1, oldi == 0); in punycode_decode()
/external/python/cpython3/Lib/encodings/
Dpunycode.py91 def adapt(delta, first, numchars): function
114 bias = adapt(delta, points==0, baselen+points+1)
178 bias = adapt(delta, (extpos == 0), len(base))
/external/webrtc/test/scenario/
Daudio_stream.cc99 if (!config.adapt.binary_proto.empty()) { in SendAudioStream()
100 send_config.audio_network_adaptor_config = config.adapt.binary_proto; in SendAudioStream()
103 CreateAdaptationString(config.adapt); in SendAudioStream()
/external/rust/crates/idna/src/
Dpunycode.rs30 fn adapt(mut delta: u32, num_points: u32, first_time: bool) -> u32 { in adapt() function
134 bias = adapt(i - previous_i, length + 1, previous_i == 0); in decode()
297 bias = adapt(delta, processed + 1, processed == basic_length); in encode_into()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DPunycodeReference.java124 private static int adapt(int delta, int numpoints, boolean firsttime ){ in adapt() method in PunycodeReference
212 bias = adapt(delta, h + 1, (h == b)); in encode()
358 bias = adapt(i - oldi, out + 1, (oldi == 0)); in decode()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DPunycodeReference.java121 private static int adapt(int delta, int numpoints, boolean firsttime ){ in adapt() method in PunycodeReference
209 bias = adapt(delta, h + 1, (h == b)); in encode()
355 bias = adapt(i - oldi, out + 1, (oldi == 0)); in decode()
/external/opencensus-java/exporters/stats/signalfx/src/test/java/io/opencensus/exporter/stats/signalfx/
DSignalFxSessionAdaptorTest.java158 List<DataPoint> datapoints = SignalFxSessionAdaptor.adapt(viewData); in unsupportedAggregationYieldsNoDatapoints()
166 List<DataPoint> datapoints = SignalFxSessionAdaptor.adapt(viewData); in noAggregationDataYieldsNoDatapoints()
250 List<DataPoint> datapoints = SignalFxSessionAdaptor.adapt(viewData); in adaptViewIntoDatapoints()
291 List<DataPoint> datapoints = SignalFxSessionAdaptor.adapt(viewData); in adaptViewWithEmptyTagValueIntoDatapoints()
/external/scapy/scapy/contrib/
Dgsm_um.py101 def adapt(min_length, max_length, fields, fields2, location=2): function
2931 res = adapt(3, 11, a, self.fields_desc)
3510 res = adapt(6, 251, a, self.fields_desc)
3941 res = adapt(4, 13, a, self.fields_desc)
3991 res = adapt(1, 12, a, self.fields_desc)
4158 res = adapt(3, 10, a, self.fields_desc)
4216 res = adapt(4, 8, a, self.fields_desc)
4250 res = adapt(3, 12, a, self.fields_desc)
4658 res = adapt(1, 11, a, self.fields_desc, 1)
5340 res = adapt(2, 251, a, self.fields_desc)
[all …]

12345678910>>...12