Home
last modified time | relevance | path

Searched refs:optLongName (Results 1 – 1 of 1) sorted by relevance

/third_party/popt/src/
Dpopt.c298 const char * optLongName = opt->longName; in longOptionStrcmp() local
301 if (optLongName == NULL || longName == NULL) /* XXX can't heppen */ in longOptionStrcmp()
305 if (optLongName[0] == 'n' && optLongName[1] == 'o') { in longOptionStrcmp()
306 optLongName += sizeof("no") - 1; in longOptionStrcmp()
307 if (optLongName[0] == '-') in longOptionStrcmp()
308 optLongName++; in longOptionStrcmp()
319 rc = (int)(strlen(optLongName) == longNameLen); in longOptionStrcmp()
321 rc = (int)(strncmp(optLongName, longName, longNameLen) == 0); in longOptionStrcmp()