/external/ltp/scripts/tests/ |
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) [all...] |
/tools/test/connectivity/acts/tests/google/native/ |
NativeTest.py | 51 test_string = "x" * (max_sl4n_buffer_size - json_buffer_size) 52 return test_string == self.droid.TestStringMaxReturn(test_string)
|
/external/toolchain-utils/cwp/performance/ |
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
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_struct.py | 436 test_string = 'Reykjavik rocks, eow!'
442 s.pack_into(writable_buf, 0, test_string)
443 from_buf = writable_buf.tostring()[:len(test_string)]
444 self.assertEqual(from_buf, test_string)
447 s.pack_into(writable_buf, 10, test_string)
448 from_buf = writable_buf.tostring()[:len(test_string)+10]
449 self.assertEqual(from_buf, test_string[:10] + test_string)
454 test_string)
456 test_string)
[all...] |
test_plistlib.py | 130 def test_string(self):
member in class:TestPlistlib
|
/external/libbrillo/brillo/ |
secure_blob_unittest.cc | 113 std::string test_string("Test String"); 114 SecureBlob blob = SecureBlob(test_string.begin(), test_string.end()); 115 EXPECT_EQ(blob.size(), test_string.length()); 117 EXPECT_EQ(test_string.compare(result_string), 0);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_struct.py | 437 test_string = 'Reykjavik rocks, eow!' 443 s.pack_into(writable_buf, 0, test_string) 444 from_buf = writable_buf.tostring()[:len(test_string)] 445 self.assertEqual(from_buf, test_string) 448 s.pack_into(writable_buf, 10, test_string) 449 from_buf = writable_buf.tostring()[:len(test_string)+10] 450 self.assertEqual(from_buf, test_string[:10] + test_string) 455 test_string) 457 test_string) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_struct.py | 437 test_string = 'Reykjavik rocks, eow!' 443 s.pack_into(writable_buf, 0, test_string) 444 from_buf = writable_buf.tostring()[:len(test_string)] 445 self.assertEqual(from_buf, test_string) 448 s.pack_into(writable_buf, 10, test_string) 449 from_buf = writable_buf.tostring()[:len(test_string)+10] 450 self.assertEqual(from_buf, test_string[:10] + test_string) 455 test_string) 457 test_string) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_struct.py | 437 test_string = 'Reykjavik rocks, eow!' 443 s.pack_into(writable_buf, 0, test_string) 444 from_buf = writable_buf.tostring()[:len(test_string)] 445 self.assertEqual(from_buf, test_string) 448 s.pack_into(writable_buf, 10, test_string) 449 from_buf = writable_buf.tostring()[:len(test_string)+10] 450 self.assertEqual(from_buf, test_string[:10] + test_string) 455 test_string) 457 test_string) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_struct.py | 437 test_string = 'Reykjavik rocks, eow!' 443 s.pack_into(writable_buf, 0, test_string) 444 from_buf = writable_buf.tostring()[:len(test_string)] 445 self.assertEqual(from_buf, test_string) 448 s.pack_into(writable_buf, 10, test_string) 449 from_buf = writable_buf.tostring()[:len(test_string)+10] 450 self.assertEqual(from_buf, test_string[:10] + test_string) 455 test_string) 457 test_string) [all...] |
/external/libmojo/third_party/jinja2/ |
tests.py | 75 def test_string(value): function 141 'string': test_string,
|
/test/vts/utils/python/coverage/ |
parser_test.py | 193 test_string = "This is a test." 194 self.stream = MockStream.concat_string(self.stream, test_string) 196 self.assertEqual(p.ReadString(), test_string) 203 test_string = "This is a test." 204 byte_count = len(test_string) 207 test_string_padded = test_string + padding
|
/art/runtime/base/unix_file/ |
fd_file_test.cc | 123 const char* test_string = "This is a test string"; local 124 size_t length = strlen(test_string) + 1; 130 EXPECT_TRUE(file.PwriteFully(test_string, length, offset)); 135 EXPECT_STREQ(test_string, &offset_read_string[0]); 138 EXPECT_NE(memcmp(&read_string[0], test_string, length), 0);
|
/external/autotest/client/bin/ |
fsinfo_unittest.py | 102 test_string = '-q -b 1234 -O fdasfa,fdasfdas -l adfas -k -L' 103 result = fsinfo.opt_string2dict(test_string)
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/account/ |
AccountTypeTest.java | 47 final int externalResID = R.string.test_string; 65 final int externalResID = R.string.test_string;
|
/external/clang/test/FixIt/ |
typo.cpp | 5 // RUN: grep test_string %t 42 bool test_string(std::string s) { function
|
/external/selinux/libsemanage/tests/ |
test_utilities.c | 242 const char *test_string = "abaababbaaaba"; local 244 CU_ASSERT_EQUAL(semanage_str_count(test_string, 'z'), 0); 245 CU_ASSERT_EQUAL(semanage_str_count(test_string, 'a'), 8); 246 CU_ASSERT_EQUAL(semanage_str_count(test_string, 'b'), 5);
|
/art/runtime/base/ |
hash_set_test.cc | 68 const std::string test_string = "hello world 1234"; local 71 hash_set.Insert(test_string); 72 auto it = hash_set.Find(test_string); 73 ASSERT_EQ(*it, test_string); 78 it = hash_set.Find(test_string);
|
/external/webrtc/webrtc/base/ |
bitbuffer_unittest.cc | 302 char test_string[] = "my precious"; local 305 for (size_t i = 0; i < arraysize(test_string); ++i) { 306 EXPECT_TRUE(buffer.WriteExponentialGolomb(test_string[i])); 309 for (size_t i = 0; i < arraysize(test_string); ++i) { 313 EXPECT_EQ(test_string[i], static_cast<char>(val));
|
/external/protobuf/python/google/protobuf/internal/ |
text_format_test.py | 794 ' test: "test_string"\n' 804 ' test: "test_string"\n' [all...] |
/prebuilts/go/darwin-x86/src/flag/ |
flag_test.go | 32 String("test_string", "0", "string value") 76 Set("test_string", "1") 102 String("test_string", "5", "string value") 124 case "test_string":
|
/prebuilts/go/linux-x86/src/flag/ |
flag_test.go | 32 String("test_string", "0", "string value") 76 Set("test_string", "1") 102 String("test_string", "5", "string value") 124 case "test_string":
|
/art/runtime/interpreter/ |
unstarted_runtime_test.cc | 368 mirror::String* test_string = mirror::String::AllocFromModifiedUtf8(self, base_string); local 374 tmp->SetVRegReference(0, test_string); 579 constexpr const char* test_string = "-2147483646"; local 595 CHECK_EQ(strlen(test_string), 11U); 598 const char* test_value = &test_string[10 - i]; 627 constexpr const char* test_string = "-2147483646"; local 643 CHECK_EQ(strlen(test_string), 11U); 646 const char* test_value = &test_string[10 - i]; [all...] |
/external/autotest/client/common_lib/ |
control_data_unittest.py | 206 def test_string(self): member in class:SetMethodTests
|
global_config_unittest.py | 117 def test_string(self): member in class:global_config_test
|