/external/chromium/chrome/browser/extensions/ |
H A D | extension_bookmark_manager_apitest.cc | 35 const BookmarkNode* folder = model->AddFolder(bar, 0, ASCIIToUTF16("Folder")); local 38 node = model->AddURL(folder, 0, ASCIIToUTF16("BBB"),
|
H A D | extension_bookmarks_unittest.cc | 22 folder = model_->AddFolder( 23 model_->other_node(), 0, ASCIIToUTF16("outer folder")); 24 model_->AddFolder(folder, 0, ASCIIToUTF16("inner folder 1")); 25 model_->AddFolder(folder, 0, ASCIIToUTF16("inner folder 2")); 26 model_->AddURL(folder, 0, ASCIIToUTF16("Digg"), GURL("http://reddit.com")); 27 model_->AddURL(folder, 0, ASCIIToUTF16("CNet"), GURL("http://cnet.com")); 31 const BookmarkNode* folder; member in class:ExtensionBookmarksTest 55 folder, [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/font/plugins/ |
H A D | BitmapFontLoader.java | 50 private BitmapFont load(AssetManager assetManager, String folder, InputStream in) throws IOException{ argument 103 TextureKey key = new TextureKey(folder + file, true);
|
/external/libmtp/examples/ |
H A D | newfolder.c | 3 * Example program to create a folder on the device. 41 printf(" parent = parent folder or 0 to create the new folder in the root dir\n"); 42 printf(" storage = storage id or 0 to create the new folder on the primary storage\n"); 50 printf("New folder created with ID: %d\n", newid); 57 printf("Creating new folder %s\n",path); 59 char * folder = basename(path); local 61 int newid = LIBMTP_Create_Folder(device, folder, id, 0); 67 printf("New folder created with ID: %d\n", newid);
|
H A D | pathutils.c | 32 lookup_folder_id (LIBMTP_folder_t * folder, char * path, char * parent) argument 40 if (folder == NULL) { 44 current = malloc (strlen(parent) + strlen(folder->name) + 2); 45 sprintf(current,"%s/%s",parent,folder->name); 48 return folder->folder_id; 51 ret = lookup_folder_id (folder->child, path, current); 57 ret = lookup_folder_id (folder->sibling, path, parent); 86 // Check if path is a folder
|
/external/junit/src/org/junit/rules/ |
H A D | TemporaryFolder.java | 16 * public TemporaryFolder folder= new TemporaryFolder(); 20 * File createdFile= folder.newFile("myfile.txt"); 21 * File createdFolder= folder.newFolder("subfolder"); 28 private File folder; field in class:TemporaryFolder 45 folder= newFolder(); 49 * Returns a new fresh file with the given name under the temporary folder. 58 * Returns a new fresh file with a random name under the temporary folder. 61 return File.createTempFile("junit", null, folder); 65 * Returns a new fresh folder with the given name under the temporary folder [all...] |
/external/apache-harmony/support/src/test/java/tests/support/resource/ |
H A D | Support_Resources.java | 43 String folder = null; 48 folder = name.substring(0, index); 51 copyFile(resources, folder, name); 66 File folder = null; 68 folder = File.createTempFile("hyts_resources", "", null); 69 folder.delete(); 70 folder.mkdirs(); 74 folder.deleteOnExit(); 75 return folder; 78 public static void copyFile(File root, String folder, Strin argument [all...] |
/external/chromium/chrome/browser/bookmarks/ |
H A D | bookmark_context_menu_controller_unittest.cc | 119 // Tests open all on a folder with a couple of bookmarks. 121 const BookmarkNode* folder = model_->GetBookmarkBarNode()->GetChild(1); local 123 NULL, profile_.get(), &navigator_, folder, NEW_FOREGROUND_TAB); 127 ASSERT_TRUE(folder->GetChild(0)->GetURL() == navigator_.urls_[0]); 187 // folder.
|
H A D | bookmark_node_data_unittest.cc | 115 // Tests writing a folder to the clipboard. 154 // Tests reading/writing a folder with children. 162 const BookmarkNode* folder = model->AddFolder(root, 0, ASCIIToUTF16("g1")); local 167 model->AddURL(folder, 0, title, url); 169 BookmarkNodeData drag_data(folder); 190 EXPECT_TRUE(folder == r_folder); 201 const BookmarkNode* folder = model->AddFolder(root, 0, ASCIIToUTF16("g1")); local 206 const BookmarkNode* url_node = model->AddURL(folder, 0, title, url); 210 nodes.push_back(folder); 237 EXPECT_TRUE(read_nodes[0] == folder); [all...] |
H A D | bookmark_model_unittest.cc | 218 // Add another folder, just to make sure folder_ids are incremented correctly. 243 const BookmarkNode* folder = model.AddFolder(root, 0, ASCIIToUTF16("foo")); local 250 model.AddURL(folder, 0, title, url); 254 // Now remove the folder. 312 // And remove the folder. 330 // Copy 'd' to be after '1:b': URL item from bar to folder. 337 // Copy '1:d' to be after 'a': URL item from folder to bar. 338 const BookmarkNode* folder = root->GetChild(1); local 339 nodeToCopy = folder->GetChild(1); 344 // Copy '1' to be after '2:e': Folder from bar to folder 389 const BookmarkNode* folder = model.AddFolder(model.other_node(), 0, local [all...] |
/external/chromium/chrome/browser/ui/views/bookmarks/ |
H A D | bookmark_context_menu_test.cc | 124 // Tests open all on a folder with a couple of bookmarks. 126 const BookmarkNode* folder = model_->GetBookmarkBarNode()->GetChild(1); local 128 NULL, profile_.get(), &navigator_, folder, NEW_FOREGROUND_TAB); 132 ASSERT_TRUE(folder->GetChild(0)->GetURL() == navigator_.urls_[0]); 190 // folder.
|
/external/jmonkeyengine/engine/src/core/com/jme3/asset/ |
H A D | AssetKey.java | 47 protected transient String folder; field in class:AssetKey 94 if (folder == null) 95 folder = getFolder(name); 97 return folder;
|
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | pathutils.cc | 49 // FOLDER_DELIMS separate folder segments and the filename 80 Pathname::Pathname(const std::string& folder, const std::string& filename) argument 82 SetPathname(folder, filename); 144 void Pathname::SetPathname(const std::string& folder, argument 146 SetFolder(folder); 156 std::string Pathname::folder() const { function in class:talk_base::Pathname 184 void Pathname::SetFolder(const std::string& folder) { argument 185 folder_.assign(folder); 186 // Ensure folder ends in a path delimiter 192 void Pathname::AppendFolder(const std::string& folder) { argument [all...] |
H A D | diskcache.cc | 84 bool DiskCache::Initialize(const std::string& folder, size_t size) { argument 85 if (!folder_.empty() || !Filesystem::CreateFolder(folder)) 88 folder_ = folder;
|
H A D | fileutils.cc | 194 bool FilesystemInterface::DeleteFolderContents(const Pathname &folder) { argument 196 VERIFY(IsFolder(folder)); 198 di->Iterate(folder); 203 subdir.SetFolder(folder.pathname()); 239 // If no folder is supplied, use the temporary folder 240 if (path.folder().empty()) { 251 std::string folder(path.folder()); 252 std::string filename = Filesystem::TempFilename(folder, "g [all...] |
H A D | unixfilesystem.cc | 76 // @return the folder for libjingle. Some extra path (typically 82 // @return the tmp folder to be used. Some extra path will be added to 83 // that base folder. 120 LOG(LS_INFO) << "Creating folder: " << pathname; 160 bool UnixFilesystem::DeleteEmptyFolder(const Pathname &folder) { argument 161 LOG(LS_INFO) << "Deleting folder" << folder.pathname(); 163 if (!IsFolder(folder)) { 164 ASSERT(IsFolder(folder)); 167 std::string no_slash(folder [all...] |
H A D | win32filesystem.cc | 207 bool Win32Filesystem::DeleteEmptyFolder(const Pathname &folder) { argument 208 LOG(LS_INFO) << "Deleting folder " << folder.pathname(); 210 std::string no_slash(folder.pathname(), 0, folder.pathname().length()-1); 408 } else if (path.folder().substr(0, 2) == "\\\\") {
|
H A D | fileutils.h | 134 // It ASSERTS and returns false if the path points to a folder or a 138 // This will attempt to delete the empty folder located at 'folder' 140 // folder. It fails normally if the folder is not empty or can otherwise 142 virtual bool DeleteEmptyFolder(const Pathname &folder) = 0; 146 // folder. If the folder is empty, this returns true. 147 virtual bool DeleteFolderContents(const Pathname &folder); 149 // This deletes the contents of a folder, recursivel 151 DeleteFolderAndContents(const Pathname &folder) argument 322 DeleteEmptyFolder(const Pathname &folder) argument 326 DeleteFolderContents(const Pathname &folder) argument 330 DeleteFolderAndContents(const Pathname &folder) argument [all...] |
/external/eigen/unsupported/Eigen/src/SparseExtra/ |
H A D | MatrixMarketIterator.h | 22 * @brief Iterator to browse matrices from a specified folder 24 * This is used to load all the matrices from a folder. 49 MatrixMarketIterator(const std::string folder):m_sym(0),m_isvalid(false),m_matIsLoaded(false),m_hasRhs(false),m_hasrefX(false),m_folder(folder) argument 51 m_folder_id = opendir(folder.c_str()); 54 std::cerr << "The provided Matrix folder could not be opened \n\n"; 175 // Here, we return with the next valid matrix in the folder 180 // Discard if it is a folder
|
/external/icu4c/test/intltest/ |
H A D | normconf.cpp | 71 const char *folder; local 76 folder=pathToDataDirectory(); 77 if(folder!=NULL) { 78 strcpy(unidataPath, folder); 89 folder=loadTestData(errorCode); 91 strcpy(unidataPath, folder); 104 folder=loadTestData(errorCode); 106 strcpy(unidataPath, folder); 117 folder=loadTestData(errorCode); 119 strcpy(unidataPath, folder); [all...] |
/external/eigen/bench/spbench/ |
H A D | spbenchsolver.h | 482 /* Browse all the matrices available in the specified folder 488 void Browse_Matrices(const string folder, bool statFileExists, std::string& statFile, int maxiters, double tol) argument 492 MatrixMarketIterator<Scalar> it(folder);
|
/external/chromium/chrome/browser/importer/ |
H A D | firefox3_importer.cc | 249 // After the first run, the item will be placed in a folder in 256 // If the entry is under a livemark folder, we don't import it. 452 std::string folder = s.ColumnString(0); local 454 if (folder == kToolbarFolderName) 456 else if (folder == kMenuFolderName) 458 else if (folder == kUnsortedFolderName) 495 item->parent = -1; // The top level folder has no parent.
|
/external/chromium/chrome/browser/sync/engine/ |
H A D | syncapi_unittest.cc | 78 // Makes a non-folder child of the root node. Returns the id of the 92 // Make a folder as a child of the root node. Returns the id of the 106 // Makes a non-folder child of a non-root node. Returns the id of the 121 // Makes a folder child of a non-root node. Returns the id of the 303 // we'll use this spare folder later 422 EXPECT_EQ("Top-level folder", type_str); 1082 int64 folder = MakeFolderWithParent(sync_manager_.GetUserShare(), local 1086 // First batch_size nodes are children of folder. 1090 StringPrintf("%"PRIuS"", i), folder);
|
/external/chromium/chrome/browser/ui/gtk/bookmarks/ |
H A D | bookmark_utils_gtk.cc | 299 int GetCodeMask(bool folder) { argument 301 if (!folder) { 350 // If the node is a folder, this will be empty. TODO(estade): figure out
|
/external/chromium/chrome/browser/sync/ |
H A D | profile_sync_service_bookmark_unittest.cc | 166 // Add a bookmark folder. 526 const BookmarkNode* folder = local 528 ExpectSyncerNodeMatching(folder); 531 model_->AddFolder(folder, 0, ASCIIToUTF16("nested")); 535 folder, 0, ASCIIToUTF16("Internets #1 Pies Site"), 540 folder, 1, ASCIIToUTF16("Airplanes"), GURL("http://www.easyjet.com/")); 553 model_->Move(folder, folder2, 0); 555 model_->SetTitle(folder, ASCIIToUTF16("who's nested now?")); 609 // Mess with u2, and move it into empty folder f2 1337 // folder [all...] |