Lines Matching refs:optslen
630 size_t optslen = 0; in options_from_array() local
648 tmp = realloc(opts, optslen + len + qlen + 2); in options_from_array()
657 if (optslen > 0) { in options_from_array()
658 opts[optslen] = ' '; in options_from_array()
659 optslen++; in options_from_array()
662 memcpy(opts + optslen, args[i], len + 1); in options_from_array()
663 optslen += len; in options_from_array()
667 memcpy(opts + optslen, args[i], keylen); in options_from_array()
668 optslen += keylen; in options_from_array()
669 opts[optslen] = '"'; in options_from_array()
670 optslen++; in options_from_array()
671 memcpy(opts + optslen, value, valuelen); in options_from_array()
672 optslen += valuelen; in options_from_array()
673 opts[optslen] = '"'; in options_from_array()
674 optslen++; in options_from_array()
675 opts[optslen] = '\0'; in options_from_array()