/external/mockito/src/test/java/org/mockitousage/stubbing/ |
D | DeepStubbingTest.java | 207 Person person = mock(Person.class, RETURNS_DEEP_STUBS); field in DeepStubbingTest 212 given(person.getAddress().getStreet().getName()).willReturn("Norymberska"); in shouldStubbingBasicallyWorkFine() 215 String street = person.getAddress().getStreet().getName(); in shouldStubbingBasicallyWorkFine() 224 person.getAddress().getStreet().getName(); in shouldVerificationBasicallyWorkFine() 227 verify(person.getAddress().getStreet()).getName(); in shouldVerificationBasicallyWorkFine() 233 person.getAddress("111 Mock Lane").getStreet(); in verification_work_with_argument_Matchers_in_nested_calls() 234 person.getAddress("111 Mock Lane").getStreet(Locale.ITALIAN).getName(); in verification_work_with_argument_Matchers_in_nested_calls() 237 verify(person.getAddress(anyString())).getStreet(); in verification_work_with_argument_Matchers_in_nested_calls() 238 verify(person.getAddress(anyString()).getStreet(Locale.CHINESE), never()).getName(); in verification_work_with_argument_Matchers_in_nested_calls() 239 verify(person.getAddress(anyString()).getStreet(eq(Locale.ITALIAN))).getName(); in verification_work_with_argument_Matchers_in_nested_calls() [all …]
|
D | CloningParameterTest.java | 33 Person person = new Person("Wes"); in businessLogic() local 34 emailSender.sendEmail(1, person); in businessLogic() 35 person.emailSent(); in businessLogic() 104 void sendEmail(int i, Person person); in sendEmail() argument 106 List<?> getAllEmails(Person person); in getAllEmails() argument
|
/external/cldr/common/properties/ |
D | labels.txt | 29 [---] ; Smileys & People ; person 30 [-] ; Smileys & People ; person-role 31 [{⚕️}{⚖️}{✈️}{}{}] ; Smileys & People ; person-role 32 [{}{}{}{}{}{}] ; Smileys & People ; person-role 33 [{}{}{}{}{}{}] ; Smileys & People ; person-role 34 [{}{}{}{⚕️}{⚖️}{✈️}] ; Smileys & People ; person-role 35 [{}{}{}{}{}{}] ; Smileys & People ; person-role 36 [{}{}{}{}{}{}] ; Smileys & People ; person-role 37 [{}{}{}{}{}{♀️}] ; Smileys & People ; person-role 38 [{♂️}{♀️}{♂️}{♀️}{♂️}{♀️}] ; Smileys & People ; person-role [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
D | ConstructorTest.java | 52 Person person = (Person) obj; in testGetBeanAssumeClass() local 53 assertEquals("Andrey", person.getFirstName()); in testGetBeanAssumeClass() 54 assertNull(person.getLastName()); in testGetBeanAssumeClass() 55 assertEquals(99, person.getAge().intValue()); in testGetBeanAssumeClass() 66 Person person = (Person) obj; in testGetConstructorBean() local 67 assertEquals("Andrey", person.getFirstName()); in testGetConstructorBean() 68 assertEquals("Somov", person.getLastName()); in testGetConstructorBean() 69 assertEquals(99, person.getAge().intValue()); in testGetConstructorBean() 80 Person person = (Person) obj; in testGetConstructorFromScalar() local 81 assertNull("Andrey", person.getFirstName()); in testGetConstructorFromScalar() [all …]
|
/external/grpc-grpc/third_party/nanopb/tests/basic_buffer/ |
D | decode_buffer.c | 19 Person person = Person_init_zero; in print_person() local 21 if (!pb_decode(stream, Person_fields, &person)) in print_person() 26 printf("name: \"%s\"\n", person.name); in print_person() 27 printf("id: %ld\n", (long)person.id); in print_person() 29 if (person.has_email) in print_person() 30 printf("email: \"%s\"\n", person.email); in print_person() 32 for (i = 0; i < person.phone_count; i++) in print_person() 34 Person_PhoneNumber *phone = &person.phone[i]; in print_person()
|
/external/nanopb-c/tests/basic_buffer/ |
D | decode_buffer.c | 19 Person person = Person_init_zero; in print_person() local 21 if (!pb_decode(stream, Person_fields, &person)) in print_person() 26 printf("name: \"%s\"\n", person.name); in print_person() 27 printf("id: %ld\n", (long)person.id); in print_person() 29 if (person.has_email) in print_person() 30 printf("email: \"%s\"\n", person.email); in print_person() 32 for (i = 0; i < person.phone_count; i++) in print_person() 34 Person_PhoneNumber *phone = &person.phone[i]; in print_person()
|
/external/unicode/ |
D | emoji-sequences.txt | 125 1F645..1F64F ; Basic_Emoji ; person gesturing NO … 127 1F6CC ; Basic_Emoji ; person in bed … 171 1F9CD..1F9CF ; Basic_Emoji ; person standing … 259 26F9 FE0F ; Basic_Emoji ; person bouncing ball … 312 1F3CB FE0F ; Basic_Emoji ; person lifting weights … 313 1F3CC FE0F ; Basic_Emoji ; person golfing … 691 26F9 1F3FB ; Emoji_Modifier_Sequence ; person bouncing ball: light skin tone … 692 26F9 1F3FC ; Emoji_Modifier_Sequence ; person bouncing ball: medium-light skin tone … 693 26F9 1F3FD ; Emoji_Modifier_Sequence ; person bouncing ball: medium skin tone … 694 26F9 1F3FE ; Emoji_Modifier_Sequence ; person bouncing ball: medium-dark skin tone … [all …]
|
D | emoji-data.txt | 143 1F3A0..1F3C4 ; Emoji # 6.0 [37] (..) carousel horse..person surfing 145 1F3C6..1F3CA ; Emoji # 6.0 [5] (..) trophy..person swimming 146 1F3CB..1F3CE ; Emoji # 7.0 [4] (️..️) person lifting weights..racing car 212 1F645..1F64F ; Emoji # 6.0 [11] (..) person gesturing NO..folded hands 236 1F933..1F93A ; Emoji # 9.0 [8] (..) selfie..person fencing 237 1F93C..1F93E ; Emoji # 9.0 [3] (..) people wrestling..person playing handb… 262 1F9CD..1F9CF ; Emoji # 12.0 [3] (..) person standing..deaf person 327 1F3A0..1F3C4 ; Emoji_Presentation # 6.0 [37] (..) carousel horse..person surfing 329 1F3C6..1F3CA ; Emoji_Presentation # 6.0 [5] (..) trophy..person swimming 371 1F645..1F64F ; Emoji_Presentation # 6.0 [11] (..) person gesturing NO..folded hands [all …]
|
/external/nanopb-c/tests/basic_stream/ |
D | decode_stream.c | 15 Person person = Person_init_zero; in print_person() local 17 if (!pb_decode(stream, Person_fields, &person)) in print_person() 22 printf("name: \"%s\"\n", person.name); in print_person() 23 printf("id: %ld\n", (long)person.id); in print_person() 25 if (person.has_email) in print_person() 26 printf("email: \"%s\"\n", person.email); in print_person() 28 for (i = 0; i < person.phone_count; i++) in print_person() 30 Person_PhoneNumber *phone = &person.phone[i]; in print_person()
|
/external/grpc-grpc/third_party/nanopb/tests/basic_stream/ |
D | decode_stream.c | 15 Person person = Person_init_zero; in print_person() local 17 if (!pb_decode(stream, Person_fields, &person)) in print_person() 22 printf("name: \"%s\"\n", person.name); in print_person() 23 printf("id: %ld\n", (long)person.id); in print_person() 25 if (person.has_email) in print_person() 26 printf("email: \"%s\"\n", person.email); in print_person() 28 for (i = 0; i < person.phone_count; i++) in print_person() 30 Person_PhoneNumber *phone = &person.phone[i]; in print_person()
|
/external/protobuf/examples/ |
D | list_people.cc | 12 const tutorial::Person& person = address_book.people(i); in ListPeople() local 14 cout << "Person ID: " << person.id() << endl; in ListPeople() 15 cout << " Name: " << person.name() << endl; in ListPeople() 16 if (person.email() != "") { in ListPeople() 17 cout << " E-mail address: " << person.email() << endl; in ListPeople() 20 for (int j = 0; j < person.phones_size(); j++) { in ListPeople() 21 const tutorial::Person::PhoneNumber& phone_number = person.phones(j); in ListPeople()
|
D | list_people.py | 10 for person in address_book.people: 11 print "Person ID:", person.id 12 print " Name:", person.name 13 if person.email != "": 14 print " E-mail address:", person.email 16 for phone_number in person.phones:
|
D | ListPeople.java | 12 for (Person person: addressBook.getPeopleList()) { in Print() 13 System.out.println("Person ID: " + person.getId()); in Print() 14 System.out.println(" Name: " + person.getName()); in Print() 15 if (!person.getEmail().isEmpty()) { in Print() 16 System.out.println(" E-mail address: " + person.getEmail()); in Print() 19 for (Person.PhoneNumber phoneNumber : person.getPhonesList()) { in Print()
|
D | add_person.py | 9 def PromptForAddress(person): argument 10 person.id = int(raw_input("Enter person ID number: ")) 11 person.name = raw_input("Enter name: ") 15 person.email = email 22 phone_number = person.phones.add()
|
D | AddPerson.java | 17 Person.Builder person = Person.newBuilder(); in PromptForAddress() local 20 person.setId(Integer.valueOf(stdin.readLine())); in PromptForAddress() 23 person.setName(stdin.readLine()); in PromptForAddress() 28 person.setEmail(email); in PromptForAddress() 53 person.addPhones(phoneNumber); in PromptForAddress() 56 return person.build(); in PromptForAddress()
|
D | add_person.cc | 10 void PromptForAddress(tutorial::Person* person) { in PromptForAddress() argument 14 person->set_id(id); in PromptForAddress() 18 getline(cin, *person->mutable_name()); in PromptForAddress() 24 person->set_email(email); in PromptForAddress() 35 tutorial::Person::PhoneNumber* phone_number = person->add_phones(); in PromptForAddress()
|
/external/mockito/src/test/java/org/mockitousage/customization/ |
D | BDDMockitoTest.java | 328 Person person = mock(Person.class); in should_pass_fluent_bdd_scenario() local 331 person.ride(bike); in should_pass_fluent_bdd_scenario() 332 person.ride(bike); in should_pass_fluent_bdd_scenario() 334 then(person).should(times(2)).ride(bike); in should_pass_fluent_bdd_scenario() 342 Person person = mock(Person.class); in should_pass_fluent_bdd_scenario_with_ordered_verification() local 344 person.drive(car); in should_pass_fluent_bdd_scenario_with_ordered_verification() 345 person.ride(bike); in should_pass_fluent_bdd_scenario_with_ordered_verification() 346 person.ride(bike); in should_pass_fluent_bdd_scenario_with_ordered_verification() 348 InOrder inOrder = inOrder(person); in should_pass_fluent_bdd_scenario_with_ordered_verification() 349 then(person).should(inOrder).drive(car); in should_pass_fluent_bdd_scenario_with_ordered_verification() [all …]
|
/external/protobuf/csharp/src/AddressBook/ |
D | ListPeople.cs | 45 foreach (Person person in addressBook.People) in Print() 47 Console.WriteLine("Person ID: {0}", person.Id); in Print() 48 Console.WriteLine(" Name: {0}", person.Name); in Print() 49 if (person.Email != "") in Print() 51 Console.WriteLine(" E-mail address: {0}", person.Email); in Print() 54 foreach (Person.Types.PhoneNumber phoneNumber in person.Phones) in Print()
|
D | AddPerson.cs | 45 Person person = new Person(); in PromptForAddress() 48 person.Id = int.Parse(input.ReadLine()); in PromptForAddress() 51 person.Name = input.ReadLine(); in PromptForAddress() 57 person.Email = email; in PromptForAddress() 89 person.Phones.Add(phoneNumber); in PromptForAddress() 91 return person; in PromptForAddress()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue8/ |
D | PrattleRepresenterTest.java | 29 Person person = new Person("Alan", "Gutierrez", 9); in test() local 31 assertEquals(etalon, yaml.dump(person)); in test() 32 assertEquals(etalon, yaml.dump(person)); in test() 39 Person person = new Person("Alan", "Gutierrez", 9); in test2beans() local 41 assertEquals(etalon, yaml.dump(person)); in test2beans() 42 Horse horse = new Horse("Tom", person); in test2beans()
|
D | Person.java | 65 Person person = (Person) object; in equals() local 66 return firstName.equals(person.firstName) && lastName.equals(person.lastName) in equals() 67 && hatSize == person.hatSize; in equals()
|
/external/python/cpython3/Modules/_blake2/clinic/ |
D | blake2b_impl.c.h | 15 Py_buffer *key, Py_buffer *salt, Py_buffer *person, 30 Py_buffer person = {NULL, NULL}; in py_blake2b_new() local 40 …&data, &digest_size, &key, &salt, &person, &fanout, &depth, &leaf_size_obj, &node_offset_obj, &nod… in py_blake2b_new() 43 …return_value = py_blake2b_new_impl(type, data, digest_size, &key, &salt, &person, fanout, depth, l… in py_blake2b_new() 55 if (person.obj) { in py_blake2b_new() 56 PyBuffer_Release(&person); in py_blake2b_new()
|
D | blake2s_impl.c.h | 15 Py_buffer *key, Py_buffer *salt, Py_buffer *person, 30 Py_buffer person = {NULL, NULL}; in py_blake2s_new() local 40 …&data, &digest_size, &key, &salt, &person, &fanout, &depth, &leaf_size_obj, &node_offset_obj, &nod… in py_blake2s_new() 43 …return_value = py_blake2s_new_impl(type, data, digest_size, &key, &salt, &person, fanout, depth, l… in py_blake2s_new() 55 if (person.obj) { in py_blake2s_new() 56 PyBuffer_Release(&person); in py_blake2s_new()
|
/external/junit-params/src/test/java/junitparams/ |
D | EnumsAsParamsTest.java | 15 public void passEnumAsString(PersonType person) { in passEnumAsString() argument 16 assertThat(person).isIn(PersonType.SOME_VALUE, PersonType.OTHER_VALUE); in passEnumAsString() 21 public void passEnumFromMethod(PersonType person) { in passEnumFromMethod() argument 22 assertThat(person).isIn(parametersForPassEnumFromMethod()); in passEnumFromMethod()
|
D | CastingParamsTest.java | 17 public void wrapWithTypeBySingleArgConstructor(PersonTest.Person person) { in wrapWithTypeBySingleArgConstructor() argument 18 assertThat(person.getAge()).isGreaterThan(0); in wrapWithTypeBySingleArgConstructor() 26 public void wrapWithTypeByMultiArgConstructor(PersonTest.Person person) { in wrapWithTypeByMultiArgConstructor() argument 27 assertThat(person.getAge()).isGreaterThan(0); in wrapWithTypeByMultiArgConstructor()
|