Lines Matching defs:namelen
89 const size_t namelen = strlen (name);
98 if (!strncmp (*ep, name, namelen) && (*ep)[namelen] == '=')
120 new_environ[size] = (char *) malloc (namelen + 1 + vallen);
133 memcpy (new_environ[size], name, namelen);
134 new_environ[size][namelen] = '=';
135 memcpy (&new_environ[size][namelen + 1], value, vallen);
144 if (len + 1 < namelen + 1 + vallen)
147 char *new_string = (char *) malloc (namelen + 1 + vallen);
155 memcpy (*ep, name, namelen);
156 (*ep)[namelen] = '=';
157 memcpy (&(*ep)[namelen + 1], value, vallen);