Lines Matching refs:flags
56 unsigned long real_gd_flags = gd->flags; in env_get_default()
59 gd->flags &= ~GD_FLG_ENV_READY; in env_get_default()
63 gd->flags = real_gd_flags; in env_get_default()
67 void env_set_default(const char *s, int flags) in env_set_default() argument
75 if ((flags & H_INTERACTIVE) == 0) { in env_set_default()
85 flags |= H_DEFAULT; in env_set_default()
87 sizeof(default_environment), '\0', flags, 0, in env_set_default()
92 gd->flags |= GD_FLG_ENV_READY; in env_set_default()
93 gd->flags |= GD_FLG_ENV_DEFAULT; in env_set_default()
98 int env_set_default_vars(int nvars, char * const vars[], int flags) in env_set_default_vars() argument
104 flags |= H_NOCLEAR | H_DEFAULT; in env_set_default_vars()
107 flags, 0, nvars, vars); in env_set_default_vars()
114 int env_import(const char *buf, int check, int flags) in env_import() argument
129 if (himport_r(&env_htab, (char *)ep->data, ENV_SIZE, '\0', flags, 0, in env_import()
131 gd->flags |= GD_FLG_ENV_READY; in env_import()
184 if (tmp_env1->flags == 255 && tmp_env2->flags == 0) in env_check_redund()
186 else if (tmp_env2->flags == 255 && tmp_env1->flags == 0) in env_check_redund()
188 else if (tmp_env1->flags > tmp_env2->flags) in env_check_redund()
190 else if (tmp_env2->flags > tmp_env1->flags) in env_check_redund()
201 int flags) in env_import_redund() argument
212 return env_import((char *)buf1, 1, flags); in env_import_redund()
214 return env_import((char *)buf2, 1, flags); in env_import_redund()
225 env_flags = ep->flags; in env_import_redund()
227 return env_import((char *)ep, 0, flags); in env_import_redund()
247 env_out->flags = ++env_flags; /* increase the serial */ in env_export()