HomeSort by relevance Sort by last modified time
    Searched defs:first (Results 326 - 350 of 3938) sorted by null

<<11121314151617181920>>

  /cts/tests/tests/net/src/android/net/http/cts/
HttpResponseCacheTest.java 68 HttpResponseCache first = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); local
70 assertSame(first, another);
74 HttpResponseCache first = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); local
75 initializeCache(first);
78 initializeCache(first);
80 assertNotSame(first, another);
82 first.flush();
  /external/guava/guava-tests/test/com/google/common/base/
ConverterTest.java 116 Converter<StringWrapper, String> first = new Converter<StringWrapper, String>() { local
130 Converter<StringWrapper, Long> converter = first.andThen(STR_TO_LONG);
137 assertEquals(first.andThen(STR_TO_LONG), first.andThen(STR_TO_LONG));
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
RBBIAPITest.java 135 String str1 = "first string.";
162 for (int pos = lineIter.first(); pos != BreakIterator.DONE; pos = lineIter.next()) {
169 * Testing the methods first(), next(), next(int) and following() of RuleBasedBreakIterator
177 logln("Testing first() and next(), following() with custom rules");
181 p = wordIter1.first();
183 errln("ERROR: first() returned" + p + "instead of 0");
209 p = charIter1.first();
211 errln("ERROR: first() returned" + p + "instead of 0");
235 p = sentIter1.first();
237 errln("ERROR: first() returned" + p + "instead of 0")
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
RBBIAPITest.java 132 String str1 = "first string.";
159 for (int pos = lineIter.first(); pos != BreakIterator.DONE; pos = lineIter.next()) {
166 * Testing the methods first(), next(), next(int) and following() of RuleBasedBreakIterator
174 logln("Testing first() and next(), following() with custom rules");
178 p = wordIter1.first();
180 errln("ERROR: first() returned" + p + "instead of 0");
206 p = charIter1.first();
208 errln("ERROR: first() returned" + p + "instead of 0");
232 p = sentIter1.first();
234 errln("ERROR: first() returned" + p + "instead of 0")
    [all...]
  /external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
ReadAndDispatchMessageTest.java 49 mHandlesToSend.addAll(Arrays.asList(datapipe.first, datapipe.second));
50 mHandlesToClose.addAll(Arrays.asList(mHandles.first, mHandles.second));
70 mHandles.first.writeMessage(mData, mHandlesToSend, MessagePipeHandle.WriteFlags.NONE);
100 mHandles.first.close();
  /external/mockito/src/test/java/org/mockitousage/stubbing/
DeepStubbingTest.java 69 interface First {
325 First first = mock(First.class, RETURNS_DEEP_STUBS); local
326 assertNull(first.getString());
327 assertNull(first.getSecond().get(0));
  /external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/android/
HttpResponseCacheTest.java 75 HttpResponseCache first = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); local
77 assertSame(first, another);
81 HttpResponseCache first = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); local
82 initializeCache(first);
87 assertNotSame(first, another);
89 first.flush();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
AttributedStringTest.java 37 buf.append(it.first());
114 public char first() { method in class:AttributedStringTest.testAttributedCharacterIterator
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
RttServiceImplTest.java 275 mDut.onRangingResults(mIntCaptor.getValue(), results.get(i).first);
283 mDut.onRangingResults(mIntCaptor.getValue(), results.get(i).first);
290 verify(mockMetrics).recordResult(eq(requests[i]), eq(results.get(i).first));
339 results.first.remove(results.first.size() - 1);
344 mDut.onRangingResults(mIntCaptor.getValue(), results.first);
356 verify(mockMetrics).recordResult(eq(finalRequest), eq(results.first));
378 // (1) request 10 ranging operations: fail the first one
404 mDut.onRangingResults(mIntCaptor.getValue(), results.get(i).first);
417 verify(mockMetrics).recordResult(eq(requests[i]), eq(results.get(i).first));
    [all...]
  /art/compiler/optimizing/
block_builder.cc 63 // Create the first block for the dex instructions, single successor of the entry block.
258 const Instruction& first = code_item_accessor_.InstructionAt(catch_block->GetDexPc()); local
259 if (first.Opcode() == Instruction::MOVE_EXCEPTION) {
350 uint32_t block_id = entry.first;
369 uint32_t block_id = entry.first;
  /art/libdexfile/dex/
utf.cc 182 const uint16_t first = GetLeadingUtf16Char(pair); local
183 hash = hash * 31 + first;
214 // First compare the leading utf16 char.
222 // Then compare the trailing utf16 char. First check if there
  /art/tools/ahat/src/main/com/android/ahat/heapdump/
AhatArrayInstance.java 229 Value first = mValues.get(0); local
230 if (first == null || first.isAhatInstance()) {
  /bootable/recovery/otautil/
rangeset.cpp 74 size_t first; local
76 if (!android::base::ParseUint(pieces[i + 1], &first, static_cast<size_t>(INT_MAX)) ||
80 pairs.emplace_back(first, second);
86 if (range.first >= range.second) {
87 LOG(ERROR) << "Empty or negative range: " << range.first << ", " << range.second;
90 size_t sz = range.second - range.first;
113 // Evenly distribute blocks, with the first few groups possibly containing one more.
127 size_t range_blocks = range.second - range.first;
130 buffer.PushBack({ range.first, range.first + needed })
    [all...]
  /cts/tests/tests/text/src/android/text/style/cts/
LeadingMarginSpan_StandardTest.java 53 int first = 4; local
56 Standard standard = new LeadingMarginSpan.Standard(first, rest);
57 assertEquals(first, standard.getLeadingMargin(true));
  /cts/tests/tests/view/src/android/view/cts/
View_InitialFocusTest.java 67 View first = root.findFocus(); local
68 return new View[]{initial, first};
  /dalvik/dexgen/src/com/android/dexgen/dex/code/form/
Form3rc.java 128 int first = regs.get(0).getReg(); local
129 int next = first;
131 if (!unsignedFitsInShort(first)) {
143 return unsignedFitsInByte(next - first);
Form4rcc.java 128 int first = regs.get(0).getReg(); local
129 int next = first;
131 if (!unsignedFitsInShort(first)) {
143 return unsignedFitsInByte(next - first);
  /dalvik/dx/src/com/android/dx/ssa/
PhiTypeResolver.java 131 // Start by finding the first non-void operand
132 RegisterSpec first = null; local
140 first = rs;
145 if (first == null) {
150 LocalItem firstLocal = first.getLocalItem();
151 TypeBearer mergedType = first.getType();
  /device/generic/goldfish-opengl/shared/OpenglCodecCommon/
glUtils.cpp 646 GLuint first; member in struct:glUtilsDrawArraysIndirectCommand
653 GLuint first; member in struct:glUtilsDrawElementsIndirectCommand
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
crc32.c 16 protection on the static variables used to control the first-use generation
18 first call get_crc_table() to initialize the tables before allowing more than
84 The first table is simply the CRC of all possible eight bit values. This is
96 static volatile int first = 1; /* flag to limit concurrent making */ local
102 if (first) {
103 first = 0;
120 and then the byte reversal of those as well as the first table */
134 else { /* not first */
383 /* apply len2 zeros to crc1 (first square will put the operator for one
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
crc32.c 16 protection on the static variables used to control the first-use generation
18 first call get_crc_table() to initialize the tables before allowing more than
100 The first table is simply the CRC of all possible eight bit values. This is
112 static volatile int first = 1; /* flag to limit concurrent making */ local
118 if (first) {
119 first = 0;
136 and then the byte reversal of those as well as the first table */
150 else { /* not first */
398 /* apply len2 zeros to crc1 (first square will put the operator for one
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
dynload_win.c 33 int first, second; local
36 first = tolower(*string1);
40 } while (first && first == second);
42 return (first - second);
48 returns the first entry that starts with "python" (case sensitive) and
79 /* Module instance is also the base load address. First portion of
181 in directory of pathname first. However, Windows95
  /device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
lex.c 285 int first=1; local
323 if ( !first ) fprintf(DefFile, ",\n");
324 first = 0;
337 if ( !first ) fprintf(DefFile, ",\n"); /* MR14 */
546 * struct definitions first, however.
  /device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/support/rexpr/
rexpr.c 14 * first-search is performed on the NFA (graph) to check for a match of 's'.
144 * do a depth-first-search on the NFA looking for a path from start to
336 int first, last, i; local
349 first = *(s-1); /* Get last char */
356 for (i = first+1; i <= last; i++)
  /device/linaro/bootloader/edk2/EmbeddedPkg/Library/ZLib/
crc32.c 16 protection on the static variables used to control the first-use generation
18 first call get_crc_table() to initialize the tables before allowing more than
82 The first table is simply the CRC of all possible eight bit values. This is
94 static volatile int first = 1; /* flag to limit concurrent making */ local
100 if (first) {
101 first = 0;
118 and then the byte reversal of those as well as the first table */
132 else { /* not first */
400 /* apply len2 zeros to crc1 (first square will put the operator for one

Completed in 678 milliseconds

<<11121314151617181920>>