Lines Matching refs:offset
48 * Starts searching within the environmental array at offset.
49 * Sets offset to be the offset of the name/value combination in the
56 __findenv(const char *name, int len, int *offset)
65 for (p = environ + *offset; (cp = *p) != NULL; ++p) {
70 *offset = p - environ;
88 int offset = 0;
97 if (__findenv(str, (int)(cp - str), &offset) != NULL) {
98 environ[offset++] = str;
100 while (__findenv(str, (int)(cp - str), &offset)) {
101 for (P = &environ[offset];; ++P)
136 int l_value, offset = 0;
148 if ((C = __findenv(name, (int)(np - name), &offset)) != NULL) {
149 int tmpoff = offset + 1;
177 offset = cnt;
180 if (!(environ[offset] = /* name + `=' + value */
183 for (C = environ[offset]; (*C = *name++) && *C != '='; ++C)
202 int offset = 0;
216 while (__findenv(name, (int)(np - name), &offset)) {
217 for (P = &environ[offset];; ++P)