HomeSort by relevance Sort by last modified time
    Searched refs:iterable (Results 51 - 75 of 215) sorted by null

1 23 4 5 6 7 8 9

  /external/libphonenumber/java/test/com/android/i18n/phonenumbers/
PhoneNumberMatcherTest.java 754 Iterable<PhoneNumberMatch> iterable = local
773 Iterable<PhoneNumberMatch> iterable = local
792 Iterable<PhoneNumberMatch> iterable = local
803 Iterable<PhoneNumberMatch> iterable = phoneUtil.findNumbers("1 456 764 156", RegionCode.ZZ); local
815 Iterable<PhoneNumberMatch> iterable = phoneUtil.findNumbers("", RegionCode.ZZ); local
828 Iterable<PhoneNumberMatch> iterable = phoneUtil.findNumbers("+14156667777", RegionCode.ZZ); local
853 Iterable<PhoneNumberMatch> iterable = local
887 Iterable<PhoneNumberMatch> iterable = phoneUtil.findNumbers("+14156667777", RegionCode.ZZ); local
    [all...]
  /external/guava/guava/src/com/google/common/collect/
ImmutableSortedMultiset.java 200 public static <E> ImmutableSortedMultiset<E> copyOf(Iterable<? extends E> elements) {
249 Comparator<? super E> comparator, Iterable<? extends E> elements) {
256 * the same {@code Comparator}. That behavior differs from {@link #copyOf(Iterable)}, which
279 Comparator<? super E> comparator, Iterable<? extends E> iterable) {
280 if (SortedIterables.hasSameComparator(comparator, iterable)
281 && iterable instanceof ImmutableSortedMultiset<?>) {
282 ImmutableSortedMultiset<E> multiset = (ImmutableSortedMultiset<E>) iterable;
284 return (ImmutableSortedMultiset<E>) iterable;
288 (ImmutableList) ImmutableList.copyOf(SortedIterables.sortedCounts(comparator, iterable));
    [all...]
Collections2.java 73 * with equals. (See {@link Iterables#filter(Iterable, Class)} for related
257 * {@link Lists#transform}. If only an {@code Iterable} is available, use
340 static <T> Collection<T> cast(Iterable<T> iterable) {
341 return (Collection<T>) iterable;
Range.java 221 public boolean containsAll(Iterable<? extends C> values) {
499 private static <T> SortedSet<T> cast(Iterable<T> iterable) {
500 return (SortedSet<T>) iterable;
  /external/chromium_org/third_party/WebKit/Source/bindings/scripts/
generate_global_constructors.py 58 def flatten_list(iterable):
59 return list(itertools.chain.from_iterable(iterable))
  /external/chromium_org/third_party/jinja2/
runtime.py 283 def __init__(self, iterable, recurse=None, depth0=0):
284 self._iterator = iter(iterable)
290 # try to get the length of the iterable early. This must be done
295 self._length = len(iterable)
325 def loop(self, iterable):
329 return self._recurse(iterable, self._recurse, self.depth0 + 1)
341 # we have to convert the iterable into a sequence and use the
343 iterable = tuple(self._iterator)
344 self._iterator = iter(iterable)
345 self._length = len(iterable) + self.index0 +
    [all...]
  /external/chromium_org/third_party/simplejson/
ordered_dict.py 106 def fromkeys(cls, iterable, value=None):
108 for key in iterable:
  /external/qemu/scripts/
ordereddict.py 110 def fromkeys(cls, iterable, value=None):
112 for key in iterable:
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/
util.py 135 def _ordered_count(iterable):
138 for elem in iterable:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/
util.py 135 def _ordered_count(iterable):
138 for elem in iterable:
  /external/chromium_org/third_party/cython/src/Cython/Utility/
Builtins.c 382 #define PySet_New(iterable) \
383 PyObject_CallFunctionObjArgs((PyObject *)&PySet_Type, (iterable), NULL)
385 #define PyFrozenSet_New(iterable) \
386 PyObject_CallFunctionObjArgs((PyObject *)&PyFrozenSet_Type, (iterable), NULL)
  /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
SuggestionCursorUtil.java 81 for (Suggestion expectedSuggestion : iterable(expected)) {
84 for (Suggestion observedSuggestion : iterable(observed)) {
90 for (Suggestion observedSuggestion : iterable(observed)) {
98 public static Iterable<Suggestion> iterable(final SuggestionCursor cursor) { method in class:SuggestionCursorUtil
99 return new Iterable<Suggestion>() {
  /prebuilts/python/darwin-x86/2.7.5/include/python2.7/
setobject.h 94 PyAPI_FUNC(int) _PySet_Update(PyObject *set, PyObject *iterable);
  /prebuilts/python/linux-x86/2.7.5/include/python2.7/
setobject.h 94 PyAPI_FUNC(int) _PySet_Update(PyObject *set, PyObject *iterable);
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/
test_configuration.py 201 def combinations(iterable, r):
204 pool = tuple(iterable)
226 def symmetric_difference(cls, iterable):
228 intersection = iterable[0]
229 for item in iterable:
  /external/chromium_org/tools/gyp/pylib/gyp/
common.py 478 def __init__(self, iterable=None):
482 if iterable is not None:
483 self |= iterable
536 def update(self, iterable):
537 for i in iterable:
ordered_dict.py 172 '''od.update(E, **F) -> None. Update od from dict/iterable E and F.
176 Or if E is an iterable of items, does: for k, v in E: od[k] = v
254 def fromkeys(cls, iterable, value=None):
260 for key in iterable:
  /external/guava/guava-tests/test/com/google/common/collect/
AbstractImmutableSetTest.java 58 protected abstract Set<String> copyOf(Iterable<String> elements);
210 private static class CountingIterable implements Iterable<String> {
220 CountingIterable iterable = new CountingIterable(); local
221 Set<String> set = copyOf(iterable);
228 CountingIterable iterable = new CountingIterable(); local
229 copyOf(iterable);
230 assertEquals(1, iterable.count);
409 builder.addAll((Iterable<String>) null);
428 Iterable<String> iterableWithNulls = MinimalIterable.of("a", null, "b");
PeekingIteratorTest.java 56 private Iterable<T> master;
189 * iterable, but when you try to fetch the extra elements, it throws
194 public ThrowsAtEndIterator(Iterable<E> iterable) {
195 this.iterator = iterable.iterator();
  /external/guava/guava/src/com/google/common/base/
Joiner.java 35 * An object which joins pieces of text (specified as an array, {@link Iterable}, varargs or even a
94 * {@code Iterable}. <b>This method is scheduled for deletion in June 2013.</b>
98 public final <A extends Appendable, I extends Object & Iterable<?> & Iterator<?>> A
107 public <A extends Appendable> A appendTo(A appendable, Iterable<?> parts) throws IOException {
144 return appendTo(appendable, iterable(first, second, rest));
153 * {@code Iterable}. <b>This method is scheduled for deletion in June 2013.</b>
157 public final <I extends Object & Iterable<?> & Iterator<?>> StringBuilder
165 * Iterable)}, except that it does not throw {@link IOException}.
167 public final StringBuilder appendTo(StringBuilder builder, Iterable<?> parts) {
174 * Iterable)}, except that it does not throw {@link IOException}
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ImmutableSet.java 109 Iterable<? extends E> iterable = elements; local
110 return copyOf(iterable);
113 public static <E> ImmutableSet<E> copyOf(Iterable<? extends E> elements) {
203 @Override public Builder<E> addAll(Iterable<? extends E> elements) {
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
ImmutableClassDef.java 69 @Nullable Iterable<? extends Field> fields,
70 @Nullable Iterable<? extends Method> methods) {
96 @Nullable Iterable<? extends Field> staticFields,
97 @Nullable Iterable<? extends Field> instanceFields,
98 @Nullable Iterable<? extends Method> directMethods,
99 @Nullable Iterable<? extends Method> virtualMethods) {
195 public static ImmutableSet<ImmutableClassDef> immutableSetOf(@Nullable Iterable<? extends ClassDef> iterable) {
196 return CONVERTER.toSet(iterable);
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
FakeExpandableAdapter.java 55 private void createItems(Iterable<DataBindingItem> iterable, final int itemCount,
64 for (DataBindingItem dataBindingItem : iterable) {
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
StringIO.py 241 def writelines(self, iterable):
243 iterable object producing strings, typically a list of strings. There
250 for line in iterable:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
StringIO.py 241 def writelines(self, iterable):
243 iterable object producing strings, typically a list of strings. There
250 for line in iterable:

Completed in 1020 milliseconds

1 23 4 5 6 7 8 9