Searched refs:pSecondComma (Results 1 – 1 of 1) sorted by relevance
797 const char *pFirstComma, *pSecondComma; in SDL_PrivateGetControllerNameFromMappingString() local804 pSecondComma = SDL_strchr(pFirstComma + 1, ','); in SDL_PrivateGetControllerNameFromMappingString()805 if (!pSecondComma) in SDL_PrivateGetControllerNameFromMappingString()808 pchName = SDL_malloc(pSecondComma - pFirstComma); in SDL_PrivateGetControllerNameFromMappingString()813 SDL_memcpy(pchName, pFirstComma + 1, pSecondComma - pFirstComma); in SDL_PrivateGetControllerNameFromMappingString()814 pchName[pSecondComma - pFirstComma - 1] = 0; in SDL_PrivateGetControllerNameFromMappingString()824 const char *pFirstComma, *pSecondComma; in SDL_PrivateGetControllerMappingFromMappingString() local830 pSecondComma = SDL_strchr(pFirstComma + 1, ','); in SDL_PrivateGetControllerMappingFromMappingString()831 if (!pSecondComma) in SDL_PrivateGetControllerMappingFromMappingString()834 return SDL_strdup(pSecondComma + 1); /* mapping is everything after the 3rd comma */ in SDL_PrivateGetControllerMappingFromMappingString()
Completed in 6 milliseconds