HomeSort by relevance Sort by last modified time
    Searched refs:expect (Results 176 - 200 of 704) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/lldb/test/pexpect-2.4/examples/
python.py 11 c.expect ('>>>')
chess.py 20 self.child.expect ('Chess')
34 self.child.expect ('Your move is')
42 #self.child.expect ('\[19;60H')
48 self.child.expect ('My move is')
49 self.child.expect (REGEX_MOVE)
55 i = self.child.expect (['\[17;59H', '\[17;58H'])
58 self.child.expect (REGEX_MOVE)
62 self.child.expect (REGEX_MOVE_PART)
73 self.child.expect ('depth=')
82 white.child.expect ('Your move is'
    [all...]
  /external/oprofile/libregex/tests/
regex_test.cpp 36 string test, expect, last; local
47 expect = last;
51 if (str != expect) {
52 cerr << "mistmatch: test, expect, returned\n"
54 << '"' << expect << '"' << endl
  /libcore/luni/src/main/java/java/util/concurrent/atomic/
AtomicBoolean.java 64 * @param expect the expected value
69 public final boolean compareAndSet(boolean expect, boolean update) {
70 int e = expect ? 1 : 0;
83 * @param expect the expected value
87 public boolean weakCompareAndSet(boolean expect, boolean update) {
88 int e = expect ? 1 : 0;
AtomicReference.java 79 * @param expect the expected value
84 public final boolean compareAndSet(V expect, V update) {
85 return unsafe.compareAndSwapObject(this, valueOffset, expect, update);
96 * @param expect the expected value
100 public final boolean weakCompareAndSet(V expect, V update) {
101 return unsafe.compareAndSwapObject(this, valueOffset, expect, update);
AtomicIntegerArray.java 132 * @param expect the expected value
137 public final boolean compareAndSet(int i, int expect, int update) {
138 return compareAndSetRaw(checkedByteOffset(i), expect, update);
141 private boolean compareAndSetRaw(long offset, int expect, int update) {
142 return unsafe.compareAndSwapInt(array, offset, expect, update);
154 * @param expect the expected value
158 public final boolean weakCompareAndSet(int i, int expect, int update) {
159 return compareAndSet(i, expect, update);
AtomicLongArray.java 131 * @param expect the expected value
136 public final boolean compareAndSet(int i, long expect, long update) {
137 return compareAndSetRaw(checkedByteOffset(i), expect, update);
140 private boolean compareAndSetRaw(long offset, long expect, long update) {
141 return unsafe.compareAndSwapLong(array, offset, expect, update);
153 * @param expect the expected value
157 public final boolean weakCompareAndSet(int i, long expect, long update) {
158 return compareAndSet(i, expect, update);
  /external/lldb/test/functionalities/watchpoint/hello_watchlocation/
TestWatchLocation.py 58 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
66 self.expect("watchpoint set expression -w write -x 1 -- g_char_ptr", WATCHPOINT_CREATED,
77 self.expect(self.res.GetOutput().splitlines()[0], exe=False,
84 self.expect("watchpoint list -v",
91 self.expect("thread list", STOPPED_DUE_TO_WATCHPOINT,
100 self.expect(self.res.GetOutput().splitlines()[0], exe=False,
105 self.expect("watchpoint list -v",
  /external/lldb/test/functionalities/watchpoint/watchpoint_set_command/
TestWatchLocationWithWatchSet.py 57 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
65 self.expect("watchpoint set expression -w write -x 1 -- g_char_ptr + 7", WATCHPOINT_CREATED,
68 self.expect(self.res.GetOutput().splitlines()[0], exe=False,
73 self.expect("watchpoint list -v",
80 self.expect("thread list", STOPPED_DUE_TO_WATCHPOINT,
89 self.expect(self.res.GetOutput().splitlines()[0], exe=False,
94 self.expect("watchpoint list -v",
  /external/lldb/test/functionalities/breakpoint/breakpoint_conditions/
TestBreakpointConditions.py 82 self.expect("process status", PROCESS_STOPPED,
86 self.expect("frame variable --show-types val", VARIABLES_DISPLAYED_CORRECTLY,
90 self.expect("breakpoint list -f", BREAKPOINT_HIT_THRICE,
97 self.expect("thread backtrace", STOPPED_DUE_TO_BREAKPOINT_CONDITION,
106 self.expect("breakpoint list -f", BREAKPOINT_STATE_CORRECT, matching=False,
113 self.expect("process status", PROCESS_STOPPED,
117 self.expect("frame variable --show-types val", VARIABLES_DISPLAYED_CORRECTLY,
127 self.expect("process status", PROCESS_STOPPED,
132 self.expect("process status", PROCESS_EXITED,
172 self.expect(location.GetCondition(), exe=False
    [all...]
  /external/lldb/test/functionalities/data-formatter/rdar-10887661/
TestRdar10887661.py 45 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
66 self.expect("frame variable f00_1",
74 self.expect("frame variable f00_1",
79 self.expect("frame variable f00_1", matching=False,
85 self.expect("frame variable f00_1", matching=True,
  /external/lldb/test/functionalities/inferior-changed/
TestInferiorChanged.py 58 self.expect("thread list", STOPPED_DUE_TO_EXC_BAD_ACCESS,
63 self.expect("thread backtrace all",
87 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
92 self.expect("frame variable *int_ptr",
94 self.expect("expression *int_ptr",
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/
Mocks.java 23 import static org.easymock.EasyMock.expect;
57 expect(javaProject.getProject()).andReturn(project).anyTimes();
58 expect(javaProject.getOutputLocation()).andReturn(capturedOutput.getValue()).anyTimes();
60 expect(javaProject.getRawClasspath()).andAnswer(new IAnswer<IClasspathEntry[]>() {
81 expect(javaProject.getOption(JavaCore.COMPILER_COMPLIANCE, true)).andAnswer(
88 expect(javaProject.getOption(JavaCore.COMPILER_SOURCE, true)).andAnswer(
95 expect(javaProject.getOption(JavaCore.COMPILER_CODEGEN_TARGET_PLATFORM, true)).andAnswer(
127 expect(file.getName()).andReturn(fileName).anyTimes();
128 expect(file.getLocation()).andReturn(new Path(fileName)).anyTimes();
144 expect(file.getName()).andReturn(name).anyTimes()
    [all...]
  /packages/apps/Email/tests/src/com/android/email/provider/
AccountBackupRestoreTests.java 60 public static void assertRestoredAccountEqual(Account expect, Account actual) {
61 assertEquals(" mDisplayName", expect.mDisplayName, actual.mDisplayName);
62 assertEquals(" mEmailAddress", expect.mEmailAddress, actual.mEmailAddress);
64 assertEquals(" mSyncLookback", expect.mSyncLookback, actual.mSyncLookback);
65 assertEquals(" mSyncInterval", expect.mSyncInterval, actual.mSyncInterval);
66 assertEquals(" mFlags", expect.mFlags, actual.mFlags);
67 assertEquals(" mSenderName", expect.mSenderName, actual.mSenderName);
68 assertEquals(" mProtocolVersion", expect.mProtocolVersion,
70 assertEquals(" mSignature", expect.mSignature, actual.mSignature);
  /external/guava/guava-tests/test/com/google/common/collect/
ForwardingMapTest.java 20 import static org.easymock.EasyMock.expect;
252 expect(map.containsKey(anyObject())).andReturn(false).anyTimes();
253 expect(map.get(anyObject())).andReturn(null).anyTimes();
254 expect(map.isEmpty()).andReturn(true).anyTimes();
255 expect(map.remove(anyObject())).andReturn(null).anyTimes();
256 expect(map.size()).andReturn(0).anyTimes();
257 expect(entrySet.iterator())
287 expect(entrySet.iterator()).andReturn(
292 expect(map.containsKey(anyObject())).andReturn(false).anyTimes();
293 expect(map.isEmpty()).andReturn(true).anyTimes()
    [all...]
  /external/chromium_org/tools/gyp/test/defines-escaping/
gyptest-defines-escaping.py 28 expect = """
31 test.run_built_executable('defines_escaping', stdout=expect)
46 expect = """
49 test.run_built_executable('defines_escaping', stdout=expect)
69 expect = """
72 test.run_built_executable('defines_escaping', stdout=expect)
92 expect = """
95 test.run_built_executable('defines_escaping', stdout=expect)
114 expect = r"""
119 test.run_built_executable('defines_escaping', stdout=expect)
155 expect = "%PATH%" variable
    [all...]
  /external/guava/guava-tests/test/com/google/common/cache/
ForwardingCacheTest.java 20 import static org.easymock.EasyMock.expect;
57 expect(mock.getIfPresent("key")).andReturn(Boolean.TRUE);
64 expect(mock.getAllPresent(ImmutableList.of("key")))
94 expect(mock.size()).andReturn(0L);
101 expect(mock.stats()).andReturn(null);
108 expect(mock.asMap()).andReturn(null);
  /external/lldb/test/terminal/
TestSTTYBeforeAndAfter.py 26 if not which('expect'):
27 self.skipTest("The 'expect' program cannot be located, skip the test")
29 # The expect prompt.
30 expect_prompt = "expect[0-9.]+> "
35 self.child = pexpect.spawn('expect')
38 child.expect(expect_prompt)
47 child.expect(expect_prompt)
49 child.expect(expect_prompt)
58 child.expect(expect_prompt)
71 child.expect(expect_prompt
    [all...]
  /external/valgrind/main/memcheck/tests/
err_disable3.stderr.exp 2 --------- p: disabling errors (expect 0) ---------
8 --------- c: start (expect 1) ---------
26 --------- p: re_enabled (expect 1) ---------
  /dalvik/dx/junit-tests/com/android/dx/util/
BitsTest.java 34 int expect = i >> 5; local
35 if ((expect * 32) < i) {
36 expect++;
38 assertEquals(label(i), expect, Bits.makeBitSet(i).length); local
44 int expect = i >> 5; local
45 if ((expect * 32) < i) {
46 expect++;
48 assertEquals(label(i), expect * 32, typedefs
49 Bits.getMax(new int[expect]));
80 boolean expect = (i % 5) == 0
    [all...]
  /external/lldb/test/functionalities/register/
TestRegisters.py 75 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
105 self.expect("register read -a", MISSING_EXPECTED_REGISTERS,
110 self.expect("register read -s 3",
125 self.expect("register read " + register,
129 self.expect("register read " + register,
140 self.expect("register read " + register,
194 self.expect("expr $ymm0", substrs = ['vector_type'])
202 self.expect("expr/x $eax",
206 self.expect("expr -- ($rax & 0xffffffff) == $eax",
209 self.expect("expr $xmm0"
    [all...]
  /external/icu/icu4c/source/test/intltest/
numfmtst.h 212 void expect(NumberFormat& fmt, const UnicodeString& str, const Formattable& n);
214 void expect(NumberFormat& fmt, const char *str, const Formattable& n) { function in class:NumberFormatTest
215 expect(fmt, UnicodeString(str, ""), n);
218 void expect(NumberFormat& fmt, const Formattable& n,
221 void expect(NumberFormat& fmt, const Formattable& n, function in class:NumberFormatTest
223 expect(fmt, n, UnicodeString(exp, ""), rt);
226 void expect(NumberFormat* fmt, const Formattable& n,
229 void expect(NumberFormat* fmt, const Formattable& n, function in class:NumberFormatTest
231 expect(fmt, n, UnicodeString(exp, ""), rt, errorCode);
234 void expect(NumberFormat* fmt, const Formattable& n function in class:NumberFormatTest
239 void expect(NumberFormat* fmt, const Formattable& n, function in class:NumberFormatTest
    [all...]
  /external/lldb/test/functionalities/inferior-assert/
TestInferiorAssert.py 76 self.expect("thread list", STOPPED_DUE_TO_ASSERT,
97 self.expect("thread backtrace all",
101 self.expect("thread backtrace all",
137 self.expect("register read eax",
164 self.expect("disassemble -a %s" % frame.GetPC(),
178 self.expect("p argc", substrs = ['(int)', ' = 1'])
179 self.expect("p hello_world", substrs = ['Hello'])
180 self.expect("p argv[0]", substrs = ['a.out'])
181 self.expect("p null_ptr", substrs = ['= 0x0'])
218 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT
    [all...]
  /external/lldb/test/functionalities/inferior-crashing/recursive-inferior/
TestRecursiveInferior.py 96 self.expect("thread list", STOPPED_DUE_TO_EXC_BAD_ACCESS,
117 self.expect("thread backtrace all",
121 self.expect("thread backtrace all",
157 self.expect("register read eax",
169 self.expect("p i",
180 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
188 self.expect("p i",
192 self.expect("register read eax",
196 self.expect("thread backtrace all",
212 self.expect("next"
    [all...]
  /external/lldb/test/lang/c/array_types/
TestArrayTypes.py 64 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
69 self.expect("breakpoint list -f", BREAKPOINT_HIT_ONCE,
74 self.expect("frame variable --show-types strings", VARIABLES_DISPLAYED_CORRECTLY,
85 self.expect("frame variable --show-types --raw -- char_16", VARIABLES_DISPLAYED_CORRECTLY,
89 self.expect("frame variable --show-types ushort_matrix", VARIABLES_DISPLAYED_CORRECTLY,
92 self.expect("frame variable --show-types long_6", VARIABLES_DISPLAYED_CORRECTLY,
107 self.expect(bp, msg="Breakpoint looks good", exe=False,
111 self.expect(bp, msg="Breakpoint is not resolved as yet", exe=False, matching=False,
120 self.expect(proc, msg="Process looks good", exe=False,
133 self.expect(thr, "Thread looks good with stop reason = breakpoint", exe=False
    [all...]

Completed in 1053 milliseconds

1 2 3 4 5 6 78 91011>>