Home
last modified time | relevance | path

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

123456

/external/cronet/third_party/protobuf/examples/
Dadd_person.py9 raw_input # Python 2
11 raw_input = input # Python 3 variable
16 person.id = int(raw_input("Enter person ID number: "))
17 person.name = raw_input("Enter name: ")
19 email = raw_input("Enter email address (blank for none): ")
24 number = raw_input("Enter a phone number (or leave blank to finish): ")
31 type = raw_input("Is this a mobile, home, or work phone? ")
/external/protobuf/examples/
Dadd_person.py9 raw_input # Python 2
11 raw_input = input # Python 3 variable
16 person.id = int(raw_input("Enter person ID number: "))
17 person.name = raw_input("Enter name: ")
19 email = raw_input("Enter email address (blank for none): ")
24 number = raw_input("Enter a phone number (or leave blank to finish): ")
31 type = raw_input("Is this a mobile, home, or work phone? ")
/external/python/cpython2/Lib/distutils/tests/
Dtest_register.py113 register_module.raw_input = inputs.__call__
118 del register_module.raw_input
136 register_module.raw_input = _no_way
165 register_module.raw_input = inputs.__call__
170 del register_module.raw_input
183 register_module.raw_input = inputs.__call__
188 del register_module.raw_input
227 register_module.raw_input = inputs.__call__
232 del register_module.raw_input
238 register_module.raw_input = inputs.__call__
[all …]
/external/skia/tools/skp/
Dgenerate_page_set.py22 user_agent = raw_input('user agent? (mobile/desktop/tablet): ')
23 url_name = raw_input('URL name? (eg: google): ')
24 url = raw_input('URL? (eg: http://www.google.com): ')
25 comment = raw_input('Reason for adding the URL? (eg: go/skia-skps-3-2019): ')
43 keep_going = raw_input('Do you have more page sets to create? (y/n)')
/external/tensorflow/tensorflow/lite/kernels/ctc/
Dctc_beam_search.h107 void Step(const Vector& raw_input);
245 const Vector& raw_input) { in Step() argument
249 (label_selection_size_ > 0 && label_selection_size_ < raw_input.size()); in Step()
255 max_coeff = GetTopK(label_selection_size_, raw_input, &top_k_logits, in Step()
258 max_coeff = raw_input.maxCoeff(); in Step()
263 for (int j = 0; j < raw_input.size(); ++j) { in Step()
264 logsumexp += Eigen::numext::exp(raw_input(j) - max_coeff); in Step()
275 TFLITE_DCHECK_EQ(num_classes_, raw_input.size()); in Step()
301 b->newp.label += raw_input(b->label) - norm_offset; in Step()
304 b->newp.blank = b->oldp.total + raw_input(blank_index_) - norm_offset; in Step()
[all …]
/external/tensorflow/tensorflow/core/util/ctc/
Dctc_beam_search.h250 const Vector& raw_input) { in Step() argument
254 (label_selection_size_ > 0 && label_selection_size_ < raw_input.size()); in Step()
261 max_coeff = GetTopK(label_selection_size_, raw_input, &top_k_logits, in Step()
264 max_coeff = raw_input.maxCoeff(); in Step()
268 for (int j = 0; j < raw_input.size(); ++j) { in Step()
269 logsumexp += Eigen::numext::exp(raw_input(j) - max_coeff); in Step()
280 CHECK_EQ(this->num_classes_, raw_input.size()); in Step()
306 b->newp.label += raw_input(b->label) - norm_offset; in Step()
309 b->newp.blank = b->oldp.total + raw_input(this->blank_index_) - norm_offset; in Step()
341 const T logit = top_k ? top_k_logits[ind] : raw_input(ind); in Step()
/external/python/cpython2/Lib/distutils/command/
Dregister.py149 choice = raw_input()
158 username = raw_input('Username: ')
185 choice = raw_input('Save your login (y/N)?')
196 data['name'] = raw_input('Username: ')
207 data['email'] = raw_input(' EMail: ')
219 data['email'] = raw_input('Your email address: ')
/external/ply/ply/example/calceof/
Dcalc.py12 raw_input = input variable
39 more = raw_input('... ')
127 s = raw_input('calc > ')
/external/python/cpython2/Demo/pdist/
Dcmptree.py11 s = raw_input("chdir [%s] " % pwd)
26 s = raw_input("mode [%s] " % mode)
39 raw_input("[Return to exit] ")
42 s = raw_input("%s [%s] " % (prompt, default))
46 s = raw_input("%s [%s] " % (prompt, str(default)))
/external/python/cpython2/Demo/scripts/
Dunbirthday.py16 year = int(raw_input('In which year were you born? '))
28 month = int(raw_input('And in which month? (1-12) '))
36 day = int(raw_input('And on what day of that month? (1-31) '))
/external/python/cpython2/Lib/
Dcode.py234 line = self.raw_input(prompt)
270 def raw_input(self, prompt=""): member in InteractiveConsole
281 return raw_input(prompt)
300 console.raw_input = readfunc
/external/yapf/yapf/yapflib/
Dpy3compat.py41 def raw_input(): function
68 raw_input = raw_input variable
/external/yapf/yapftests/
Dmain_test.py81 orig_raw_import = yapf.py3compat.raw_input
82 yapf.py3compat.raw_input = patch_raw_input
85 yapf.py3compat.raw_input = orig_raw_import
/external/ply/ply/example/BASIC/
Dbasic.py8 raw_input = input variable
40 line = raw_input("[BASIC] ")
Dbasiclog.py8 raw_input = input variable
48 line = raw_input("[BASIC] ")
/external/cronet/third_party/protobuf/src/google/protobuf/
Dwire_format_unittest.inc95 io::ArrayInputStream raw_input(data.data(), data.size());
96 io::CodedInputStream input(&raw_input);
112 io::ArrayInputStream raw_input(data.data(), data.size());
113 io::CodedInputStream input(&raw_input);
129 io::ArrayInputStream raw_input(data.data(), data.size());
130 io::CodedInputStream input(&raw_input);
145 io::ArrayInputStream raw_input(data.data(), data.size());
146 io::CodedInputStream input(&raw_input);
161 io::ArrayInputStream raw_input(data.data(), data.size());
162 io::CodedInputStream input(&raw_input);
[all …]
/external/protobuf/src/google/protobuf/
Dwire_format_unittest.inc94 io::ArrayInputStream raw_input(data.data(), data.size());
95 io::CodedInputStream input(&raw_input);
111 io::ArrayInputStream raw_input(data.data(), data.size());
112 io::CodedInputStream input(&raw_input);
128 io::ArrayInputStream raw_input(data.data(), data.size());
129 io::CodedInputStream input(&raw_input);
144 io::ArrayInputStream raw_input(data.data(), data.size());
145 io::CodedInputStream input(&raw_input);
160 io::ArrayInputStream raw_input(data.data(), data.size());
161 io::CodedInputStream input(&raw_input);
[all …]
/external/cronet/net/http/
Dhttp_response_headers.cc166 HttpResponseHeaders::HttpResponseHeaders(const std::string& raw_input) in HttpResponseHeaders() argument
168 Parse(raw_input); in HttpResponseHeaders()
191 std::string raw_input; in HttpResponseHeaders() local
192 if (iter->ReadString(&raw_input)) in HttpResponseHeaders()
193 Parse(raw_input); in HttpResponseHeaders()
458 void HttpResponseHeaders::Parse(const std::string& raw_input) { in Parse() argument
459 raw_headers_.reserve(raw_input.size()); in Parse()
462 std::string::const_iterator line_begin = raw_input.begin(); in Parse()
463 std::string::const_iterator line_end = base::ranges::find(raw_input, '\0'); in Parse()
467 (line_end != raw_input.end() && (line_end + 1) != raw_input.end() && in Parse()
[all …]
/external/python/cpython3/Lib/
Dcode.py227 line = self.raw_input(prompt)
263 def raw_input(self, prompt=""): member in InteractiveConsole
295 console.raw_input = readfunc
/external/ply/ply/example/calc/
Dcalc.py12 raw_input = input variable
118 s = raw_input('calc > ')
/external/ply/ply/example/calcdebug/
Dcalc.py12 raw_input = input variable
124 s = raw_input('calc > ')
/external/ply/ply/example/closurecalc/
Dcalc.py13 raw_input = input variable
127 s = raw_input("calc > ")
/external/ply/ply/example/optcalc/
Dcalc.py12 raw_input = input variable
131 s = raw_input('calc > ')
/external/ply/ply/example/newclasscalc/
Dcalc.py18 raw_input = input variable
54 s = raw_input('calc > ')
/external/ply/ply/example/classcalc/
Dcalc.py16 raw_input = input variable
52 s = raw_input('calc > ')

123456