Home
last modified time | relevance | path

Searched refs:person (Results 1 – 25 of 1771) sorted by relevance

12345678910>>...71

/third_party/jerryscript/tests/jerry/
Dobject-literal.js15 var person = { variable
24 assert (person.firstName === "John");
25 assert (person["firstName"] === "John");
26 assert (person.lastName === "Doe");
27 assert (person["lastName"] === "Doe");
28 assert (person.age === 50);
29 assert (person["age"] === 50);
30 assert (person.eyeColor === "blue");
31 assert (person["eyeColor"] === "blue");
32 assert (person.gender === "male");
[all …]
/third_party/json/test/src/
Dunit-udt.cpp72 struct person struct
77 person() = default;
78person(const age& a, name n, const country& c) : m_age(a), m_name(std::move(n)), m_country(c) {} in person() function
83 person m_person{};
86 contact(person p, address a) : m_person(std::move(p)), m_address(std::move(a)) {} in contact()
134 static void to_json(BasicJsonType& j, const person& p) in to_json()
170 static bool operator==(const person& lhs, const person& rhs) in operator ==()
220 static void from_json(const BasicJsonType& j, person& p) in from_json()
234 c.m_person = j["person"].get<person>(); in from_json()
255 const udt::person sfinae_addict{a, n, c};
[all …]
/third_party/protobuf/examples/
Dlist_people.cc17 const tutorial::Person& person = address_book.people(i); in ListPeople() local
19 cout << "Person ID: " << person.id() << endl; in ListPeople()
20 cout << " Name: " << person.name() << endl; in ListPeople()
21 if (person.email() != "") { in ListPeople()
22 cout << " E-mail address: " << person.email() << endl; in ListPeople()
25 for (int j = 0; j < person.phones_size(); j++) { in ListPeople()
26 const tutorial::Person::PhoneNumber& phone_number = person.phones(j); in ListPeople()
44 if (person.has_last_updated()) { in ListPeople()
45 cout << " Updated: " << TimeUtil::ToString(person.last_updated()) << endl; in ListPeople()
Dlist_people.py12 for person in address_book.people:
13 print("Person ID:", person.id)
14 print(" Name:", person.name)
15 if person.email != "":
16 print(" E-mail address:", person.email)
18 for phone_number in person.phones:
Dadd_person.dart7 final person = Person();
9 print('Enter person ID: ');
11 person.id = int.parse(input);
14 person.name = stdin.readLineSync();
18 if (email.isNotEmpty) person.email = email;
43 person.phones.add(phoneNumber);
46 return person;
49 /// Reads the entire address book from a file, adds one person based
DListPeople.java12 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()
Dadd_person.cc16 void PromptForAddress(tutorial::Person* person) { in PromptForAddress() argument
20 person->set_id(id); in PromptForAddress()
24 getline(cin, *person->mutable_name()); in PromptForAddress()
30 person->set_email(email); in PromptForAddress()
41 tutorial::Person::PhoneNumber* phone_number = person->add_phones(); in PromptForAddress()
57 *person->mutable_last_updated() = TimeUtil::SecondsToTimestamp(time(NULL)); in PromptForAddress()
Dlist_people.dart8 for (var person in addressBook.people) {
9 print('Person ID: ${person.id}');
10 print(' Name: ${person.name}');
11 if (person.hasEmail()) {
12 print(' E-mail address:${person.email}');
15 for (var phoneNumber in person.phones) {
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/cldr/units/
DunitPreferencesTest.txt17 # length; person-height; CA; 3429 / 12500; 0.27432; meter; 2; foot; 54 / 5; 10.8; inch
148 length; person; 001; 11 / 1000; 0.011; meter; 11 / 10; 1.1; centimeter
149 length; person; 001; 1 / 100; 0.01; meter; 1; 1.0; centimeter
150 length; person; 001; 9 / 1000; 0.009; meter; 9 / 10; 0.9; centimeter
152 length; person; CA; 1397 / 50000; 0.02794; meter; 11 / 10; 1.1; inch
153 length; person; CA; 127 / 5000; 0.0254; meter; 1; 1.0; inch
154 length; person; CA; 1143 / 50000; 0.02286; meter; 9 / 10; 0.9; inch
156 length; person-height; 001; 11 / 1000; 0.011; meter; 11 / 10; 1.1; centimeter
157 length; person-height; 001; 1 / 100; 0.01; meter; 1; 1.0; centimeter
158 length; person-height; 001; 9 / 1000; 0.009; meter; 9 / 10; 0.9; centimeter
[all …]
/third_party/icu/icu4c/source/test/testdata/cldr/units/
DunitPreferencesTest.txt17 # length; person-height; CA; 3429 / 12500; 0.27432; meter; 2; foot; 54 / 5; 10.8; inch
148 length; person; 001; 11 / 1000; 0.011; meter; 11 / 10; 1.1; centimeter
149 length; person; 001; 1 / 100; 0.01; meter; 1; 1.0; centimeter
150 length; person; 001; 9 / 1000; 0.009; meter; 9 / 10; 0.9; centimeter
152 length; person; CA; 1397 / 50000; 0.02794; meter; 11 / 10; 1.1; inch
153 length; person; CA; 127 / 5000; 0.0254; meter; 1; 1.0; inch
154 length; person; CA; 1143 / 50000; 0.02286; meter; 9 / 10; 0.9; inch
156 length; person-height; 001; 11 / 1000; 0.011; meter; 11 / 10; 1.1; centimeter
157 length; person-height; 001; 1 / 100; 0.01; meter; 1; 1.0; centimeter
158 length; person-height; 001; 9 / 1000; 0.009; meter; 9 / 10; 0.9; centimeter
[all …]
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/expressions/identifiers/
Dparameter.ts26 person: string; property in paramMethod
28 constructor(person: string, age: number) {
29 this.person = person;
31 Assert.isString(person);
37 Assert.equal(newparam.person, "xiaoli");
Dname_space.ts33 export function greet(person: Person) {
34 Assert.equal(person.name, "John");
35 Assert.equal(person.age, 30);
38 const person: MyNamespace.Person = { constant
42 MyNamespace.greet(person);
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/4.3/override_and_the_noImplicitOverride_Flag/
Doverride_and_the_noImplicitOverride_Flag.ts28 run(person?: string): string {
29 return person + " go"
33 run(person?: string): string {
34 return super.run(person);
38 override run(person?: string): string {
40 return person + " run";
/third_party/typescript/tests/baselines/reference/
DobjectLiteralShorthandPropertiesFunctionArgument2.symbols8 var person = { name, id };
9 >person : Symbol(person, Decl(objectLiteralShorthandPropertiesFunctionArgument2.ts, 3, 3))
19 foo(person); // error
21 >person : Symbol(person, Decl(objectLiteralShorthandPropertiesFunctionArgument2.ts, 3, 3))
DunusedSingleParameterInFunctionExpression.types2 var func = function(person: string) {
3 >func : (person: string) => void
4 >function(person: string) { var unused = 20;} : (person: string) => void
5 >person : string
DinferentialTypingUsingApparentType3.symbols49 var person = new ObjectField({
50 >person : Symbol(person, Decl(inferentialTypingUsingApparentType3.ts, 20, 3))
63 person.fields.id;
64 >person.fields.id : Symbol(id, Decl(inferentialTypingUsingApparentType3.ts, 20, 30))
65 >person.fields : Symbol(ObjectField.fields, Decl(inferentialTypingUsingApparentType3.ts, 17, 16))
66 >person : Symbol(person, Decl(inferentialTypingUsingApparentType3.ts, 20, 3))
DobjectLiteralShorthandPropertiesFunctionArgument.symbols8 var person = { name, id };
9 >person : Symbol(person, Decl(objectLiteralShorthandPropertiesFunctionArgument.ts, 3, 3))
19 foo(person);
21 >person : Symbol(person, Decl(objectLiteralShorthandPropertiesFunctionArgument.ts, 3, 3))
DunusedMultipleParameter1InFunctionExpression.types2 var func = function(person: string, person2: string) {
3 >func : (person: string, person2: string) => void
4 >function(person: string, person2: string) { var unused = 20; person2 = "Dummy value";} : (pe…
5 >person : string
DunusedMultipleParameter2InFunctionExpression.types2 var func = function(person: string, person2: string, person3: string) {
3 >func : (person: string, person2: string, person3: string) => void
4 >function(person: string, person2: string, person3: string) { var unused = 20; person2 = "Dum…
5 >person : string
DinferentialTypingUsingApparentType3.types40 var person = new ObjectField({
41 >person : ObjectField<unknown, { id: NumberField; name: CharField; }>
58 person.fields.id;
59 >person.fields.id : NumberField
60 >person.fields : { id: NumberField; name: CharField; }
61 >person : ObjectField<unknown, { id: NumberField; name: CharField; }>
DunusedLocalsOnFunctionDeclarationWithinFunctionExpression1.types2 var greeter = function (person: string, person2: string) {
3 >greeter : (person: string, person2: string) => void
4person: string, person2: string) { var unused = 20; function maker(child: string): void { …
5 >person : string
/third_party/protobuf/csharp/src/AddressBook/
DListPeople.cs45 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()
DAddPerson.cs45 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()
/third_party/node/deps/npm/node_modules/init-package-json/
Dinit-package-json.js145 function unParsePerson (person) { argument
146 if (typeof person === "string") return person
147 var name = person.name || ""
148 var u = person.url || person.web
150 var e = person.email || person.mail
/third_party/node/deps/npm/node_modules/normalize-package-data/lib/
Dfixer.js349 function unParsePerson (person) { argument
350 if (typeof person === "string") return person
351 var name = person.name || ""
352 var u = person.url || person.web
354 var e = person.email || person.mail
359 function parsePerson (person) { argument
360 if (typeof person !== "string") return person
361 var name = person.match(/^([^\(<]+)/)
362 var url = person.match(/\(([^\)]+)\)/)
363 var email = person.match(/<([^>]+)>/)

12345678910>>...71