Lines Matching refs:userdata
1526 char *userdata = NULL; in video_getSetWindowData() local
1543 userdata = SDL_strdup(referenceUserdata); in video_getSetWindowData()
1544 if (userdata == NULL) { in video_getSetWindowData()
1567 result = (char *)SDL_SetWindowData(window, name, userdata); in video_getSetWindowData()
1568 SDLTest_AssertPass("Call to SDL_SetWindowData(...%s,%s)", name, userdata); in video_getSetWindowData()
1571 …mp(referenceUserdata, userdata) == 0, "Validate that userdata was not changed, expected: %s, got: … in video_getSetWindowData()
1583 result = (char *)SDL_SetWindowData(window, name, userdata); in video_getSetWindowData()
1584 …SDLTest_AssertPass("Call to SDL_SetWindowData(...%s,%s) [iteration %d]", name, userdata, iteration… in video_getSetWindowData()
1587 …mp(referenceUserdata, userdata) == 0, "Validate that userdata was not changed, expected: %s, got: … in video_getSetWindowData()
1601 …mp(referenceUserdata, userdata) == 0, "Validate that userdata was not changed, expected: %s, got: … in video_getSetWindowData()
1609 …mp(referenceUserdata, userdata) == 0, "Validate that userdata was not changed, expected: %s, got: … in video_getSetWindowData()
1623 …mp(referenceUserdata, userdata) == 0, "Validate that userdata was not changed, expected: %s, got: … in video_getSetWindowData()
1631 …mp(referenceUserdata, userdata) == 0, "Validate that userdata was not changed, expected: %s, got: … in video_getSetWindowData()
1647 result = (char *)SDL_SetWindowData(window, name, userdata); in video_getSetWindowData()
1648 SDLTest_AssertPass("Call to SDL_SetWindowData(...%s,%s) [again, after clear]", name, userdata); in video_getSetWindowData()
1651 …mp(referenceUserdata, userdata) == 0, "Validate that userdata was not changed, expected: %s, got: … in video_getSetWindowData()
1664 result = (char *)SDL_SetWindowData(NULL, name, userdata); in video_getSetWindowData()
1670 result = (char *)SDL_SetWindowData(window, NULL, userdata); in video_getSetWindowData()
1676 result = (char *)SDL_SetWindowData(window, "", userdata); in video_getSetWindowData()
1717 SDL_free(userdata); in video_getSetWindowData()