Lines Matching refs:optslen
624 size_t optslen = 0; in options_from_array() local
642 tmp = realloc(opts, optslen + len + qlen + 2); in options_from_array()
651 if (optslen > 0) { in options_from_array()
652 opts[optslen] = ' '; in options_from_array()
653 optslen++; in options_from_array()
656 memcpy(opts + optslen, args[i], len + 1); in options_from_array()
657 optslen += len; in options_from_array()
661 memcpy(opts + optslen, args[i], keylen); in options_from_array()
662 optslen += keylen; in options_from_array()
663 opts[optslen] = '"'; in options_from_array()
664 optslen++; in options_from_array()
665 memcpy(opts + optslen, value, valuelen); in options_from_array()
666 optslen += valuelen; in options_from_array()
667 opts[optslen] = '"'; in options_from_array()
668 optslen++; in options_from_array()
669 opts[optslen] = '\0'; in options_from_array()