Home
last modified time | relevance | path

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

12345

/external/guava/guava-tests/test/com/google/common/primitives/
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 …]
DBooleansTest.java40 private static final boolean[] EMPTY = {}; field in BooleansTest
64 assertFalse(Booleans.contains(EMPTY, false)); in testContains()
72 assertEquals(-1, Booleans.indexOf(EMPTY, false)); in testIndexOf()
82 assertEquals(-1, Booleans.lastIndexOf(EMPTY, false)); in testLastIndexOf()
92 assertTrue(Arrays.equals(EMPTY, Booleans.concat())); in testConcat()
93 assertTrue(Arrays.equals(EMPTY, Booleans.concat(EMPTY))); in testConcat()
94 assertTrue(Arrays.equals(EMPTY, Booleans.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
97 assertTrue(Arrays.equals(ARRAY_FALSE, Booleans.concat(EMPTY, ARRAY_FALSE, EMPTY))); in testConcat()
107 assertSame(EMPTY, Booleans.ensureCapacity(EMPTY, 0, 1)); in testEnsureCapacity()
130 assertEquals("", Booleans.join(",", EMPTY)); in testJoin()
[all …]
DLongsTest.java42 private static final long[] EMPTY = {}; field in LongsTest
73 assertFalse(Longs.contains(EMPTY, (long) 1)); in testContains()
83 assertEquals(-1, Longs.indexOf(EMPTY, (long) 1)); in testIndexOf()
97 assertEquals(0, Longs.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
98 assertEquals(0, Longs.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
99 assertEquals(-1, Longs.indexOf(EMPTY, ARRAY234)); in testIndexOf_arrayTarget()
131 assertEquals(-1, Longs.lastIndexOf(EMPTY, (long) 1)); in testLastIndexOf()
177 assertTrue(Arrays.equals(EMPTY, Longs.concat())); in testConcat()
178 assertTrue(Arrays.equals(EMPTY, Longs.concat(EMPTY))); in testConcat()
179 assertTrue(Arrays.equals(EMPTY, Longs.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
[all …]
DDoublesTest.java44 private static final double[] EMPTY = {}; field in DoublesTest
85 assertFalse(Doubles.contains(EMPTY, (double) 1)); in testContains()
101 assertEquals(-1, Doubles.indexOf(EMPTY, (double) 1)); in testIndexOf()
121 assertEquals(0, Doubles.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
122 assertEquals(0, Doubles.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
123 assertEquals(-1, Doubles.indexOf(EMPTY, ARRAY234)); in testIndexOf_arrayTarget()
162 assertEquals(-1, Doubles.lastIndexOf(EMPTY, (double) 1)); in testLastIndexOf()
224 assertTrue(Arrays.equals(EMPTY, Doubles.concat())); in testConcat()
225 assertTrue(Arrays.equals(EMPTY, Doubles.concat(EMPTY))); in testConcat()
226 assertTrue(Arrays.equals(EMPTY, Doubles.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
[all …]
DShortsTest.java42 private static final short[] EMPTY = {}; field in ShortsTest
109 assertFalse(Shorts.contains(EMPTY, (short) 1)); in testContains()
119 assertEquals(-1, Shorts.indexOf(EMPTY, (short) 1)); in testIndexOf()
133 assertEquals(0, Shorts.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
134 assertEquals(0, Shorts.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
135 assertEquals(-1, Shorts.indexOf(EMPTY, ARRAY234)); in testIndexOf_arrayTarget()
167 assertEquals(-1, Shorts.lastIndexOf(EMPTY, (short) 1)); in testLastIndexOf()
213 assertTrue(Arrays.equals(EMPTY, Shorts.concat())); in testConcat()
214 assertTrue(Arrays.equals(EMPTY, Shorts.concat(EMPTY))); in testConcat()
215 assertTrue(Arrays.equals(EMPTY, Shorts.concat(EMPTY, EMPTY, EMPTY))); in testConcat()
[all …]
DFloatsTest.java44 private static final float[] EMPTY = {}; field in FloatsTest
85 assertFalse(Floats.contains(EMPTY, (float) 1)); in testContains()
100 assertEquals(-1, Floats.indexOf(EMPTY, (float) 1)); in testIndexOf()
120 assertEquals(0, Floats.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
121 assertEquals(0, Floats.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
122 assertEquals(-1, Floats.indexOf(EMPTY, ARRAY234)); in testIndexOf_arrayTarget()
161 assertEquals(-1, Floats.lastIndexOf(EMPTY, (float) 1)); in testLastIndexOf()
223 assertTrue(Arrays.equals(EMPTY, Floats.concat())); in testConcat()
224 assertTrue(Arrays.equals(EMPTY, Floats.concat(EMPTY))); in testConcat()
225 assertTrue(Arrays.equals(EMPTY, Floats.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 …]
DIntsTest.java42 private static final int[] EMPTY = {}; field in IntsTest
101 assertFalse(Ints.contains(EMPTY, (int) 1)); in testContains()
111 assertEquals(-1, Ints.indexOf(EMPTY, (int) 1)); in testIndexOf()
125 assertEquals(0, Ints.indexOf(EMPTY, EMPTY)); in testIndexOf_arrayTarget()
126 assertEquals(0, Ints.indexOf(ARRAY234, EMPTY)); in testIndexOf_arrayTarget()
127 assertEquals(-1, Ints.indexOf(EMPTY, ARRAY234)); in testIndexOf_arrayTarget()
159 assertEquals(-1, Ints.lastIndexOf(EMPTY, (int) 1)); in testLastIndexOf()
205 assertTrue(Arrays.equals(EMPTY, Ints.concat())); in testConcat()
206 assertTrue(Arrays.equals(EMPTY, Ints.concat(EMPTY))); in testConcat()
207 assertTrue(Arrays.equals(EMPTY, Ints.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.cpp117 #define EMPTY(a) macro
119 if (x) EMPTY(x); // no-warning in test3()
122 for (i = 0; i < x; i++) EMPTY(i); // no-warning in test3()
126 i++) EMPTY(i); // no-warning in test3()
129 for (int j : arr) EMPTY(j); // no-warning in test3()
132 arr) EMPTY(j); // no-warning in test3()
134 while (b() == 0) EMPTY(i); // no-warning in test3()
137 c() == 0) EMPTY(i); // no-warning in test3()
141 EMPTY(i); // no-warning in test3()
258 EMPTY(x); // no-warning in test_template()
/external/eigen/Eigen/
DSuperLUSupport8 #ifdef EMPTY
17 // slu_util.h defines a preprocessor token named EMPTY which is really polluting,
19 // If EMPTY was already defined then we don't undef it.
23 #elif defined(EMPTY)
24 # undef EMPTY
39 …* \warning When including this module, you have to use SUPERLU_EMPTY instead of EMPTY which is no …
/external/clang/test/Preprocessor/
Dinclude-directive2.c9 #define EMPTY macro
10 #include <limits.h> EMPTY
11 #include HEADER EMPTY
Dhash_line.c9 #define EMPTY macro
10 EMPTY #
Dline-directive.c74 #define EMPTY() macro
75 #line 2 "foo.c" EMPTY( )
Doutput_paste_avoid.cpp19 #define EMPTY macro
21 D: +PLUS -EMPTY- PLUS+ f(=)
D_Pragma-in-macro-arg.c9 #define EMPTY(x) macro
10 #define INACTIVE(x) EMPTY(x)
/external/protobuf/java/src/main/java/com/google/protobuf/
DExtensionRegistryLite.java81 return EMPTY; in getEmptyRegistry()
128 if (other == EMPTY) { in ExtensionRegistryLite()
143 private static final ExtensionRegistryLite EMPTY = field in ExtensionRegistryLite
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
DRops.java35 new Rop(RegOps.NOP, Type.VOID, StdTypeList.EMPTY, "nop");
69 new Rop(RegOps.MOVE_PARAM, Type.INT, StdTypeList.EMPTY,
74 new Rop(RegOps.MOVE_PARAM, Type.LONG, StdTypeList.EMPTY,
79 new Rop(RegOps.MOVE_PARAM, Type.FLOAT, StdTypeList.EMPTY,
84 new Rop(RegOps.MOVE_PARAM, Type.DOUBLE, StdTypeList.EMPTY,
89 new Rop(RegOps.MOVE_PARAM, Type.OBJECT, StdTypeList.EMPTY,
94 new Rop(RegOps.CONST, Type.INT, StdTypeList.EMPTY, "const-int");
98 new Rop(RegOps.CONST, Type.LONG, StdTypeList.EMPTY, "const-long");
102 new Rop(RegOps.CONST, Type.FLOAT, StdTypeList.EMPTY, "const-float");
106 new Rop(RegOps.CONST, Type.DOUBLE, StdTypeList.EMPTY, "const-double");
[all …]
DRegisterSpecList.java31 public static final RegisterSpecList EMPTY = new RegisterSpecList(0); field in RegisterSpecList
252 return EMPTY; in withoutFirst()
279 return EMPTY; in withoutLast()
308 return EMPTY; in subset()
/external/jsilver/src/com/google/clearsilver/jsilver/values/
DVariantValue.java30 private static final String EMPTY = ""; field in VariantValue
46 return value == null ? EMPTY : value; in asString()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DToHTMLStream.java70 m_elementFlags.put("BASEFONT", new ElemDesc(0 | ElemDesc.EMPTY)); in initTagReference()
73 new ElemDesc(0 | ElemDesc.EMPTY | ElemDesc.BLOCK)); in initTagReference()
78 new ElemDesc(0 | ElemDesc.EMPTY | ElemDesc.BLOCK)); in initTagReference()
120 | ElemDesc.EMPTY in initTagReference()
144 new ElemDesc(0 | ElemDesc.EMPTY | ElemDesc.BLOCK)); in initTagReference()
148 0 | ElemDesc.HEADMISC | ElemDesc.EMPTY | ElemDesc.BLOCK)); in initTagReference()
155 | ElemDesc.EMPTY in initTagReference()
165 m_elementFlags.put("PARAM", new ElemDesc(0 | ElemDesc.EMPTY)); in initTagReference()
173 | ElemDesc.EMPTY)); in initTagReference()
235 0 | ElemDesc.FORMCTRL | ElemDesc.INLINELABEL | ElemDesc.EMPTY)); in initTagReference()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DPositionList.java28 public static final PositionList EMPTY = new PositionList(0); field in PositionList
61 return EMPTY; in make()
/external/dexmaker/src/main/java/com/google/dexmaker/
DCode.java206 private StdTypeList catches = StdTypeList.EMPTY;
295 sourcePosition, local.spec(), RegisterSpecList.EMPTY, paramConstant)); in initializeLocals()
349 addInstruction(new PlainInsn(Rops.GOTO, sourcePosition, null, RegisterSpecList.EMPTY), in jump()
482 RegisterSpecList.EMPTY, Constants.getConstant(value))); in loadConstant()
485 RegisterSpecList.EMPTY, catches, Constants.getConstant(value))); in loadConstant()
597 RegisterSpecList.EMPTY, catches, fieldId.constant)); in sget()
620 RegisterSpecList.EMPTY, catches, constructor.declaringType.constant)); in newInstance()
817 RegisterSpecList.EMPTY)); in returnVoid()
839 addInstruction(new PlainInsn(rop, sourcePosition, target.spec(), RegisterSpecList.EMPTY)); in moveResult()
/external/dexmaker/src/dx/java/com/android/dx/ssa/
DConstCollector.java115 RegisterSpecList.EMPTY, cst)); in run()
128 RegisterSpecList.EMPTY, in run()
129 StdTypeList.EMPTY, cst)); in run()
139 result, RegisterSpecList.EMPTY); in run()
/external/quake/quake/src/WinQuake/
Dnet_comx.cpp42 #define EMPTY(q) (q.tail == q.head) macro
212 if (! EMPTY(p->outputQueue)) in ISR_8250()
275 while ((! EMPTY(p->outputQueue)) && count--) in ISR_16550()
299 while ((! EMPTY(p->outputQueue)) && count--) in ISR_16550()
690 if (EMPTY(p->outputQueue)) in TTY_Close()
711 if (EMPTY (p->inputQueue)) in TTY_ReadByte()
772 while (! EMPTY (p->inputQueue)) in TTY_Connect()
925 if (EMPTY (p->inputQueue)) in TTY_CheckForConnection()
945 return EMPTY(handleToPort[handle]->outputQueue); in TTY_OutputQueueIsEmpty()
1221 while (! EMPTY(p->inputQueue)) in Modem_Response()

12345