Searched refs:directory (Results 1 - 25 of 181) sorted by relevance

12345678

/external/dbus/bus/
H A Ddir-watch.h29 /* setup a watch on a directory (OS dependent, may be a NOP) */
30 void bus_watch_directory (const char *directory, BusContext *context);
/external/proguard/src/proguard/io/
H A DDirectoryPump.java27 * This class can read a given file or directory, recursively, applying a given
34 private final File directory; field in class:DirectoryPump
37 public DirectoryPump(File directory) argument
39 this.directory = directory;
48 if (!directory.exists())
50 throw new IOException("No such file or directory");
53 readFiles(directory, dataEntryReader);
65 dataEntryReader.read(new FileDataEntry(directory, file));
H A DFileDataEntry.java34 private final File directory; field in class:FileDataEntry
39 public FileDataEntry(File directory, argument
42 this.directory = directory;
51 // Chop the directory name from the file name and get the right separators.
52 return file.equals(directory) ?
55 .substring(directory.getPath().length() + File.separator.length())
H A DDirectoryWriter.java30 * directory.
46 * @param baseFile the base directory to which all files will be written.
67 File directory = getFile(dataEntry);
68 if (!directory.exists() &&
69 !directory.mkdirs())
71 throw new IOException("Can't create directory [" + directory.getPath() + "]");
106 throw new IOException("Can't create directory [" + parentDirectory.getPath() + "]");
/external/openssl/crypto/
H A DLPdir_nyi.c33 const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) argument
H A Do_dir.h43 /* returns NULL on error or end-of-directory.
44 If it is end-of-directory, errno will be zero */
45 const char *OPENSSL_DIR_read(OPENSSL_DIR_CTX **ctx, const char *directory);
H A DLPdir_win.c55 const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) argument
59 if (ctx == NULL || directory == NULL)
80 size_t index = 0,len_0 = strlen(directory) + 1;
92 if (!MultiByteToWideChar(CP_ACP, 0, directory, len_0, (WCHAR *)wdir, len_0))
95 wdir[index] = (TCHAR)directory[index];
102 (*ctx)->handle = FindFirstFile((TCHAR *)directory, &(*ctx)->ctx);
H A DLPdir_unix.c65 const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) argument
69 if (ctx == NULL || directory == NULL)
86 (*ctx)->dir = opendir(directory);
/external/grub/util/
H A Dgrub-set-default36 --root-directory=DIR Use the directory DIR instead of the root directory
53 --root-directory=*)
54 rootdir=`echo "$option" | sed 's/--root-directory=//'` ;;
77 # Determine the GRUB directory. This is different among OSes.
86 echo "No GRUB directory found under ${rootdir}/" 1>&2
H A Dgrub-set-default.in36 --root-directory=DIR Use the directory DIR instead of the root directory
53 --root-directory=*)
54 rootdir=`echo "$option" | sed 's/--root-directory=//'` ;;
77 # Determine the GRUB directory. This is different among OSes.
86 echo "No GRUB directory found under ${rootdir}/" 1>&2
/external/webkit/WebKit/mac/Misc/
H A DWebDownloadInternal.h40 directory:(NSString *)directory;
/external/bluetooth/glib/gmodule/
H A Dgmodule-dl.c156 _g_module_build_path (const gchar *directory, argument
159 if (directory && *directory) {
161 return g_strconcat (directory, "/", module_name, NULL);
163 return g_strconcat (directory, "/lib", module_name, "." G_MODULE_SUFFIX, NULL);
H A Dgmodule-dld.c151 _g_module_build_path (const gchar *directory, argument
154 if (directory && *directory)
156 return g_strconcat (directory, "/", module_name, NULL);
158 return g_strconcat (directory, "/lib", module_name, ".sl", NULL);
H A Dgmodule-os2.c131 _g_module_build_path (const gchar *directory, argument
135 if (directory && *directory)
137 return g_strconcat (directory, "/", module_name, NULL);
139 return g_strconcat (directory, "/", module_name, ".dll", NULL);
H A Dgmodule-dyld.c58 msg = g_strdup_printf ("%s: no such file or directory", file_name);
140 _g_module_build_path (const gchar *directory, argument
143 if (directory && *directory)
146 return g_strconcat (directory, "/", module_name, NULL);
148 return g_strconcat (directory, "/lib", module_name, "." G_MODULE_SUFFIX, NULL);
H A Dgmodule-ar.c175 _g_module_build_path (const gchar *directory, argument
178 if (directory && *directory) {
180 return g_strconcat (directory, "/", module_name, NULL);
182 return g_strconcat (directory, "/lib", module_name, "." G_MODULE_SUFFIX, NULL);
/external/webkit/WebKitTools/Scripts/
H A Dcheck-dom-results44 my @suites = ( {"name" => "DOM Level 1 Core (html)", "directory" => "dom/html/level1/core"},
45 {"name" => "DOM Level 2 Core (html)", "directory" => "dom/html/level2/core"},
46 {"name" => "DOM Level 2 Events (html)", "directory" => "dom/html/level2/events"},
47 {"name" => "DOM Level 2 HTML (html)", "directory" => "dom/html/level2/html"},
48 {"name" => "DOM Level 1 Core (xhtml)", "directory" => "dom/xhtml/level1/core"},
49 {"name" => "DOM Level 2 Core (xhtml)", "directory" => "dom/xhtml/level2/core"},
50 {"name" => "DOM Level 2 Events (xhtml)", "directory" => "dom/xhtml/level2/events"},
51 {"name" => "DOM Level 2 HTML (xhtml)", "directory" => "dom/xhtml/level2/html"},
52 {"name" => "DOM Level 3 Core (xhtml)", "directory" => "dom/xhtml/level3/core"},
53 {"name" => "DOM Level 3 XPath (svg)", "directory"
[all...]
H A Dwebkit-build-directory29 # A script to expose WebKit's build directory detection logic to non-perl scripts.
43 --base Show the root build directory instead of one corresponding to the current target (e.g. Debug, Release)
44 --debug Show build directory for the Debug target
46 --release Show build directory for the Release target
/external/webkit/WebKitTools/Scripts/webkitpy/
H A Dautoinstall.py184 def __init__(self, directory=None):
185 if directory is None:
186 # Default to putting the cache directory in the same directory
189 directory = os.path.join(containing_directory, "autoinstall.cache.d");
191 self.directory = directory
193 if not os.path.exists(self.directory):
198 _logger.info("Using cache directory '%s'." % self.directory)
[all...]
/external/webkit/WebKitTools/pywebsocket/test/
H A Drun_all.py33 """Run all tests in the same directory.
45 def _list_test_modules(directory):
47 for filename in os.listdir(directory):
/external/bluetooth/glib/gio/fam/
H A Dfam-helper.h33 gboolean directory,
/external/opencore/oscl/oscl/osclio/src/
H A Doscl_file_find.cpp60 OSCL_EXPORT_REF const char *Oscl_FileFind::FindFirst(const char *directory, const char *pattern, char *buf, uint32 buflen) argument
65 if (directory == NULL || buf == NULL || buflen <= 0)
77 if (!setpathanddelimiter(directory))
127 if (!setpathanddelimiter(directory))
133 if (oscl_strlen(directory) > 0)
135 pDir = opendir(directory);
139 // empty directory, replaced with searching current dir
196 OSCL_EXPORT_REF const oscl_wchar *Oscl_FileFind::FindFirst(const oscl_wchar *directory, const oscl_wchar *pattern, oscl_wchar *buf, uint32 buflen) argument
201 if (directory == NULL || buf == NULL || buflen <= 0)
214 char* convdir = (char*) OSCL_MALLOC(oscl_strlen(directory)
386 setpathanddelimiter(const chartype* directory) argument
[all...]
H A Doscl_file_find.h64 * Oscl_FileFind class defines the generic way of finding filesystem elements that match a pattern within a directory
74 * @param directory directory to search (utf8).
81 OSCL_IMPORT_REF const char *FindFirst(const char *directory, const char *pattern, char *buf, uint32 buflen);
83 * Opens a directory for reading.
85 * @param directory directory to search (utf16).
92 OSCL_IMPORT_REF const oscl_wchar *FindFirst(const oscl_wchar *directory, const oscl_wchar *pattern, oscl_wchar *buf, uint32 buflen);
94 * Reads the next element in the directory.
97 * @param buf buffer to hold directory nam
[all...]
/external/webkit/WebCore/platform/qt/
H A DTemporaryLinkStubs.cpp89 bool PluginDatabase::isPreferredPluginDirectory(const String& directory) argument
/external/gtest/include/gtest/internal/
H A Dgtest-filepath.h48 // FilePath - a class for file and directory pathname manipulation which
50 // Used for helper functions for naming files in a directory for xml output.
54 // a directory, otherwise it is assumed to represent a file. In either case,
55 // it may or may not represent an actual file or directory in the file system.
84 // Returns the current working directory, or "" if unsuccessful.
87 // Given directory = "dir", base_name = "test", number = 0,
91 static FilePath MakeFileName(const FilePath& directory,
96 // Given directory = "dir", relative_path = "test.xml",
99 static FilePath ConcatPaths(const FilePath& directory,
103 // will be directory/base_nam
[all...]

Completed in 1029 milliseconds

12345678