Home
last modified time | relevance | path

Searched refs:config_file (Results 1 – 25 of 96) sorted by relevance

1234

/external/python/google-auth-library-python/tests/
Dtest__default.py284 config_file = tmpdir.join("config.json")
285 config_file.write(json.dumps(IDENTITY_POOL_DATA))
286 credentials, project_id = _default.load_credentials_from_file(str(config_file))
296 config_file = tmpdir.join("config.json")
297 config_file.write(json.dumps(AWS_DATA))
298 credentials, project_id = _default.load_credentials_from_file(str(config_file))
310 config_file = tmpdir.join("config.json")
311 config_file.write(json.dumps(IMPERSONATED_IDENTITY_POOL_DATA))
312 credentials, project_id = _default.load_credentials_from_file(str(config_file))
326 config_file = tmpdir.join("config.json")
[all …]
/external/minijail/
Dconfig_parser_unittest.cc63 ScopedFILE config_file(write_to_pipe(config)); in TEST_F() local
64 ASSERT_NE(config_file.get(), nullptr); in TEST_F()
66 bool res = parse_config_file(config_file.get(), list_); in TEST_F()
76 ScopedFILE config_file(write_to_pipe(config)); in TEST_F() local
77 ASSERT_NE(config_file.get(), nullptr); in TEST_F()
79 bool res = parse_config_file(config_file.get(), list_); in TEST_F()
93 ScopedFILE config_file(write_to_pipe(config)); in TEST_F() local
94 ASSERT_NE(config_file.get(), nullptr); in TEST_F()
96 bool res = parse_config_file(config_file.get(), list_); in TEST_F()
119 ScopedFILE config_file(write_to_pipe(config)); in TEST_F() local
[all …]
Dconfig_parser.c93 bool parse_config_file(FILE *config_file, struct config_entry_list *list) in parse_config_file() argument
99 if (getline(&line, &len, config_file) == -1 || in parse_config_file()
102 while (getmultiline(&line, &len, config_file) != -1) { in parse_config_file()
Dutil_unittest.cc414 FILE *config_file = write_to_pipe(config); in TEST() local
415 ASSERT_NE(config_file, nullptr); in TEST()
419 ASSERT_EQ(0, getmultiline(&line, &len, config_file)); in TEST()
421 ASSERT_EQ(12, getmultiline(&line, &len, config_file)); in TEST()
423 ASSERT_EQ(12, getmultiline(&line, &len, config_file)); in TEST()
425 ASSERT_EQ(19, getmultiline(&line, &len, config_file)); in TEST()
427 ASSERT_EQ(20, getmultiline(&line, &len, config_file)); in TEST()
/external/pigweed/pw_arduino_build/py/pw_arduino_build/
Dunit_test_server.py93 config_file = tempfile.NamedTemporaryFile()
94 _LOG.debug('Generating test server config at %s', config_file.name)
103 config_file.write(
106 config_file.flush()
107 return config_file
139 if args.config_file:
141 args.config_file)
147 args.runner_args.append(args.config_file)
/external/libvpx/libvpx/build/make/
Diosbuild.sh101 local config_file="${HEADER_DIR}/vpx_config.h"
123 printf "%s" "${file_header}" > "${config_file}"
126 printf " ${preproc_symbol}\n" >> "${config_file}"
127 printf "#define VPX_FRAMEWORK_TARGET \"${target}\"\n" >> "${config_file}"
128 printf "#include \"VPX/vpx/${target}/vpx_config.h\"\n" >> "${config_file}"
129 printf "#elif defined" >> "${config_file}"
135 sed -i.bak -e '$d' "${config_file}"
136 rm "${config_file}.bak"
138 printf "#endif\n\n" >> "${config_file}"
139 printf "#endif // ${include_guard}" >> "${config_file}"
/external/pigweed/targets/stm32f429i_disc1/py/stm32f429i_disc1_utils/
Dunit_test_server.py73 config_file = tempfile.NamedTemporaryFile()
74 _LOG.debug('Generating test server config at %s', config_file.name)
80 config_file.write(
83 config_file.flush()
84 return config_file
/external/autotest/client/common_lib/
Dglobal_config.py85 config_file = DEFAULT_CONFIG_FILE variable in global_config_class
120 def set_config_files(self, config_file=DEFAULT_CONFIG_FILE, argument
123 self.config_file = config_file
297 if self.config_file and os.path.exists(self.config_file):
298 self.config.read(self.config_file)
300 raise ConfigError('%s not found' % (self.config_file))
/external/python/setuptools/setuptools/command/
Dalias.py3 from setuptools.command.setopt import edit_config, option_base, config_file
70 if source == config_file('global'):
72 elif source == config_file('user'):
74 elif source == config_file('local'):
Dsetopt.py13 def config_file(kind="local"): function
100 filenames.append(config_file('global'))
102 filenames.append(config_file('user'))
106 filenames.append(config_file('local'))
/external/vboot_reference/scripts/image_signing/
Dmake_dev_ssd.sh76 local config_file
79 config_file="$mount_point/efi/boot/grub.cfg"
80 [ ! -f "$config_file" ] ||
81 sudo sed -i 's/^ *set default=2 *$/set default=0/g' "$config_file"
82 config_file="$mount_point/syslinux/default.cfg"
83 [ ! -f "$config_file" ] ||
84 sudo sed -i 's/-vusb/-usb/g; s/-vhd/-hd/g' "$config_file"
/external/tpm2-tss/test/integration/
Dmain-fapi.c74 FILE *config_file; in main() local
222 config_file = fopen(config_path, "w"); in main()
223 if (!config_file) { in main()
229 size = fprintf(config_file, "%s", config); in main()
230 fclose(config_file); in main()
/external/toolchain-utils/go/chromeos/
Dsetup_chromeos_testing.py141 config_file = os.path.expanduser('~/.ssh/config')
145 cmd = 'cp %s %s' % (config_file, saved_config_file)
153 with open(config_file, 'r') as input_file:
164 WriteFile(config_lines, config_file)
188 config_file = os.path.expanduser('~/.ssh/config')
195 cmd = 'mv %s %s' % (saved_config_file, config_file)
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Dexceptions.py12 def __init__(self, config_type, config_file): argument
15 'due to no specified config type' % config_file)
18 'by the dependency manager.' % (config_file, config_type))
/external/vboot_reference/futility/
Dcmd_vbutil_kernel.c228 char *config_file = NULL; in do_vbutil_kernel() local
348 config_file = optarg; in do_vbutil_kernel()
406 if (!config_file) in do_vbutil_kernel()
409 Debug("Reading %s\n", config_file); in do_vbutil_kernel()
411 ReadConfigFile(config_file, &t_config_size); in do_vbutil_kernel()
498 if (config_file) { in do_vbutil_kernel()
499 Debug("Reading %s\n", config_file); in do_vbutil_kernel()
501 ReadConfigFile(config_file, &t_config_size); in do_vbutil_kernel()
/external/tensorflow/tensorflow/python/debug/cli/
Dcli_config.py125 with gfile.Open(self._config_file_path, "w") as config_file:
126 json.dump(self._config, config_file)
151 with gfile.Open(self._config_file_path, "r") as config_file:
152 config_dict = json.load(config_file)
/external/autotest/client/cros/
Dnetwork_chroot.py263 for config_file in self._copied_config_files:
264 src_path = os.path.join('/', config_file)
265 dst_path = self.chroot_path(config_file)
299 for config_file, template in six.iteritems(self._config_file_templates):
300 with open(self.chroot_path(config_file), 'w') as f:
/external/autotest/client/common_lib/cros/
Davahi_utils.py83 def avahi_start(config_file=None, host=None): argument
96 if config_file is not None:
97 env = ' AVAHI_DAEMON_CONF="%s"' % config_file
130 avahi_start(config_file=conf, host=host)
/external/yapf/yapf/yapflib/
Dfile_resources.py54 config_file = os.path.join(dirname, style.SETUP_CONFIG)
55 if os.path.exists(config_file):
56 with open(config_file) as fd:
60 return config_file
/external/skia/tools/android/
Dupload_to_android.py177 config_file = os.path.join('include', 'config', 'SkUserConfigManual.h')
179 with open(config_file) as f:
190 with open(config_file, 'w') as f:
194 subprocess.check_call('git add %s' % config_file, shell=True)
/external/vixl/tools/test_generator/
Dparser.py448 (GetTestNameFromFileName(config_file), GetISAsFromFileName(config_file),
449 LoadJSON(config_file))
450 for config_file in config_files
/external/autotest/site_utils/lxc/
Dconfig.py205 def __init__(self, container, config_file=None): argument
216 if config_file is None:
219 config_file = (
225 with open(config_file) as f:
/external/libchrome/build/android/gyp/util/
Dproguard_util.py119 for config_file in self.GetConfigs():
120 cmd += ['-include', config_file]
170 with open(config) as config_file:
171 contents = config_file.read().rstrip()
/external/skia/tools/rebaseline/
Dtoggle_legacy_flag.py68 config_file = os.path.join('skia', 'config', 'SkUserConfig.h')
69 with open(config_file) as f:
87 with open(config_file, 'w') as f:
/external/ppp/pppd/plugins/radius/
Dradius.c53 static char *config_file = NULL; variable
62 { "radius-config-file", o_string, &config_file },
118 char config_file[MAXPATHLEN]; member
167 strlcpy(rstate.config_file, "/etc/radiusclient/radiusclient.conf", in plugin_init()
168 sizeof(rstate.config_file)); in plugin_init()
1260 if (config_file && *config_file) { in radius_init()
1261 strlcpy(rstate.config_file, config_file, MAXPATHLEN-1); in radius_init()
1266 if (rc_read_config(rstate.config_file) != 0) { in radius_init()
1268 rstate.config_file); in radius_init()

1234