Home
last modified time | relevance | path

Searched refs:EMPTY (Results 1 – 25 of 1090) sorted by relevance

12345678910>>...44

/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DBooleansTest.java37 private static final boolean[] EMPTY = {}; field in BooleansTest
62 assertFalse(Booleans.contains(EMPTY, false)); in testContains()
70 assertEquals(-1, Booleans.indexOf(EMPTY, ARRAY_FALSE)); in testIndexOf()
80 assertEquals(-1, Booleans.indexOf(EMPTY, false)); in testIndexOf_arrays()
90 assertEquals(-1, Booleans.lastIndexOf(EMPTY, false)); in testLastIndexOf()
100 assertTrue(Arrays.equals(EMPTY, Booleans.concat())); in testConcat()
101 assertTrue(Arrays.equals(EMPTY, Booleans.concat(EMPTY))); in testConcat()
102 assertTrue(Arrays.equals(EMPTY, Booleans.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
105 assertTrue(Arrays.equals(ARRAY_FALSE, Booleans.concat(EMPTY, ARRAY_FALSE, EMPTY))); in testConcat()
115 assertSame(EMPTY, Booleans.ensureCapacity(EMPTY, 0, 1)); in testEnsureCapacity()
[all …]
DBytesTest.java36 private static final byte[] EMPTY = {}; field in BytesTest
51 assertFalse(Bytes.contains(EMPTY, (byte) 1)); in testContains()
61 assertEquals(-1, Bytes.indexOf(EMPTY, (byte) 1)); in testIndexOf()
75 assertEquals(0, Bytes.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
76 assertEquals(0, Bytes.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
77 assertEquals(-1, Bytes.indexOf(EMPTY, ARRAY234)); in testIndexOf_arrayTarget()
109 assertEquals(-1, Bytes.lastIndexOf(EMPTY, (byte) 1)); in testLastIndexOf()
123 assertTrue(Arrays.equals(EMPTY, Bytes.concat())); in testConcat()
124 assertTrue(Arrays.equals(EMPTY, Bytes.concat(EMPTY))); in testConcat()
125 assertTrue(Arrays.equals(EMPTY, Bytes.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
[all …]
DCharsTest.java38 private static final char[] EMPTY = {}; field in CharsTest
97 assertFalse(Chars.contains(EMPTY, (char) 1)); in testContains()
107 assertEquals(-1, Chars.indexOf(EMPTY, (char) 1)); in testIndexOf()
121 assertEquals(0, Chars.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
122 assertEquals(0, Chars.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
123 assertEquals(-1, Chars.indexOf(EMPTY, ARRAY234)); in testIndexOf_arrayTarget()
155 assertEquals(-1, Chars.lastIndexOf(EMPTY, (char) 1)); in testLastIndexOf()
201 assertTrue(Arrays.equals(EMPTY, Chars.concat())); in testConcat()
202 assertTrue(Arrays.equals(EMPTY, Chars.concat(EMPTY))); in testConcat()
203 assertTrue(Arrays.equals(EMPTY, Chars.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
[all …]
DLongsTest.java43 private static final long[] EMPTY = {}; field in LongsTest
63 assertFalse(Longs.contains(EMPTY, (long) 1)); in testContains()
73 assertEquals(-1, Longs.indexOf(EMPTY, (long) 1)); in testIndexOf()
87 assertEquals(0, Longs.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
88 assertEquals(0, Longs.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
89 assertEquals(-1, Longs.indexOf(EMPTY, ARRAY234)); in testIndexOf_arrayTarget()
121 assertEquals(-1, Longs.lastIndexOf(EMPTY, (long) 1)); in testLastIndexOf()
167 assertTrue(Arrays.equals(EMPTY, Longs.concat())); in testConcat()
168 assertTrue(Arrays.equals(EMPTY, Longs.concat(EMPTY))); in testConcat()
169 assertTrue(Arrays.equals(EMPTY, Longs.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
[all …]
DShortsTest.java39 private static final short[] EMPTY = {}; field in ShortsTest
106 assertFalse(Shorts.contains(EMPTY, (short) 1)); in testContains()
116 assertEquals(-1, Shorts.indexOf(EMPTY, (short) 1)); in testIndexOf()
130 assertEquals(0, Shorts.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
131 assertEquals(0, Shorts.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
132 assertEquals(-1, Shorts.indexOf(EMPTY, ARRAY234)); in testIndexOf_arrayTarget()
164 assertEquals(-1, Shorts.lastIndexOf(EMPTY, (short) 1)); in testLastIndexOf()
210 assertTrue(Arrays.equals(EMPTY, Shorts.concat())); in testConcat()
211 assertTrue(Arrays.equals(EMPTY, Shorts.concat(EMPTY))); in testConcat()
212 assertTrue(Arrays.equals(EMPTY, Shorts.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
[all …]
DIntsTest.java39 private static final int[] EMPTY = {}; field in IntsTest
98 assertFalse(Ints.contains(EMPTY, (int) 1)); in testContains()
108 assertEquals(-1, Ints.indexOf(EMPTY, (int) 1)); in testIndexOf()
122 assertEquals(0, Ints.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
123 assertEquals(0, Ints.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
124 assertEquals(-1, Ints.indexOf(EMPTY, ARRAY234)); in testIndexOf_arrayTarget()
156 assertEquals(-1, Ints.lastIndexOf(EMPTY, (int) 1)); in testLastIndexOf()
202 assertTrue(Arrays.equals(EMPTY, Ints.concat())); in testConcat()
203 assertTrue(Arrays.equals(EMPTY, Ints.concat(EMPTY))); in testConcat()
204 assertTrue(Arrays.equals(EMPTY, Ints.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
[all …]
DFloatsTest.java41 private static final float[] EMPTY = {}; field in FloatsTest
82 assertFalse(Floats.contains(EMPTY, (float) 1)); in testContains()
97 assertEquals(-1, Floats.indexOf(EMPTY, (float) 1)); in testIndexOf()
117 assertEquals(0, Floats.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
118 assertEquals(0, Floats.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
119 assertEquals(-1, Floats.indexOf(EMPTY, ARRAY234)); in testIndexOf_arrayTarget()
158 assertEquals(-1, Floats.lastIndexOf(EMPTY, (float) 1)); in testLastIndexOf()
220 assertTrue(Arrays.equals(EMPTY, Floats.concat())); in testConcat()
221 assertTrue(Arrays.equals(EMPTY, Floats.concat(EMPTY))); in testConcat()
222 assertTrue(Arrays.equals(EMPTY, Floats.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
[all …]
DDoublesTest.java42 private static final double[] EMPTY = {}; field in DoublesTest
84 assertFalse(Doubles.contains(EMPTY, (double) 1)); in testContains()
100 assertEquals(-1, Doubles.indexOf(EMPTY, (double) 1)); in testIndexOf()
120 assertEquals(0, Doubles.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
121 assertEquals(0, Doubles.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
122 assertEquals(-1, Doubles.indexOf(EMPTY, ARRAY234)); in testIndexOf_arrayTarget()
161 assertEquals(-1, Doubles.lastIndexOf(EMPTY, (double) 1)); in testLastIndexOf()
223 assertTrue(Arrays.equals(EMPTY, Doubles.concat())); in testConcat()
224 assertTrue(Arrays.equals(EMPTY, Doubles.concat(EMPTY))); in testConcat()
225 assertTrue(Arrays.equals(EMPTY, Doubles.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
[all …]
/external/guava/guava-tests/test/com/google/common/primitives/
DBooleansTest.java40 private static final boolean[] EMPTY = {}; field in BooleansTest
65 assertFalse(Booleans.contains(EMPTY, false)); in testContains()
73 assertEquals(-1, Booleans.indexOf(EMPTY, ARRAY_FALSE)); in testIndexOf()
83 assertEquals(-1, Booleans.indexOf(EMPTY, false)); in testIndexOf_arrays()
93 assertEquals(-1, Booleans.lastIndexOf(EMPTY, false)); in testLastIndexOf()
103 assertTrue(Arrays.equals(EMPTY, Booleans.concat())); in testConcat()
104 assertTrue(Arrays.equals(EMPTY, Booleans.concat(EMPTY))); in testConcat()
105 assertTrue(Arrays.equals(EMPTY, Booleans.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
108 assertTrue(Arrays.equals(ARRAY_FALSE, Booleans.concat(EMPTY, ARRAY_FALSE, EMPTY))); in testConcat()
118 assertSame(EMPTY, Booleans.ensureCapacity(EMPTY, 0, 1)); in testEnsureCapacity()
[all …]
DBytesTest.java38 private static final byte[] EMPTY = {}; field in BytesTest
53 assertFalse(Bytes.contains(EMPTY, (byte) 1)); in testContains()
63 assertEquals(-1, Bytes.indexOf(EMPTY, (byte) 1)); in testIndexOf()
77 assertEquals(0, Bytes.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
78 assertEquals(0, Bytes.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
79 assertEquals(-1, Bytes.indexOf(EMPTY, ARRAY234)); in testIndexOf_arrayTarget()
111 assertEquals(-1, Bytes.lastIndexOf(EMPTY, (byte) 1)); in testLastIndexOf()
125 assertTrue(Arrays.equals(EMPTY, Bytes.concat())); in testConcat()
126 assertTrue(Arrays.equals(EMPTY, Bytes.concat(EMPTY))); in testConcat()
127 assertTrue(Arrays.equals(EMPTY, Bytes.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
[all …]
DCharsTest.java41 private static final char[] EMPTY = {}; field in CharsTest
100 assertFalse(Chars.contains(EMPTY, (char) 1)); in testContains()
110 assertEquals(-1, Chars.indexOf(EMPTY, (char) 1)); in testIndexOf()
124 assertEquals(0, Chars.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
125 assertEquals(0, Chars.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
126 assertEquals(-1, Chars.indexOf(EMPTY, ARRAY234)); in testIndexOf_arrayTarget()
158 assertEquals(-1, Chars.lastIndexOf(EMPTY, (char) 1)); in testLastIndexOf()
204 assertTrue(Arrays.equals(EMPTY, Chars.concat())); in testConcat()
205 assertTrue(Arrays.equals(EMPTY, Chars.concat(EMPTY))); in testConcat()
206 assertTrue(Arrays.equals(EMPTY, Chars.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
[all …]
DShortsTest.java43 private static final short[] EMPTY = {}; field in ShortsTest
110 assertFalse(Shorts.contains(EMPTY, (short) 1)); in testContains()
120 assertEquals(-1, Shorts.indexOf(EMPTY, (short) 1)); in testIndexOf()
134 assertEquals(0, Shorts.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
135 assertEquals(0, Shorts.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
136 assertEquals(-1, Shorts.indexOf(EMPTY, ARRAY234)); in testIndexOf_arrayTarget()
168 assertEquals(-1, Shorts.lastIndexOf(EMPTY, (short) 1)); in testLastIndexOf()
214 assertTrue(Arrays.equals(EMPTY, Shorts.concat())); in testConcat()
215 assertTrue(Arrays.equals(EMPTY, Shorts.concat(EMPTY))); in testConcat()
216 assertTrue(Arrays.equals(EMPTY, Shorts.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
[all …]
DLongsTest.java47 private static final long[] EMPTY = {}; field in LongsTest
75 assertFalse(Longs.contains(EMPTY, (long) 1)); in testContains()
85 assertEquals(-1, Longs.indexOf(EMPTY, (long) 1)); in testIndexOf()
99 assertEquals(0, Longs.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
100 assertEquals(0, Longs.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
101 assertEquals(-1, Longs.indexOf(EMPTY, ARRAY234)); in testIndexOf_arrayTarget()
133 assertEquals(-1, Longs.lastIndexOf(EMPTY, (long) 1)); in testLastIndexOf()
179 assertTrue(Arrays.equals(EMPTY, Longs.concat())); in testConcat()
180 assertTrue(Arrays.equals(EMPTY, Longs.concat(EMPTY))); in testConcat()
181 assertTrue(Arrays.equals(EMPTY, Longs.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
[all …]
DIntsTest.java43 private static final int[] EMPTY = {}; field in IntsTest
102 assertFalse(Ints.contains(EMPTY, (int) 1)); in testContains()
112 assertEquals(-1, Ints.indexOf(EMPTY, (int) 1)); in testIndexOf()
126 assertEquals(0, Ints.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
127 assertEquals(0, Ints.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
128 assertEquals(-1, Ints.indexOf(EMPTY, ARRAY234)); in testIndexOf_arrayTarget()
160 assertEquals(-1, Ints.lastIndexOf(EMPTY, (int) 1)); in testLastIndexOf()
206 assertTrue(Arrays.equals(EMPTY, Ints.concat())); in testConcat()
207 assertTrue(Arrays.equals(EMPTY, Ints.concat(EMPTY))); in testConcat()
208 assertTrue(Arrays.equals(EMPTY, Ints.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
[all …]
DDoublesTest.java46 private static final double[] EMPTY = {}; field in DoublesTest
89 assertFalse(Doubles.contains(EMPTY, (double) 1)); in testContains()
105 assertEquals(-1, Doubles.indexOf(EMPTY, (double) 1)); in testIndexOf()
125 assertEquals(0, Doubles.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
126 assertEquals(0, Doubles.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
127 assertEquals(-1, Doubles.indexOf(EMPTY, ARRAY234)); in testIndexOf_arrayTarget()
166 assertEquals(-1, Doubles.lastIndexOf(EMPTY, (double) 1)); in testLastIndexOf()
228 assertTrue(Arrays.equals(EMPTY, Doubles.concat())); in testConcat()
229 assertTrue(Arrays.equals(EMPTY, Doubles.concat(EMPTY))); in testConcat()
230 assertTrue(Arrays.equals(EMPTY, Doubles.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
[all …]
DFloatsTest.java46 private static final float[] EMPTY = {}; field in FloatsTest
88 assertFalse(Floats.contains(EMPTY, (float) 1)); in testContains()
103 assertEquals(-1, Floats.indexOf(EMPTY, (float) 1)); in testIndexOf()
123 assertEquals(0, Floats.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
124 assertEquals(0, Floats.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
125 assertEquals(-1, Floats.indexOf(EMPTY, ARRAY234)); in testIndexOf_arrayTarget()
164 assertEquals(-1, Floats.lastIndexOf(EMPTY, (float) 1)); in testLastIndexOf()
226 assertTrue(Arrays.equals(EMPTY, Floats.concat())); in testConcat()
227 assertTrue(Arrays.equals(EMPTY, Floats.concat(EMPTY))); in testConcat()
228 assertTrue(Arrays.equals(EMPTY, Floats.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_bugzilla/org/eclipse/releng/services/bugzilla/
DUpdateBugStateTask.java153 private static final String EMPTY = ""; //$NON-NLS-1$ field in UpdateBugStateTask
205 product = EMPTY; in UpdateBugStateTask()
206 status = EMPTY; in UpdateBugStateTask()
207 buildID = EMPTY; in UpdateBugStateTask()
208 buildAlias = EMPTY; in UpdateBugStateTask()
209 endDate = EMPTY; in UpdateBugStateTask()
210 milestone = EMPTY; in UpdateBugStateTask()
211 bugList = EMPTY; in UpdateBugStateTask()
324 if (status.equals(EMPTY)) in execute()
330 …if (!bugList.equals(EMPTY) && endDate.equals(EMPTY) && milestone.equals(EMPTY) && product.equals(E… in execute()
[all …]
/external/clang/test/SemaCXX/
Dwarn-empty-body.cpp124 #define EMPTY(a) macro
126 if (x) EMPTY(x); // no-warning in test3()
129 for (i = 0; i < x; i++) EMPTY(i); // no-warning in test3()
133 i++) EMPTY(i); // no-warning in test3()
136 for (int j : arr) EMPTY(j); // no-warning in test3()
139 arr) EMPTY(j); // no-warning in test3()
141 while (b() == 0) EMPTY(i); // no-warning in test3()
144 c() == 0) EMPTY(i); // no-warning in test3()
148 EMPTY(i); // no-warning in test3()
265 EMPTY(x); // no-warning in test_template()
/external/mockito/cglib-and-asm/src/org/mockito/asm/util/
DCheckSignatureAdapter.java59 private static final int EMPTY = 1; field in CheckSignatureAdapter
109 this.state = EMPTY; in CheckSignatureAdapter()
117 || (state != EMPTY && state != FORMAL && state != BOUND)) in visitFormalTypeParameter()
148 if (type != CLASS_SIGNATURE || (state & (EMPTY | FORMAL | BOUND)) == 0) in visitSuperclass()
169 || (state & (EMPTY | FORMAL | BOUND | PARAM)) == 0) in visitParameterType()
180 || (state & (EMPTY | FORMAL | BOUND | PARAM)) == 0) in visitReturnType()
202 if (type != TYPE_SIGNATURE || state != EMPTY) { in visitBaseType()
221 if (type != TYPE_SIGNATURE || state != EMPTY) { in visitTypeVariable()
232 if (type != TYPE_SIGNATURE || state != EMPTY) { in visitArrayType()
241 if (type != TYPE_SIGNATURE || state != EMPTY) { in visitClassType()
/external/llvm/test/FileCheck/
Dcheck-empty.txt1 // RUN: not FileCheck -check-prefix=FOO %s </dev/null 2>&1 | FileCheck -check-prefix=EMPTY-ERR %s
2 // RUN: not FileCheck -check-prefix=NOFOO %s </dev/null 2>&1 | FileCheck -check-prefix=EMPTY-ERR %s
3 …k-prefix=FOO -allow-empty %s </dev/null 2>&1 | FileCheck -check-prefix=NO-EMPTY-ERR -check-prefix=…
4 …prefix=NOFOO -allow-empty %s </dev/null 2>&1 | FileCheck -allow-empty -check-prefix=NO-EMPTY-ERR %s
9 ; EMPTY-ERR: FileCheck error: '-' is empty.
10 ; NO-EMPTY-ERR-NOT: FileCheck error: '-' is empty.
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
DAnnotationsDirectory.java44 public static final AnnotationsDirectory EMPTY = new AnnotationsDirectory() { field in AnnotationsDirectory
47 …verride public AnnotationIterator getFieldAnnotationIterator() { return AnnotationIterator.EMPTY; }
48 …erride public AnnotationIterator getMethodAnnotationIterator() { return AnnotationIterator.EMPTY; }
49 …rride public AnnotationIterator getParameterAnnotationIterator() {return AnnotationIterator.EMPTY;}
62 return EMPTY; in newOrEmpty()
75 public static final AnnotationIterator EMPTY = new AnnotationIterator() { field
179 return AnnotationIterator.EMPTY;
188 return AnnotationIterator.EMPTY;
200 return AnnotationIterator.EMPTY;
/external/libxml2/result/VC/
DPENesting2 <!ENTITY % pe1 "EMPTY> <!ELEMENT e2 EMPTY>">
5 <!ENTITY % pe1 "EMPTY> <!ELEMENT e2 EMPTY>">
/external/mesa3d/src/mesa/main/
DAPIspec.dtd4 <!ELEMENT category EMPTY>
5 <!ELEMENT function EMPTY>
9 <!ELEMENT return EMPTY>
10 <!ELEMENT param EMPTY>
13 <!ELEMENT value EMPTY>
14 <!ELEMENT range EMPTY>
/external/llvm/test/tools/llvm-readobj/
Dmips-got.test10 RUN: FileCheck %s -check-prefix GOT-EMPTY
310 GOT-EMPTY: Primary GOT {
311 GOT-EMPTY-NEXT: Canonical gp value: 0x409FF0
312 GOT-EMPTY-NEXT: Reserved entries [
313 GOT-EMPTY-NEXT: Entry {
314 GOT-EMPTY-NEXT: Address: 0x402000
315 GOT-EMPTY-NEXT: Access: -32752
316 GOT-EMPTY-NEXT: Initial: 0x0
317 GOT-EMPTY-NEXT: Purpose: Lazy resolver
318 GOT-EMPTY-NEXT: }
[all …]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java32 private static final byte[] EMPTY = new byte[0]; field in FileEntry
34 private byte[] bytes = EMPTY;
87 byte[] newBytes = (contents != null) ? contents.getBytes() : EMPTY; in setContents()
98 byte[] newBytes = (contents != null) ? new String(contents).getBytes() : EMPTY; in setContents()
126 byte[] initialContents = (append) ? bytes : EMPTY; in createOutputStream()

12345678910>>...44