Lines Matching refs:optslen
594 size_t optslen = 0; in options_from_array() local
612 tmp = realloc(opts, optslen + len + qlen + 2); in options_from_array()
621 if (optslen > 0) { in options_from_array()
622 opts[optslen] = ' '; in options_from_array()
623 optslen++; in options_from_array()
626 memcpy(opts + optslen, args[i], len + 1); in options_from_array()
627 optslen += len; in options_from_array()
631 memcpy(opts + optslen, args[i], keylen); in options_from_array()
632 optslen += keylen; in options_from_array()
633 opts[optslen] = '"'; in options_from_array()
634 optslen++; in options_from_array()
635 memcpy(opts + optslen, value, valuelen); in options_from_array()
636 optslen += valuelen; in options_from_array()
637 opts[optslen] = '"'; in options_from_array()
638 optslen++; in options_from_array()
639 opts[optslen] = '\0'; in options_from_array()