Home
last modified time | relevance | path

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

/system/core/init/
Dinit.cpp81 static const char *ENV[32]; variable
124 for (n = 0; n < (ARRAY_SIZE(ENV) - 1); n++) { in add_environment()
127 if (ENV[n] != NULL) { in add_environment()
128 size_t entry_key_len = strcspn(ENV[n], "="); in add_environment()
129 if ((entry_key_len == key_len) && (strncmp(ENV[n], key, entry_key_len) == 0)) { in add_environment()
130 free((char*)ENV[n]); in add_environment()
131 ENV[n] = NULL; in add_environment()
136 if (ENV[n] == NULL) { in add_environment()
139 ENV[n] = entry; in add_environment()
321 for (size_t n = 0; ENV[n]; n++) { in service_start()
[all …]