/external/nanopb-c/tests/basic_buffer/ |
D | decode_buffer.c | 19 Person person; 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()
|
D | SConscript | 5 enc = env.Program(["encode_buffer.c", "$COMMON/person.pb.c", "$COMMON/pb_encode.o"]) 6 dec = env.Program(["decode_buffer.c", "$COMMON/person.pb.c", "$COMMON/pb_decode.o"]) 10 env.Decode(["encode_buffer.output", "$COMMON/person.proto"], MESSAGE = "Person")
|
D | encode_buffer.c | 17 Person person = {"Test Person 99", 99, true, "test@person.com", in main() local 26 if (pb_encode(&stream, Person_fields, &person)) in main()
|
/external/nanopb-c/tests/basic_stream/ |
D | decode_stream.c | 15 Person person; 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()
|
D | SConscript | 5 enc = env.Program(["encode_stream.c", "$COMMON/person.pb.c", "$COMMON/pb_encode.o"]) 6 dec = env.Program(["decode_stream.c", "$COMMON/person.pb.c", "$COMMON/pb_decode.o"]) 10 env.Decode(["encode_stream.output", "$COMMON/person.proto"], MESSAGE = "Person")
|
D | encode_stream.c | 19 Person person = {"Test Person 99", 99, true, "test@person.com", in main() local 31 if (pb_encode(&stream, Person_fields, &person)) in main()
|
/external/protobuf/examples/ |
D | list_people.cc | 12 const tutorial::Person& person = address_book.person(i); in ListPeople() local 14 cout << "Person ID: " << person.id() << endl; in ListPeople() 15 cout << " Name: " << person.name() << endl; in ListPeople() 16 if (person.has_email()) { in ListPeople() 17 cout << " E-mail address: " << person.email() << endl; in ListPeople() 20 for (int j = 0; j < person.phone_size(); j++) { in ListPeople() 21 const tutorial::Person::PhoneNumber& phone_number = person.phone(j); in ListPeople()
|
D | list_people.py | 10 for person in address_book.person: 11 print "Person ID:", person.id 12 print " Name:", person.name 13 if person.HasField('email'): 14 print " E-mail address:", person.email 16 for phone_number in person.phone:
|
D | ListPeople.java | 12 for (Person person: addressBook.getPersonList()) { in Print() 13 System.out.println("Person ID: " + person.getId()); in Print() 14 System.out.println(" Name: " + person.getName()); in Print() 15 if (person.hasEmail()) { in Print() 16 System.out.println(" E-mail address: " + person.getEmail()); in Print() 19 for (Person.PhoneNumber phoneNumber : person.getPhoneList()) { 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.phone.add() 53 PromptForAddress(address_book.person.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.addPhone(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_phone(); in PromptForAddress()
|
D | addressbook.proto | 10 required int32 id = 2; // Unique ID number for this person. 29 repeated Person person = 1; field
|
D | README.txt | 4 example adds a new person to an address book, prompting the user to input 5 the person's information. The list_people example lists people already in the
|
/external/libxml2/example/ |
D | gjobread.c | 32 typedef struct person { struct 40 } person, *personPtr; argument 53 ret = (personPtr) malloc(sizeof(person)); in parsePerson() 58 memset(ret, 0, sizeof(person)); in parsePerson()
|
/external/nanopb-c/tests/extra_fields/ |
D | person_with_extra_field.expected | 3 email: "test@person.com"
|
/external/nanopb-c/tests/common/ |
D | SConscript | 9 env.NanopbProto("person")
|
/external/nanopb-c/docs/ |
D | index.rst | 29 - person.proto (just an example) 30 - person.pb.c (autogenerated, contains initializers for const arrays) 31 - person.pb.h (autogenerated, contains type declarations)
|
/external/cblas/ |
D | LICENSE | 13 modification is done, however, it is the responsibility of the person
|
D | NOTICE | 13 modification is done, however, it is the responsibility of the person
|
/external/icu/icu4c/source/samples/ufortune/resources/ |
D | root.txt | 125 "A candidate is a person who gets money from the rich and votes from the 128 "A celebrity is a person who is known for his well-knownness.", 165 "A consultant is a person who borrows your watch, tells you what time it 184 "A cynic is a person searching for an honest man, with a stolen
|
/external/libcxxabi/ |
D | NOTICE | 29 Permission is hereby granted, free of charge, to any person obtaining a copy of 60 Permission is hereby granted, free of charge, to any person obtaining a copy
|
D | LICENSE.TXT | 29 Permission is hereby granted, free of charge, to any person obtaining a copy of 60 Permission is hereby granted, free of charge, to any person obtaining a copy
|
/external/libcxx/ |
D | LICENSE.TXT | 29 Permission is hereby granted, free of charge, to any person obtaining a copy of 60 Permission is hereby granted, free of charge, to any person obtaining a copy
|
/external/mksh/ |
D | NOTICE | 21 * of said person’s immediate fault when using the work as intended.
|