HomeSort by relevance Sort by last modified time
    Searched refs:given (Results 1 - 25 of 1503) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/uirendering/src/android/uirendering/cts/differencevisualizers/
DifferenceVisualizer.java 22 public abstract int[] getDifferences(int[] ideal, int[] given);
PassFailVisualizer.java 27 * @param given the produced result
30 public int[] getDifferences(int[] ideal, int[] given) {
33 if (ideal[y] == given[y]) {
  /external/mesa3d/src/compiler/glsl/glcpp/tests/
139-define-without-macro-name.c 5 Errors expected because no macro name is ever given!
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/
Person.java 19 public String given; field in class:Person
  /external/mockito/src/test/java/org/mockitousage/
CompilationWarningsTest.java 51 willReturn(null).given(mock(IMethods.class)).objectReturningMethodNoArgs();
52 willReturn("a", 12).given(mock(IMethods.class)).objectReturningMethodNoArgs();
53 willReturn(1000).given(mock(IMethods.class)).objectReturningMethodNoArgs();
54 willThrow(new NullPointerException()).given(mock(IMethods.class)).objectReturningMethodNoArgs();
55 willThrow(new NullPointerException(), new IllegalArgumentException()).given(mock(IMethods.class)).objectReturningMethodNoArgs();
56 willThrow(NullPointerException.class).given(mock(IMethods.class)).objectReturningMethodNoArgs();
58 willAnswer(ignore()).willReturn(null).given(mock(IMethods.class)).objectReturningMethodNoArgs();
59 willAnswer(ignore()).willReturn("a", 12).given(mock(IMethods.class)).objectReturningMethodNoArgs();
60 willAnswer(ignore()).willReturn(1000).given(mock(IMethods.class)).objectReturningMethodNoArgs();
61 willAnswer(ignore()).willThrow(new NullPointerException()).given(mock(IMethods.class)).objectReturningMethodNoArgs()
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
ExactComparer.java 29 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width,
36 if (ideal[index] != given[index]) {
40 " given color : " + Integer.toHexString(given[index]));
BitmapComparer.java 23 * Compares the two bitmaps given using Java.
30 public abstract boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width,
34 * This calculates the position in an array that would represent a bitmap given the parameters.
  /external/mockito/src/test/java/org/mockitousage/junitrule/
StrictJUnitRuleTest.java 20 import static org.mockito.BDDMockito.given;
40 given(mock.simpleMethod(10)).willReturn("foo");
45 given(mock.simpleMethod(10)).willReturn("foo");
55 given(mock.simpleMethod(10)).willReturn("foo");
64 given(mock.simpleMethod(10)).willReturn("foo");
99 " - stubbing the same method multiple times using 'given().will()' or 'when().then()' API\n" +
100 " Please use 'will().given()' or 'doReturn().when()' API for stubbing.\n" +
109 willReturn("10").given(mock).simpleMethod(10) ; //used
110 willReturn("20").given(mock).simpleMethod(20) ; //unused
111 willReturn("30").given(mock).simpleMethod(30) ; //unuse
    [all...]
  /external/mockito/src/test/java/org/mockitousage/bugs/
GenericsMockitoAnnotationsTest.java 14 import static org.mockito.BDDMockito.given;
27 given(testCollectionSourceProvider.getCollection(new ArrayList<Integer>())).willReturn(new ArrayList<Integer>());
  /packages/apps/Contacts/src/com/android/contacts/util/
NameConverter.java 48 * Converts the given structured name (provided as ContentValues) into a display name string.
64 * Helper method for fetching the display name via the given URI.
92 * Parses phonetic name and returns parsed data (family, middle, given) as ContentValues.
96 * If this method cannot parse given phoneticName, null values will be stored.
107 String given = null; local
117 given = strings[1];
122 given = strings[2];
132 item.setPhoneticGivenName(given);
137 * Constructs and returns a phonetic full name from given parts.
139 public static String buildPhoneticName(String family, String middle, String given) {
    [all...]
  /frameworks/support/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/metainf/
MetaInfTransformerTest.kt 33 given = "28.0.0-SNAPSHOT",
43 given = "1.0.0-SNAPSHOT",
53 given = "28.0.0-SNAPSHOT",
65 given = "test",
74 given = "28.0.0-SNAPSHOT",
84 given = "28.0.0-SNAPSHOT",
92 given: String,
104 val file = ArchiveFile(filePath, given.toByteArray())
  /toolchain/binutils/binutils-2.27/gas/testsuite/gas/hppa/parse/
align1.s 5 ; "8" assumed if no alignment given.
  /external/flatbuffers/go/
table.go 59 // Union initializes any Table-derived type to point to the union at the given
67 // GetBool retrieves a bool at the given offset.
72 // GetByte retrieves a byte at the given offset.
77 // GetUint8 retrieves a uint8 at the given offset.
82 // GetUint16 retrieves a uint16 at the given offset.
87 // GetUint32 retrieves a uint32 at the given offset.
92 // GetUint64 retrieves a uint64 at the given offset.
97 // GetInt8 retrieves a int8 at the given offset.
102 // GetInt16 retrieves a int16 at the given offset.
107 // GetInt32 retrieves a int32 at the given offset
    [all...]
  /external/mockito/src/test/java/org/mockitousage/stubbing/
StrictStubbingEndToEndTest.java 24 import static org.mockito.BDDMockito.given;
90 given(mock.simpleMethod("1")).willReturn("one");
104 given(mock.simpleMethod(1)).willReturn("");
118 given(mock.simpleMethod(1)).willReturn("");
127 given(mock.simpleMethod(1)).willReturn("");
131 given(mock.simpleMethod(2)).willReturn("");
140 given(mock.simpleMethod(1)).willReturn("");
144 given(mock.simpleMethod(2)).willReturn("");
154 given(mock.simpleMethod("1")).willReturn("one");
158 given(mock.simpleMethod("1")).willReturn("one")
    [all...]
StrictStubbingTest.java 18 import static org.mockito.BDDMockito.given;
57 given(mock.simpleMethod(100)).willReturn("100");
66 given(mock.simpleMethod(100)).willReturn("100");
80 given(mock.simpleMethod(100)).willReturn("100");
92 given(mock.simpleMethod(100)).willReturn("100");
StubbingWithAdditionalAnswersTest.java 20 import static org.mockito.BDDMockito.given;
49 given(iMethods.objectArgMethod(any())).will(returnsFirstArg());
50 given(iMethods.threeArgumentMethod(eq(0), any(), anyString())).will(returnsSecondArg());
51 given(iMethods.threeArgumentMethod(eq(1), any(), anyString())).will(returnsLastArg());
62 given(iMethods.objectArgMethod(any())).will(answersWithDelay(sleepyTime, returnsFirstArg()));
74 given(iMethods.varargsObject(eq(1), any())).will(returnsArgAt(3));
81 given(iMethods.toIntPrimitive(anyInt())).will(returnsFirstArg());
82 given(iMethods.toIntWrapper(anyInt())).will(returnsFirstArg());
90 given(iMethods.simpleMethod(anyString()))
104 given(iMethods.simpleMethod(anyString())
    [all...]
  /external/mockito/src/test/java/org/mockitousage/customization/
BDDMockitoTest.java 33 given(mock.simpleMethod("foo")).willReturn("bar");
41 given(mock.simpleMethod("foo")).willThrow(new SomethingWasWrong());
52 given(mock.simpleMethod("foo")).willThrow(SomethingWasWrong.class);
65 given(mock.simpleMethod("foo")).willThrow(SomethingWasWrong.class, AnotherThingWasWrong.class);
76 given(mock.simpleMethod(anyString())).willAnswer(new Answer<String>() {
87 given(mock.simpleMethod(anyString())).will(new Answer<String>() {
98 given(mock.simpleMethod(anyString()))
108 given(mock.objectReturningMethodNoArgs())
121 .given(mock).simpleMethod();
129 willThrow(new SomethingWasWrong()).given(mock).voidMethod()
    [all...]
  /external/curl/docs/cmdline-opts/
continue-at.d 7 Continue/Resume a previous file transfer at the given offset. The given offset
13 transfer. It then uses the given output/input files to figure that out.
mail-from.d 8 Specify a single address that the given mail should get sent from.
proxy-digest.d 5 Tells curl to use HTTP Digest authentication when communicating with the given
proxy-ntlm.d 5 Tells curl to use HTTP NTLM authentication when communicating with the given
  /toolchain/binutils/binutils-2.27/opcodes/
score7-dis.c 546 print_insn_score32 (bfd_vma pc, struct disassemble_info *info, long given)
554 if ((insn->mask & 0xffff0000) && (given & insn->mask) == insn->value)
570 target = (pc & 0xfe000000) | (given & 0x01fffffe);
578 int disp = ((given & 0x01ff8000) >> 5) | (given & 0x3fe);
617 reg = given >> bitstart;
627 reg = given >> bitstart;
637 reg = given >> bitstart;
642 if (((given & insn->mask) == 0x0c00000a) /* ldc1 */
643 || ((given & insn->mask) == 0x0c000012) /* ldc2 *
873 long given; local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/
test_scanstring.py 95 def assertScan(given, expect):
96 self.assertEqual(scanstring(given, 1, None, True),
97 (expect, len(given)))
98 if not isinstance(given, unicode):
99 given = unicode(given)
100 self.assertEqual(scanstring(given, 1, None, True),
101 (expect, len(given)))
  /external/python/cpython2/Lib/json/tests/
test_scanstring.py 95 def assertScan(given, expect):
96 self.assertEqual(scanstring(given, 1, None, True),
97 (expect, len(given)))
98 if not isinstance(given, unicode):
99 given = unicode(given)
100 self.assertEqual(scanstring(given, 1, None, True),
101 (expect, len(given)))
  /external/vboot_reference/scripts/keygeneration/
make_keyblock.sh 6 # Generates a keyblock containing a public key and signed using the given
17 <in_signing_key>.vbprivk with the given keyblock <flags>.

Completed in 986 milliseconds

1 2 3 4 5 6 7 8 91011>>