/packages/apps/Email/src/org/apache/commons/io/filefilter/ |
EmptyFileFilter.java | 23 * This filter accepts files or directories that are empty.
29 * current directory's empty files/directories:
33 * String[] files = dir.list( EmptyFileFilter.EMPTY );
41 * current directory's non-empty files/directories:
56 /** Singleton instance of <i>empty</i> filter */
57 public static final IOFileFilter EMPTY = new EmptyFileFilter();
59 /** Singleton instance of <i>not-empty</i> filter */
60 public static final IOFileFilter NOT_EMPTY = new NotFileFilter(EMPTY);
69 * Checks to see if the file is empty.
73 * is <i>empty</i>, otherwise <code>false</code>. [all...] |
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
GameActivity.java | 159 if (data[index] == State.EMPTY) {
197 if (data[k] != State.EMPTY && data[k] == data[k+1] && data[k] == data[k+2]) {
200 if (full && (data[k] == State.EMPTY ||
201 data[k+1] == State.EMPTY ||
202 data[k+2] == State.EMPTY)) {
209 if (data[i] != State.EMPTY && data[i] == data[i+3] && data[i] == data[i+6]) {
215 if (data[0] != State.EMPTY && data[0] == data[1+3] && data[0] == data[2+6]) {
217 } else if (data[2] != State.EMPTY && data[2] == data[1+3] && data[2] == data[0+6]) {
228 setFinished(State.EMPTY, -1, -1, -1);
250 if (player == State.EMPTY) {
[all...] |
GameView.java | 50 EMPTY(0),
70 return EMPTY;
94 /** Contains one of {@link State#EMPTY}, {@link State#PLAYER1} or {@link State#PLAYER2}. */
98 private State mSelectedValue = State.EMPTY;
100 private State mWinner = State.EMPTY;
142 mData[i] = State.EMPTY;
312 state = state == State.EMPTY ? mCurrentPlayer : State.EMPTY;
322 if (state != State.EMPTY) {
339 boolean hadSelection = mSelectedCell != -1 && mSelectedValue != State.EMPTY;
[all...] |
/external/icu4c/i18n/ |
esctrn.cpp | 28 static const UChar EMPTY[] = {0}; // "" 37 return new EscapeTransliterator(ID, UNIPRE, EMPTY, 16, 4, TRUE, NULL); 41 return new EscapeTransliterator(ID, BS_u, EMPTY, 16, 4, FALSE, NULL); 45 return new EscapeTransliterator(ID, BS_u, EMPTY, 16, 4, TRUE, 46 new EscapeTransliterator(EMPTY, BS_U, EMPTY, 16, 8, TRUE, NULL));
|
/dalvik/dx/src/com/android/dx/dex/code/ |
ZeroSizeInsn.java | 36 super(Dops.SPECIAL_FORMAT, position, RegisterSpecList.EMPTY);
|
OddSpacer.java | 37 super(position, RegisterSpecList.EMPTY);
|
PositionList.java | 27 /** {@code non-null;} empty instance */ 28 public static final PositionList EMPTY = new PositionList(0); 61 return EMPTY;
|
/dalvik/dx/src/com/android/dx/cf/code/ |
Ropper.java | 120 /** true if {@code subroutines} is non-empty */ 301 * empty here (to be filled in outside of the constructor). 897 RegisterSpecList.EMPTY)); 933 RegisterSpecList.EMPTY)); [all...] |
ByteCatchList.java | 31 public static final ByteCatchList EMPTY = new ByteCatchList(0); 115 return EMPTY; 173 * The list is empty, but there is a no-exception 179 * The list is empty and there isn't even a no-exception 182 return IntList.EMPTY; 207 return StdTypeList.EMPTY;
|
LineNumberList.java | 27 public static final LineNumberList EMPTY = new LineNumberList(0); 39 if (list1 == EMPTY) {
|
ConcreteMethod.java | 93 LineNumberList lineNumbers = LineNumberList.EMPTY; 105 LocalVariableList localVariables = LocalVariableList.EMPTY; 123 LocalVariableList typeList = LocalVariableList.EMPTY;
|
/dalvik/dx/src/com/android/dx/rop/annotation/ |
AnnotationsList.java | 26 /** {@code non-null;} immutable empty instance */ 27 public static final AnnotationsList EMPTY = new AnnotationsList(0);
|
Annotations.java | 32 /** {@code non-null;} immutable empty instance */ 33 public static final Annotations EMPTY = new Annotations(); 36 EMPTY.setImmutable(); 84 * Constructs an empty instance.
|
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/ |
ElemDesc.java | 44 /** Bit position if this element type is empty. */ 45 static final int EMPTY = (1 << 1); 116 /** Bit position if this attribute type is an empty type. */
|
/dalvik/libcore/xml/src/main/java/org/apache/xpath/compiler/ |
OpCodes.java | 52 * [EMPTY] 53 * Empty slot to indicate NULL. 55 public static final int EMPTY = -2; 322 * [index to namespace token, or EMPTY] 515 * [index to ns token or EMPTY]
|
/frameworks/base/core/java/android/util/ |
Base64InputStream.java | 30 private static byte[] EMPTY = new byte[0]; 134 * decode/encode it into the empty coder.output, and reset the 143 success = coder.process(EMPTY, 0, 0, true);
|
Base64OutputStream.java | 34 private static byte[] EMPTY = new byte[0]; 108 internalWrite(EMPTY, 0, 0, true);
|
/frameworks/base/core/java/com/android/internal/util/ |
ArrayUtils.java | 32 private static Object[] EMPTY = new Object[0]; 98 * Returns an empty array of the specified type. The intent is that 99 * it will return the same empty array every time to avoid reallocation, 104 return (T[]) EMPTY; 114 // Log.e("cache", "new empty " + kind.getName() + " at " + bucket);
|
/system/core/sh/ |
redir.c | 69 #define EMPTY -2 /* marks an unused slot in redirtab */ 125 sv->renamed[i] = EMPTY; 136 if ((flags & REDIR_PUSH) && sv->renamed[fd] == EMPTY) { 305 if (rp->renamed[i] != EMPTY) { 363 rp->renamed[i] = EMPTY; 372 * if the source file descriptor is closed, EMPTY if there are no unused 384 return EMPTY;
|
/cts/tools/dasm/src/java_cup/ |
terminal_set.java | 16 /** Constructor for an empty set. */ 39 /** Constant for the empty set. */ 40 public static final terminal_set EMPTY = new terminal_set(); 65 /** Determine if the set is empty. */ 66 public boolean empty() method in class:terminal_set 68 return equals(EMPTY);
|
/packages/apps/Email/tests/src/com/android/email/ |
VendorPolicyLoaderTest.java | 34 assertEquals(Bundle.EMPTY, pl.getPolicy(null, null)); 85 assertEquals(Bundle.EMPTY, pl.getPolicy("policy1", null)); 157 assertTrue(p.note == null || p.note.length() > 0); // no empty string
|
/cts/tests/tests/permission/src/android/permission/cts/ |
NoBroadcastPackageRemovedPermissionTest.java | 83 TEST_RECEIVER_PERMISSION, null, null, 0, "initialData", Bundle.EMPTY);
|
/dalvik/dx/src/com/android/dx/rop/code/ |
FillArrayDataInsn.java | 69 return StdTypeList.EMPTY;
|
PlainCstInsn.java | 52 return StdTypeList.EMPTY;
|
SwitchInsn.java | 65 return StdTypeList.EMPTY;
|