/external/autotest/site_utils/tester_feedback/ |
D | input_handlers.py | 41 def process(self, input_str): argument 66 def process(self, input_str): argument 95 def process(self, input_str): argument 96 input_str = input_str.lower().strip() 97 if input_str == 'y': 99 if input_str == 'n': 101 if not input_str and self._default is not None: 134 def process(self, input_str): argument 136 input_str = input_str or self._default 137 if input_str: [all …]
|
/external/protobuf/objectivec/DevTools/ |
D | pddm_tests.py | 118 for idx, (input_str, expected_prefix) in enumerate(test_list, 1): 119 f = io.StringIO(input_str) 173 for idx, (input_str, expected_prefix) in enumerate(test_list, 1): 174 f = io.StringIO(input_str) 223 for idx, (input_str, expected) in enumerate(test_list, 1): 224 result = mc.Expand(input_str) 267 for idx, (input_str, expected_err) in enumerate(test_list, 1): 269 result = mc.Expand(input_str) 350 for idx, (input_str, line_counts) in enumerate(test_list, 1): 351 f = io.StringIO(input_str) [all …]
|
/external/tensorflow/tensorflow/python/tools/ |
D | saved_model_cli_test.py | 215 input_str = 'input1=/path/file.txt[ab3];input2=file2' 217 input_dict = saved_model_cli.preprocess_inputs_arg_string(input_str) 229 input_str = (r'inputx=C:\Program Files\data.npz[v:0];' 231 input_dict = saved_model_cli.preprocess_inputs_arg_string(input_str) 237 input_str = 'inputx=file[[v1]v2' 239 saved_model_cli.preprocess_inputs_arg_string(input_str) 240 input_str = 'inputx:file' 242 saved_model_cli.preprocess_inputs_arg_string(input_str) 243 input_str = 'inputx:np.zeros((5))' 245 saved_model_cli.preprocess_input_exprs_arg_string(input_str) [all …]
|
/external/tensorflow/tensorflow/lite/toco/python/ |
D | toco_from_protos.py | 31 input_str = open(FLAGS.model_input_file, "rb").read() 33 output_str = tensorflow_wrap_toco.TocoConvert(model_str, toco_str, input_str)
|
/external/toolchain-utils/ |
D | test_gcc_dejagnu.py | 100 def GetNumNewFailures(input_str): argument 101 if not input_str: 105 for l in input_str.splitlines():
|
/external/antlr/runtime/Python3/antlr3/ |
D | main.py | 77 input_str = input(">>> ") 82 inStream = ANTLRStringStream(input_str)
|
/external/toolchain-utils/crosperf/ |
D | suite_runner_unittest.py | 78 input_str = ('--profiler=custom_perf --profiler_args=\'perf_options' 82 res = suite_runner.GetProfilerArgs(input_str)
|
/external/tensorflow/tensorflow/python/client/ |
D | tf_session.i | 234 const string& input_str = $1[i]; variable 235 PyList_SET_ITEM($result, i, PyBytes_FromStringAndSize(input_str.data(), 236 input_str.size()));
|
/external/libtextclassifier/utils/intents/ |
D | intent-generator.cc | 314 ScopedLocalRef<jstring> input_str = jni_cache_->ConvertToJavaString(input); in HandleUrlEncode() local 315 if (jni_cache_->ExceptionCheckAndClear() || input_str == nullptr) { in HandleUrlEncode() 323 input_str.get(), jni_cache_->string_utf8.get()))); in HandleUrlEncode()
|
/external/mesa3d/src/compiler/glsl/tests/lower_jumps/ |
D | create_test_cases.py | 294 input_str = sexp_to_string(sort_decls(input_sexp)) 307 f.write('{0}\nEOF\n'.format(input_str))
|
/external/python/cpython2/Modules/ |
D | _json.c | 275 char *input_str; in ascii_escape_str() local 278 input_str = PyString_AS_STRING(pystr); in ascii_escape_str() 282 Py_UNICODE c = (Py_UNICODE)(unsigned char)input_str[i]; in ascii_escape_str() 287 c = (Py_UNICODE)(unsigned char)input_str[j]; in ascii_escape_str() 291 uni = PyUnicode_DecodeUTF8(input_str, input_chars, "strict"); in ascii_escape_str() 329 memcpy(&output[1], input_str, i); in ascii_escape_str() 332 Py_UNICODE c = (Py_UNICODE)(unsigned char)input_str[i]; in ascii_escape_str()
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/workshop/ |
D | 3_inspecting.ipynb | 145 "def encode(input_str, output_str=None):\n", 147 " inputs = encoders[\"inputs\"].encode(input_str) + [1] # add EOS id\n",
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tfe_src.cc | 2331 tensorflow::Safe_PyObjectPtr input_str(PyObject_Str(input)); local 2336 TFE_GetPythonString(input_str.get()), " Requested dtype: ",
|