Lines Matching refs:out_pos
1566 unsigned int out_pos = 0;
1578 input = expand_variable(buffer, length, &out_pos, ++input, get_variable_func, info);
1592 if (len + out_pos >= length)
1594 memcpy(buffer + out_pos, env, len + 1);
1595 out_pos += len;
1611 if (len + out_pos >= length)
1613 memcpy(buffer + out_pos, pwent->pw_dir, len + 1);
1614 out_pos += len;
1619 if (out_pos >= length)
1621 buffer[out_pos++] = ch;
1623 memcpy(output, buffer, out_pos);
1640 unsigned int *out_pos, const char *input,
1647 <out_pos> The current output position. This is updated.
1668 if (len + *out_pos >= length)
1671 memcpy(buffer + *out_pos, tmp, len + 1);
1672 out_pos += len;
1691 if (len + *out_pos >= length)
1694 memcpy(buffer + *out_pos, env, len + 1);
1695 *out_pos += len;
1709 ptr = expand_variable(buffer, length, out_pos, tmp, func, info);
1751 if (len + *out_pos >= length)
1754 memcpy(buffer + *out_pos, env, len + 1);
1755 *out_pos += len;
1770 if (len + *out_pos >= length)
1773 memcpy(buffer + *out_pos, tmp, len + 1);
1774 *out_pos += len;