| /third_party/node/test/js-native-api/test_string/ |
| D | test.js | 6 const test_string = require(`./build/${common.buildType}/test_string`); constant 9 assert.strictEqual(test_string.TestLatin1(empty), empty); 10 assert.strictEqual(test_string.TestUtf8(empty), empty); 11 assert.strictEqual(test_string.TestUtf16(empty), empty); 12 assert.strictEqual(test_string.Utf16Length(empty), 0); 13 assert.strictEqual(test_string.Utf8Length(empty), 0); 16 assert.strictEqual(test_string.TestLatin1(str1), str1); 17 assert.strictEqual(test_string.TestUtf8(str1), str1); 18 assert.strictEqual(test_string.TestUtf16(str1), str1); 19 assert.strictEqual(test_string.TestLatin1Insufficient(str1), str1.slice(0, 3)); [all …]
|
| D | binding.gyp | 4 "target_name": "test_string", 7 "test_string.c"
|
| /third_party/rust/crates/syn/tests/ |
| D | test_lit.rs | 26 fn test_string(s: &str, value: &str) { in strings() function 32 test_string(&again, value); in strings() 39 test_string("\"a\"", "a"); in strings() 40 test_string("\"\\n\"", "\n"); in strings() 41 test_string("\"\\r\"", "\r"); in strings() 42 test_string("\"\\t\"", "\t"); in strings() 43 test_string("\"\"", ""); // NOTE: This is an emoji in strings() 44 test_string("\"\\\"\"", "\""); in strings() 45 test_string("\"'\"", "'"); in strings() 46 test_string("\"\"", ""); in strings() [all …]
|
| /third_party/jerryscript/tests/unit-core/ |
| D | test-api-strings.cpp | 138 JERRY_VLA (char, test_string, utf8_sz); 140 …TEST_ASSERT (jerry_string_to_utf8_char_buffer (args[0], (jerry_char_t *) test_string, utf8_sz) == … 141 …TEST_ASSERT (!strncmp (test_string, "\x73\x74\x72\x3a \xf0\x9d\x94\xa3 \xf0\x9d\x94\xa4", utf8_sz)… 143 …sz = jerry_substring_to_utf8_char_buffer (args[0], 0, utf8_length, (jerry_char_t *) test_string, u… 145 TEST_ASSERT (!strncmp (test_string, "\x73\x74\x72\x3a \xf0\x9d\x94\xa3 \xf0\x9d\x94\xa4", sz)); 147 …substring_to_utf8_char_buffer (args[0], 0, utf8_length + 1, (jerry_char_t *) test_string, utf8_sz); 149 TEST_ASSERT (!strncmp (test_string, "\x73\x74\x72\x3a \xf0\x9d\x94\xa3 \xf0\x9d\x94\xa4", sz)); 151 …sz = jerry_substring_to_utf8_char_buffer (args[0], utf8_length, 0, (jerry_char_t *) test_string, u… 154 …sz = jerry_substring_to_utf8_char_buffer (args[0], 0, utf8_length, (jerry_char_t *) test_string, u… 156 TEST_ASSERT (!strncmp (test_string, "\x73\x74\x72\x3a \xf0\x9d\x94\xa3 ", sz)); [all …]
|
| /third_party/python/Lib/test/ |
| D | test_struct.py | 394 test_string = b'abcd01234' 398 data = cls(test_string) 404 for i in range(6, len(test_string) + 1): 407 data = cls(test_string) 413 for i in range(6, len(test_string) + 1): 417 self.assertEqual(s.unpack_from(buffer=test_string, offset=2), 421 test_string = b'Reykjavik rocks, eow!' 427 s.pack_into(writable_buf, 0, test_string) 428 from_buf = writable_buf.tobytes()[:len(test_string)] 429 self.assertEqual(from_buf, test_string) [all …]
|
| D | test_tokenize.py | 234 def test_string(self): member in TokenizeTest
|
| D | test_reprlib.py | 28 def test_string(self): member in ReprTests
|
| D | test_bool.py | 196 def test_string(self): member in BoolTest
|
| /third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/ |
| D | build.rs | 16 let mut test_string = String::new(); in main() localVariable 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/ |
| 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/node/tools/inspector_protocol/jinja2/ |
| D | tests.py | 80 def test_string(value): function 154 'string': test_string,
|
| /third_party/flatbuffers/grpc/tests/ |
| D | grpctest.py | 24 test_string = "test_string" variable 77 assert m.Testarrayofstring(0).decode("utf-8") == test_string 124 test1 = b.CreateString(test_string)
|
| /third_party/skia/third_party/externals/jinja2/ |
| D | tests.py | 112 def test_string(value): function 191 "string": test_string,
|
| /third_party/jinja2/ |
| D | tests.py | 148 def test_string(value: t.Any) -> bool: function 231 "string": test_string,
|
| /third_party/python/Lib/idlelib/idle_test/ |
| 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/libwebsockets/minimal-examples/mqtt-client/minimal-mqtt-client/ |
| 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/libwebsockets/minimal-examples/mqtt-client/minimal-mqtt-client-multi/ |
| 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/sqlite3/test/ |
| D | factory.py | 241 def test_string(self): member in TextFactoryTests 276 def test_string(self): member in TextFactoryTestsWithEmbeddedZeroBytes
|
| D | types.py | 42 def test_string(self): member in SqliteTypeTests 150 def test_string(self): member in DeclTypesTests
|
| /third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
| D | kate.c | 481 const gchar *test_string = ""; in GST_START_TEST() local 492 inbuffer = gst_buffer_new_memdup (test_string, strlen (test_string) + 1); in GST_START_TEST()
|
| /third_party/openssl/test/ |
| 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/ |
| 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/gstreamer/gstreamer/tests/check/gst/ |
| D | gstcaps.c | 1067 gchar *test_string; in GST_START_TEST() local 1105 test_string = gst_caps_to_string (c1); in GST_START_TEST() 1106 fail_if (test_string == NULL); in GST_START_TEST() 1108 GST_DEBUG ("Serialised caps to %s", test_string); in GST_START_TEST() 1109 c2 = gst_caps_from_string (test_string); in GST_START_TEST() 1110 g_free (test_string); in GST_START_TEST()
|
| /third_party/node/test/js-native-api/test_object/ |
| D | test.js | 34 assert.strictEqual(newObject.test_string, 'test string');
|
| /third_party/rust/crates/quote/tests/ |
| D | test.rs | 226 fn test_string() { in test_string() function
|