Home
last modified time | relevance | path

Searched refs:raw_input (Results 1 – 25 of 73) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
Duser.py65 def prompt(cls, message, repeat=1, raw_input=raw_input): argument
69 response = raw_input(message)
74 return cls.prompt(message, repeat=repeat, raw_input=getpass.getpass)
77 …_multiple_lists(cls, list_title, subtitles, lists, can_choose_multiple=False, raw_input=raw_input): argument
87 return cls._wait_on_list_response(cumulated_list, can_choose_multiple, raw_input)
90 def _wait_on_list_response(cls, list_items, can_choose_multiple, raw_input): argument
93 …ter one or more numbers (comma-separated) or ranges (e.g. 3-7), or \"all\": ", raw_input=raw_input)
111 result = int(cls.prompt("Enter a number: ", raw_input=raw_input)) - 1
117 … def prompt_with_list(cls, list_title, list_items, can_choose_multiple=False, raw_input=raw_input): argument
123 return cls._wait_on_list_response(list_items, can_choose_multiple, raw_input)
[all …]
Duser_mock.py37 def prompt(cls, message, repeat=1, raw_input=raw_input): argument
41 … def prompt_with_list(cls, list_title, list_items, can_choose_multiple=False, raw_input=raw_input): argument
Duser_unittest.py45 …self.assertEqual(User.prompt("input", repeat=self.repeatsRemaining, raw_input=mock_raw_input), Use…
52 …self.assertEqual(User.prompt("input", repeat=self.repeatsRemaining, raw_input=mock_raw_input), Non…
127 raw_input=mock_raw_input)
/external/chromium_org/remoting/tools/
Dnative_messaging_host_test.py21 choice = raw_input('Enter choice: ')
39 client_id = raw_input('Enter client id: ')
49 host_id = raw_input('Enter host id: ')
50 pin = raw_input('Enter PIN: ')
61 config_json = raw_input('Enter config JSON: ')
80 consent = raw_input('Report usage stats [y/n]? ')
88 config_json = raw_input('Enter config JSON: ')
/external/protobuf/examples/
Dadd_person.py10 person.id = int(raw_input("Enter person ID number: "))
11 person.name = raw_input("Enter name: ")
13 email = raw_input("Enter email address (blank for none): ")
18 number = raw_input("Enter a phone number (or leave blank to finish): ")
25 type = raw_input("Is this a mobile, home, or work phone? ")
/external/protobuf/src/google/protobuf/
Dwire_format_unittest.cc87 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() local
88 io::CodedInputStream input(&raw_input); in TEST()
104 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() local
105 io::CodedInputStream input(&raw_input); in TEST()
121 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() local
122 io::CodedInputStream input(&raw_input); in TEST()
137 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() local
138 io::CodedInputStream input(&raw_input); in TEST()
153 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() local
154 io::CodedInputStream input(&raw_input); in TEST()
[all …]
Dunknown_field_set_unittest.cc221 io::ArrayInputStream raw_input(all_fields_data_.data(), in TEST_F() local
223 io::CodedInputStream input(&raw_input); in TEST_F()
345 io::ArrayInputStream raw_input(bizarro_data.data(), bizarro_data.size()); in TEST_F() local
346 io::CodedInputStream input(&raw_input); in TEST_F()
367 io::ArrayInputStream raw_input(all_fields_data_.data(), in TEST_F() local
369 io::CodedInputStream input(&raw_input); in TEST_F()
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Dwire_format_unittest.cc87 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() local
88 io::CodedInputStream input(&raw_input); in TEST()
104 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() local
105 io::CodedInputStream input(&raw_input); in TEST()
121 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() local
122 io::CodedInputStream input(&raw_input); in TEST()
137 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() local
138 io::CodedInputStream input(&raw_input); in TEST()
153 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() local
154 io::CodedInputStream input(&raw_input); in TEST()
[all …]
Dunknown_field_set_unittest.cc221 io::ArrayInputStream raw_input(all_fields_data_.data(), in TEST_F() local
223 io::CodedInputStream input(&raw_input); in TEST_F()
354 io::ArrayInputStream raw_input(bizarro_data.data(), bizarro_data.size()); in TEST_F() local
355 io::CodedInputStream input(&raw_input); in TEST_F()
376 io::ArrayInputStream raw_input(all_fields_data_.data(), in TEST_F() local
378 io::CodedInputStream input(&raw_input); in TEST_F()
/external/chromium_org/media/cast/test/utility/
Dinput_builder.cc41 char raw_input[128]; in GetStringInput() local
42 if (!fgets(raw_input, 128, stdin)) { in GetStringInput()
47 std::string input = raw_input; in GetStringInput()
/external/lldb/test/pexpect-2.4/examples/
Dssh_tunnel.py22 host = raw_input('Hostname: ')
23 user = raw_input('Username: ')
Dsshls.py42 host = raw_input('Hostname: ')
43 user = raw_input('User: ')
Dastat.py46 hostname = raw_input('hostname: ')
50 username = raw_input('username: ')
Dhive.py168 username = raw_input('%s username: ' % hostname)
199 cli_username = raw_input('username: ')
214 cmd = raw_input('CMD (? for help) > ')
Dmonitor.py66 host = raw_input('hostname: ')
70 user = raw_input('username: ')
/external/chromium_org/tools/perf/
Drecord_android_profile.py21 raw_input('Press enter to start profiling...')
27 raw_input()
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
Dphonenumber.cc45 first_number.raw_input() != second_number.raw_input()) { in ExactlySameAs()
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/primitives/
Dinput_helpers.cc68 char raw_input[128]; in ActuallyAskUser() local
69 if (!fgets(raw_input, 128, input_source_)) { in ActuallyAskUser()
74 std::string input = raw_input; in ActuallyAskUser()
/external/chromium_org/net/http/
Dhttp_response_headers.cc136 HttpResponseHeaders::HttpResponseHeaders(const std::string& raw_input) in HttpResponseHeaders() argument
138 Parse(raw_input); in HttpResponseHeaders()
162 std::string raw_input; in HttpResponseHeaders() local
163 if (pickle.ReadString(iter, &raw_input)) in HttpResponseHeaders()
164 Parse(raw_input); in HttpResponseHeaders()
398 void HttpResponseHeaders::Parse(const std::string& raw_input) { in Parse() argument
399 raw_headers_.reserve(raw_input.size()); in Parse()
402 std::string::const_iterator line_begin = raw_input.begin(); in Parse()
404 std::find(line_begin, raw_input.end(), '\0'); in Parse()
407 bool has_headers = (line_end != raw_input.end() && in Parse()
[all …]
/external/skia/tools/
Dsubmit_try201 regex = raw_input("Enter your trybot regex: ")
206 if raw_input('Re-enter regex? [y,n]: ') == 'n':
226 are_you_sure = raw_input('Running a try on a large number of bots is very '
/external/chromium_org/third_party/skia/tools/
Dsubmit_try201 regex = raw_input("Enter your trybot regex: ")
206 if raw_input('Re-enter regex? [y,n]: ') == 'n':
226 are_you_sure = raw_input('Running a try on a large number of bots is very '
/external/chromium_org/build/android/
Dupdate_verification.py37 raw_input('Set the application state. Once ready, press enter and '
57 raw_input('Press enter and select "Restore my data" on the device.')
/external/chromium_org/chrome/test/chromeos/utilities/
Dvm_setup_state.py27 raw_input('Please snapshot the VM and hit ENTER when done to '
/external/markdown/tests/misc/
Darabic.txt20 x = raw_input('Insert the number please ')
/external/chromium_org/tools/
Dbisect-manual-test.py27 response = raw_input()

123