Home
last modified time | relevance | path

Searched refs:envz (Results 1 – 11 of 11) sorted by relevance

/picolibc-3.7.0-3.6.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);
DCMakeLists.txt55 envz.h
Dmeson.build55 'envz.h',
/picolibc-3.7.0-3.6.0/newlib/libc/argz/
Denvz_strip.c15 envz_strip (char **envz, 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()
39 *envz = (char *)realloc(*envz, *envz_len); in envz_strip()
Denvz_remove.c15 envz_remove (char **envz, 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()
Denvz_add.c15 envz_add (char **envz, 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.c16 envz_merge (char **envz, in envz_merge() argument
39 if(!envz_entry(*envz, *envz_len, name_str)) in envz_merge()
41 retval = argz_add(envz, envz_len, entry); in envz_merge()
61 retval = envz_add(envz, envz_len, name_str, val_str); in envz_merge()
Denvz_entry.c16 envz_entry (const char *envz, in envz_entry() argument
20 char *buf_ptr = (char *)envz; in envz_entry()
34 while(*buf_ptr != '\0' && buf_ptr != envz) buf_ptr--; in envz_entry()
Denvz_get.c16 envz_get (const char *envz, in envz_get() argument
20 char *buf_ptr = (char *)envz; in envz_get()
/picolibc-3.7.0-3.6.0/
DCOPYING.picolibc3340 newlib/libc/include/envz.h
/picolibc-3.7.0-3.6.0/newlib/
DChangeLog-201517849 * libc/include/envz.h: New file.