Searched refs:test_str (Results 1 - 18 of 18) sorted by relevance

/external/ltp/testcases/kernel/device-drivers/uaccess/
H A Dltp_uaccess.h24 static const char test_str[] = "Test string"; variable
25 static const int str_size = sizeof(test_str);
H A Dltp_uaccess.c75 test_result = strncmp(test_str, buffer, str_size) ? 1 : 0;
78 test_result |= ch != test_str[0];
81 if (copy_to_user(str + 1, test_str + 1, str_size - 1)) {
86 if (put_user(test_str[0], str)) {
H A Duaccess.c65 int res = set_ptr_to_sysfs(TC_READ_USER, test_str,
88 res = strncmp(buf, test_str, str_size) ? TFAIL : TPASS;
/external/selinux/libsepol/cil/test/unit/
H A Dtest_cil_lexer.c38 char *test_str = "(test \"qstring\");comment\n"; local
39 uint32_t str_size = strlen(test_str);
43 strncpy(buffer, test_str, str_size);
52 char *test_str = "(test \"qstring\") ;comment\n"; local
53 uint32_t str_size = strlen(test_str);
57 strcpy(buffer, test_str);
/external/ltp/pan/
H A Dsplitstr.c166 char test_str[32768]; local
177 test_str[0] = '\0';
180 strncat(test_str, buf, 16);
182 ret = splitstr(test_str, NULL, &size_ret);
/external/autotest/server/site_tests/network_WiFi_BluetoothScanPerf/
H A Dnetwork_WiFi_BluetoothScanPerf.py64 test_str = '_'.join([ap_config_tag, bt_tag])
68 signal_description = '_'.join(['signal', test_str])
82 prefix='_'.join([config.tag, test_str])))
87 { '_'.join(['ping', test_str]): result_ping.avg_latency })
/external/autotest/server/site_tests/network_WiFi_BluetoothStreamPerf/
H A Dnetwork_WiFi_BluetoothStreamPerf.py66 test_str = '_'.join([ap_config_tag, bt_tag])
71 signal_description = '_'.join(['signal', test_str])
86 prefix='_'.join([config.tag, test_str])))
100 self.write_perf_keyval({'_'.join([config.tag, test_str, 'drop']):
107 { '_'.join(['ping', test_str]): result_ping.avg_latency })
/external/shflags/src/
H A Dshflags_test_public.sh73 DEFINE_string test_str '' 'test string' s
113 DEFINE_string test_str '' 'test string' s
126 -s,--test_str: test string (default: '')
/external/curl/lib/
H A Dsetup-vms.h85 char *test_str; local
89 test_str = strpbrk(path, ":[<^");
90 if(test_str == NULL) {
/external/selinux/libsemanage/tests/
H A Dtest_utilities.c267 const char *test_str = "Hello, I am %{USERNAME} and my id is %{USERID}"; local
270 str1 = semanage_str_replace("%{USERNAME}", "root", test_str, 0);
/external/autotest/server/hosts/
H A Dafe_store_unittest.py122 def test_str(self): member in class:AfeStoreTest
H A Dhost_info_unittest.py147 def test_str(self): member in class:HostInfoTest
293 def test_str(self): member in class:InMemoryHostInfoStoreTest
H A Dfile_store_unittest.py186 def test_str(self): member in class:FileStoreTestCase
/external/autotest/client/bin/net/
H A Dnet_utils_unittest.py876 test_str = 'test string'
877 mock_netif._socket.recv_val = test_str
878 rcv_str = mock_netif.recv(len(test_str))
879 self.assertEquals(rcv_str, test_str)
/external/python/cpython2/Lib/test/
H A Dtest_bool.py38 def test_str(self): member in class:BoolTest
H A Dtest_array.py273 def test_str(self): member in class:BaseTest
H A Dtest_datetime.py369 def test_str(self): member in class:TestTimeDelta
1885 def test_str(self): member in class:TestTime
H A Dtest_ssl.py1280 def test_str(self): member in class:SSLErrorTests

Completed in 929 milliseconds