Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/tools/env/
H A Dfw_env_main.c56 static struct env_opts env_opts; variable
127 env_opts.config_file = CONFIG_FILE; in parse_common_args()
134 if (parse_aes_key(optarg, env_opts.aes_key)) { in parse_common_args()
138 env_opts.aes_flag = 1; in parse_common_args()
142 env_opts.config_file = optarg; in parse_common_args()
146 env_opts.lockname = optarg; in parse_common_args()
255 if (env_opts.lockname) { in main()
256 lockname = malloc(sizeof(env_opts.lockname) + in main()
264 env_opts.lockname, CMD_PRINTENV); in main()
280 if (fw_printenv(argc, argv, noheader, &env_opts) != 0) in main()
[all …]
H A Dfw_env.h18 struct env_opts { struct
44 int fw_printenv(int argc, char *argv[], int value_only, struct env_opts *opts); argument
64 int fw_env_set(int argc, char *argv[], struct env_opts *opts);
101 int fw_parse_script(char *fname, struct env_opts *opts);
112 int fw_env_open(struct env_opts *opts);
148 int fw_env_flush(struct env_opts *opts);
158 int fw_env_close(struct env_opts *opts);
H A Dfw_env.c40 struct env_opts default_opts = {
126 static int parse_config(struct env_opts *opts);
252 int fw_printenv(int argc, char *argv[], int value_only, struct env_opts *opts) in fw_printenv()
309 int fw_env_flush(struct env_opts *opts) in fw_env_flush()
471 int fw_env_set(int argc, char *argv[], struct env_opts *opts) in fw_env_set()
553 int fw_parse_script(char *fname, struct env_opts *opts) in fw_parse_script()
1132 int fw_env_open(struct env_opts *opts) in fw_env_open()
1337 int fw_env_close(struct env_opts *opts) in fw_env_close()
1435 static int parse_config(struct env_opts *opts) in parse_config()
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dsox.c206 char const * env_opts = getenv(SOX_OPTS); in cleanup() local
207 if (env_opts && *env_opts) in cleanup()
208 lsx_report("used "SOX_OPTS"=%s", env_opts); in cleanup()
2607 char const * env_opts = getenv(SOX_OPTS); in parse_options_and_filenames() local
2614 if (env_opts && *env_opts) { in parse_options_and_filenames()
2615 char * * argv2, * str = lsx_malloc(strlen(argv[0]) + strlen(env_opts) + 2); in parse_options_and_filenames()
2619 strcat(str, env_opts); in parse_options_and_filenames()
2654 if (env_opts && *env_opts) { in parse_options_and_filenames()
2655 lsx_report("using "SOX_OPTS"=%s", env_opts); in parse_options_and_filenames()