/external/tensorflow/tensorflow/core/lib/wav/ |
D | wav_io_test.cc | 243 string test_string(test_data.begin(), test_data.end()); in TEST() local 246 TF_EXPECT_OK(ExpectText(test_string, "Expected", &offset)); in TEST() 250 Status expect_status = ExpectText(test_string, "Unexpected", &offset); in TEST() 254 TF_EXPECT_OK(ExpectText(test_string, "Exp", &offset)); in TEST() 256 TF_EXPECT_OK(ExpectText(test_string, "ected", &offset)); in TEST() 258 expect_status = ExpectText(test_string, "foo", &offset); in TEST() 266 string test_string(test_data.begin(), test_data.end()); in TEST() local 270 TF_EXPECT_OK(ReadString(test_string, 2, &read_value, &offset)); in TEST() 274 TF_EXPECT_OK(ReadString(test_string, 6, &read_value, &offset)); in TEST() 278 Status read_status = ReadString(test_string, 3, &read_value, &offset); in TEST() [all …]
|
/external/python/oauth2client/tests/ |
D | test__helpers.py | 24 test_string = b'1234-----BEGIN FOO BAR BAZ' 25 result = _helpers._parse_pem_key(test_string) 26 self.assertEqual(result, test_string[4:]) 29 test_string = b'DOES NOT HAVE DASHES' 30 result = _helpers._parse_pem_key(test_string) 88 test_string = b'deadbeef' 89 result = _helpers._urlsafe_b64encode(test_string) 93 test_string = u'deadbeef' 94 result = _helpers._urlsafe_b64encode(test_string) 101 test_string = b'ZGVhZGJlZWY' [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | substr_op_test.py | 43 test_string = { 53 substr_op = string_ops.substr(test_string, position, length, unit=unit) 66 test_string = { 73 substr_op = string_ops.substr(test_string, position, length, unit=unit) 79 test_string = { 85 substr_op = string_ops.substr(test_string, position, length, unit=unit) 88 self.assertAllEqual(substr, test_string) 91 test_string = { 97 substr_op = string_ops.substr(test_string, position, length, unit=unit) 100 self.assertAllEqual(substr, test_string) [all …]
|
/external/libxkbcommon/xkbcommon/test/ |
D | keysym.c | 28 test_string(const char *string, xkb_keysym_t expected) in test_string() function 87 assert(test_string("Undo", 0xFF65)); in main() 88 assert(test_string("ThisKeyShouldNotExist", XKB_KEY_NoSymbol)); in main() 89 assert(test_string("XF86_Switch_VT_5", 0x1008FE05)); in main() 90 assert(test_string("VoidSymbol", 0xFFFFFF)); in main() 91 assert(test_string("U4567", 0x1004567)); in main() 92 assert(test_string("0x10203040", 0x10203040)); in main() 93 assert(test_string("a", 0x61)); in main() 94 assert(test_string("A", 0x41)); in main() 95 assert(test_string("ch", 0xfea0)); in main() [all …]
|
/external/ltp/scripts/tests/ |
D | test_abspath.sh | 65 test_string=${i%:*} 68 result=$(_abspath "$test_string") 71 result_s="matches expected string _abspath(${test_string}) => $result == $expected_string)" 74 result_s="doesn't match expected string _abspath(${test_string}) => $result != $expected_string)" 88 test_string='""' 92 result_s="matches expected string abspath.sh ${test_string} => $result == $expected_string)" 95 result_s="doesn't match expected string abspath.sh ${test_string} => $result != $expected_string)" 105 test_string="\"\" ." 109 result_s="matches expected string abspath.sh ${test_string} => $result == $expected_string)" 112 result_s="doesn't match expected string abspath.sh ${test_string} => $result != $expected_string)"
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | debug_options_parsers_test.cc | 30 string test_string = "aa=bb,cc,dd=,ee=ff=gg"; in TEST() local 31 parse_xla_backend_extra_options(&test_map, test_string); in TEST() 42 string test_string = "OP_OUTPUTS=5,10:add,dot"; in TEST() local 43 EXPECT_TRUE(parse_xla_reduce_precision_option(&proto, test_string)); in TEST() 57 string test_string = "OP_OUTPUTS=5,10:add,dot;"; in TEST() local 58 EXPECT_TRUE(parse_xla_reduce_precision_option(&proto, test_string)); in TEST() 72 string test_string = "UNFUSED_OP_OUTPUTS=5,10:;foo,bar/baz"; in TEST() local 73 EXPECT_TRUE(parse_xla_reduce_precision_option(&proto, test_string)); in TEST() 85 string test_string = "UNFUSED_OP_OUTPUTS=5,10:subtract;foo,bar/baz"; in TEST() local 86 EXPECT_TRUE(parse_xla_reduce_precision_option(&proto, test_string)); in TEST()
|
/external/libchrome/mojo/public/cpp/system/tests/ |
D | file_data_pipe_producer_unittest.cc | 180 std::string test_string; in TEST_F() local 182 test_string += kTestStringFragment; in TEST_F() 184 base::FilePath path = CreateTempFileWithContents(test_string); in TEST_F() 200 EXPECT_EQ(test_string, reader.data()); in TEST_F() 202 EXPECT_EQ(test_string.size(), observer_data.bytes_read); in TEST_F() 258 std::string test_string; in TEST_F() local 260 test_string += kTestStringFragment; in TEST_F() 262 base::FilePath path = CreateTempFileWithContents(test_string); in TEST_F() 277 EXPECT_EQ(test_string, reader.data()); in TEST_F() 279 EXPECT_EQ(test_string.size(), observer_data.bytes_read); in TEST_F() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_struct.py | 437 test_string = 'Reykjavik rocks, eow!' 443 s.pack_into(writable_buf, 0, test_string) 444 from_buf = tobytes(writable_buf)[:len(test_string)] 445 self.assertEqual(from_buf, test_string) 448 s.pack_into(writable_buf, 10, test_string) 449 from_buf = tobytes(writable_buf)[:len(test_string)+10] 450 self.assertEqual(from_buf, test_string[:10] + test_string) 455 test_string) 457 test_string) 474 test_string = 'Reykjavik rocks, eow!' [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_struct.py | 393 test_string = b'abcd01234' 397 data = cls(test_string) 403 for i in range(6, len(test_string) + 1): 406 data = cls(test_string) 412 for i in range(6, len(test_string) + 1): 416 self.assertEqual(s.unpack_from(buffer=test_string, offset=2), 420 test_string = b'Reykjavik rocks, eow!' 426 s.pack_into(writable_buf, 0, test_string) 427 from_buf = writable_buf.tobytes()[:len(test_string)] 428 self.assertEqual(from_buf, test_string) [all …]
|
/external/u-boot/test/dm/ |
D | video.c | 147 …const char *test_string = "Well\b\b\b\bxhe is\r \n\ta very \amodest \bman\n\t\tand Has much to\b\… in dm_test_video_chars() local 152 vidconsole_put_string(con, test_string); in dm_test_video_chars() 333 …const char *test_string = "Criticism may not be agreeable, but it is necessary. It fulfils the sam… in dm_test_video_truetype() local 337 vidconsole_put_string(con, test_string); in dm_test_video_truetype() 349 …const char *test_string = "Criticism may not be agreeable, but it is necessary. It fulfils the sam… in dm_test_video_truetype_scroll() local 358 vidconsole_put_string(con, test_string); in dm_test_video_truetype_scroll() 370 …const char *test_string = "...Criticism may or may\b\b\b\b\b\bnot be agreeable, but seldom it is n… in dm_test_video_truetype_bs() local 379 vidconsole_put_string(con, test_string); in dm_test_video_truetype_bs()
|
/external/grpc-grpc/test/cpp/end2end/ |
D | client_callback_end2end_test.cc | 70 grpc::string test_string(""); in SendRpcs() local 76 test_string += "Hello world. "; in SendRpcs() 77 request.set_message(test_string); in SendRpcs() 109 grpc::string test_string(""); in SendRpcsGeneric() local 116 test_string += "Hello world. "; in SendRpcsGeneric() 117 request.set_message(test_string); in SendRpcsGeneric()
|
/external/toolchain-utils/cwp/performance/ |
D | experiment_gen.py | 109 test_string = str(freq) + 'Freq' 110 experiment_file += EXPERIMENT % (test_string, bench_iters, test_iters, 115 test_string = str(period) + 'Period' 117 test_string, bench_iters, test_iters, '-c %s' % period, '' if
|
/external/autotest/site_utils/lxc/ |
D | zygote_unittest.py | 121 test_string = 'jackdaws love my big sphinx of quartz.' 124 f.write(test_string) 141 self.assertEqual(test_string, test_output) 200 test_string = zygote.attach_run('cat %s' % dst).stdout 201 self.assertEquals(control_string, test_string) 220 test_string = zygote.attach_run('cat %s' % test_file).stdout 221 self.assertEquals(control_string, test_string)
|
D | container_unittest.py | 237 test_string = container.attach_run('cat %s' % dst).stdout 238 self.assertEquals(control_string, test_string) 257 test_string = container.attach_run('cat %s' % test_file).stdout 258 self.assertEquals(control_string, test_string)
|
/external/libcups/cups/ |
D | testlang.c | 31 static int test_string(cups_lang_t *language, const char *msgid); 85 errors += test_string(language, "No"); in main() 86 errors += test_string(language, "Yes"); in main() 260 test_string(cups_lang_t *language, /* I - Language */ in test_string() function
|
/external/tensorflow/tensorflow/core/util/ |
D | memmapped_file_system_test.cc | 152 const string test_string = "bla-bla-bla"; in TEST() local 153 TF_ASSERT_OK(writable_file->Append(test_string)); in TEST() 157 EXPECT_EQ(test_string.length(), file_length); in TEST() 160 EXPECT_EQ(test_string.length(), stat.length); in TEST()
|
/external/python/cpython2/Lib/idlelib/idle_test/ |
D | test_formatparagraph.py | 192 test_string = ( 195 result = fp.reformat_comment(test_string, 70, " ") 249 test_string = ( variable in FormatEventTest 293 text.insert('1.0', self.test_string) 305 text.insert('1.0', self.test_string)
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | cmd_helper_test.py | 35 test_string = 'hello $TEST_VAR' 36 cmd = 'TEST_VAR=world; echo %s' % cmd_helper.SingleQuote(test_string) 37 self.assertEquals(test_string, 56 test_string = 'hello $TEST_VAR' 57 cmd = 'TEST_VAR=world; echo %s' % cmd_helper.DoubleQuote(test_string)
|
/external/libbrillo/brillo/ |
D | secure_blob_unittest.cc | 198 std::string test_string("Test String"); in TEST_F() local 199 SecureBlob blob = SecureBlob(test_string.begin(), test_string.end()); in TEST_F() 200 EXPECT_EQ(blob.size(), test_string.length()); in TEST_F() 202 EXPECT_EQ(test_string.compare(result_string), 0); in TEST_F()
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_paragraph.py | 193 test_string = ( 196 result = pg.reformat_comment(test_string, 70, " ") 250 test_string = ( variable in FormatEventTest 296 text.insert('1.0', self.test_string) 308 text.insert('1.0', self.test_string)
|
/external/vixl/test/ |
D | test-code-buffer.cc | 105 const char* test_string = "test string"; in TEST() local 112 buffer.EmitString(test_string); in TEST() 113 expected_size += strlen(test_string) + 1; // EmitString() emits the '\0'. in TEST()
|
/external/selinux/libsemanage/tests/ |
D | test_utilities.c | 242 const char *test_string = "abaababbaaaba"; in test_semanage_str_count() local 244 CU_ASSERT_EQUAL(semanage_str_count(test_string, 'z'), 0); in test_semanage_str_count() 245 CU_ASSERT_EQUAL(semanage_str_count(test_string, 'a'), 8); in test_semanage_str_count() 246 CU_ASSERT_EQUAL(semanage_str_count(test_string, 'b'), 5); in test_semanage_str_count()
|
/external/webrtc/webrtc/base/ |
D | bitbuffer_unittest.cc | 302 char test_string[] = "my precious"; in TEST() local 305 for (size_t i = 0; i < arraysize(test_string); ++i) { in TEST() 306 EXPECT_TRUE(buffer.WriteExponentialGolomb(test_string[i])); in TEST() 309 for (size_t i = 0; i < arraysize(test_string); ++i) { in TEST() 313 EXPECT_EQ(test_string[i], static_cast<char>(val)); in TEST()
|
/external/autotest/client/bin/ |
D | fsinfo_unittest.py | 102 test_string = '-q -b 1234 -O fdasfa,fdasfdas -l adfas -k -L' 103 result = fsinfo.opt_string2dict(test_string)
|
/external/libchrome/third_party/jinja2/ |
D | tests.py | 77 def test_string(value): function 151 'string': test_string,
|