Lines Matching refs:strlen
162 strcpy(le, defstr); le += strlen(le); in singleOptionDefaultValue()
187 strcpy(le, "null"); le += strlen(le); in singleOptionDefaultValue()
191 strncpy(le, s, slen); le[slen] = '\0'; le += strlen(le); in singleOptionDefaultValue()
192 if (slen < strlen(s)) { in singleOptionDefaultValue()
193 strcpy(le, "..."); le += strlen(le); in singleOptionDefaultValue()
235 if (opt->longName) nb += strlen(opt->longName); in singleOptionHelp()
236 if (argDescrip) nb += strlen(argDescrip); in singleOptionHelp()
257 char * le = left + strlen(left); in singleOptionHelp()
267 char * t = malloc((help ? strlen(help) : 0) + in singleOptionHelp()
268 strlen(defs) + sizeof(" ")); in singleOptionHelp()
273 strcpy(te, help); te += strlen(te); in singleOptionHelp()
326 strcpy(le, argDescrip); le += strlen(le); in singleOptionHelp()
336 lelen = strlen(le); in singleOptionHelp()
346 n = mbsrtowcs (NULL, &scopy, strlen(scopy), &t); in singleOptionHelp()
373 helpLength = strlen(help); in singleOptionHelp()
391 helpLength = strlen(help); in singleOptionHelp()
431 len += strlen(opt->longName); in maxArgWidth()
447 n = mbsrtowcs (NULL, &scopy, strlen(scopy), &t); in maxArgWidth()
452 len += sizeof("=")-1 + strlen(s); in maxArgWidth()
558 len += strlen(fn) + 1; in showHelpIntro()
599 len += strlen(opt->longName); in singleOptionUsage()
605 len += strlen(opt->longName); in singleOptionUsage()
623 n = mbsrtowcs (NULL, &scopy, strlen(scopy), &t); in singleOptionUsage()
628 len += sizeof("=")-1 + strlen(argDescrip); in singleOptionUsage()
770 s[strlen(s)] = opt->shortName; in showShortOptions()
780 len = strlen(s) + sizeof(" [-]")-1; in showShortOptions()
807 cursor += strlen(con->otherHelp) + 1; in poptPrintUsage()