/external/v8/test/mjsunit/ |
string-replace-one-char.js | 32 function test_replace(result, expected, search, replace) { function 37 test_replace(prefix1024 + "abcdefghijklmnopqrstuvwxyz", 41 test_replace(prefix1024 + "abcdefghijklmnopqrstuvwxyz\u1234", 45 test_replace(prefix1024 + "abcdefghijklmnopqrstuvwxyz", 49 test_replace(prefix1024 + "abcdefghijklmnopqrstuvwxyz\u1234", 54 test_replace(prefix1024 + "abcdefghijklmnopqrstuvwxyz", 58 test_replace(prefix1024 + "abcdefghijklmnopq\u1234stuvwxyz", 64 test_replace(not_found_1, not_found_1, "+", "-"); 67 test_replace(not_found_2, not_found_2, "+", "---"); 70 test_replace(not_found_3, not_found_3, "\u1234", "ZZZ") [all...] |
/external/bluetooth/glib/tests/ |
regex-test.c | 1150 test_replace (const gchar *pattern, function 1179 #define TEST_REPLACE(pattern, string, start_position, replacement, expected) { \ 1181 if (test_replace (pattern, string, start_position, replacement, expected)) \ [all...] |
/external/bluetooth/glib/gio/tests/ |
live-g-file.c | 49 TEST_REPLACE = 1 << 13, 76 {"dir1", NULL, G_FILE_TYPE_DIRECTORY, G_FILE_CREATE_NONE, 0, 0, TEST_DELETE_NORMAL | TEST_DELETE_NON_EMPTY | TEST_REPLACE | TEST_OPEN}, 85 {"executable_file", NULL, G_FILE_TYPE_REGULAR, G_FILE_CREATE_NONE, S_IRWXU + S_IRWXG + S_IRWXO, 0, TEST_DELETE_TRASH | TEST_COPY | TEST_OPEN | TEST_OVERWRITE | TEST_REPLACE}, 87 {"normal_file2", NULL, G_FILE_TYPE_REGULAR, G_FILE_CREATE_NONE, 0, 0, TEST_COPY | TEST_OVERWRITE | TEST_REPLACE}, 97 {"not_exists3", NULL, G_FILE_TYPE_REGULAR, G_FILE_CREATE_NONE, 0, TEST_HANDLE_SPECIAL, TEST_NOT_EXISTS | TEST_REPLACE}, 819 ((item.extra_flags & TEST_REPLACE) == TEST_REPLACE) || 831 else if ((item.extra_flags & TEST_REPLACE) == TEST_REPLACE) [all...] |