/cts/tests/tests/content/src/android/content/res/cts/ |
AssetManagerTest.java | 53 final String expect = "OneTwoThreeFourFiveSixSevenEightNineTen"; local 54 assertContextEquals(expect, inputStream); 57 assertContextEquals(expect, inputStream); 61 assertContextEquals(expect, assetFileDes.createInputStream()); 64 assertContextEquals(expect, assetFileDes.createInputStream()); 67 assertContextEquals(expect, assetFileDes.createInputStream()); 118 private void assertContextEquals(final String expect, final InputStream inputStream) 124 assertEquals(expect, result);
|
/external/chromium_org/tools/gyp/test/standalone-static-library/ |
gyptest-standalone-static-library.py | 34 # We expect the library to be copied to $PRODUCT_DIR. 43 expect = 'hello from mylib.c\n' variable 44 test.run_built_executable('prog', stdout=expect)
|
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/atomic/ |
AtomicInteger.java | 54 public final boolean compareAndSet(int expect, int update) { 55 if (value == expect) {
|
AtomicLong.java | 54 public final boolean compareAndSet(long expect, long update) { 55 if (value == expect) {
|
/external/lldb/test/functionalities/thread/step_out/ |
TestThreadStepOut.py | 60 self.step_out_destination = line_number('main.cpp', '// Expect to stop here after step-out (icc and gcc)') 62 self.step_out_destination = line_number('main.cpp', '// Expect to stop here after step-out (clang)') 66 self.expect("thread backtrace all", "Thread location after step out is correct", 72 self.expect("thread backtrace all", "Thread location after step out is correct", 78 self.expect("process status", "Expected stop reason to be step-out", 81 self.expect("thread list", "Selected thread did not change during step-out", 94 expect = "main.cpp:%d" % self.step_out_destination 95 self.assertTrue(expect in desc, "Expected %s but thread stopped at %s" % (expect, desc)) 106 self.expect("breakpoint list -f", "Breakpoint location shown correctly" [all...] |
/external/lldb/test/functionalities/watchpoint/multiple_threads/ |
TestWatchpointMultipleThreads.py | 74 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, 82 self.expect("watchpoint set variable -w write g_val", WATCHPOINT_CREATED, 87 self.expect("watchpoint list -v", 103 self.expect("watchpoint list -v", 119 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, 127 self.expect("watchpoint set variable -w write g_val", WATCHPOINT_CREATED, 132 self.expect("watchpoint list -v", 153 self.expect("watchpoint list -v",
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/ |
test_separators.py | 10 expect = textwrap.dedent("""\ 40 self.assertEqual(d2, expect)
|
test_tool.py | 18 expect = textwrap.dedent("""\ 45 self.assertEqual(out.splitlines(), self.expect.encode().splitlines()) 58 self.assertEqual(out.splitlines(), self.expect.encode().splitlines()) 67 self.assertEqual(fp.read(), self.expect)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/ |
test_separators.py | 10 expect = textwrap.dedent("""\ 40 self.assertEqual(d2, expect)
|
test_tool.py | 18 expect = textwrap.dedent("""\ 45 self.assertEqual(out.splitlines(), self.expect.encode().splitlines()) 58 self.assertEqual(out.splitlines(), self.expect.encode().splitlines()) 67 self.assertEqual(fp.read(), self.expect)
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
nccbtst.h | 45 UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, 50 UBool testConvertToUnicode( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, 54 UBool testConvertFromUnicodeWithContext(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, 58 UBool testConvertToUnicodeWithContext( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen,
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
AtomicDouble.java | 128 * @param expect the expected value 133 public final boolean compareAndSet(double expect, double update) { 135 doubleToRawLongBits(expect), 150 * @param expect the expected value 154 public final boolean weakCompareAndSet(double expect, double update) { 156 doubleToRawLongBits(expect),
|
/external/icu/icu4c/source/test/cintltst/ |
nccbtst.h | 45 UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, 50 UBool testConvertToUnicode( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, 54 UBool testConvertFromUnicodeWithContext(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, 58 UBool testConvertToUnicodeWithContext( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen,
|
/external/icu/icu4c/source/test/intltest/ |
dtifmtts.h | 59 void expect(const char** data, int32_t data_length);
|
/external/junit/src/org/junit/rules/ |
ExpectedException.java | 30 * thrown.expect(NullPointerException.class); 36 * thrown.expect(NullPointerException.class); 69 public void expect(Matcher<?> matcher) { method in class:ExpectedException 80 public void expect(Class<? extends Throwable> type) { method in class:ExpectedException 81 expect(instanceOf(type)); 97 expect(hasMessage(matcher));
|
/external/lldb/test/functionalities/backticks/ |
TestBackticksWithoutATarget.py | 16 self.expect("print `1+2-3`",
|
/external/lldb/test/functionalities/signal/ |
TestSendSignal.py | 45 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, 50 self.expect("breakpoint list -f", BREAKPOINT_HIT_ONCE, 75 self.expect("process status", STOPPED_DUE_TO_SIGNAL, 78 self.expect("thread backtrace", STOPPED_DUE_TO_SIGNAL,
|
/external/lldb/test/functionalities/stop-hook/ |
TestStopHookCmd.py | 53 self.expect('target stop-hook list', 'Stop Hook added successfully', 59 self.expect('target stop-hook list', 'Stop Hook disabled successfully', 65 self.expect('target stop-hook list', 'Stop Hook enabled successfully', 74 self.expect('target stop-hook list', 'Stop Hook deleted successfully',
|
/external/lldb/test/lang/c/blocks/ |
TestBlocks.py | 51 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, 60 self.expect("expression a + b", VARIABLES_DISPLAYED_CORRECTLY, 63 self.expect("expression c", VARIABLES_DISPLAYED_CORRECTLY, 69 self.expect("expression (int)neg (-12)", VARIABLES_DISPLAYED_CORRECTLY,
|
/external/lldb/test/lang/c/shared_lib/ |
TestSharedLib.py | 59 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, 64 self.expect("breakpoint list -f", BREAKPOINT_HIT_ONCE, 76 self.expect("expression --show-types -- *my_foo_ptr", VARIABLES_DISPLAYED_CORRECTLY, 86 self.expect("frame variable --show-types -- *my_foo_ptr", VARIABLES_DISPLAYED_CORRECTLY,
|
/external/lldb/test/lang/c/shared_lib_stripped_symbols/ |
TestSharedLibStrippedSymbols.py | 59 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, 64 self.expect("breakpoint list -f", BREAKPOINT_HIT_ONCE, 76 self.expect("expression --show-types -- *my_foo_ptr", VARIABLES_DISPLAYED_CORRECTLY, 86 self.expect("frame variable --show-types -- *my_foo_ptr", VARIABLES_DISPLAYED_CORRECTLY,
|
/external/lldb/test/lang/objc/objc-optimized/ |
TestObjcOptimized.py | 47 self.expect("thread backtrace", STOPPED_DUE_TO_BREAKPOINT, 51 self.expect('expression member', 67 self.expect('expression (self)', 70 self.expect('expression self->non_member', error=True,
|
/external/lldb/test/pexpect-2.4/examples/ |
df.py | 18 i = child.expect ([pattern, pexpect.EOF])
|
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
AtomicInteger.java | 100 * @param expect the expected value 105 public final boolean compareAndSet(int expect, int update) { 106 return unsafe.compareAndSwapInt(this, valueOffset, expect, update); 117 * @param expect the expected value 121 public final boolean weakCompareAndSet(int expect, int update) { 122 return unsafe.compareAndSwapInt(this, valueOffset, expect, update);
|
AtomicLong.java | 114 * @param expect the expected value 119 public final boolean compareAndSet(long expect, long update) { 120 return unsafe.compareAndSwapLong(this, valueOffset, expect, update); 131 * @param expect the expected value 135 public final boolean weakCompareAndSet(long expect, long update) { 136 return unsafe.compareAndSwapLong(this, valueOffset, expect, update);
|