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

1234567891011>>

/external/chromium_org/sync/util/
H A Dlogging.cc15 from_here.file_name(), ::strlen(from_here.file_name())));
/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_org/build/android/pylib/device/
H A Ddevice_list.py13 def GetPersistentDeviceList(file_name):
17 file_name: the file name containing a list of devices.
21 with open(file_name) as f:
25 def WritePersistentDeviceList(file_name, device_list):
26 path = os.path.dirname(file_name)
29 with open(file_name, 'w') as f:
/external/chromium_org/base/i18n/
H A Dfile_util_icu.h17 // Returns true if file_name does not have any illegal character. The input
19 BASE_I18N_EXPORT bool IsFilenameLegal(const string16& file_name);
21 // Replaces characters in 'file_name' that are illegal for file names with
22 // 'replace_char'. 'file_name' must not be a full or relative path, but just the
24 // trailing whitespace in 'file_name' is removed.
26 // file_name == "bad:file*name?.txt", changed to: "bad-file-name-.txt" when
29 FilePath::StringType* file_name,
38 // Calculates the canonical file-system representation of |file_name| base name.
39 // Modifies |file_name| in place. No-op if not on ChromeOS.
40 BASE_I18N_EXPORT void NormalizeFileNameEncoding(FilePath* file_name);
[all...]
H A Dfile_util_icu.cc88 bool IsFilenameLegal(const string16& file_name) { argument
89 return IllegalCharacters::GetInstance()->containsNone(file_name);
92 void ReplaceIllegalCharactersInPath(FilePath::StringType* file_name, argument
94 DCHECK(file_name);
99 TrimWhitespace(*file_name, TRIM_ALL, file_name);
103 while (cursor < static_cast<int>(file_name->size())) {
108 U8_NEXT(file_name->data(), cursor, static_cast<int>(file_name->length()),
112 U16_NEXT(file_name
160 NormalizeFileNameEncoding(FilePath* file_name) argument
[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/protobuf/src/google/protobuf/compiler/javanano/
H A Djavanano_params.h87 bool has_java_package(const string& file_name) const {
88 return java_packages_.find(file_name)
91 void set_java_package(const string& file_name, argument
93 java_packages_[file_name] = java_package;
95 const string& java_package(const string& file_name) const {
98 itr = java_packages_.find(file_name);
109 bool has_java_outer_classname(const string& file_name) const {
110 return java_outer_classnames_.find(file_name)
113 void set_java_outer_classname(const string& file_name, argument
115 java_outer_classnames_[file_name]
142 set_java_multiple_files(const string& file_name, bool value) argument
[all...]
/external/chromium_org/courgette/
H A Dbase_test_unittest.cc20 std::string BaseTest::FileContents(const char* file_name) const {
22 file_path = file_path.AppendASCII(file_name);
33 std::list<std::string>::iterator file_name = file_names.begin(); local
35 while (file_name != file_names.end()) {
36 result += FileContents(file_name->c_str());
37 file_name++;
/external/chromium_org/chrome_elf/create_file/
H A Dchrome_create_file.h15 LPCWSTR file_name,
29 LPCWSTR file_name,
39 bool ShouldBypass(LPCWSTR file_name);
/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/bluetooth/bluedroid/btif/include/
H A Dbtif_config_util.h53 int btif_config_save_file(const char* file_name);
54 int btif_config_load_file(const char* file_name);
/external/chromium_org/content/browser/indexed_db/leveldb/
H A Dmock_leveldb_factory.h19 leveldb::Status(const base::FilePath& file_name,
24 leveldb::Status(const base::FilePath& file_name));
H A Dleveldb_factory.h24 virtual leveldb::Status OpenLevelDB(const base::FilePath& file_name,
28 virtual leveldb::Status DestroyLevelDB(const base::FilePath& file_name) = 0;
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Ddirectory_zipper.py31 (file_name,
32 self._file_system.ReadSingle(posixpath.join(base_dir, file_name)))
33 for file_name in files]
34 for file_name, future in futures_with_name:
43 zip_file.writestr(posixpath.join(dir_name, file_name), file_contents)
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/
H A Doptimize_png_images.py56 svg_file_paths = [image_sources_path + "/" + file_name for file_name in file_names if file_name.endswith(".svg")]
80 def optimize_png(file_name):
81 png_full_path = images_path + "/" + file_name + ".png"
93 for file_name in svg_file_names:
94 name = re.sub(".svg$", "", file_name)
99 for file_name, proc in processes.items():
101 print("Optimization of %s finished: %s" % (file_name, optimize_out))
H A Dconvert_svg_images_to_png.py63 svg_file_paths = [image_sources_path + "/" + file_name for file_name in file_names if file_name.endswith(".svg")]
77 for file_name in svg_file_names:
78 name = re.sub(".svg$", "", file_name)
83 for file_name, proc in processes.items():
85 print("Conversion of %s finished: %s" % (file_name, convert_out))
/external/chromium_org/net/spdy/
H A Dspdy_session_test_util.cc13 const std::string& file_name,
16 file_name_(file_name),
31 if (EndsWith(pending_task.posted_from.file_name(), file_name_, true) &&
12 SpdySessionTestTaskObserver( const std::string& file_name, const std::string& function_name) argument
/external/chromium_org/net/disk_cache/simple/
H A Dsimple_index_file_posix.cc41 const std::string file_name(result->d_name);
42 if (file_name == "." || file_name == "..")
45 base::FilePath(file_name));
/external/chromium_org/build/android/pylib/utils/
H A Dhost_path_finder.py10 def GetMostRecentHostPath(file_name):
18 lambda build_type: os.path.join(out_dir, build_type, file_name),
/external/chromium_org/tools/json_comment_eater/
H A Djson_comment_eater_test.py15 def read(file_name):
16 with open(file_name, 'r') as f:
/external/chromium_org/sandbox/win/sandbox_poc/pocdll/
H A Dhandles.cc115 FILE_NAME_INFORMATION *file_name = NULL; local
126 if (file_name) {
127 delete[] reinterpret_cast<BYTE*>(file_name);
128 file_name = NULL;
133 file_name = reinterpret_cast<FILE_NAME_INFORMATION *>(
137 file_name,
143 if (file_name) {
144 delete[] file_name;
145 file_name = NULL;
150 if (file_name) {
[all...]
/external/chromium_org/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/0.153/libdwfl/
H A Ddwfl_build_id_find_elf.c58 __libdwfl_open_by_build_id (Dwfl_Module *mod, bool debug, char **file_name) argument
115 if (*file_name != NULL)
116 free (*file_name);
117 *file_name = canonicalize_file_name (name);
118 if (*file_name == NULL)
120 *file_name = name;
146 char **file_name, Elf **elfp)
149 int fd = __libdwfl_open_by_build_id (mod, false, file_name);
169 free (*file_name);
170 *file_name
142 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/chromium_org/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/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_search_path_list.cpp34 const char* SearchPathList::FindFile(const char* file_name) { argument
36 if (!file_name || !*file_name)
39 LOG("%s: Looking for %s\n", __FUNCTION__, file_name);
71 full_path_ += file_name;

Completed in 698 milliseconds

1234567891011>>