Home
last modified time | relevance | path

Searched refs:envz_len (Results 1 – 7 of 7) sorted by relevance

/picolibc-3.5.0-3.4.0/newlib/libc/include/
Denvz.h11 char * envz_entry (const char *envz, size_t envz_len, const char *name);
12 char * envz_get (const char *envz, size_t envz_len, const char *name);
13 error_t envz_add (char **envz, size_t *envz_len, const char *name, const char *value);
14 error_t envz_merge (char **envz, size_t *envz_len, const char *envz2, size_t envz2_len, int overrid…
15 void envz_remove(char **envz, size_t *envz_len, const char *name);
16 void envz_strip (char **envz, size_t *envz_len);
/picolibc-3.5.0-3.4.0/newlib/libc/argz/
Denvz_remove.c16 size_t *envz_len, in envz_remove() argument
21 entry = envz_entry (*envz, *envz_len, name); in envz_remove()
28 if (*envz + *envz_len != entry + len - 1) in envz_remove()
30 memmove(entry, entry + len, *envz + *envz_len - entry - len); in envz_remove()
33 *envz = (char *)realloc(*envz, *envz_len - len); in envz_remove()
34 *envz_len -= len; in envz_remove()
Denvz_strip.c16 size_t *envz_len) in envz_strip() argument
22 while((entry = argz_next(*envz, *envz_len, entry))) in envz_strip()
30 if(*envz + *envz_len != entry + len - 1) in envz_strip()
32 memmove(entry, entry + len, *envz + *envz_len - entry - len); in envz_strip()
34 *envz_len -= len; in envz_strip()
39 *envz = (char *)realloc(*envz, *envz_len); in envz_strip()
Denvz_add.c16 size_t *envz_len, in envz_add() argument
25 envz_remove(envz, envz_len, name); in envz_add()
38 retval = argz_add(envz, envz_len, concat); in envz_add()
43 retval = argz_add(envz, envz_len, name); in envz_add()
Denvz_merge.c17 size_t *envz_len, in envz_merge() argument
37 if(!envz_entry(*envz, *envz_len, name_str)) in envz_merge()
39 retval = argz_add(envz, envz_len, entry); in envz_merge()
57 retval = envz_add(envz, envz_len, name_str, val_str); in envz_merge()
Denvz_get.c17 size_t envz_len, in envz_get() argument
21 size_t buf_len = envz_len; in envz_get()
Denvz_entry.c17 size_t envz_len, in envz_entry() argument
21 size_t buf_len = envz_len; in envz_entry()