HomeSort by relevance Sort by last modified time
    Searched defs:first (Results 501 - 525 of 2784) sorted by null

<<21222324252627282930>>

  /frameworks/volley/src/test/java/com/android/volley/toolbox/
DiskBasedCacheTest.java 45 CacheHeader first = new CacheHeader("my-magical-key", e); local
47 first.writeHeader(baos);
51 assertEquals(first.key, second.key);
52 assertEquals(first.serverDate, second.serverDate);
53 assertEquals(first.lastModified, second.lastModified);
54 assertEquals(first.ttl, second.ttl);
55 assertEquals(first.softTtl, second.softTtl);
56 assertEquals(first.etag, second.etag);
57 assertEquals(first.responseHeaders, second.responseHeaders);
111 twoThings.put("first", "thing")
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
FileWriterTest.java 62 String first = "The first string for testing. "; local
63 fileWriter.write(first);
72 char[] out = new char[first.length() + second.length() + 10];
75 assertEquals(first + second, new String(out, 0, length));
78 first = "The first string for testing. ";
79 fileWriter.write(first);
88 out = new char[first.length() + second.length() + 10];
  /libcore/json/src/main/java/org/json/
JSONTokener.java 200 /* the index of the first character not yet appended to the builder. */
353 int first = nextCleanInternal(); local
354 if (first == '}') {
356 } else if (first != -1) {
421 /* A separator without a value first means "null". */
512 * indefinitely, you should use {@code new String(result)} to copy it first
529 * to but not including the first of:
538 * indefinitely, you should use {@code new String(result)} to copy it first
  /libcore/luni/src/main/java/java/util/concurrent/
ConcurrentSkipListSet.java 368 public E first() { method in class:ConcurrentSkipListSet
DelayQueue.java 164 E first = q.peek(); local
165 return (first == null || first.getDelay(NANOSECONDS) > 0)
185 E first = q.peek(); local
186 if (first == null)
189 long delay = first.getDelay(NANOSECONDS);
192 first = null; // don't retain ref while waiting
230 E first = q.peek(); local
231 if (first == null) {
237 long delay = first.getDelay(NANOSECONDS)
301 E first = q.peek(); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
OldTreeSetTest.java 45 hm.put("First", new Integer(1));
80 hm.put("First", new Integer(1));
102 hm.put("First", new Integer(1));
121 // Test for method java.lang.Object java.util.TreeSet.first()
122 assertTrue("Returned incorrect first element",
123 ts.first() == objArray[0]);
127 ts.first();
  /libcore/ojluni/src/main/java/java/util/
ArrayPrefixHelpers.java 35 * even if some right-hand side first passes are still executing.
36 * It also combines first and second pass for leftmost segment,
37 * and skips the first pass for rightmost segment (whose result is
40 * by tracking those segments/subtasks for which the first
117 if (lt == null) { // first pass
170 int first; local
173 first = org + 1;
177 first = l;
179 for (int i = first; i < h; ++i) // cumulate
269 if (lt == null) { // first pas
322 int first; local
472 int first; local
622 int first; local
    [all...]
TreeSet.java 393 public E first() { method in class:TreeSet
  /libcore/ojluni/src/main/java/java/util/stream/
Streams.java 304 // -2 == one element, held by first
310 // count == -2 for one element held by first
332 // The first element in the stream
334 T first; field in class:Streams.StreamBuilderImpl
336 // The first and subsequent elements in the stream
351 first = t;
360 first = t;
366 buffer.accept(first);
398 // count == -2 for one element held by first
405 action.accept(first);
430 int first; field in class:Streams.IntStreamBuilderImpl
521 long first; field in class:Streams.LongStreamBuilderImpl
612 double first; field in class:Streams.DoubleStreamBuilderImpl
    [all...]
  /libcore/ojluni/src/main/java/sun/security/util/
ObjectIdentifier.java 90 * Therfore, for the first 3 cases, exact compatibility is preserved. In
150 int first = 0, second; local
170 first = bignum.intValue();
173 checkSecondComponent(first, bignum);
174 bignum = bignum.add(BigInteger.valueOf(40*first));
184 first = num;
187 checkSecondComponent(first, num);
188 num += 40 * first;
427 if (fromPos != 0) { // not the first segment
433 // first section encoded with more than 4 bytes
    [all...]
  /libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
CollectionAndMapModifyStreamTest.java 160 Map.Entry<Integer, Integer> first = c.iterator().next(); local
161 assertTrue(c.remove(first));
  /ndk/sources/cxx-stl/stlport/src/
time_facets.cpp 171 static void __append(__iostring &buf, char *first, char *last, const ctype<char>& /* ct */)
172 { buf.append(first, last); }
174 static void __append(__iowstring &buf, char *first, char *last, const ctype<wchar_t>& ct) {
176 ct.widen(first, last, _wbuf);
177 buf.append(_wbuf, _wbuf + (last - first));
181 /* The number of days from the first day of the first ISO week of this
183 Monday; the first ISO week has the year's first Thursday. YDAY may
191 /* Add enough to the first operand of % to make it nonnegative. *
466 char first, second, third; local
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/editor/
EditorUiUtilsTest.java 75 assertEquals(ACCOUNT_NAME, pair.first);
85 assertNull(pair.first);
96 pair.first); // somebody@lunkedin.com
109 pair.first); // somebody@gmail.com
121 pair.first); // somebody@lunkedin.com
133 assertNull(pair.first);
143 assertNull(pair.first);
  /packages/apps/Launcher3/src/com/android/launcher3/util/
IconNormalizer.java 70 * We first calculate the convex hull of the visible portion of the icon.
105 // the first and the last non-transparent pixel. Set those values to mLeftBorder and
112 // first and last position for any row.
182 * @param topY the first Y position (inclusive) with a valid value.
191 int first = topY; // First valid y coordinate local
203 start = first;
210 while (start > first) {
  /packages/apps/Settings/src/com/android/settings/notification/
NotificationBackend.java 145 public boolean first; // first app in section field in class:NotificationBackend.AppRow
  /packages/apps/TV/tests/unit/src/com/android/tv/common/
TvContentRatingCacheTest.java 65 TvContentRating[] first = mCache.getRatings(TvContentRatingConstants.STRING_US_TV_MA); local
67 assertSame(first, second);
71 TvContentRating[] first = mCache.getRatings(TvContentRatingConstants.STRING_US_TV_MA); local
74 assertNotSame(first, second);
78 TvContentRating[] first = mCache.getRatings(MA_AND_Y7); local
80 assertSame(first, second);
  /packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
SendersFormattingTests.java 109 final String first = "*^*"; local
113 final ConversationInfo before = new ConversationInfo(42, 49, first, firstUnread, last);
115 assertEquals(first, before.firstSnippet);
142 // b is the first unread message with a valid email address
  /packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
ndapi.c 189 NJ_INT32 i, next, first; local
200 first= 0;
239 first = 1;
336 if ((!first) ||
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/
bitmap.h 28 of an index for the first member that could be held in the container,
178 already pointed to by the chain started by first, so GTY((skip)) it. */
185 bitmap_element *first; /* First element in linked list. */ member in struct:bitmap_head_def
207 /* True if the complement of the second intersects the first (their
214 return !map->first;
224 versions that modify the first source operand. The other variants
277 head->first = head->current = NULL;
332 /* Initialize a single bitmap iterator. START_BIT is the first bit to
339 bi->elt1 = map->first;
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/bsddb/
__init__.py 119 key = _DeadlockWrap(cur.first, 0,0,0)[0]
160 kv = _DeadlockWrap(cur.first)
211 # first/next/previous/last/set_location methods.
329 def first(self): member in class:_DBWithCursor
334 rv = _DeadlockWrap(self.dbc.first)
dbshelve.py 335 def first(self, flags=0): return self.get_1(flags|db.DB_FIRST) member in class:DBShelfCursor
  /prebuilts/gdb/linux-x86/lib/python2.7/bsddb/
__init__.py 119 key = _DeadlockWrap(cur.first, 0,0,0)[0]
160 kv = _DeadlockWrap(cur.first)
211 # first/next/previous/last/set_location methods.
329 def first(self): member in class:_DBWithCursor
334 rv = _DeadlockWrap(self.dbc.first)
dbshelve.py 335 def first(self, flags=0): return self.get_1(flags|db.DB_FIRST) member in class:DBShelfCursor
  /prebuilts/go/darwin-x86/test/bench/shootout/
chameneosredux.c 181 struct Creature* first; local
184 first = mp->firstCreature;
185 newColour = doCompliment( cr->colour, first->colour );
187 cr->sameid = cr->id == first->id;
191 first->sameid = cr->sameid;
192 first->colour = newColour;
193 first->two_met = TRUE;
  /prebuilts/go/linux-x86/test/bench/shootout/
chameneosredux.c 181 struct Creature* first; local
184 first = mp->firstCreature;
185 newColour = doCompliment( cr->colour, first->colour );
187 cr->sameid = cr->id == first->id;
191 first->sameid = cr->sameid;
192 first->colour = newColour;
193 first->two_met = TRUE;

Completed in 526 milliseconds

<<21222324252627282930>>