/third_party/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create03.c | 53 char test_str[] = "LTP"; in test_write_protect() local 55 ret = write(fd, test_str, strlen(test_str)); in test_write_protect() 60 fd, test_str, strlen(test_str)); in test_write_protect() 66 fd, test_str, strlen(test_str)); in test_write_protect() 72 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/mesa3d/src/gallium/drivers/r600/sfn/tests/ |
D | sfn_optimizer_test.cpp | 274 ostringstream test_str; in check() local 275 s->print(test_str); in check() 282 EXPECT_EQ(test_str.str(), expect_str.str()); in check() 288 ostringstream test_str; in ra_check() local 289 s->print(test_str); in ra_check() 297 EXPECT_EQ(test_str.str(), expect_str.str()); in ra_check()
|
/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/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 | 1206 test_str = 'yahoo:google' 1207 splits = escaped_split(test_str, ':') 1208 self.assertEqual(splits, test_str.split(':')) 1215 test_str = r'yahoo\:google:facebook' 1216 splits = escaped_split(test_str, ':') 1224 test_str = r'yahoo\\:google:facebook' 1225 splits = escaped_split(test_str, ':') 1233 test_str = r'yahoo\\:google:facebook\:instagram\\:bbc\\:wikipedia' 1234 splits = escaped_split(test_str, ':')
|
/third_party/jerryscript/tests/unit-core/ |
D | test-api-strings.cpp | 212 jerry_value_t test_str = jerry_create_string ((const jerry_char_t *) "3"); variable 214 jerry_size_t copied_utf8 = jerry_substring_to_utf8_char_buffer (test_str, 223 jerry_size_t copied = jerry_substring_to_char_buffer (test_str, 231 jerry_release_value (test_str);
|
/third_party/curl/lib/ |
D | setup-vms.h | 87 char *test_str; in vms_translate_path() local 91 test_str = strpbrk(path, ":[<^"); in vms_translate_path() 92 if(!test_str) { in vms_translate_path()
|
/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
|
D | test_enum.py | 2240 def test_str(self): member in TestFlag 2705 def test_str(self): member in TestIntFlag
|
D | test_exceptions.py | 639 def test_str(self): member in ExceptionTests
|
/third_party/rust/crates/unicode-width/src/ |
D | tests.rs | 114 fn test_str() { in test_str() function
|
/third_party/rust/crates/quote/tests/ |
D | test.rs | 221 fn test_str() { in test_str() function
|
/third_party/python/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 65 def test_str(self): member in TestMockingMagicMethods
|
/third_party/rust/crates/serde/test_suite/tests/ |
D | test_ser.rs | 111 fn test_str() { in test_str() function
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_queues.py | 74 def test_str(self): member in QueueBasicTests
|
/third_party/python/Lib/test/test_email/ |
D | test_headerregistry.py | 84 def test_str(self): member in TestBaseHeaderFeatures
|
/third_party/python/Lib/test/test_zoneinfo/ |
D | test_zoneinfo.py | 150 def test_str(self): member in ZoneInfoTest
|