Searched refs:np (Results 1 – 2 of 2) sorted by relevance
51 const char *np; in __findenv() local57 for (np = name, i = len; i && *cp; i--) in __findenv()58 if (*cp++ != *np++) in __findenv()76 const char *np; in getenv() local78 for (np = name; *np && *np != '='; ++np) in getenv()80 return (__findenv(name, (int)(np - name), &offset)); in getenv()
93 const char *np; in setenv() local100 for (np = name; *np && *np != '='; ++np) in setenv()102 if (*np) { in setenv()108 if ((C = __findenv(name, (int)(np - name), &offset)) != NULL) { in setenv()120 while (__findenv(name, (int)(np - name), &tmpoff)) { in setenv()141 malloc((size_t)((int)(np - name) + l_value + 2)))) in setenv()159 const char *np; in unsetenv() local166 for (np = name; *np && *np != '='; ++np) in unsetenv()168 if (*np) { in unsetenv()174 while (__findenv(name, (int)(np - name), &offset)) { in unsetenv()