/external/hamcrest/library/src/org/hamcrest/number/ |
IsGreaterThan.java | 18 public boolean matchesSafely(T item) { 19 return compareTo.compareTo(item) < 0;
|
/external/hamcrest/library/src/org/hamcrest/text/ |
SubstringMatcher.java | 17 public boolean matchesSafely(String item) { 18 return evalSubstringOf(item);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
ICUResourceTableAccess.java | 35 String subtableName, String item) { 41 return item; 48 result = stable.findStringWithFallback(item); 54 // if we get here, stable was null, or there was no string for the item 59 currentName = LocaleIDs.getCurrentCountryID(item); 61 currentName = LocaleIDs.getCurrentLanguageID(item); 74 return item; 82 return item; 93 // If the result is empty return item instead 94 return ((result != null && result.length() > 0) ? result : item); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
ICUResourceTableAccess.java | 33 String subtableName, String item) { 39 return item; 46 result = stable.findStringWithFallback(item); 52 // if we get here, stable was null, or there was no string for the item 57 currentName = LocaleIDs.getCurrentCountryID(item); 59 currentName = LocaleIDs.getCurrentLanguageID(item); 72 return item; 80 return item; 91 // If the result is empty return item instead 92 return ((result != null && result.length() > 0) ? result : item); [all...] |
/external/junit/src/org/junit/internal/matchers/ |
SubstringMatcher.java | 14 public boolean matchesSafely(String item) { 15 return evalSubstringOf(item);
|
/external/libcxx/test/libcxx/experimental/containers/sequences/dynarray/dynarray.cons/ |
default.pass.cpp | 49 assert ( std::all_of ( d1.begin (), d1.end (), []( const T &item ){ return item == T(); } )); 53 assert ( std::all_of ( d2.begin (), d2.end (), [&val]( const T &item ){ return item == val; } )); 57 assert ( std::all_of ( d3.begin (), d3.end (), [&val]( const T &item ){ return item == val; } )); 88 assert ( std::all_of ( d1.begin (), d1.end (), []( long item ){ return item == 3L; } ));
|
/external/libogg/ |
Makefile.am | 19 for item in $(EXTRA_DIST); do \ 20 if test -d $$item; then \ 21 echo -n "cleaning dir $$item for distribution..."; \ 22 rm -rf `find $(distdir)/$$item -name .svn`; \
|
/external/mockito/src/org/mockito/internal/util/ |
Checks.java | 22 for (Object item : iterable) { 23 checkNotNull(item, "item in " + checkedIterable);
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/ |
ParserHelper.java | 22 for (String item : name.split("[_-]")) { 23 builder.append(StringUtils.capitalize(item));
|
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
NavigationViewWithoutDrawer.java | 38 public boolean onNavigationItemSelected(MenuItem item) { 39 return handleNavigationItemSelected(item);
|
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
DetailsDescriptionPresenter.java | 22 protected void onBindDescription(ViewHolder vh, Object item) { 23 vh.getTitle().setText(item.toString());
|
/libcore/luni/src/main/java/javax/xml/xpath/ |
XPathExpression.java | 38 * of a context item, an empty document node will be used for the context. 87 * <p>See <a href="#XPathExpression-evaluation">Evaluation of XPath Expressions</a> for context item evaluation, 94 * <code>item</code>, an empty document will be used for the 98 * @param item The starting context (node or node list, for example). 108 public Object evaluate(Object item, QName returnType) 114 * <p>This method calls {@link #evaluate(Object item, QName returnType)} with a <code>returnType</code> of 117 * <p>See <a href="#XPathExpression-evaluation">Evaluation of XPath Expressions</a> for context item evaluation, 121 * <code>item</code>, an empty document will be used for the 124 * @param item The starting context (node or node list, for example). 131 public String evaluate(Object item) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/dynarray/dynarray.cons/ |
default.pass.cpp | 49 assert ( std::all_of ( d1.begin (), d1.end (), []( const T &item ){ return item == T(); } )); 53 assert ( std::all_of ( d2.begin (), d2.end (), [&val]( const T &item ){ return item == val; } )); 57 assert ( std::all_of ( d3.begin (), d3.end (), [&val]( const T &item ){ return item == val; } )); 88 assert ( std::all_of ( d1.begin (), d1.end (), []( long item ){ return item == 3L; } ));
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
SnailAlbum.java | 27 public SnailAlbum(Path path, SnailItem item) { 28 super(path, item);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
FolderInfo.java | 48 * @param item 50 public void add(ShortcutInfo item) { 51 contents.add(item); 53 listeners.get(i).onAdd(item); 61 * @param item 63 public void remove(ShortcutInfo item) { 64 contents.remove(item); 66 listeners.get(i).onRemove(item); 107 public void onAdd(ShortcutInfo item); 108 public void onRemove(ShortcutInfo item); [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
AnnotationsDirectoryItem.java | 74 * Returns whether this item is empty (has no contents). 76 * @return {@code true} if this item is empty, or {@code false} 87 * Returns whether this item is a candidate for interning. The only 114 * <p><b>Note:</b>: This throws an exception if this item is not 151 * Adds a field annotations item to this instance. 167 * Adds a method annotations item to this instance. 183 * Adds a parameter annotations item to this instance. 209 for (MethodAnnotationStruct item : methodAnnotations) { 210 if (item.getMethod().equals(method)) { 211 return item.getAnnotations() [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
AnnotationsDirectoryItem.java | 74 * Returns whether this item is empty (has no contents). 76 * @return {@code true} if this item is empty, or {@code false} 87 * Returns whether this item is a candidate for interning. The only 114 * <p><b>Note:</b>: This throws an exception if this item is not 152 * Adds a field annotations item to this instance. 169 * Adds a method annotations item to this instance. 186 * Adds a parameter annotations item to this instance. 213 for (MethodAnnotationStruct item : methodAnnotations) { 214 if (item.getMethod().equals(method)) { 215 return item.getAnnotations() [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
SetExtensions.cs | 45 public static bool add<T>( this HashSet<T> set, T item ) 47 return set.Add( item ); 53 foreach ( T item in items ) 54 set.Add( item ); 71 public static bool remove<T>( this HashSet<T> set, T item ) 73 return set.Remove( item );
|
/external/autotest/client/site_tests/platform_FileNum/ |
platform_FileNum.py | 61 for item in self._TEST_PLAN: 62 actual_count = self.create_files(item['dir'], item['count']) 63 if actual_count != item['count']: 67 % (item['dir'], actual_count, item['count']))
|
/external/avahi/avahi-common/ |
llist.h | 35 /** The pointers in the linked list's items. Use this in the item structure */ 41 /** Initialize a list item */ 42 #define AVAHI_LLIST_INIT(t,name,item) do { \ 43 t *_item = (item); \ 48 /** Prepend an item to the list */ 49 #define AVAHI_LLIST_PREPEND(t,name,head,item) do { \ 50 t **_head = &(head), *_item = (item); \ 58 /** Remove an item from the list */ 59 #define AVAHI_LLIST_REMOVE(t,name,head,item) do { \ 60 t **_head = &(head), *_item = (item); \ [all...] |
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/ |
matrix-decomposition.js | 259 function convertItemToMatrix(item) { 260 switch (item.t) { 263 var rads = item.d[0].rad || 0; 264 var degs = item.d[0].deg || 0; 271 var rads = item.d[0].rad || 0; 272 var degs = item.d[0].deg || 0; 280 var rads = item.d[0].rad || 0; 281 var degs = item.d[0].deg || 0; 288 var x = item.d[0]; 289 var y = item.d[1] [all...] |
/external/chromium-trace/catapult/tracing/tracing/ui/base/ |
list_view.css | 18 * /deep/ .x-list-view > .list-item { 22 * /deep/ .x-list-view:focus > .list-item[selected] { 28 * /deep/ .x-list-view > .list-item[selected] {
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
AnnotationsDirectoryItem.java | 74 * Returns whether this item is empty (has no contents). 76 * @return {@code true} if this item is empty, or {@code false} 87 * Returns whether this item is a candidate for interning. The only 114 * <p><b>Note:</b>: This throws an exception if this item is not 151 * Adds a field annotations item to this instance. 167 * Adds a method annotations item to this instance. 183 * Adds a parameter annotations item to this instance. 209 for (MethodAnnotationStruct item : methodAnnotations) { 210 if (item.getMethod().equals(method)) { 211 return item.getAnnotations() [all...] |
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/ |
SortIndex.java | 34 final T item; field in class:SortIndex.Entry 36 Entry(final int idx, final T item) { 38 this.item = item; 42 return comparator.compare(item, o.item);
|
/external/parameter-framework/upstream/parameter/ |
PathNavigator.cpp | 102 size_t item; local 103 for (item = 0; item < _currentIndex - 1; item++) { 105 strPath += _astrItems[item] + "/"; 108 strPath += _astrItems[item];
|