/third_party/grpc/test/core/compression/ |
D | stream_compression_test.cc | 59 const char test_str[] = "aaaaaaabbbbbbbccccccctesttesttest"; in test_stream_compression_simple_compress_decompress() local 70 grpc_slice slice = grpc_slice_from_static_string(test_str); in test_stream_compression_simple_compress_decompress() 79 GPR_ASSERT(output_size == sizeof(test_str) - 1); in test_stream_compression_simple_compress_decompress() 83 GPR_ASSERT(slice_buffer_equals_string(&sink, test_str)); in test_stream_compression_simple_compress_decompress() 92 const char test_str[] = "aaaaaaabbbbbbbccccccctesttesttest"; in test_stream_compression_simple_compress_decompress_with_output_size_constraint() local 103 grpc_slice slice = grpc_slice_from_static_string(test_str); in test_stream_compression_simple_compress_decompress_with_output_size_constraint() 120 GPR_ASSERT(0 == strncmp(test_str, str_recv, max_output_size)); in test_stream_compression_simple_compress_decompress_with_output_size_constraint() 123 size_t remaining_size = sizeof(test_str) - 1 - max_output_size; in test_stream_compression_simple_compress_decompress_with_output_size_constraint() 129 GPR_ASSERT(slice_buffer_equals_string(&sink, test_str + max_output_size)); in test_stream_compression_simple_compress_decompress_with_output_size_constraint() 140 char* test_str = in test_stream_compression_simple_compress_decompress_with_large_data() local [all …]
|
/third_party/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create03.c | 61 char test_str[] = "LTP"; in test_write_protect() local 63 ret = write(fd, test_str, strlen(test_str)); in test_write_protect() 68 fd, test_str, strlen(test_str)); in test_write_protect() 74 fd, test_str, strlen(test_str)); in test_write_protect() 80 fd, test_str, strlen(test_str)); in test_write_protect()
|
/third_party/selinux/libsepol/cil/test/unit/ |
D | test_cil_lexer.c | 38 char *test_str = "(test \"qstring\");comment\n"; in test_cil_lexer_setup() local 39 uint32_t str_size = strlen(test_str); in test_cil_lexer_setup() 43 strncpy(buffer, test_str, str_size); in test_cil_lexer_setup() 52 char *test_str = "(test \"qstring\") ;comment\n"; in test_cil_lexer_next() local 53 uint32_t str_size = strlen(test_str); in test_cil_lexer_next() 57 strcpy(buffer, test_str); in test_cil_lexer_next()
|
/third_party/ltp/testcases/kernel/device-drivers/uaccess/ |
D | ltp_uaccess.c | 75 test_result = strncmp(test_str, buffer, str_size) ? 1 : 0; in sys_tcase() 78 test_result |= ch != test_str[0]; in sys_tcase() 81 if (copy_to_user(str + 1, test_str + 1, str_size - 1)) { in sys_tcase() 86 if (put_user(test_str[0], str)) { in sys_tcase()
|
D | ltp_uaccess.h | 24 static const char test_str[] = "Test string"; variable 25 static const int str_size = sizeof(test_str);
|
D | uaccess.c | 65 int res = set_ptr_to_sysfs(TC_READ_USER, test_str, in tc_read_userspace() 88 res = strncmp(buf, test_str, str_size) ? TFAIL : TPASS; in tc_write_userspace()
|
/third_party/ltp/pan/ |
D | splitstr.c | 166 char test_str[32768]; in main() local 177 test_str[0] = '\0'; in main() 180 strncat(test_str, buf, 16); in main() 182 ret = splitstr(test_str, NULL, &size_ret); in main()
|
/third_party/boost/libs/phoenix/test/algorithm/ |
D | for_each.cpp | 34 std::string test_str("(123456789)"); in for_each_test() local 41 BOOST_TEST(out.str() == test_str); in for_each_test()
|
D | for_test.cpp | 35 std::string test_str("(123456789)"); in for_test() local 45 BOOST_TEST(out.str() == test_str); in for_test()
|
/third_party/node/test/internet/ |
D | test-trace-events-dns.js | 18 const test_str = 'const dns = require("dns");' + constant 48 test_str + tests[tr],
|
/third_party/mbedtls/tests/scripts/ |
D | test_generate_test_code.py | 1018 test_str = 'yahoo:google' 1019 splits = escaped_split(test_str, ':') 1020 self.assertEqual(splits, test_str.split(':')) 1027 test_str = r'yahoo\:google:facebook' 1028 splits = escaped_split(test_str, ':') 1036 test_str = r'yahoo\\:google:facebook' 1037 splits = escaped_split(test_str, ':') 1045 test_str = r'yahoo\\:google:facebook\:instagram\\:bbc\\:wikipedia' 1046 splits = escaped_split(test_str, ':')
|
/third_party/jerryscript/tests/unit-core/ |
D | test-api-strings.c | 185 jerry_value_t test_str = jerry_create_string ((const jerry_char_t *) "3"); in main() local 187 jerry_size_t copied_utf8 = jerry_substring_to_utf8_char_buffer (test_str, in main() 196 jerry_size_t copied = jerry_substring_to_char_buffer (test_str, in main() 204 jerry_release_value (test_str); in main()
|
/third_party/curl/lib/ |
D | setup-vms.h | 85 char *test_str; in vms_translate_path() local 89 test_str = strpbrk(path, ":[<^"); in vms_translate_path() 90 if(!test_str) { in vms_translate_path()
|
/third_party/grpc/third_party/upb/tests/ |
D | test_generated_code.c | 12 const char test_str[] = "abcdefg"; variable 17 const upb_strview test_str_view = {test_str, sizeof(test_str) - 1};
|
/third_party/boost/libs/spirit/test/x3/ |
D | char1.cpp | 153 std::all_of(test_strings.begin(), test_strings.end(), [&](auto const test_str) -> bool { in main() argument 154 return test(test_str, chars); in main()
|
/third_party/boost/libs/multiprecision/performance/ |
D | performance_test.hpp | 164 double test_str(const boost::mpl::false_&) in test_str() function 171 double test_str(const boost::mpl::true_&) in test_str() function 178 double test_str() in test_str() function 180 return test_str(boost::is_class<T>()); in test_str() 663 report_result(cat, type, "str", precision, t.test_str()); in test()
|
/third_party/libuv/test/ |
D | test-spawn.c | 1148 const WCHAR* test_str[] = { in TEST_IMPL() local 1160 const int count = sizeof(test_str) / sizeof(*test_str); in TEST_IMPL() 1181 test_output[i] = calloc(2 * (wcslen(test_str[i]) + 2), sizeof(WCHAR)); in TEST_IMPL() 1182 quote_cmd_arg(test_str[i], test_output[i]); in TEST_IMPL() 1183 wprintf(L"input : %s\n", test_str[i]); in TEST_IMPL() 1199 wprintf(L"%d: %s\t%s\n", i, test_str[i], cracked[i]); in TEST_IMPL() 1200 ASSERT(wcscmp(test_str[i], cracked[i]) == 0); in TEST_IMPL()
|
/third_party/python/Lib/test/ |
D | test_xxlimited.py | 33 def test_str(self): member in CommonTests
|
D | test_bool.py | 27 def test_str(self): member in BoolTest
|
D | test_marshal.py | 338 def test_str(self, size): member in LargeValuesTestCase
|
D | test__xxsubinterpreters.py | 555 def test_str(self): member in InterpreterIDTests 1123 def test_str(self): member in ChannelIDTests
|
/third_party/cef/tests/ceftests/ |
D | xml_reader_unittest.cc | 499 char test_str[] = in TEST() local 505 CefStreamReader::CreateForData(test_str, sizeof(test_str) - 1)); in TEST()
|
/third_party/grpc/test/cpp/end2end/ |
D | client_callback_end2end_test.cc | 296 const std::string& test_str, int reuses, bool do_writes_done) in SendGenericEchoAsBidi() argument 298 activate_ = [this, test, method_name, test_str] { in SendGenericEchoAsBidi() 304 request_.set_message(test_str); in SendGenericEchoAsBidi()
|
/third_party/python/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 65 def test_str(self): member in TestMockingMagicMethods
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_queues.py | 74 def test_str(self): member in QueueBasicTests
|