/third_party/pulseaudio/src/pulsecore/ |
H A D | message-handler.c | 36 static bool object_path_is_valid(const char *test_string) { in object_path_is_valid() argument 39 if (!test_string) in object_path_is_valid() 43 if (test_string[0] != '/') in object_path_is_valid() 46 for (i = 0; test_string[i]; i++) { in object_path_is_valid() 48 if ((test_string[i] >= 'a' && test_string[i] <= 'z') || in object_path_is_valid() 49 (test_string[i] >= 'A' && test_string[i] <= 'Z') || in object_path_is_valid() 50 (test_string[i] >= '0' && test_string[ in object_path_is_valid() [all...] |
/third_party/rust/crates/syn/tests/ |
H A D | test_lit.rs | 29 fn test_string(s: &str, value: &str) { in strings() functions 35 test_string(&again, value); in strings() 42 test_string("\"a\"", "a"); in strings() 43 test_string("\"\\n\"", "\n"); in strings() 44 test_string("\"\\r\"", "\r"); in strings() 45 test_string("\"\\t\"", "\t"); in strings() 46 test_string("\"?\"", "?"); // NOTE: This is an emoji in strings() 47 test_string("\"\\\"\"", "\""); in strings() 48 test_string("\"'\"", "'"); in strings() 49 test_string("\"\"", ""); in strings() [all...] |
/third_party/jerryscript/tests/unit-core/ |
H A D | test-api-strings.cpp | 138 JERRY_VLA (char, test_string, utf8_sz); in HWTEST_F() 140 TEST_ASSERT (jerry_string_to_utf8_char_buffer (args[0], (jerry_char_t *) test_string, utf8_sz) == 14); in HWTEST_F() 141 TEST_ASSERT (!strncmp (test_string, "\x73\x74\x72\x3a \xf0\x9d\x94\xa3 \xf0\x9d\x94\xa4", utf8_sz)); in HWTEST_F() 143 sz = jerry_substring_to_utf8_char_buffer (args[0], 0, utf8_length, (jerry_char_t *) test_string, utf8_sz); in HWTEST_F() 145 TEST_ASSERT (!strncmp (test_string, "\x73\x74\x72\x3a \xf0\x9d\x94\xa3 \xf0\x9d\x94\xa4", sz)); in HWTEST_F() 147 sz = jerry_substring_to_utf8_char_buffer (args[0], 0, utf8_length + 1, (jerry_char_t *) test_string, utf8_sz); in HWTEST_F() 149 TEST_ASSERT (!strncmp (test_string, "\x73\x74\x72\x3a \xf0\x9d\x94\xa3 \xf0\x9d\x94\xa4", sz)); in HWTEST_F() 151 sz = jerry_substring_to_utf8_char_buffer (args[0], utf8_length, 0, (jerry_char_t *) test_string, utf8_sz); in HWTEST_F() 154 sz = jerry_substring_to_utf8_char_buffer (args[0], 0, utf8_length, (jerry_char_t *) test_string, utf8_sz - 1); in HWTEST_F() 156 TEST_ASSERT (!strncmp (test_string, "\x7 in HWTEST_F() [all...] |
/third_party/python/Lib/test/ |
H A D | test_struct.py | 397 test_string = b'abcd01234' 401 data = cls(test_string) 407 for i in range(6, len(test_string) + 1): 410 data = cls(test_string) 416 for i in range(6, len(test_string) + 1): 420 self.assertEqual(s.unpack_from(buffer=test_string, offset=2), 424 test_string = b'Reykjavik rocks, eow!' 430 s.pack_into(writable_buf, 0, test_string) 431 from_buf = writable_buf.tobytes()[:len(test_string)] 432 self.assertEqual(from_buf, test_string) [all...] |
H A D | test_reprlib.py | 28 def test_string(self): member in ReprTests
|
H A D | test_bool.py | 202 def test_string(self): member in BoolTest
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/ |
H A D | build.rs | 16 let mut test_string = String::new(); in main() variables 47 test_string.push_str(&format!( in main() 61 test_file.write_all(test_string.as_bytes()).unwrap(); in main()
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_struct_sqlite/ |
H A D | main.c | 50 static const char *test_string = variable 112 ts.str2 = test_string; in main() 169 strcmp(pts->str2, test_string) || in main()
|
/third_party/vixl/test/ |
H A D | test-code-buffer.cc | 105 const char* test_string = "test string"; in TEST() local 112 buffer.EmitString(test_string); in TEST() 113 expected_size += strlen(test_string) + 1; // EmitString() emits the '\0'. in TEST()
|
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | tests.py | 77 def test_string(value): function 151 'string': test_string,
|
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | tests.py | 112 def test_string(value): function 191 "string": test_string,
|
/third_party/skia/third_party/externals/jinja2/ |
H A D | tests.py | 112 def test_string(value): function 191 "string": test_string,
|
/third_party/jinja2/ |
H A D | tests.py | 148 def test_string(value: t.Any) -> bool: function 231 "string": test_string,
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_format.py | 195 test_string = ( 198 result = ft.reformat_comment(test_string, 70, " ") 252 test_string = ( variable in FormatEventTest 298 text.insert('1.0', self.test_string) 310 text.insert('1.0', self.test_string)
|
/third_party/node/test/js-native-api/test_string/ |
H A D | test_null.js | 6 const { testNull } = require(`./build/${common.buildType}/test_string`);
|
/third_party/libwebsockets/minimal-examples/mqtt-client/minimal-mqtt-client/ |
H A D | minimal-mqtt-client.c | 69 static const char * const test_string = variable 229 test_string + pss->pos, (uint32_t)chunk, in callback_mqtt()
|
/third_party/mbedtls/tests/scripts/ |
H A D | analyze_outcomes.py | 141 (full_test_suite, test_string) = suite_case.split(';') 154 if name_matches_pattern(test_string, str_or_re):
|
/third_party/libwebsockets/minimal-examples/mqtt-client/minimal-mqtt-client-multi/ |
H A D | minimal-mqtt-client-multi.c | 79 static const char * const test_string = variable 291 test_string + pss->pos, (uint32_t)chunk, in callback_mqtt()
|
/third_party/python/Lib/test/test_sqlite3/ |
H A D | test_factory.py | 271 def test_string(self): member in TextFactoryTests 306 def test_string(self): member in TextFactoryTestsWithEmbeddedZeroBytes
|
H A D | test_types.py | 45 def test_string(self): member in SqliteTypeTests 198 def test_string(self): member in DeclTypesTests
|
/third_party/vixl/test/aarch32/ |
H A D | test-assembler-aarch32.cc | 1178 std::string test_string(string_size, 'x'); in TEST() 1179 StringLiteral big_literal(test_string.c_str()); in TEST() 1227 std::string test_string(string_size, 'x'); in TEST() 1228 StringLiteral big_literal(test_string.c_str()); in TEST() 1279 std::string test_string(string_size, 'x'); in EmitReusedLoadLiteralStressTest() 1280 StringLiteral big_literal(test_string.c_str()); in EmitReusedLoadLiteralStressTest() 1522 std::string test_string(string_size, 'x'); in TEST() 1523 StringLiteral big_literal(test_string.c_str()); in TEST() 1566 std::string test_string(string_size, 'x'); in TEST() 1567 StringLiteral big_literal(test_string in TEST() [all...] |
/third_party/openssl/test/ |
H A D | test_test.c | 256 static int test_string(void) in test_string() function 565 ADD_TEST(test_string); in setup_tests()
|
/third_party/protobuf/src/google/protobuf/ |
H A D | arena_unittest.cc | 1096 std::string test_string = "hello world"; in FillArenaAwareFields() local 1098 message->set_optional_string(test_string); in FillArenaAwareFields() 1099 message->set_optional_bytes(test_string); in FillArenaAwareFields() 1104 message->set_oneof_string(test_string); in FillArenaAwareFields() 1105 message->set_oneof_bytes(test_string); in FillArenaAwareFields()
|
/third_party/node/test/js-native-api/test_object/ |
H A D | test.js | 34 assert.strictEqual(newObject.test_string, 'test string');
|
/third_party/rust/crates/quote/tests/ |
H A D | test.rs | 229 fn test_string() { in test_string() functions
|