Home
last modified time | relevance | path

Searched refs:input_str (Results 1 – 22 of 22) sorted by relevance

/external/autotest/site_utils/tester_feedback/
Dinput_handlers.py41 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/
Dpddm_tests.py118 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/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzzers/
Dspvtools_as_fuzzer.cpp34 std::vector<char> input_str; in LLVMFuzzerTestOneInput() local
36 input_str.resize(char_count); in LLVMFuzzerTestOneInput()
37 memcpy(input_str.data(), input.data(), input.size() * sizeof(uint32_t)); in LLVMFuzzerTestOneInput()
41 spvTextToBinaryWithOptions(context, input_str.data(), input_str.size(), in LLVMFuzzerTestOneInput()
55 spvTextToBinaryWithOptions(context, input_str.data(), input_str.size(), in LLVMFuzzerTestOneInput()
Dspvtools_dis_fuzzer.cpp40 std::vector<char> input_str; in LLVMFuzzerTestOneInput() local
42 input_str.resize(char_count); in LLVMFuzzerTestOneInput()
43 memcpy(input_str.data(), input.data(), input.size() * sizeof(uint32_t)); in LLVMFuzzerTestOneInput()
/external/swiftshader/third_party/SPIRV-Tools/test/fuzzers/
Dspvtools_as_fuzzer.cpp34 std::vector<char> input_str; in LLVMFuzzerTestOneInput() local
36 input_str.resize(char_count); in LLVMFuzzerTestOneInput()
37 memcpy(input_str.data(), input.data(), input.size() * sizeof(uint32_t)); in LLVMFuzzerTestOneInput()
41 spvTextToBinaryWithOptions(context, input_str.data(), input_str.size(), in LLVMFuzzerTestOneInput()
55 spvTextToBinaryWithOptions(context, input_str.data(), input_str.size(), in LLVMFuzzerTestOneInput()
Dspvtools_dis_fuzzer.cpp40 std::vector<char> input_str; in LLVMFuzzerTestOneInput() local
42 input_str.resize(char_count); in LLVMFuzzerTestOneInput()
43 memcpy(input_str.data(), input.data(), input.size() * sizeof(uint32_t)); in LLVMFuzzerTestOneInput()
/external/deqp-deps/SPIRV-Tools/test/fuzzers/
Dspvtools_as_fuzzer.cpp34 std::vector<char> input_str; in LLVMFuzzerTestOneInput() local
36 input_str.resize(char_count); in LLVMFuzzerTestOneInput()
37 memcpy(input_str.data(), input.data(), input.size() * sizeof(uint32_t)); in LLVMFuzzerTestOneInput()
41 spvTextToBinaryWithOptions(context, input_str.data(), input_str.size(), in LLVMFuzzerTestOneInput()
55 spvTextToBinaryWithOptions(context, input_str.data(), input_str.size(), in LLVMFuzzerTestOneInput()
Dspvtools_dis_fuzzer.cpp40 std::vector<char> input_str; in LLVMFuzzerTestOneInput() local
42 input_str.resize(char_count); in LLVMFuzzerTestOneInput()
43 memcpy(input_str.data(), input.data(), input.size() * sizeof(uint32_t)); in LLVMFuzzerTestOneInput()
/external/llvm-project/lldb/source/Interpreter/
DCommandHistory.cpp31 CommandHistory::FindString(llvm::StringRef input_str) const { in FindString()
33 if (input_str.size() < 2) in FindString()
36 if (input_str[0] != g_repeat_char) in FindString()
39 if (input_str[1] == g_repeat_char) { in FindString()
45 input_str = input_str.drop_front(); in FindString()
48 if (input_str.front() == '-') { in FindString()
49 if (input_str.drop_front(1).getAsInteger(0, idx)) in FindString()
55 if (input_str.getAsInteger(0, idx)) in FindString()
/external/tensorflow/tensorflow/python/tools/
Dsaved_model_cli_test.py379 input_str = 'input1=/path/file.txt[ab3];input2=file2'
381 input_dict = saved_model_cli.preprocess_inputs_arg_string(input_str)
420 input_str = (r'inputx=C:\Program Files\data.npz[v:0];'
422 input_dict = saved_model_cli.preprocess_inputs_arg_string(input_str)
428 input_str = 'inputx=file[[v1]v2'
430 saved_model_cli.preprocess_inputs_arg_string(input_str)
431 input_str = 'inputx:file'
433 saved_model_cli.preprocess_inputs_arg_string(input_str)
434 input_str = 'inputx:np.zeros((5))'
436 saved_model_cli.preprocess_input_exprs_arg_string(input_str)
[all …]
/external/tensorflow/third_party/llvm/
Dexpand_cmake_vars.py40 def _expand_variables(input_str, cmake_vars): argument
54 return _CMAKE_ATVAR_REGEX.sub(replace,_CMAKE_VAR_REGEX.sub(replace, input_str))
/external/tensorflow/tensorflow/lite/toco/python/
Dtoco_from_protos.py41 input_str = input_file.read()
53 input_str,
/external/tensorflow/tensorflow/python/keras/layers/
Dmulti_head_attention.py95 input_str = ""
102 input_str += char
108 input_str += char
117 equation = "%s,%s->%s" % (input_str, kernel_str, output_str)
/external/llvm-project/lldb/include/lldb/Interpreter/
DCommandHistory.h31 llvm::Optional<llvm::StringRef> FindString(llvm::StringRef input_str) const;
/external/antlr/runtime/Python3/antlr3/
Dmain.py77 input_str = input(">>> ")
82 inStream = ANTLRStringStream(input_str)
/external/tensorflow/tensorflow/python/ops/
Dspecial_math_ops_test.py839 for input_str in inputs.split(','):
840 input_shapes.append(tuple([dimension_map[c] for c in input_str]))
891 for input_str in inputs.split(','):
892 input_shapes.append(tuple([dimension_map[c] for c in input_str]))
1058 for input_str in inputs.split(','):
1059 input_shapes.append(tuple([dimension_map[c] for c in input_str]))
1074 for input_str in inputs.split(','):
1075 input_shapes.append(tuple([dimension_map[c] for c in input_str]))
/external/toolchain-utils/crosperf/
Dsuite_runner_unittest.py79 input_str = ("--profiler=custom_perf --profiler_args='perf_options"
83 res = suite_runner.GetProfilerArgs(input_str)
/external/mesa3d/src/compiler/glsl/tests/
Dlower_jump_cases.py282 input_str = sexp_to_string(sort_decls(input_sexp))
289 return (test_name, optimization, input_str, expected_output)
/external/tensorflow/tensorflow/core/kernels/linalg/
Deinsum_op_impl.h134 gtl::InlinedVector<string, 2> input_str; in ParseEquation() local
136 TF_RETURN_IF_ERROR(ParseEinsumEquation(equation, &input_str, &output_str)); in ParseEquation()
141 int num_inputs = input_str.size(); in ParseEquation()
146 MapToLabels(input_str[i], &input_labels->at(i), &label_mapping); in ParseEquation()
/external/rust/crates/url/src/
Dparser.rs992 let input_str = input.chars.as_str(); in parse_host() localVariable
997 for c in input_str.chars() { in parse_host()
1026 host_str = &input_str[..bytes] in parse_host()
1077 let input_str = input.chars.as_str(); in file_host() localVariable
1081 for c in input_str.chars() { in file_host()
1099 host_str = &input_str[..bytes] in file_host()
/external/python/cpython2/Modules/
D_json.c275 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/python/pyopenssl/src/OpenSSL/
DSSL.py1378 input_str = _ffi.new("unsigned char[]", protostr)
1379 _lib.SSL_CTX_set_alpn_protos(self._context, input_str, len(protostr))
2396 input_str = _ffi.new("unsigned char[]", protostr)
2397 _lib.SSL_set_alpn_protos(self._ssl, input_str, len(protostr))