Home
last modified time | relevance | path

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

/system/core/init/
Dinit.c94 static const char *ENV[32]; variable
103 for (n = 0; n < (ARRAY_SIZE(ENV) - 1); n++) { in add_environment()
106 if (ENV[n] != NULL) { in add_environment()
107 size_t entry_key_len = strcspn(ENV[n], "="); in add_environment()
108 if ((entry_key_len == key_len) && (strncmp(ENV[n], key, entry_key_len) == 0)) { in add_environment()
109 free((char*)ENV[n]); in add_environment()
110 ENV[n] = NULL; in add_environment()
115 if (ENV[n] == NULL) { in add_environment()
119 ENV[n] = entry; in add_environment()
301 for (n = 0; ENV[n]; n++) { in service_start()
[all …]