/external/dbus/dbus/ |
H A D | dbus-nonce.h | 38 DBusString dir; member in struct:DBusNonceFile
|
H A D | dbus-auth-util.c | 47 DBusDirIter *dir; local 52 dir = NULL; 70 dir = _dbus_directory_open (&test_directory, &error); 71 if (dir == NULL) 83 while (_dbus_directory_get_next_file (dir, &filename, &error)) 91 _dbus_assert_not_reached ("couldn't copy dir to full_path"); 94 _dbus_assert_not_reached ("couldn't concat file to dir"); 127 if (dir) 128 _dbus_directory_close (dir);
|
/external/chromium/net/test/ |
H A D | python_utils_unittest.cc | 48 FilePath dir; local 49 EXPECT_TRUE(GetPythonRunTime(&dir)); 53 CommandLine cmd_line(dir);
|
H A D | python_utils.cc | 18 void AppendToPythonPath(const FilePath& dir) { argument 23 dir_path = WideToUTF8(dir.value()); 25 dir_path = dir.value(); 49 FilePath dir(start_dir); 50 while (!file_util::DirectoryExists(dir.Append(to_try))) { 51 FilePath parent = dir.DirName(); 52 if (parent == dir) { 56 dir = parent; 58 *out_dir = dir; 64 bool GetPyProtoPath(FilePath* dir) { argument 106 GetPythonRunTime(FilePath* dir) argument [all...] |
/external/chromium/base/memory/ |
H A D | scoped_temp_dir_unittest.cc | 15 // Against an existing dir, it should get destroyed when leaving scope. 18 ScopedTempDir dir; local 19 EXPECT_TRUE(dir.Set(test_path)); 20 EXPECT_TRUE(dir.IsValid()); 25 ScopedTempDir dir; local 26 EXPECT_TRUE(dir.Set(test_path)); 27 // Now the dir doesn't exist, so ensure that it gets created. 30 FilePath path = dir.Take(); 32 EXPECT_FALSE(dir.IsValid()); 38 ScopedTempDir dir; local 49 ScopedTempDir dir; local 68 ScopedTempDir dir; local 79 ScopedTempDir dir; local 94 ScopedTempDir dir; local [all...] |
/external/chromium/chrome/browser/ |
H A D | user_style_sheet_watcher_unittest.cc | 18 ScopedTempDir dir; local 19 ASSERT_TRUE(dir.CreateUniqueTempDir()); 22 FilePath style_sheet_file = dir.path().AppendASCII("User StyleSheets") 40 new UserStyleSheetWatcher(dir.path()));
|
H A D | platform_util_chromeos.cc | 27 void OpenFileBrowserOnUIThread(const FilePath& dir) { argument 34 SelectFileDialog::SELECT_NONE, string16(), dir, NULL, 0, 40 FilePath dir = full_path.DirName(); local 41 if (!file_util::DirectoryExists(dir)) 45 OpenFileBrowserOnUIThread(dir); 49 NewRunnableFunction(&OpenFileBrowserOnUIThread, dir));
|
/external/clang/test/Sema/ |
H A D | usual-float.c | 6 void foo(int dir, int n, int tindex) { argument 10 float ang = (float) tindex * (-dir*2.0f*PI/n);
|
/external/dbus/bus/ |
H A D | dir-watch-dnotify.c | 2 /* dir-watch-dnotify.c OS specific directory change notification for message bus 35 #include "dir-watch.h" 44 bus_watch_directory (const char *dir, BusContext *context) argument 48 _dbus_assert (dir != NULL); 52 _dbus_warn ("Cannot watch config directory '%s'. Already watching %d directories\n", dir, MAX_DIRS_TO_WATCH); 56 fd = open (dir, O_RDONLY); 59 _dbus_warn ("Cannot open directory '%s'; error '%s'\n", dir, _dbus_strerror (errno)); 65 _dbus_warn ("Cannot setup D_NOTIFY for '%s' error '%s'\n", dir, _dbus_strerror (errno)); 71 _dbus_verbose ("Added watch on config directory '%s'\n", dir);
|
H A D | test-launch-helper.c | 101 const char *dir; local 105 dir = argv[1]; 107 dir = _dbus_getenv ("DBUS_TEST_DATA"); 109 if (dir == NULL) 119 if (!_dbus_string_append (&config_file, dir))
|
H A D | test-main.c | 81 const char *dir; local 87 dir = argv[1]; 89 dir = _dbus_getenv ("DBUS_TEST_DATA"); 91 if (dir == NULL) 97 _dbus_string_init_const (&test_data_dir, dir);
|
H A D | test-system.c | 71 const char *dir; local 77 dir = argv[1]; 79 dir = _dbus_getenv ("DBUS_TEST_DATA"); 81 if (dir == NULL) 87 _dbus_string_init_const (&test_data_dir, dir);
|
/external/e2fsprogs/lib/e2p/ |
H A D | iod.c | 30 DIR * dir; local 55 dir = opendir (dir_name); 56 if (dir == NULL) { 60 while ((dep = readdir (dir))) { 73 closedir(dir);
|
/external/guava/guava/src/com/google/common/io/ |
H A D | PatternFilenameFilter.java | 59 @Override public boolean accept(@Nullable File dir, String fileName) { argument
|
/external/okhttp/src/main/java/libcore/io/ |
H A D | IoUtils.java | 55 * Recursively delete everything in {@code dir}. 58 public static void deleteContents(File dir) throws IOException { argument 59 File[] files = dir.listFiles(); 61 throw new IllegalArgumentException("not a directory: " + dir);
|
/external/openfst/src/script/ |
H A D | push.cc | 25 void Push(MutableFstClass *ofst, ReweightType dir, float delta, argument 27 PushArgs1 args(ofst, dir, delta, remove_total_weight); 33 ReweightType dir, float delta) { 36 PushArgs2 args(ifst, ofst, flags, dir, delta); 32 Push(const FstClass &ifst, MutableFstClass *ofst, uint32 flags, ReweightType dir, float delta) argument
|
/external/tcpdump/ |
H A D | gmt2local.c | 48 register int dt, dir; local 65 dir = loc->tm_year - gmt->tm_year; 66 if (dir == 0) 67 dir = loc->tm_yday - gmt->tm_yday; 68 dt += dir * 24 * 60 * 60;
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/ |
H A D | ParserLoader.java | 52 File dir = new File(classDir); 53 if(dir.isDirectory()) { 56 File[] files = dir.listFiles(new ClassFilenameFilter(grammarName)); 118 public boolean accept(File dir, String name) { argument
|
/external/bison/lib/ |
H A D | dirname.c | 57 char *dir = xmalloc (length + append_dot + 1); local 58 memcpy (dir, file, length); 60 dir[length++] = '.'; 61 dir[length] = 0; 62 return dir;
|
/external/chromium/base/ |
H A D | dir_reader_posix_unittest.cc | 27 char kDirTemplate[] = "/tmp/org.chromium.dir-reader-posix-XXXXXX"; 28 const char* dir = mkdtemp(kDirTemplate); local 29 CHECK(dir); 34 PCHECK(chdir(dir) == 0); 46 DirReaderPosix reader(dir); 81 PCHECK(rmdir(dir) == 0);
|
/external/chromium/chrome/browser/chromeos/notifications/ |
H A D | system_notification_factory.cc | 34 WebTextDirection dir = WebKit::WebTextDirectionDefault; local 41 subst.push_back(dir == WebKit::WebTextDirectionRightToLeft ? 44 subst.push_back(dir == WebKit::WebTextDirectionRightToLeft ?
|
/external/chromium/chrome/browser/download/ |
H A D | save_page_browsertest.cc | 67 FilePath dir = save_dir_.path().AppendASCII("a_files"); local 69 full_file_name, dir, SavePackage::SAVE_AS_ONLY_HTML)); 77 EXPECT_FALSE(file_util::PathExists(dir)); 95 FilePath dir = save_dir_.path().AppendASCII("a_files"); local 98 full_file_name, dir, SavePackage::SAVE_AS_ONLY_HTML)); 106 EXPECT_FALSE(file_util::PathExists(dir)); 122 FilePath dir = save_dir_.path().AppendASCII("b_files"); local 124 full_file_name, dir, SavePackage::SAVE_AS_COMPLETE_HTML)); 132 EXPECT_TRUE(file_util::PathExists(dir)); 138 dir 159 FilePath dir = save_dir_.path().AppendASCII( local [all...] |
H A D | save_page_uitest.cc | 73 FilePath dir = download_dir_.AppendASCII("test.exe_files"); local 91 EXPECT_TRUE(file_util::DieFileDie(dir, true));
|
/external/chromium/chrome/browser/extensions/ |
H A D | extension_info_map_unittest.cc | 52 static scoped_refptr<Extension> LoadManifest(const std::string& dir, argument 57 .AppendASCII(dir)
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | lookup.c | 49 errcode_t ext2fs_lookup(ext2_filsys fs, ext2_ino_t dir, const char *name, argument 62 retval = ext2fs_dir_iterate(fs, dir, 0, buf, lookup_proc, &ls);
|