Home
last modified time | relevance | path

Searched full:when (Results 1 – 25 of 15538) sorted by relevance

12345678910>>...622

/external/libxml2/doc/
Dsite.xsl15 <xsl:when test="$name = '#Introducti'">
17 </xsl:when>
18 <xsl:when test="$name = '#Documentat'">
20 </xsl:when>
21 <xsl:when test="$name = '#Reporting'">
23 </xsl:when>
24 <xsl:when test="$name = '#help'">
26 </xsl:when>
27 <xsl:when test="$name = '#Help'">
29 </xsl:when>
[all …]
/external/strace/tests/
Dqual_fault-syntax.test44 chdir:42:when=7 \
46 chdir:invalid:when=8 \
48 chdir:error=:when=10 \
50 chdir:error=invalid_error_name:when=11 \
52 chdir:error=-1:when=12 \
54 chdir:error=-2:when=13 \
56 chdir:error=3+:when=14 \
58 chdir:error=4096:when=15 \
59 chdir:when=7:error=invalid_error_name \
60 chdir:when= \
[all …]
Dqual_inject-syntax.test45 chdir:42:when=7 \
47 chdir:invalid:when=8 \
49 chdir:error=:when=10 \
51 chdir:error=invalid_error_name:when=11 \
53 chdir:error=-1:when=12 \
55 chdir:error=-2:when=13 \
57 chdir:error=3+:when=14 \
59 chdir:error=4096:when=15 \
60 chdir:when=7:error=invalid_error_name \
61 chdir:when= \
[all …]
/external/strace/tests-m32/
Dqual_fault-syntax.test44 chdir:42:when=7 \
46 chdir:invalid:when=8 \
48 chdir:error=:when=10 \
50 chdir:error=invalid_error_name:when=11 \
52 chdir:error=-1:when=12 \
54 chdir:error=-2:when=13 \
56 chdir:error=3+:when=14 \
58 chdir:error=4096:when=15 \
59 chdir:when=7:error=invalid_error_name \
60 chdir:when= \
[all …]
Dqual_inject-syntax.test45 chdir:42:when=7 \
47 chdir:invalid:when=8 \
49 chdir:error=:when=10 \
51 chdir:error=invalid_error_name:when=11 \
53 chdir:error=-1:when=12 \
55 chdir:error=-2:when=13 \
57 chdir:error=3+:when=14 \
59 chdir:error=4096:when=15 \
60 chdir:when=7:error=invalid_error_name \
61 chdir:when= \
[all …]
/external/strace/tests-mx32/
Dqual_fault-syntax.test44 chdir:42:when=7 \
46 chdir:invalid:when=8 \
48 chdir:error=:when=10 \
50 chdir:error=invalid_error_name:when=11 \
52 chdir:error=-1:when=12 \
54 chdir:error=-2:when=13 \
56 chdir:error=3+:when=14 \
58 chdir:error=4096:when=15 \
59 chdir:when=7:error=invalid_error_name \
60 chdir:when= \
[all …]
Dqual_inject-syntax.test45 chdir:42:when=7 \
47 chdir:invalid:when=8 \
49 chdir:error=:when=10 \
51 chdir:error=invalid_error_name:when=11 \
53 chdir:error=-1:when=12 \
55 chdir:error=-2:when=13 \
57 chdir:error=3+:when=14 \
59 chdir:error=4096:when=15 \
60 chdir:when=7:error=invalid_error_name \
61 chdir:when= \
[all …]
/external/mockito/src/test/java/org/mockitousage/matchers/
DMatchersTest.java61 import static org.mockito.Mockito.when;
70 when(mock.oneArg(and(eq(false), eq(false)))).thenReturn("0"); in and_overloaded()
71 when(mock.oneArg(and(eq((byte) 1), eq((byte) 1)))).thenReturn("1"); in and_overloaded()
72 when(mock.oneArg(and(eq('a'), eq('a')))).thenReturn("2"); in and_overloaded()
73 when(mock.oneArg(and(eq(1D), eq(1D)))).thenReturn("3"); in and_overloaded()
74 when(mock.oneArg(and(eq(1F), eq(1F)))).thenReturn("4"); in and_overloaded()
75 when(mock.oneArg(and(eq(1), eq(1)))).thenReturn("5"); in and_overloaded()
76 when(mock.oneArg(and(eq(1L), eq(1L)))).thenReturn("6"); in and_overloaded()
77 when(mock.oneArg(and(eq((short) 1), eq((short) 1)))).thenReturn("7"); in and_overloaded()
78 when(mock.oneArg(and(contains("a"), contains("d")))).thenReturn("8"); in and_overloaded()
[all …]
/external/clang/test/SemaCXX/
Duninitialized.cpp24 int b = b + 1; // expected-warning {{variable 'b' is uninitialized when used within its own initial…
25 int c = (c + c); // expected-warning 2 {{variable 'c' is uninitialized when used within its own ini…
26 int e = static_cast<long>(e) + 1; // expected-warning {{variable 'e' is uninitialized when used wit…
27 int f = foo(f); // expected-warning {{variable 'f' is uninitialized when used within its own initia…
37 int l = k ? l : l; // expected-warning 2{{variable 'l' is uninitialized when used within its own i…
38 int m = 1 + (k ? m : m); // expected-warning 2{{variable 'm' is uninitialized when used within its…
39 int n = -n; // expected-warning {{variable 'n' is uninitialized when used within its own initializ…
40 int o = std::move(o); // expected-warning {{variable 'o' is uninitialized when used within its own …
41 const int p = std::move(p); // expected-warning {{variable 'p' is uninitialized when used within it…
42 int q = moved(std::move(q)); // expected-warning {{variable 'q' is uninitialized when used within i…
[all …]
/external/u-boot/scripts/coccinelle/iterators/
Duse_after_iter.cocci5 //#False positives arise when there is a goto in the iterator and the
41 list_for_each_entry@p1(c,...,member) { ... when != break;
42 when forall
43 when strict
46 list_for_each_entry_reverse@p1(c,...,member) { ... when != break;
47 when forall
48 when strict
51 list_for_each_entry_continue@p1(c,...,member) { ... when != break;
52 when forall
53 when strict
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DDrawableResourceLoaderNoRunnerTest.java5 import static org.mockito.Mockito.when;
59 when(mockTestFile.getName()).thenReturn("foo.png"); in shouldFindDrawableResourcesWorkWithUnixJarFilePath()
60 when(mockTestFile.getBaseName()).thenReturn("foo"); in shouldFindDrawableResourcesWorkWithUnixJarFilePath()
63 when(mockTestDir.toString()).thenReturn(JAR_PATH_ON_UNIX); in shouldFindDrawableResourcesWorkWithUnixJarFilePath()
64 when(mockTestDir.getName()).thenReturn(DRAWABLE_DIR); in shouldFindDrawableResourcesWorkWithUnixJarFilePath()
65 when(mockTestDir.listFiles()).thenReturn(new FsFile[]{mockTestFile}); in shouldFindDrawableResourcesWorkWithUnixJarFilePath()
66 when(mockTestDir.isDirectory()).thenReturn(true); in shouldFindDrawableResourcesWorkWithUnixJarFilePath()
68 when(mockTestBaseDir.listFiles()).thenReturn(new FsFile[]{mockTestDir}); in shouldFindDrawableResourcesWorkWithUnixJarFilePath()
82 when(mockTestFile.getName()).thenReturn("foo.png"); in shouldFindDrawableResourcesWorkWithUnixFilePath()
83 when(mockTestFile.getBaseName()).thenReturn("foo"); in shouldFindDrawableResourcesWorkWithUnixFilePath()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DSdkPickerTest.java6 import static org.mockito.Mockito.when;
31 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withDefaultSdkConfig_shouldUseTargetSdkFromAndroidManifest()
38 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withAllSdksConfig_shouldUseFullSdkRangeFromAndroidManifest()
39 when(usesSdk.getMinSdkVersion()).thenReturn(19); in withAllSdksConfig_shouldUseFullSdkRangeFromAndroidManifest()
40 when(usesSdk.getMaxSdkVersion()).thenReturn(23); in withAllSdksConfig_shouldUseFullSdkRangeFromAndroidManifest()
47 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withAllSdksConfigAndNoMinSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
48 when(usesSdk.getMinSdkVersion()).thenReturn(1); in withAllSdksConfigAndNoMinSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
49 when(usesSdk.getMaxSdkVersion()).thenReturn(22); in withAllSdksConfigAndNoMinSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
57 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withAllSdksConfigAndNoMaxSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
58 when(usesSdk.getMinSdkVersion()).thenReturn(19); in withAllSdksConfigAndNoMaxSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
[all …]
/external/autotest/client/common_lib/
Derror.py74 when various conditions are such that the test is inappropriate."""
174 """This exception is raised when an autotest test exceeds the timeout
185 and server side versions of it when the distinction is useful.
210 This is equivalent to CmdError when raised from a Host object instead of
226 This is equivalent to CmdTimeoutError when raised from a Host object instead
250 """Error raised when you try to use an unsupported optional feature"""
340 'Raised when there is an error uploading the package'
344 'Raised when there is an error fetching the package'
348 'Raised when there is an error removing the package'
352 'Raised when there is an error installing the package'
[all …]
/external/ltp/testcases/network/stress/route/
D00_Descriptions.txt2 Verify the kernel is not crashed when the destination of an IPv4 route
6 Verify the kernel is not crashed when the destination of an IPv4 route
10 Verify the kernel is not crashed when the gateway of an IPv4 route is
14 Verify the kernel is not crashed when the gateway of an IPv4 route is
18 Verify the kernel is not crashed when the interface of an IPv4 route is
22 Verify the kernel is not crashed when the interface of an IPv4 route is
26 Verify the kernel is not crashed when the IPv4 route is modified by
30 Verify the kernel is not crashed when IPv4 route is add by route command
34 Verify the kernel is not crashed when IPv4 route is add by ip command
39 Verify the kernel is not crashed when the destination of an IPv6 route
[all …]
/external/mockito/src/test/java/org/mockitousage/stubbing/
DStubbingWithThrowablesTest.java18 import static org.mockito.Mockito.when;
56 when(mock.add("")).thenThrow(new ExceptionOne()); in throws_same_exception_consecutively()
77 doThrow(new ExceptionOne()).when(mock).clear(); in throws_same_exception_consecutively_with_doThrow()
99 when(mock.add("throw")).thenThrow(expected); in shouldStubWithThrowable()
109 doThrow(expected).when(mock).clear(); in shouldSetThrowableToVoidMethod()
119 doThrow(new ExceptionOne()).when(mock).clear(); in shouldLastStubbingVoidBeImportant()
120 doThrow(new ExceptionTwo()).when(mock).clear(); in shouldLastStubbingVoidBeImportant()
129 when(mock.size()).thenThrow(new ExceptionOne()); in shouldFailStubbingThrowableOnTheSameInvocationDueToAcceptableLimitation()
133 when(mock.size()).thenThrow(new ExceptionTwo()); in shouldFailStubbingThrowableOnTheSameInvocationDueToAcceptableLimitation()
141 when(reader.read()).thenThrow(ioException); in shouldAllowSettingCheckedException()
[all …]
/external/python/cpython3/Doc/library/
Dexceptions.rst37 When raising (or re-raising) an exception in an :keyword:`except` or
43 When raising a new exception (rather than using a bare ``raise`` to re-raise
57 when debugging.
61 exception in :attr:`__cause__` is always shown when present. An implicitly
80 the argument(s) to the instance are returned, or the empty string when
118 Raised when a :ref:`buffer <bufferobjects>` related operation cannot be
124 The base class for the exceptions that are raised when a key or index used on
138 Raised when an :keyword:`assert` statement fails.
143 Raised when an attribute reference (see :ref:`attribute-references`) or
144 assignment fails. (When an object does not support attribute references or
[all …]
/external/mockito/src/test/java/org/mockitousage/basicapi/
DMocksSerializationForAnnotationTest.java46 when(barMock.doSomething()).thenAnswer(new ThrowsException(new RuntimeException())); in should_allow_throws_exception_to_be_serializable()
48 //when-serialize then-deserialize in should_allow_throws_exception_to_be_serializable()
54 // when-serialize then-deserialize in should_allow_mock_to_be_serializable()
61 when(imethodsMock.booleanReturningMethod()).thenReturn(true); in should_allow_mock_and_boolean_value_to_serializable()
63 // when in should_allow_mock_and_boolean_value_to_serializable()
75 when(imethodsMock.stringReturningMethod()).thenReturn(value); in should_allow_mock_and_string_value_to_be_serializable()
77 // when in should_allow_mock_and_string_value_to_be_serializable()
89 when(imethodsMock.objectReturningMethodNoArgs()).thenReturn(value); in should_all_mock_and_serializable_value_to_be_serialized()
91 // when in should_all_mock_and_serializable_value_to_be_serialized()
102 when(imethodsMock.objectArgMethod(value)).thenReturn(value); in should_serialize_method_call_with_parameters_that_are_serializable()
[all …]
/external/mockito/src/test/java/org/mockitousage/internal/junit/
DUnusedStubbingsFinderTest.java20 import static org.mockito.Mockito.when;
43 //when in no_stubbings()
53 //when in no_unused_stubbings()
54 when(mock1.simpleMethod()).thenReturn("1"); in no_unused_stubbings()
64 //when in unused_stubbings()
65 when(mock1.simpleMethod()).thenReturn("1"); in unused_stubbings()
74 when(mock1.simpleMethod(1)).thenReturn("1"); in some_unused_stubbings()
75 when(mock2.simpleMethod(2)).thenReturn("2"); in some_unused_stubbings()
76 when(mock2.simpleMethod(3)).thenReturn("3"); in some_unused_stubbings()
80 //when in some_unused_stubbings()
[all …]
/external/javaparser/javaparser-testing/src/test/resources/com/github/javaparser/bdd/
Dpretty_printing_scenarios.story1 Scenario: When printing the instantiation we should use the right amount of spaces
7 When the class is parsed by the Java parser
15 Scenario: When printing the lambda expression we should use the right indentation
22 When the class is parsed by the Java parser
46 When the class is parsed by the Java parser
69 When the class is parsed by the Java parser
89 When the class is parsed by the Java parser
112 When the class is parsed by the Java parser
129 When the class is parsed by the Java parser
139 When the class is parsed by the Java parser
[all …]
Dparsing_scenarios.story4 When the following source is parsed:
16 When the following source is parsed:
28 When the following source is parsed:
42 When the following source is parsed:
57 When the following source is parsed:
66 When the following sources is parsed by the second CompilationUnit:
85 When the following source is parsed:
94 When the following sources is parsed by the second CompilationUnit:
113 When the following source is parsed:
122 When the following sources is parsed by the second CompilationUnit:
[all …]
/external/mockito/src/test/java/org/mockitousage/
DCompilationWarningsTest.java23 doReturn(null).when(mock(IMethods.class)).objectReturningMethodNoArgs(); in no_warnings_for_most_common_api()
24 doReturn("a", 12).when(mock(IMethods.class)).objectReturningMethodNoArgs(); in no_warnings_for_most_common_api()
25 doReturn(1000).when(mock(IMethods.class)).objectReturningMethodNoArgs(); in no_warnings_for_most_common_api()
26 … doThrow(new NullPointerException()).when(mock(IMethods.class)).objectReturningMethodNoArgs(); in no_warnings_for_most_common_api()
27 …doThrow(new NullPointerException(), new IllegalArgumentException()).when(mock(IMethods.class)).obj… in no_warnings_for_most_common_api()
28 … doThrow(NullPointerException.class).when(mock(IMethods.class)).objectReturningMethodNoArgs(); in no_warnings_for_most_common_api()
30 doAnswer(ignore()).doReturn(null).when(mock(IMethods.class)).objectReturningMethodNoArgs(); in no_warnings_for_most_common_api()
31 … doAnswer(ignore()).doReturn("a", 12).when(mock(IMethods.class)).objectReturningMethodNoArgs(); in no_warnings_for_most_common_api()
32 doAnswer(ignore()).doReturn(1000).when(mock(IMethods.class)).objectReturningMethodNoArgs(); in no_warnings_for_most_common_api()
33 …doAnswer(ignore()).doThrow(new NullPointerException()).when(mock(IMethods.class)).objectReturningM… in no_warnings_for_most_common_api()
[all …]
/external/mockito/src/test/java/org/mockitousage/strictness/
DStrictnessPerStubbingTest.java29 import static org.mockito.Mockito.when;
43 //when in potential_stubbing_problem()
44 when(mock.simpleMethod("1")).thenReturn("1"); in potential_stubbing_problem()
45 lenient().when(mock.differentMethod("2")).thenReturn("2"); in potential_stubbing_problem()
61 //when in doReturn_syntax()
63 .when(mock).simpleMethod(1); in doReturn_syntax()
75 //when in doReturn_varargs_syntax()
77 .when(mock).simpleMethod(1); in doReturn_varargs_syntax()
89 //when in doThrow_syntax()
93 .when(mock).simpleMethod(1); in doThrow_syntax()
[all …]
/external/libffi/src/arm/
Dtrampoline.S38 …// This accounts for the above 4-byte stmfd instruction, plus 8 bytes constant when loading from p…
51 …// This accounts for the above 4-byte stmfd instruction, plus 8 bytes constant when loading from p…
64 …// This accounts for the above 4-byte stmfd instruction, plus 8 bytes constant when loading from p…
77 …// This accounts for the above 4-byte stmfd instruction, plus 8 bytes constant when loading from p…
90 …// This accounts for the above 4-byte stmfd instruction, plus 8 bytes constant when loading from p…
103 …// This accounts for the above 4-byte stmfd instruction, plus 8 bytes constant when loading from p…
116 …// This accounts for the above 4-byte stmfd instruction, plus 8 bytes constant when loading from p…
129 …// This accounts for the above 4-byte stmfd instruction, plus 8 bytes constant when loading from p…
142 …// This accounts for the above 4-byte stmfd instruction, plus 8 bytes constant when loading from p…
155 …// This accounts for the above 4-byte stmfd instruction, plus 8 bytes constant when loading from p…
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/arm/
Dtrampoline.S38 …// This accounts for the above 4-byte stmfd instruction, plus 8 bytes constant when loading from p…
51 …// This accounts for the above 4-byte stmfd instruction, plus 8 bytes constant when loading from p…
64 …// This accounts for the above 4-byte stmfd instruction, plus 8 bytes constant when loading from p…
77 …// This accounts for the above 4-byte stmfd instruction, plus 8 bytes constant when loading from p…
90 …// This accounts for the above 4-byte stmfd instruction, plus 8 bytes constant when loading from p…
103 …// This accounts for the above 4-byte stmfd instruction, plus 8 bytes constant when loading from p…
116 …// This accounts for the above 4-byte stmfd instruction, plus 8 bytes constant when loading from p…
129 …// This accounts for the above 4-byte stmfd instruction, plus 8 bytes constant when loading from p…
142 …// This accounts for the above 4-byte stmfd instruction, plus 8 bytes constant when loading from p…
155 …// This accounts for the above 4-byte stmfd instruction, plus 8 bytes constant when loading from p…
[all …]
/external/python/cpython3/Lib/asyncio/
Dprotocols.py15 The only case when BaseProtocol should be implemented directly is
20 """Called when a connection is made.
24 When the connection is closed, connection_lost() is called.
28 """Called when the connection is lost or closed.
36 """Called when the transport's buffer goes over the high-water mark.
39 once when the buffer goes strictly over the high-water mark
41 more), and eventually resume_writing() is called once when the
46 Conversely, resume_writing() is called when the buffer size is
48 are important to ensure that things go as expected when either
53 effect when it's most needed (when the app keeps writing
[all …]

12345678910>>...622