Home
last modified time | relevance | path

Searched refs:folder (Results 1 – 25 of 189) sorted by relevance

12345678

/external/apache-harmony/support/src/test/java/tests/support/resource/
DSupport_Resources.java43 String folder = null; in getURL() local
48 folder = name.substring(0, index); in getURL()
51 copyFile(resources, folder, name); in getURL()
66 File folder = null; in createTempFolder() local
68 folder = File.createTempFile("hyts_resources", "", null); in createTempFolder()
69 folder.delete(); in createTempFolder()
70 folder.mkdirs(); in createTempFolder()
74 folder.deleteOnExit(); in createTempFolder()
75 return folder; in createTempFolder()
78 public static void copyFile(File root, String folder, String file) { in copyFile() argument
[all …]
/external/junit/src/org/junit/rules/
DTemporaryFolder.java28 private File folder; field in TemporaryFolder
45 folder= newFolder(); in create()
61 return File.createTempFile("junit", null, folder); in newFile()
81 File createdFolder= File.createTempFile("junit", "", folder); in newFolder()
91 if (folder == null) { in getRoot()
94 return folder; in getRoot()
103 recursiveDelete(folder); in delete()
/external/chromium/chrome/browser/extensions/
Dextension_bookmarks_unittest.cc22 folder = model_->AddFolder( in SetUp()
24 model_->AddFolder(folder, 0, ASCIIToUTF16("inner folder 1")); in SetUp()
25 model_->AddFolder(folder, 0, ASCIIToUTF16("inner folder 2")); in SetUp()
26 model_->AddURL(folder, 0, ASCIIToUTF16("Digg"), GURL("http://reddit.com")); in SetUp()
27 model_->AddURL(folder, 0, ASCIIToUTF16("CNet"), GURL("http://cnet.com")); in SetUp()
31 const BookmarkNode* folder; member in ExtensionBookmarksTest
55 folder, in TEST_F()
70 folder, in TEST_F()
/external/opencv/otherlibs/highgui/
Dloadsave.cpp85 const char* Next( const char* folder, int& len ) const;
167 const char* CvFilePath::Next( const char* folder, int& len ) const
169 if( !folder || folder < m_path || folder >= m_path + m_len )
172 folder = strchr( folder, ';' );
173 if( folder )
175 const char* folder_end = ++folder;
179 len = folder_end - folder;
182 return folder;
191 const char* folder = First( folder_len );
203 memcpy( buffer, folder, folder_len );
[all …]
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_folder_controller_unittest.mm36 // Utility function to verify that the buttons in this folder are all
136 ASCIIToUTF16("folder"));
139 ASCIIToUTF16("sibbling folder"));
227 // Confirm folder buttons have no tooltip. The important thing
294 const BookmarkNode* folder = parent;
300 folder = model->AddFolder(folder, 0, ASCIIToUTF16("nested folder"));
304 folder = parent;
373 // Somewhere near the center: a match (but only if a folder!)
381 // If not a folder we don't drop into it.
548 BookmarkBarFolderController* folder = [bar_ folderController];
[all …]
Dbookmark_name_folder_controller_unittest.mm45 // Add a new folder.
57 // Add 2 nodes. We will place the new folder in the middle of these.
72 // Add a new folder.
82 // Make sure we are allowed to create a folder named "New Folder".
103 // Make sure we are allowed to create a folder with an empty name.
127 const BookmarkNode* folder = model->AddFolder(parent,
129 ASCIIToUTF16("folder"));
131 // Rename the folder by creating a controller that originates from
137 node:folder]);
140 EXPECT_NSEQ(@"folder", [controller folderName]);
Dbookmark_folder_target.mm27 // "folder" bookmark button. (In this context, "Click" does not
29 // different path). Scenarios when folder X is clicked:
32 // Folder X open Close folder X
48 // over a bookmark folder) can confuse us. Unless we check the
49 // event type, we are not sure if this is an "open folder" due to a
50 // hover-open or "open folder" due to a click. It doesn't matter
69 // If click on same folder, close it and be done.
70 // Else we clicked on a different folder so more work to do.
Dbookmark_editor_base_controller.mm24 // Return the folder tree object for the given path.
27 // (Re)build the folder tree from the BookmarkModel's current state.
39 // Given a folder node, collect an array containing BookmarkFolderInfos
43 // Scan the folder tree stemming from the given tree folder and create
44 // any newly added folders. Pass down info for the folder which was
49 // Scan the folder tree looking for the given bookmark node and return
195 // Remove the folder tree and "new folder" button.
202 // Build up a tree of the current folder configuration.
415 // Build up a tree of the current folder configuration.
440 // The user can't select a different folder, so just close up shop.
[all …]
Dbookmark_bar_controller_unittest.mm576 // deletion of the last node in "off the side" causes the folder to
720 // Test with an actual folder as well
722 const BookmarkNode* folder = model->AddFolder(parent,
724 ASCIIToUTF16("folder"));
725 model->AddURL(folder, folder->child_count(),
727 model->AddURL(folder, folder->child_count(),
732 item = [menu itemWithTitle:@"folder"];
1099 const BookmarkNode* folder = model->AddFolder(parent,
1101 ASCIIToUTF16("folder"));
1109 EXPECT_EQ(folder->id(), [menu id]);
[all …]
/external/chromium/third_party/libjingle/source/talk/base/
Dpathutils.cc80 Pathname::Pathname(const std::string& folder, const std::string& filename) in Pathname() argument
82 SetPathname(folder, filename); in Pathname()
144 void Pathname::SetPathname(const std::string& folder, in SetPathname() argument
146 SetFolder(folder); in SetPathname()
156 std::string Pathname::folder() const { in folder() function in talk_base::Pathname
184 void Pathname::SetFolder(const std::string& folder) { in SetFolder() argument
185 folder_.assign(folder); in SetFolder()
192 void Pathname::AppendFolder(const std::string& folder) { in AppendFolder() argument
193 folder_.append(folder); in AppendFolder()
Dfileutils.h142 virtual bool DeleteEmptyFolder(const Pathname &folder) = 0;
147 virtual bool DeleteFolderContents(const Pathname &folder);
151 virtual bool DeleteFolderAndContents(const Pathname &folder) { in DeleteFolderAndContents() argument
152 return DeleteFolderContents(folder) && DeleteEmptyFolder(folder); in DeleteFolderAndContents()
322 static bool DeleteEmptyFolder(const Pathname &folder) { in DeleteEmptyFolder() argument
323 return EnsureDefaultFilesystem()->DeleteEmptyFolder(folder); in DeleteEmptyFolder()
326 static bool DeleteFolderContents(const Pathname &folder) { in DeleteFolderContents() argument
327 return EnsureDefaultFilesystem()->DeleteFolderContents(folder); in DeleteFolderContents()
330 static bool DeleteFolderAndContents(const Pathname &folder) { in DeleteFolderAndContents() argument
331 return EnsureDefaultFilesystem()->DeleteFolderAndContents(folder); in DeleteFolderAndContents()
Dfileutils.cc194 bool FilesystemInterface::DeleteFolderContents(const Pathname &folder) { in DirectoryIterator() argument
196 VERIFY(IsFolder(folder)); in DirectoryIterator()
198 di->Iterate(folder); in DirectoryIterator()
203 subdir.SetFolder(folder.pathname()); in DirectoryIterator()
240 if (path.folder().empty()) { in DirectoryIterator()
251 std::string folder(path.folder()); in DirectoryIterator() local
252 std::string filename = Filesystem::TempFilename(folder, "gt"); in DirectoryIterator()
Dunixfilesystem.cc160 bool UnixFilesystem::DeleteEmptyFolder(const Pathname &folder) { in DeleteEmptyFolder() argument
161 LOG(LS_INFO) << "Deleting folder" << folder.pathname(); in DeleteEmptyFolder()
163 if (!IsFolder(folder)) { in DeleteEmptyFolder()
164 ASSERT(IsFolder(folder)); in DeleteEmptyFolder()
167 std::string no_slash(folder.pathname(), 0, folder.pathname().length()-1); in DeleteEmptyFolder()
467 std::string folder(application_name_); in GetAppTempFolder() local
468 folder.append(buffer); in GetAppTempFolder()
469 if (!GetTemporaryFolder(*path, true, &folder)) in GetAppTempFolder()
482 Pathname existing_path(path.folder(), ""); in GetDiskFreeSpace()
483 while (!existing_path.folder().empty() && IsAbsent(existing_path)) { in GetDiskFreeSpace()
Dpathutils.h65 Pathname(const std::string& folder, const std::string& filename);
88 void SetPathname(const std::string& folder, const std::string& filename);
94 std::string folder() const;
98 void SetFolder(const std::string& folder);
99 void AppendFolder(const std::string& folder);
/external/chromium/chrome/browser/ui/cocoa/applescript/examples/
Ddelete_bookmarks.applescript5 -- This script deletes all the items within a bookmark folder.
7 set var to bookmark folder "New" of bookmarks bar
8 -- Change the folder to whichever you want.
11 delete every bookmark folder
/external/libmtp/examples/
Dpathutils.c32 lookup_folder_id (LIBMTP_folder_t * folder, char * path, char * parent) in lookup_folder_id() argument
40 if (folder == NULL) { in lookup_folder_id()
44 current = malloc (strlen(parent) + strlen(folder->name) + 2); in lookup_folder_id()
45 sprintf(current,"%s/%s",parent,folder->name); in lookup_folder_id()
48 return folder->folder_id; in lookup_folder_id()
51 ret = lookup_folder_id (folder->child, path, current); in lookup_folder_id()
57 ret = lookup_folder_id (folder->sibling, path, parent); in lookup_folder_id()
/external/chromium/chrome/browser/ui/cocoa/applescript/
Dbookmark_node_applescript.mm54 // It is safe to be weak, if a bookmark item/folder goes away
55 // (eg user deleting a folder) the applescript runtime calls
57 // and this particular bookmark item/folder is never returned.
69 // It is safe to be weak, if a bookmark item/folder goes away
70 // (eg user deleting a folder) the applescript runtime calls
72 // and this particular bookmark item/folder is never returned.
90 // If the scripter enters |make new bookmarks folder with properties
Dbookmark_folder_applescript_unittest.mm43 // Insert a new bookmark folder.
45 // Emulate what applescript would do when inserting a new bookmark folder.
46 // Emulates a script like |set var to make new bookmark folder with
54 // Represents the bookmark folder after its added.
64 // Insert a new bookmark folder at a particular position.
66 // Emulate what applescript would do when inserting a new bookmark folder.
67 // Emulates a script like |set var to make new bookmark folder with
68 // properties {title:"foo"} at after bookmark folder 1|.
75 // Represents the bookmark folder after its added.
119 // Emulate what applescript would do when inserting a new bookmark folder.
/external/chromium/chrome/browser/bookmarks/
Dbookmark_node_data_unittest.cc162 const BookmarkNode* folder = model->AddFolder(root, 0, ASCIIToUTF16("g1")); in TEST_F() local
167 model->AddURL(folder, 0, title, url); in TEST_F()
169 BookmarkNodeData drag_data(folder); in TEST_F()
190 EXPECT_TRUE(folder == r_folder); in TEST_F()
201 const BookmarkNode* folder = model->AddFolder(root, 0, ASCIIToUTF16("g1")); in TEST_F() local
206 const BookmarkNode* url_node = model->AddURL(folder, 0, title, url); in TEST_F()
210 nodes.push_back(folder); in TEST_F()
237 EXPECT_TRUE(read_nodes[0] == folder); in TEST_F()
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
Dhttp_server_base.py78 def remove_log_files(self, folder, starts_with): argument
79 files = os.listdir(folder)
82 full_path = os.path.join(folder, file)
/external/jmonkeyengine/engine/src/core/com/jme3/asset/
DAssetKey.java47 protected transient String folder; field in AssetKey
94 if (folder == null) in getFolder()
95 folder = getFolder(name); in getFolder()
97 return folder; in getFolder()
/external/stlport/doc/
DREADME.borland58 and go to the STLport build/lib folder. Run
76 2. Go to the STLport build/lib folder:
88 in STLport's 'lib' folder and DLLs in STLport's 'bin' folder. For a
89 description of the generated libraries check the FAQ file in the 'doc' folder.
91 'build/lib' folder.
97 STLport's 'build/test/unit' folder and type:
113 files. In the include files add the path to STLport's 'stlport' folder. Make sure
114 it is the first directory listed there. Add STLport's 'lib' folder for the library
DREADME.evc343 for ARM or x86 processors. These files usually are in a folder like
49 Go into STLport's 'build\lib' folder and type:
61 ones. Import libraries (.lib files) are put in the 'lib\evc3-arm' folder, DLLs
62 are put in the 'bin\evc3-arm' folder. If you use another target platform, the
63 name of the folder is changed accordingly, e.g. evc3-x86 for emulator files.
65 Once STLport is built you can decrease the size of the STLport folder by
77 STLports 'build\test\unit' folder and type:
85 folder) to your device or emulator and start it (the test runs for about 30
87 created in the root folder of the device, which contains the unit test
95 In the include files add the path to STLport's 'stlport' folder. Make sure it
[all …]
/external/icu4c/test/intltest/
Dnormconf.cpp71 const char *folder; in openNormalizationTestFile() local
76 folder=pathToDataDirectory(); in openNormalizationTestFile()
77 if(folder!=NULL) { in openNormalizationTestFile()
78 strcpy(unidataPath, folder); in openNormalizationTestFile()
89 folder=loadTestData(errorCode); in openNormalizationTestFile()
91 strcpy(unidataPath, folder); in openNormalizationTestFile()
104 folder=loadTestData(errorCode); in openNormalizationTestFile()
106 strcpy(unidataPath, folder); in openNormalizationTestFile()
117 folder=loadTestData(errorCode); in openNormalizationTestFile()
119 strcpy(unidataPath, folder); in openNormalizationTestFile()
/external/chromium/chrome/browser/resources/bookmark_manager/js/bmm/
Dbookmark_tree.js215 insertSubtree:function(folder) { argument
216 if (!bmm.isFolder(folder))
218 var children = folder.children;
219 this.handleCreated(folder.id, folder);

12345678