Lines Matching refs:nn
50 int nn; in skin_key_command_from_str() local
53 for (nn = 0; nn < SKIN_KEY_COMMAND_MAX; nn++) { in skin_key_command_from_str()
54 const char* cmd = command_strings[nn]; in skin_key_command_from_str()
57 return (SkinKeyCommand) nn; in skin_key_command_from_str()
227 int nn; in skin_key_symmod_to_str() local
247 for (nn = 0; keysym_names[nn]._sym != 0; nn++) { in skin_key_symmod_to_str()
248 if (keysym_names[nn]._sym == sym) { in skin_key_symmod_to_str()
249 p = bufprint(p, end, "%s", keysym_names[nn]._str); in skin_key_symmod_to_str()
268 int nn; in skin_key_symmod_from_str() local
290 for (nn = 0; mods[nn].prefix != NULL; nn++) { in skin_key_symmod_from_str()
291 const char* prefix = mods[nn].prefix; in skin_key_symmod_from_str()
297 mod |= mods[nn].mod; in skin_key_symmod_from_str()
305 for (nn = 0; keysym_names[nn]._sym; nn++) { in skin_key_symmod_from_str()
307 if ( !stricmp(str, keysym_names[nn]._str) ) in skin_key_symmod_from_str()
309 if ( !strcasecmp(str, keysym_names[nn]._str) ) in skin_key_symmod_from_str()
312 *psym = keysym_names[nn]._sym; in skin_key_symmod_from_str()