/external/ltp/testcases/kernel/device-drivers/uaccess/ |
H A D | ltp_uaccess.h | 24 static const char test_str[] = "Test string"; variable 25 static const int str_size = sizeof(test_str);
|
H A D | ltp_uaccess.c | 75 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 D | uaccess.c | 65 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 D | test_cil_lexer.c | 38 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 D | splitstr.c | 166 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 D | network_WiFi_BluetoothScanPerf.py | 64 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 D | network_WiFi_BluetoothStreamPerf.py | 66 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 D | shflags_test_public.sh | 73 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 D | setup-vms.h | 85 char *test_str; local 89 test_str = strpbrk(path, ":[<^"); 90 if(test_str == NULL) {
|
/external/selinux/libsemanage/tests/ |
H A D | test_utilities.c | 267 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 D | afe_store_unittest.py | 122 def test_str(self): member in class:AfeStoreTest
|
H A D | host_info_unittest.py | 147 def test_str(self): member in class:HostInfoTest 293 def test_str(self): member in class:InMemoryHostInfoStoreTest
|
H A D | file_store_unittest.py | 186 def test_str(self): member in class:FileStoreTestCase
|
/external/autotest/client/bin/net/ |
H A D | net_utils_unittest.py | 876 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 D | test_bool.py | 38 def test_str(self): member in class:BoolTest
|
H A D | test_array.py | 273 def test_str(self): member in class:BaseTest
|
H A D | test_datetime.py | 369 def test_str(self): member in class:TestTimeDelta 1885 def test_str(self): member in class:TestTime
|
H A D | test_ssl.py | 1280 def test_str(self): member in class:SSLErrorTests
|