Searched refs:file_name (Results 1 - 25 of 443) sorted by relevance

1234567891011>>

/external/autotest/client/cros/cellular/wardmodem/state_machines/
H A D__init__.py4 for file_name in os.listdir(os.path.dirname(__file__)):
5 if (file_name.endswith('.py') and
6 file_name not in ['common.py', '__init__.py'] and
7 file_name.find('unittest') == -1):
8 module_name = file_name.rstrip('.py')
/external/autotest/client/deps/glbench/src/
H A Dpng_helper.h8 void write_png_file(const char* file_name, char* pixels, int width, int height);
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
H A DANTLRFileStream.pm10 has 'file_name' => (
20 my $file_name = $args->{file_name};
21 if (!defined $file_name) {
28 open $fh, "<:encoding($encoding)", $file_name
29 or croak "Can't open $file_name: $!";
32 open $fh, '<', $file_name
33 or croak "Can't open $file_name: $!";
49 my ($self, $file_name, $encoding) = @_;
51 if (!defined $file_name) {
[all...]
/external/chromium-trace/catapult/devil/devil/android/
H A Ddevice_list.py12 def GetPersistentDeviceList(file_name):
16 file_name: the file name containing a list of devices.
20 if not os.path.isfile(file_name):
21 logging.warning('Device file %s doesn\'t exist.', file_name)
25 with open(file_name) as f:
34 'Error reading device file %s. Falling back to old format.', file_name)
37 with open(file_name) as f:
41 def WritePersistentDeviceList(file_name, device_list):
42 path = os.path.dirname(file_name)
49 with open(file_name, '
[all...]
/external/protobuf/src/google/protobuf/compiler/javamicro/
H A Djavamicro_params.h76 bool has_java_package(const string& file_name) const {
77 return java_packages_.find(file_name)
80 void set_java_package(const string& file_name, argument
82 java_packages_[file_name] = java_package;
84 const string& java_package(const string& file_name) const {
87 itr = java_packages_.find(file_name);
98 bool has_java_outer_classname(const string& file_name) const {
99 return java_outer_classnames_.find(file_name)
102 void set_java_outer_classname(const string& file_name, argument
104 java_outer_classnames_[file_name]
138 set_java_multiple_files(const string& file_name, bool value) argument
[all...]
/external/bison/lib/
H A Dcloseout.c36 static const char *file_name; variable
43 file_name = file;
113 if (file_name)
114 error (0, errno, "%s: %s", quotearg_colon (file_name),
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
H A Dresample_input_audio_file.h27 ResampleInputAudioFile(const std::string file_name, int file_rate_hz) argument
28 : InputAudioFile(file_name),
31 ResampleInputAudioFile(const std::string file_name, argument
34 : InputAudioFile(file_name),
H A Drtp_file_source.cc29 RtpFileSource* RtpFileSource::Create(const std::string& file_name) { argument
31 RTC_CHECK(source->OpenFile(file_name));
35 bool RtpFileSource::ValidRtpDump(const std::string& file_name) { argument
37 RtpFileReader::Create(RtpFileReader::kRtpDump, file_name));
41 bool RtpFileSource::ValidPcap(const std::string& file_name) { argument
43 RtpFileReader::Create(RtpFileReader::kPcap, file_name));
89 bool RtpFileSource::OpenFile(const std::string& file_name) { argument
90 rtp_reader_.reset(RtpFileReader::Create(RtpFileReader::kRtpDump, file_name));
93 rtp_reader_.reset(RtpFileReader::Create(RtpFileReader::kPcap, file_name));
H A Drtp_file_source.h33 // Creates an RtpFileSource reading from |file_name|. If the file cannot be
35 static RtpFileSource* Create(const std::string& file_name);
38 static bool ValidRtpDump(const std::string& file_name);
39 static bool ValidPcap(const std::string& file_name);
57 bool OpenFile(const std::string& file_name);
H A Doutput_wav_file.h25 // Creates an OutputWavFile, opening a file named |file_name| for writing.
27 OutputWavFile(const std::string& file_name, int sample_rate_hz) argument
28 : wav_writer_(file_name, sample_rate_hz, 1) {}
H A Doutput_audio_file.h26 // Creates an OutputAudioFile, opening a file named |file_name| for writing.
28 explicit OutputAudioFile(const std::string& file_name) { argument
29 out_file_ = fopen(file_name.c_str(), "wb");
/external/libvpx/libvpx/test/
H A Di420_video_source.h24 I420VideoSource(const std::string &file_name, argument
28 : YUVVideoSource(file_name, VPX_IMG_FMT_I420,
/external/curl/src/
H A Dtool_doswin.h41 SANITIZEcode sanitize_file_name(char **const sanitized, const char *file_name,
45 SANITIZEcode msdosify(char **const sanitized, const char *file_name,
48 const char *file_name,
H A Dtool_doswin.c92 static SANITIZEcode msdosify(char **const sanitized, const char *file_name,
96 const char *file_name,
132 Success: (SANITIZE_ERR_OK) *sanitized points to a sanitized copy of file_name.
135 SANITIZEcode sanitize_file_name(char **const sanitized, const char *file_name, argument
148 if(!file_name)
153 if(file_name[0] == '\\' && file_name[1] == '\\')
166 len = strlen(file_name);
169 truncate_dryrun(file_name, max_sanitized_len))
179 strncpy(target, file_name, le
335 msdosify(char **const sanitized, const char *file_name, int flags) argument
482 rename_if_reserved_dos_device_name(char **const sanitized, const char *file_name, int flags) argument
[all...]
/external/protobuf/src/google/protobuf/compiler/javanano/
H A Djavanano_params.h97 bool has_java_package(const string& file_name) const {
98 return java_packages_.find(file_name)
101 void set_java_package(const string& file_name, argument
103 java_packages_[file_name] = java_package;
105 const string& java_package(const string& file_name) const {
108 itr = java_packages_.find(file_name);
119 bool has_java_outer_classname(const string& file_name) const {
120 return java_outer_classnames_.find(file_name)
123 void set_java_outer_classname(const string& file_name, argument
125 java_outer_classnames_[file_name]
152 set_java_multiple_files(const string& file_name, bool value) argument
[all...]
/external/chromium-trace/catapult/common/py_utils/py_utils/
H A Dpy_utils_unittest.py22 def _GetFileInTestDir(file_name):
23 return os.path.join(os.path.dirname(__file__), 'test_data', file_name)
/external/chromium-trace/catapult/trace_processor/experimental/wpt_downloader/
H A Dwpt_downloader.py23 output_path, file_name, metadata, trace_contents):
24 file_name = os.path.join(output_path, file_name)
26 with open(os.path.join(output_path, file_name), 'wb') as f:
29 with open(os.path.join(output_path, '%s.meta' % file_name), 'w') as f:
49 file_name = '%s_%s' % (wpt_job, query[2][1])
50 print 'Downloading %s to %s ...' % (trace_url, file_name)
55 output_path, file_name, metadata, file_response.read())
/external/vboot_reference/tests/
H A Drsa_verify_benchmark.c22 char file_name[FILE_NAME_SIZE]; local
37 snprintf(file_name, FILE_NAME_SIZE, "testkeys/key_rsa%d.keyb", key_size);
38 key = RSAPublicKeyFromFile(file_name);
40 VBDEBUG(("Couldn't read RSA Public key from file: %s\n", file_name));
46 snprintf(file_name, FILE_NAME_SIZE, "testcases/test_file.%s.digest",
48 digest = BufferFromFile(file_name, &digest_len);
56 snprintf(file_name, FILE_NAME_SIZE, "testcases/test_file.rsa%d_%s.sig",
58 signature = BufferFromFile(file_name, &sig_len);
/external/v8/build/util/
H A Dversion.py15 def fetch_values_from_file(values_dict, file_name):
25 for line in open(file_name, 'r').readlines():
49 for file_name in file_list:
50 fetch_values_from_file(values, file_name)
75 def subst_file(file_name, values):
77 Returns the contents of the specified file_name with substituted
82 template = open(file_name, 'r').read()
86 def write_if_changed(file_name, contents):
88 Writes the specified contents to the specified file_name
92 old_contents = open(file_name, '
[all...]
/external/elfutils/libdwfl/
H A Ddwfl_build_id_find_elf.c37 __libdwfl_open_by_build_id (Dwfl_Module *mod, bool debug, char **file_name, argument
95 if (*file_name != NULL)
96 free (*file_name);
97 *file_name = canonicalize_file_name (name);
98 if (*file_name == NULL)
100 *file_name = name;
121 __libdwfl_open_mod_by_build_id (Dwfl_Module *mod, bool debug, char **file_name) argument
132 return __libdwfl_open_by_build_id (mod, debug, file_name, id_len, id);
140 char **file_name, Elf **elfp)
155 *file_name
136 dwfl_build_id_find_elf(Dwfl_Module *mod, void **userdata __attribute__ ((unused)), const char *modname __attribute__ ((unused)), Dwarf_Addr base __attribute__ ((unused)), char **file_name, Elf **elfp) argument
[all...]
/external/v8/test/mjsunit/
H A Dmirror-script.js31 function testScriptMirror(f, file_name, file_lines, type, compilation_type,
48 assertEquals(file_name, name.substring(name.length - file_name.length));
50 assertTrue(file_name === null);
71 assertEquals(file_name, name.substring(name.length - file_name.length));
73 assertTrue(file_name === null);
/external/autotest/server/site_tests/video_VDAStress/
H A Dvideo_VDAStress.py25 file_name, sep, video_arg = video.partition(':')
26 file_path_at_server = os.path.join(server_videos_dir, file_name)
27 file_path_at_client = '/tmp/%s' % file_name
/external/chromium-trace/catapult/firefighter/bin/
H A Drun19 yaml_files = list(file_name for file_name in packaging.Yamls(temp_app_dir)
20 if os.path.basename(file_name) != 'cron.yaml')
/external/compiler-rt/lib/asan/scripts/
H A Dsymbolize.py53 def postprocess_file_name(file_name, paths_to_cut):
55 file_name = re.sub(".*" + path_to_cut, "", file_name)
56 file_name = re.sub(".*asan_[a-z_]*.(cc|h):[0-9]*", "[asan_rtl]", file_name)
57 file_name = re.sub(".*crtstuff.c:0", "???:0", file_name)
58 return file_name
95 file_name = p.stdout.readline().rstrip()
98 file_name
[all...]
/external/webrtc/webrtc/system_wrappers/include/
H A Dtrace.h60 static int32_t SetTraceFile(const char* file_name,
64 static int32_t TraceFile(char file_name[1024]);

Completed in 904 milliseconds

1234567891011>>