/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 | 123 bool IsFilenameLegal(const string16& file_name) { 124 return Singleton<IllegalCharacters>()->containsNone(file_name); 127 void ReplaceIllegalCharactersInPath(FilePath::StringType* file_name, 129 DCHECK(file_name); 134 TrimWhitespace(*file_name, TRIM_ALL, file_name); 138 while (cursor < static_cast<int>(file_name->size())) { 143 U8_NEXT(file_name->data(), cursor, static_cast<int>(file_name->length()), 147 U16_NEXT(file_name->data(), cursor, static_cast<int>(file_name->length()) [all...] |
/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/chromium/base/third_party/xdg_mime/ |
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);
|
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/chromium/base/ |
tracked.h | 42 Location(const char* function_name, const char* file_name, int line_number) 44 file_name_(file_name), 68 const char* file_name() const { return file_name_; } function in class:tracked_objects::Location
|
/bootable/recovery/ |
encryptedfs_provisioning.c | 47 int get_binary_file_contents(char *buffer, int buf_size, const char *file_name, int *out_size) { 51 in_file = fopen(file_name, "r"); 72 int set_binary_file_contents(char *buffer, int buf_size, const char *file_name) { 76 out_file = fopen(file_name, "w"); 94 int get_text_file_contents(char *buffer, int buf_size, char *file_name) { 98 in_file = fopen(file_name, "r"); 116 int set_text_file_contents(char *buffer, char *file_name) { 120 out_file = fopen(file_name, "w");
|
/external/gtest/include/gtest/ |
gtest-test-part.h | 60 const char* file_name, 64 file_name_(file_name), 75 const char* file_name() const { return file_name_.c_str(); } function in class:testing::TestPartResult
|
/external/protobuf/gtest/include/gtest/ |
gtest-test-part.h | 60 const char* file_name, 64 file_name_(file_name), 75 const char* file_name() const { return file_name_.c_str(); } function in class:testing::TestPartResult
|
/external/e2fsprogs/intl/ |
localcharset.c | 121 char *file_name; local 123 /* Concatenate dir and base into freshly allocated file_name. */ 128 file_name = (char *) malloc (dir_len + add_slash + base_len + 1); 129 if (file_name != NULL) 131 memcpy (file_name, dir, dir_len); 133 file_name[dir_len] = DIRECTORY_SEPARATOR; 134 memcpy (file_name + dir_len + add_slash, base, base_len + 1); 138 if (file_name == NULL || (fp = fopen (file_name, "r")) == NULL) 202 if (file_name != NULL [all...] |