HomeSort by relevance Sort by last modified time
    Searched refs:file_name (Results 1 - 25 of 240) sorted by null

1 2 3 4 5 6 7 8 910

  /external/chromium/base/i18n/
file_util_icu.h 16 // Returns true if file_name does not have any illegal character. The input
18 bool IsFilenameLegal(const string16& file_name);
20 // Replaces characters in 'file_name' that are illegal for file names with
21 // 'replace_char'. 'file_name' must not be a full or relative path, but just the
23 // trailing whitespace in 'file_name' is removed.
25 // file_name == "bad:file*name?.txt", changed to: "bad-file-name-.txt" when
27 void ReplaceIllegalCharactersInPath(FilePath::StringType* file_name,
file_util_icu.cc 133 bool IsFilenameLegal(const string16& file_name) {
134 return IllegalCharacters::GetInstance()->containsNone(file_name);
137 void ReplaceIllegalCharactersInPath(FilePath::StringType* file_name,
139 DCHECK(file_name);
144 TrimWhitespace(*file_name, TRIM_ALL, file_name);
148 while (cursor < static_cast<int>(file_name->size())) {
153 U8_NEXT(file_name->data(), cursor, static_cast<int>(file_name->length()),
157 U16_NEXT(file_name->data(), cursor, static_cast<int>(file_name->length())
    [all...]
  /external/webkit/Tools/Scripts/
make-gypi 47 for file_name in file_names:
48 if source_code_regexp.search(file_name):
49 relative_path = os.path.join(directory_path, file_name)
54 def build_file_line(file_name, indent):
55 return indent + "'%s'," % file_name
58 return '\n'.join([build_file_line(file_name, indent) for file_name in sorted(source_code)])
  /external/protobuf/src/google/protobuf/compiler/javamicro/
javamicro_params.h 72 bool has_java_package(const string& file_name) const {
73 return java_packages_.find(file_name)
76 void set_java_package(const string& file_name,
78 java_packages_[file_name] = java_package;
80 const string& java_package(const string& file_name) const {
83 itr = java_packages_.find(file_name);
94 bool has_java_outer_classname(const string& file_name) const {
95 return java_outer_classnames_.find(file_name)
98 void set_java_outer_classname(const string& file_name,
100 java_outer_classnames_[file_name] = java_outer_classname
    [all...]
  /external/bluetooth/glib/gio/xdgmime/
xdgmime.c 100 xdg_dir_time_list_add (char *file_name,
107 if (strcmp (list->directory_name, file_name) == 0)
109 free (file_name);
116 list->directory_name = file_name;
139 char *file_name; local
144 file_name = malloc (strlen (directory) + strlen ("/mime/mime.cache") + 1);
145 strcpy (file_name, directory); strcat (file_name, "/mime/mime.cache");
146 if (stat (file_name, &st) == 0)
148 XdgMimeCache *cache = _xdg_mime_cache_new_from_file (file_name);
344 char *file_name; local
    [all...]
xdgmimecache.h 53 XdgMimeCache *_xdg_mime_cache_new_from_file (const char *file_name);
61 const char *_xdg_mime_cache_get_mime_type_for_file (const char *file_name,
63 int _xdg_mime_cache_get_mime_types_from_file_name (const char *file_name,
66 const char *_xdg_mime_cache_get_mime_type_from_file_name (const char *file_name);
test-mime.c 175 const char *file_name; local
186 file_name = argv[i];
187 result = xdg_mime_get_mime_type_for_file (file_name, NULL);
188 printf ("File \"%s\" has a mime-type of %s\n", file_name, result);
xdgmimealias.h 44 const char *file_name);
xdgmimeicon.h 43 const char *file_name);
xdgmimeint.c 141 _xdg_get_base_name (const char *file_name)
145 if (file_name == NULL)
148 base_name = strrchr (file_name, '/');
151 return file_name;
xdgmimeparent.h 44 const char *file_name);
  /external/bluetooth/glib/gmodule/
gmodule-dyld.c 29 _g_module_open (const gchar *file_name,
39 ret = NSCreateObjectFileImageFromFile (file_name, &image);
46 msg = g_strdup_printf ("%s is not a loadable module", file_name);
51 file_name);
55 if (access (file_name, F_OK) == 0)
56 msg = g_strdup_printf ("%s: permission denied", file_name);
58 msg = g_strdup_printf ("%s: no such file or directory", file_name);
62 msg = g_strdup_printf ("unknown error for %s", file_name);
76 module = NSLinkModule (image, file_name, options);
85 msg = g_strdup_printf ("could not link %s: %s", file_name, error)
    [all...]
gmodule.c 63 gchar *file_name; member in struct:_GModule
76 static gpointer _g_module_open (const gchar *file_name,
126 if (strcmp (name, module->file_name) == 0)
166 _g_module_open (const gchar *file_name,
332 g_module_open (const gchar *file_name,
349 if (!file_name)
357 main_module->file_name = NULL;
376 module = g_module_find_by_name (file_name);
386 if (g_file_test (file_name, G_FILE_TEST_IS_REGULAR))
387 name = g_strdup (file_name);
    [all...]
gmodule-ar.c 50 static gchar* _g_module_get_member(const gchar* file_name)
59 fd = open(file_name, O_RDONLY);
103 _g_module_open (const gchar *file_name,
113 member = _g_module_get_member (file_name);
116 full_name = g_strconcat (file_name, "(", member, ")", NULL);
120 full_name = g_strdup (file_name);
  /external/bison/src/
scan-skel.l 71 char const *file_name = yytext + sizeof "@output " - 1;
78 if (*file_name == '@')
80 if (strcmp (file_name, "@output_header_name@") == 0)
81 file_name = spec_defines_file;
82 else if (strcmp (file_name, "@output_parser_name@") == 0)
83 file_name = parser_file_name;
92 outname = xstrdup (file_name);
  /external/valgrind/tsan/
common_util.cc 96 TS_FILE OpenFileReadOnly(const string &file_name, bool die_if_failed) {
99 SysRes sres = VG_(open)((const Char*)file_name.c_str(), VKI_O_RDONLY, 0);
103 ret = fopen(file_name.c_str(), "r");
105 ret = open(file_name.c_str(), O_RDONLY);
108 Report("ERROR: can not open file %s\n", file_name.c_str());
115 string ReadFileToString(const string &file_name, bool die_if_failed) {
116 TS_FILE fd = OpenFileReadOnly(file_name, die_if_failed);
common_util.h 47 TS_FILE OpenFileReadOnly(const string &file_name, bool die_if_failed);
48 string ReadFileToString(const string &file_name, bool die_if_failed);
  /external/webkit/Source/WebKit/chromium/scripts/
generate_devtools_html.py 37 (dir_name, file_name) = os.path.split(resource_path)
38 if (file_name.endswith('.js')):
39 return ' <script type="text/javascript" src="%s"></script>\n' % file_name
40 elif (file_name.endswith('.css')):
41 return ' <link rel="stylesheet" type="text/css" href="%s">\n' % file_name
  /external/chromium/chrome/browser/
popup_blocker_browsertest.cc 27 FilePath file_name(FILE_PATH_LITERAL("popup-blocked-to-post-blank.html"));
29 GURL url(ui_test_utils::GetTestUrl(test_dir, file_name));
  /external/chromium/chrome/browser/history/
archived_database.h 34 bool Init(const FilePath& file_name);
  /external/chromium/chrome/browser/download/
save_page_browsertest.cc 58 FilePath file_name(FILE_PATH_LITERAL("a.htm"));
60 FilePath(kTestDir).Append(file_name));
66 FilePath full_file_name = save_dir_.path().Append(file_name);
79 test_dir_.Append(FilePath(kTestDir)).Append(file_name),
84 FilePath file_name(FILE_PATH_LITERAL("a.htm"));
86 FilePath(kTestDir).Append(file_name));
88 FilePath(kTestDir).Append(file_name));
94 FilePath full_file_name = save_dir_.path().Append(file_name);
108 test_dir_.Append(FilePath(kTestDir)).Append(file_name),
113 FilePath file_name(FILE_PATH_LITERAL("b.htm"))
    [all...]
download_prefs.h 44 bool EnableAutoOpenBasedOnExtension(const FilePath& file_name);
47 void DisableAutoOpenBasedOnExtension(const FilePath& file_name);
drag_download_util.cc 25 FilePath* file_name,
43 if (file_name) {
47 *file_name = FilePath(file_name_str);
49 *file_name = FilePath(UTF16ToUTF8(file_name_str));
drag_download_util.h 34 FilePath* file_name,
  /external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
http_lock_unittest.py 48 for file_name in lock_list:
49 os.unlink(file_name)
105 for file_name in lock_file_list:
106 open(file_name, 'w')
110 for file_name in lock_file_list:
111 os.unlink(file_name)

Completed in 504 milliseconds

1 2 3 4 5 6 7 8 910