Searched refs:resultstrlen (Results 1 – 2 of 2) sorted by relevance
43 int resultstrlen, resultlen, exitcode; in bootadm_digest() local72 resultstrlen = 2 * resultlen + 1; /* Two hex chars per byte. */ in bootadm_digest()73 if ((resultstr = malloc(resultstrlen)) == NULL) { in bootadm_digest()79 tohexstr(resultbuf, resultlen, resultstr, resultstrlen); in bootadm_digest()
378 int resultstrlen; /* result string length */ in execute_cmd() local705 resultstrlen = RESULTLEN; in execute_cmd()706 if ((resultstr = malloc(resultstrlen)) == NULL) { in execute_cmd()757 resultstrlen = 2 * resultlen + 1; in execute_cmd()758 resultstr = realloc(resultstr, resultstrlen); in execute_cmd()770 tohexstr(resultbuf, resultlen, resultstr, resultstrlen); in execute_cmd()