/reactos/modules/rostests/apitests/crt/ |
H A D | strlen.c | 36 char *teststr = "a\0bcdefghijk"; in Test_strlen() local 50 len = pstrlen(teststr + 4); in Test_strlen()
|
/reactos/sdk/lib/3rdparty/stlport/test/unit/ |
H A D | string_test.cpp | 891 string teststr("shortest"); in short_string_optim_bug() local 893 bool short_string_optim_bug_helper(string teststr); in short_string_optim_bug() 895 CPPUNIT_ASSERT(true == short_string_optim_bug_helper(teststr)); in short_string_optim_bug() 898 bool short_string_optim_bug_helper(string teststr) in short_string_optim_bug_helper() argument 900 size_t ss = teststr.size(); in short_string_optim_bug_helper()
|
/reactos/modules/rostests/winetests/msvcrt/ |
H A D | string.c | 1585 char teststr[100]; in test_strtok() local 1587 strcpy( teststr, testcases_strtok[i].string); in test_strtok() 1588 strret = strtok( teststr, testcases_strtok[i].delimiter); in test_strtok() 1589 ok( (int)(strret - teststr) == testcases_strtok[i].exp_offsetret1 || in test_strtok() 1592 teststr, testcases_strtok[i].string, strret); in test_strtok() 1595 ok( (int)(strret - teststr) == testcases_strtok[i].exp_offsetret2 || in test_strtok() 1598 teststr, testcases_strtok[i].string, strret); in test_strtok() 1601 ok( (int)(strret - teststr) == testcases_strtok[i].exp_offsetret3 || in test_strtok() 1604 teststr, testcases_strtok[i].string, strret); in test_strtok()
|
/reactos/modules/rostests/winetests/ws2_32/ |
H A D | sock.c | 2804 char teststr[] = "TEST", buffer[16]; in test_WSADuplicateSocket() local 2899 size = sendto(source, teststr, sizeof(teststr), 0, (struct sockaddr *) &addr, addrsize); in test_WSADuplicateSocket() 2900 ok(size == sizeof(teststr), "got %d (err %d)\n", size, WSAGetLastError()); in test_WSADuplicateSocket() 2907 buffer[sizeof(teststr) - 1] = 0; in test_WSADuplicateSocket() 2908 ok(!strcmp(buffer, teststr), "expected '%s', received '%s'\n", teststr, buffer); in test_WSADuplicateSocket() 2941 size = sendto(source, teststr, sizeof(teststr), 0, (struct sockaddr *) &addr, addrsize); in test_WSADuplicateSocket() 6697 char teststr[12] = "hello world", buffer[32]; in test_WSASendMsg() local 6724 iovec[0].buf = teststr; in test_WSASendMsg() 6725 iovec[0].len = sizeof(teststr); in test_WSASendMsg() 6726 iovec[1].buf = teststr; in test_WSASendMsg() [all …]
|
/reactos/modules/rostests/winetests/usp10/ |
H A D | usp10.c | 3172 WCHAR teststr[] = {'T','e','s','t','1',' ','a','2','b','3', '\0'}; in test_ScriptString() local 3173 int len = ARRAY_SIZE(teststr) - 1; in test_ScriptString() 3177 static const int Dx[ARRAY_SIZE(teststr) - 1]; in test_ScriptString() 3178 static const BYTE InClass[ARRAY_SIZE(teststr) - 1]; in test_ScriptString() 3193 hr = ScriptStringAnalyse(NULL, teststr, len, Glyphs, -1, in test_ScriptString() 3198 hr = ScriptStringAnalyse(hdc, teststr, 0, Glyphs, -1, in test_ScriptString() 3203 hr = ScriptStringAnalyse(hdc, teststr, len, Glyphs, -1, in test_ScriptString() 3209 hr = ScriptStringAnalyse(hdc, teststr, len, Glyphs, -1, in test_ScriptString()
|
/reactos/modules/rostests/winetests/kernel32/ |
H A D | path.c | 238 static void test_LongtoShortA(CHAR *teststr,const CHAR *goodstr, in test_LongtoShortA() argument 242 test_SplitShortPathA(teststr,dir,eight,three); in test_LongtoShortA()
|
/reactos/modules/rostests/winetests/xmllite/ |
H A D | reader.c | 1068 static const char *teststr = "<a>text<!-- comment --></a>"; in test_read_comment() local 1085 set_input_string(reader, teststr); in test_read_comment()
|
/reactos/modules/rostests/winetests/gdi32/ |
H A D | font.c | 6764 static const char *teststr = "wine "; in test_GetCharWidthI() local 6784 len = strlen(teststr); in test_GetCharWidthI() 6785 nb = GetGlyphIndicesA(hdc, teststr, len, glyphs, 0); in test_GetCharWidthI()
|