Lines Matching full:userdata
1528 char *userdata;
1545 userdata
1546 if (userdata == NULL) {
1569 result = (char *)SDL_SetWindowData(window, name, userdata);
1570 SDLTest_AssertPass("Call to SDL_SetWindowData(...%s,%s)", name, userdata);
1573 SDLTest_AssertCheck(SDL_strcmp(referenceUserdata, userdata) == 0, "Validate that userdata was not changed, expected: %s, got: %s", referenceUserdata, userdata);
1585 result = (char *)SDL_SetWindowData(window, name, userdata);
1586 SDLTest_AssertPass("Call to SDL_SetWindowData(...%s,%s) [iteration %d]", name, userdata, iteration);
1589 SDLTest_AssertCheck(SDL_strcmp(referenceUserdata, userdata) == 0, "Validate that userdata was not changed, expected: %s, got: %s", referenceUserdata, userdata);
1600 SDLTest_AssertPass("Call to SDL_SetWindowData(...%s,%s) [new userdata]", name, userdata2);
1603 SDLTest_AssertCheck(SDL_strcmp(referenceUserdata, userdata) == 0, "Validate that userdata was not changed, expected: %s, got: %s", referenceUserdata, userdata);
1608 SDLTest_AssertPass("Call to SDL_SetWindowData(...%s,%s) [new userdata again]", name, userdata2);
1611 SDLTest_AssertCheck(SDL_strcmp(referenceUserdata, userdata) == 0, "Validate that userdata was not changed, expected: %s, got: %s", referenceUserdata, userdata);
1622 SDLTest_AssertPass("Call to SDL_SetWindowData(...%s,NULL)", name, userdata);
1625 SDLTest_AssertCheck(SDL_strcmp(referenceUserdata, userdata) == 0, "Validate that userdata was not changed, expected: %s, got: %s", referenceUserdata, userdata);
1630 SDLTest_AssertPass("Call to SDL_SetWindowData(...%s,NULL) [again]", name, userdata);
1633 SDLTest_AssertCheck(SDL_strcmp(referenceUserdata, userdata) == 0, "Validate that userdata was not changed, expected: %s, got: %s", referenceUserdata, userdata);
1649 result = (char *)SDL_SetWindowData(window, name, userdata);
1650 SDLTest_AssertPass("Call to SDL_SetWindowData(...%s,%s) [again, after clear]", name, userdata);
1653 SDLTest_AssertCheck(SDL_strcmp(referenceUserdata, userdata) == 0, "Validate that userdata was not changed, expected: %s, got: %s", referenceUserdata, userdata);
1666 result = (char *)SDL_SetWindowData(NULL, name, userdata);
1671 /* Set data with NULL name, valid userdata */
1672 result = (char *)SDL_SetWindowData(window, NULL, userdata);
1677 /* Set data with empty name, valid userdata */
1678 result = (char *)SDL_SetWindowData(window, "", userdata);
1683 /* Set data with NULL name, NULL userdata */
1685 SDLTest_AssertPass("Call to SDL_SetWindowData(name=NULL,userdata=NULL)");
1689 /* Set data with empty name, NULL userdata */
1691 SDLTest_AssertPass("Call to SDL_SetWindowData(name='',userdata=NULL)");
1719 SDL_free(userdata);