/external/deqp-deps/SPIRV-Tools/test/ |
D | c_interface_test.cpp | 34 const char input_text[] = in TEST() local 40 EXPECT_EQ(SPV_SUCCESS, spvTextToBinary(context, input_text, in TEST() 41 sizeof(input_text), &binary, nullptr)); in TEST() 62 const char input_text[] = "%1 = OpName"; in TEST() local 66 spvTextToBinary(context, input_text, sizeof(input_text), &binary, in TEST() 75 const char input_text[] = "OpNop"; in TEST() local 78 ASSERT_EQ(SPV_SUCCESS, spvTextToBinary(context, input_text, in TEST() 79 sizeof(input_text), &binary, nullptr)); in TEST() 96 const char input_text[] = "OpNop"; in TEST() local 99 ASSERT_EQ(SPV_SUCCESS, spvTextToBinary(context, input_text, in TEST() [all …]
|
D | cpp_interface_test.cpp | 44 const std::string input_text = "%2 = OpSizeOf %1 %3\n"; in TEST() local 48 EXPECT_TRUE(t.Assemble(input_text, &binary)); in TEST() 68 EXPECT_EQ(input_text, output_text); in TEST() 82 const std::string input_text = "%2 = OpSizeOf %1 %3\n"; in TEST() local 86 EXPECT_TRUE(t.Assemble(input_text, &binary)); in TEST() 93 EXPECT_TRUE(t.Assemble(input_text.data(), input_text.size(), &binary)); in TEST() 100 EXPECT_TRUE(t.Assemble(input_text.data(), input_text.size() - 1, &binary)); in TEST() 128 const std::string input_text = "%2 = OpSizeOf %1 %3\n"; in TEST() local 132 EXPECT_TRUE(t.Assemble(input_text, &binary)); in TEST() 137 EXPECT_EQ(input_text, output_text); in TEST() [all …]
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/ |
D | c_interface_test.cpp | 34 const char input_text[] = in TEST() local 40 EXPECT_EQ(SPV_SUCCESS, spvTextToBinary(context, input_text, in TEST() 41 sizeof(input_text), &binary, nullptr)); in TEST() 62 const char input_text[] = "%1 = OpName"; in TEST() local 66 spvTextToBinary(context, input_text, sizeof(input_text), &binary, in TEST() 75 const char input_text[] = "OpNop"; in TEST() local 78 ASSERT_EQ(SPV_SUCCESS, spvTextToBinary(context, input_text, in TEST() 79 sizeof(input_text), &binary, nullptr)); in TEST() 96 const char input_text[] = "OpNop"; in TEST() local 99 ASSERT_EQ(SPV_SUCCESS, spvTextToBinary(context, input_text, in TEST() [all …]
|
D | cpp_interface_test.cpp | 44 const std::string input_text = "%2 = OpSizeOf %1 %3\n"; in TEST() local 48 EXPECT_TRUE(t.Assemble(input_text, &binary)); in TEST() 68 EXPECT_EQ(input_text, output_text); in TEST() 82 const std::string input_text = "%2 = OpSizeOf %1 %3\n"; in TEST() local 86 EXPECT_TRUE(t.Assemble(input_text, &binary)); in TEST() 93 EXPECT_TRUE(t.Assemble(input_text.data(), input_text.size(), &binary)); in TEST() 100 EXPECT_TRUE(t.Assemble(input_text.data(), input_text.size() - 1, &binary)); in TEST() 128 const std::string input_text = "%2 = OpSizeOf %1 %3\n"; in TEST() local 132 EXPECT_TRUE(t.Assemble(input_text, &binary)); in TEST() 137 EXPECT_EQ(input_text, output_text); in TEST() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | c_interface_test.cpp | 34 const char input_text[] = in TEST() local 40 EXPECT_EQ(SPV_SUCCESS, spvTextToBinary(context, input_text, in TEST() 41 sizeof(input_text), &binary, nullptr)); in TEST() 62 const char input_text[] = "%1 = OpName"; in TEST() local 66 spvTextToBinary(context, input_text, sizeof(input_text), &binary, in TEST() 75 const char input_text[] = "OpNop"; in TEST() local 78 ASSERT_EQ(SPV_SUCCESS, spvTextToBinary(context, input_text, in TEST() 79 sizeof(input_text), &binary, nullptr)); in TEST() 96 const char input_text[] = "OpNop"; in TEST() local 99 ASSERT_EQ(SPV_SUCCESS, spvTextToBinary(context, input_text, in TEST() [all …]
|
D | cpp_interface_test.cpp | 44 const std::string input_text = "%2 = OpSizeOf %1 %3\n"; in TEST() local 48 EXPECT_TRUE(t.Assemble(input_text, &binary)); in TEST() 68 EXPECT_EQ(input_text, output_text); in TEST() 82 const std::string input_text = "%2 = OpSizeOf %1 %3\n"; in TEST() local 86 EXPECT_TRUE(t.Assemble(input_text, &binary)); in TEST() 93 EXPECT_TRUE(t.Assemble(input_text.data(), input_text.size(), &binary)); in TEST() 100 EXPECT_TRUE(t.Assemble(input_text.data(), input_text.size() - 1, &binary)); in TEST() 128 const std::string input_text = "%2 = OpSizeOf %1 %3\n"; in TEST() local 132 EXPECT_TRUE(t.Assemble(input_text, &binary)); in TEST() 137 EXPECT_EQ(input_text, output_text); in TEST() [all …]
|
/external/tensorflow/tensorflow/lite/micro/tools/make/ |
D | transform_arduino_source.py | 51 def check_ino_functions(input_text): argument 55 if not re.search(r'void setup\(\) \{', input_text): 58 + input_text) 59 if not re.search(r'void loop\(\) \{', input_text): 62 return input_text 65 def add_example_ino_library_include(input_text): argument 68 input_text, 1)
|
D | transform_source.py | 58 def check_ino_functions(input_text): argument 62 if not re.search(r'void setup\(\) \{', input_text): 65 + input_text) 66 if not re.search(r'void loop\(\) \{', input_text): 69 return input_text 72 def add_example_ino_library_include(input_text): argument 75 input_text, 1)
|
/external/protobuf/conformance/ |
D | text_format_conformance_suite.cc | 157 const string& test_name, ConformanceLevel level, const string& input_text) { in RunValidTextFormatTest() argument 159 RunValidTextFormatTestWithMessage(test_name, level, input_text, prototype); in RunValidTextFormatTest() 163 const string& test_name, ConformanceLevel level, const string& input_text) { in RunValidTextFormatTestProto2() argument 165 RunValidTextFormatTestWithMessage(test_name, level, input_text, prototype); in RunValidTextFormatTestProto2() 169 const string& test_name, ConformanceLevel level, const string& input_text, in RunValidTextFormatTestWithMessage() argument 173 conformance::TEXT_FORMAT_TEST, prototype, test_name, input_text); in RunValidTextFormatTestWithMessage() 174 RunValidInputTest(setting1, input_text); in RunValidTextFormatTestWithMessage() 177 conformance::TEXT_FORMAT_TEST, prototype, test_name, input_text); in RunValidTextFormatTestWithMessage() 178 RunValidInputTest(setting2, input_text); in RunValidTextFormatTestWithMessage()
|
D | text_format_conformance_suite.h | 52 const string& input_text,
|
/external/tensorflow/tensorflow/python/keras/preprocessing/ |
D | text.py | 32 def text_to_word_sequence(input_text, argument 57 input_text, filters=filters, lower=lower, split=split) 61 def one_hot(input_text, argument 88 return text.one_hot(input_text, n, filters=filters, lower=lower, split=split)
|
/external/tflite-support/tensorflow_lite_support/custom_ops/python/ |
D | sentencepiece_tokenizer_test.py | 64 input_text = [ 68 tftext_tokenized = tftext_sp.tokenize(input_text) 69 opt_tokenized = opt_sp.tokenize(input_text) 78 input_text = [ 82 tftext_tokenized = tftext_sp.tokenize(input_text) 96 input_text = [ 100 tftext_tokenized = tftext_sp.tokenize(input_text) 101 opt_tokenized = opt_sp.tokenize(input_text)
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/ |
D | check_clang_tidy.py | 86 input_text = input_file.read() 106 has_check_fix = check_fixes_prefix in input_text 107 has_check_message = check_messages_prefix in input_text 108 has_check_note = check_notes_prefix in input_text 131 cleaned_test = re.sub('// *CHECK-[A-Z0-9\-]*:[^\r\n]*', '//', input_text)
|
/external/XNNPACK/tools/ |
D | xngen.py | 58 def preprocess(input_text, input_globals, input_path="codegen"): argument 59 input_lines = input_text.splitlines() 135 input_text = codecs.open(options.input[0], "r", encoding="utf-8").read() 137 output_text = preprocess(input_text, python_globals, options.input[0])
|
D | xngen | 58 def preprocess(input_text, input_globals, input_path="codegen"): argument 59 input_lines = input_text.splitlines() 135 input_text = codecs.open(options.input[0], "r", encoding="utf-8").read() 137 output_text = preprocess(input_text, python_globals, options.input[0])
|
/external/libtextclassifier/native/utils/tflite/ |
D | text_encoder.cc | 164 const TfLiteTensor& input_text = in Prepare() local 166 TF_LITE_ENSURE_EQ(context, input_text.dims->size, kEncoderInputRank); in Prepare() 167 TF_LITE_ENSURE_EQ(context, input_text.dims->data[0], kEncoderBatchSize); in Prepare() 216 const TfLiteTensor& input_text = in Eval() local 218 const int num_strings = tflite::GetStringCount(&input_text); in Eval() 243 const auto& strref = tflite::GetString(&input_text, i); in Eval()
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.keras.preprocessing.text.pbtxt | 13 …argspec: "args=[\'input_text\', \'n\', \'filters\', \'lower\', \'split\'], varargs=None, keywords=… 17 …argspec: "args=[\'input_text\', \'filters\', \'lower\', \'split\'], varargs=None, keywords=None, d…
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.keras.preprocessing.text.pbtxt | 13 …argspec: "args=[\'input_text\', \'n\', \'filters\', \'lower\', \'split\'], varargs=None, keywords=… 17 …argspec: "args=[\'input_text\', \'filters\', \'lower\', \'split\'], varargs=None, keywords=None, d…
|
/external/tflite-support/tensorflow_lite_support/custom_ops/kernel/sentencepiece/ |
D | sentencepiece_tokenizer_tflite.cc | 72 const TfLiteTensor& input_text = in Eval() local 87 const int num_strings = tflite::GetStringCount(&input_text); in Eval() 89 const auto strref = tflite::GetString(&input_text, i); in Eval()
|
/external/llvm-project/clang/test/Analysis/ |
D | check-analyzer-fixit.py | 52 input_text = input_file.read() 58 cleaned_test = re.sub('// *CHECK-[A-Z0-9\-]*:[^\r\n]*', '//', input_text)
|
/external/python/cffi/c/ |
D | ffi_obj.c | 148 static CTypeDescrObject *_ffi_bad_type(FFIObject *ffi, const char *input_text) in _ffi_bad_type() argument 150 size_t length = strlen(input_text); in _ffi_bad_type() 163 if (' ' <= input_text[i] && input_text[i] < 0x7f) in _ffi_bad_type() 164 *p++ = input_text[i]; in _ffi_bad_type() 165 else if (input_text[i] == '\t' || input_text[i] == '\n') in _ffi_bad_type() 191 const char *input_text = PyText_AS_UTF8(arg); in _ffi_type() local 192 int err, index = parse_c_type(&ffi->info, input_text); in _ffi_type() 194 return _ffi_bad_type(ffi, input_text); in _ffi_type()
|
/external/llvm-project/lldb/unittests/Editline/ |
D | EditlineTest.cpp | 268 const std::string input_text("Hello, world"); in TEST_F() local 269 EXPECT_TRUE(GetEditlineAdapter().SendLine(input_text)); in TEST_F() 279 EXPECT_EQ(input_text, el_reported_line); in TEST_F()
|
/external/python/parse_type/tests/ |
D | test_builder.py | 177 input_text = "Answer: %s" % input_value 179 parser.parse(input_text) 265 input_text = "Answer: %s" % input_value 267 parser.parse(input_text)
|
/external/deqp-deps/SPIRV-Tools/source/ |
D | text.cpp | 806 const char* input_text, in spvTextToBinary() argument 809 return spvTextToBinaryWithOptions(context, input_text, input_text_size, in spvTextToBinary() 815 const char* input_text, in spvTextToBinaryWithOptions() argument 826 spv_text_t text = {input_text, input_text_size}; in spvTextToBinaryWithOptions()
|
/external/swiftshader/third_party/SPIRV-Tools/source/ |
D | text.cpp | 806 const char* input_text, in spvTextToBinary() argument 809 return spvTextToBinaryWithOptions(context, input_text, input_text_size, in spvTextToBinary() 815 const char* input_text, in spvTextToBinaryWithOptions() argument 826 spv_text_t text = {input_text, input_text_size}; in spvTextToBinaryWithOptions()
|