/external/chromium/testing/gtest/src/ |
gtest-filepath.cc | 114 // Returns a copy of the FilePath with the case-insensitive extension removed. 116 // FilePath("dir/file"). If a case-insensitive extension is not 118 FilePath FilePath::RemoveExtension(const char* extension) const { 119 String dot_extension(String::Format(".%s", extension)); 173 // extension = "xml", returns "dir/test.xml". If number is greater 179 const char* extension) { 182 file = String::Format("%s.%s", base_name.c_str(), extension); 184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); 272 // will be directory/base_name.extension or 273 // directory/base_name_<number>.extension if directory/base_name.extensio [all...] |
/external/emma/core/java12/com/vladium/util/ |
Files.java | 160 * @return String file name without the extension [excluding '.' separator] 161 * [if 'file' does not appear to have an extension, the full name is returned]. 181 * @return String extension [including '.' separator] or "" if 'file' does not 182 * appear to have an extension. 294 * This defers to File.createTempFile (prefix, extension, parentDir) after 295 * normalizing 'extension'.<P> 307 * @param extension pattern for the temp file name [null is equivalient to 314 public static File createTempFile (final File parentDir, final String prefix, String extension) 322 if (extension == null) extension = ".tmp" [all...] |
/external/gtest/src/ |
gtest-filepath.cc | 114 // Returns a copy of the FilePath with the case-insensitive extension removed. 116 // FilePath("dir/file"). If a case-insensitive extension is not 118 FilePath FilePath::RemoveExtension(const char* extension) const { 119 String dot_extension(String::Format(".%s", extension)); 173 // extension = "xml", returns "dir/test.xml". If number is greater 179 const char* extension) { 182 file = String::Format("%s.%s", base_name.c_str(), extension); 184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); 272 // will be directory/base_name.extension or 273 // directory/base_name_<number>.extension if directory/base_name.extensio [all...] |
/external/llvm/utils/unittest/googletest/ |
gtest-filepath.cc | 114 // Returns a copy of the FilePath with the case-insensitive extension removed. 116 // FilePath("dir/file"). If a case-insensitive extension is not 118 FilePath FilePath::RemoveExtension(const char* extension) const { 119 String dot_extension(String::Format(".%s", extension)); 173 // extension = "xml", returns "dir/test.xml". If number is greater 179 const char* extension) { 182 file = String::Format("%s.%s", base_name.c_str(), extension); 184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); 272 // will be directory/base_name.extension or 273 // directory/base_name_<number>.extension if directory/base_name.extensio [all...] |
/external/protobuf/gtest/src/ |
gtest-filepath.cc | 99 // Returns a copy of the FilePath with the case-insensitive extension removed. 101 // FilePath("dir/file"). If a case-insensitive extension is not 103 FilePath FilePath::RemoveExtension(const char* extension) const { 104 String dot_extension(String::Format(".%s", extension)); 142 // extension = "xml", returns "dir/test.xml". If number is greater 148 const char* extension) { 151 file = String::Format("%s.%s", base_name.c_str(), extension); 153 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); 241 // will be directory/base_name.extension or 242 // directory/base_name_<number>.extension if directory/base_name.extensio [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppReceiveFileInfo.java | 143 String extension = null; local 150 extension = ""; 153 extension = filename.substring(dotIndex); 158 String fullfilename = chooseUniquefilename(filename, extension); 212 private static String chooseUniquefilename(String filename, String extension) { 213 String fullfilename = filename + extension; 233 fullfilename = filename + sequence + extension;
|
/external/chromium/chrome/browser/extensions/ |
extension_web_ui.cc | 22 #include "chrome/common/extensions/extension.h" 58 // extension. 77 extension_->GetIconResource(Extension::EXTENSION_ICON_BITTY, 93 NOTREACHED() << "Could not encode extension favicon"; 120 const Extension* extension_; 134 const Extension* extension = service->GetExtensionByURL(url); local 135 if (!extension) 136 extension = service->GetExtensionByWebExtent(url); 137 DCHECK(extension); 274 const Extension* extension = service->GetExtensionByURL(extension_url); local [all...] |
extensions_ui.h | 24 class Extension; 32 // Information about a page running in an extension, for example a toolstrip, 75 // Extension Detail JSON Struct for page. (static for ease of testing). 79 const Extension* extension, 140 // Utility for callbacks that get an extension ID as the sole argument. 141 const Extension* GetExtension(const ListValue* args); 161 // Helper that lists the current active html pages for an extension. 163 const Extension* extension); [all...] |
extension_context_menu_model.h | 15 class Extension; 19 // The menu model for the context menu for extension action icons (browser and 38 // Creates a menu model for the given extension action. If 42 ExtensionContextMenuModel(const Extension* extension, 61 // Gets the extension we are displaying the menu for. Returns NULL if the 62 // extension has been uninstalled and no longer exists. 63 const Extension* GetExtension() const; 65 // A copy of the extension's id. 68 // The extension action we are displaying the menu for (or NULL) [all...] |
extension_icon_manager.h | 18 class Extension; 25 // Start loading the icon for the given extension. 26 void LoadIcon(const Extension* extension); 29 // entry specified in the extension's 'icon' section of the manifest, or a 30 // default extension icon. 33 // Removes the extension's icon from memory. 44 // Makes sure we've done one-time initialization of the default extension icon 52 // Used for loading extension icons. 55 // Maps extension id to an SkBitmap with the icon for that extension [all...] |
extension_info_map.cc | 7 #include "chrome/common/extensions/extension.h" 25 void ExtensionInfoMap::AddExtension(const Extension* extension) { 27 extension_info_[extension->id()] = extension; 28 Map::iterator iter = disabled_extension_info_.find(extension->id()); 42 // If the extension was uninstalled, make sure it's removed from the map of 48 // disabled extension (e.g., via sync). See 118 // If the url is an extension scheme, we just look it up by extension id [all...] |
extension_info_map.h | 15 #include "chrome/common/extensions/extension.h" 19 class Extension; 21 // Contains extension data that needs to be accessed on the IO thread. It can 33 void AddExtension(const Extension* extension); 35 // Callback for when an extension is unloaded. 39 // Gets the name for the specified extension. 42 // Gets the path to the directory for the specified extension. 45 // Gets the path to the directory for the specified disabled extension. 48 // Returns true if the specified extension exists and has a non-empty we [all...] |
image_loading_tracker.h | 15 class Extension; 31 // tracker_.LoadImage(extension, resource, max_size, false); 68 void LoadImage(const Extension* extension, 74 typedef std::map<int, const Extension*> LoadMap; 87 // NotificationObserver method. If an extension is uninstalled while we're 103 // integer identifies the id assigned to the request. If the extension is
|
user_script_listener.h | 20 class Extension; 87 // Helper to collect the extension's user script URL patterns in a list and 89 void CollectURLPatterns(const Extension* extension, URLPatterns* patterns);
|
/external/webkit/Source/WebCore/platform/ |
MIMETypeRegistry.cpp | 264 const char* extension; member in struct:WebCore::TypeExtensionPair 268 // specific MIME type lookup doesn't have a match for a media file extension. 357 if (mediaMIMETypeForExtensionMap.contains(pairs[ndx].extension)) 358 mediaMIMETypeForExtensionMap.get(pairs[ndx].extension)->append(pairs[ndx].type); 362 // If there is a system specific type for this extension, add it as the first type so 364 String systemType = MIMETypeRegistry::getMIMETypeForExtension(pairs[ndx].extension); 368 mediaMIMETypeForExtensionMap.add(pairs[ndx].extension, synonyms); 376 String MIMETypeRegistry::getMIMETypeForExtension(const String& extension) 378 return getMIMETypeForExtensionThreadSafe(extension); 403 // the extension at all, because it always contains the system-specific type if th 464 String extension = path.substring(pos + 1); local [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/x509/extension/ |
AuthorityKeyIdentifierStructure.java | 1 package org.bouncycastle.x509.extension; 29 * @param encodedValue a DER octet encoded string with the extension structure in it. 40 * Constructor which will take an extension 42 * @param extension a X509Extension object containing an AuthorityKeyIdentifier. 45 X509Extension extension) 47 super((ASN1Sequence)extension.getParsedValue());
|
SubjectKeyIdentifierStructure.java | 1 package org.bouncycastle.x509.extension; 20 * @param encodedValue a DER octet encoded string with the extension structure in it.
|
/external/chromium/chrome/common/extensions/ |
extension_set_unittest.cc | 10 #include "chrome/common/extensions/extension.h" 16 scoped_refptr<Extension> CreateTestExtension(const std::string& name, 40 scoped_refptr<Extension> extension( 41 Extension::Create(path, Extension::INTERNAL, manifest, 42 Extension::STRICT_ERROR_CHECKS, &error)); 43 EXPECT_TRUE(extension.get()) << error; 44 return extension; 50 scoped_refptr<Extension> ext1(CreateTestExtension [all...] |
/external/v8/test/cctest/ |
cctest.cc | 49 // Drop the extension, if there is one. 50 char *extension = strrchr(basename, '.'); local 51 if (extension) *extension = 0;
|
/external/v8/test/mjsunit/regress/ |
regress-186.js | 42 // Add property called __proto__ to the extension object. 44 // Check that the extension object's prototype did not change. 46 assertFalse(setterCalled, "prototype of extension object changed"); 51 // Add const property called __proto__ to the extension object. 53 // Check that the extension object's prototype did not change. 55 assertFalse(setterCalled, "prototype of extension object changed");
|
/external/webkit/Source/WebCore/platform/chromium/ |
MIMETypeRegistryChromium.cpp | 61 // Returns the file extension if one is found. Does not include the dot in the 81 String extension = path.substring(pos + 1); 82 String mimeType = getMIMETypeForExtension(extension); 84 // If there's no mimetype registered for the extension, check to see 85 // if a plugin can handle the extension. 86 mimeType = getPluginMimeTypeFromExtension(extension);
|
/external/chromium/chrome/browser/download/ |
download_prefs.h | 35 // Returns true if there is at least one file extension registered 40 const FilePath::StringType& extension) const; 42 // Enables auto-open based on file extension. Returns true on success. 46 // Disables auto-open based on file extension.
|
/external/chromium/chrome/browser/sync/glue/ |
extension_sync.h | 15 class Extension; 33 // A map from extension IDs to ExtensionData objects. 65 // Updates the server data for the given extension. Returns true iff 69 const Extension& extension, 74 // Removes the server data for the given extension ID.
|
/external/chromium/chrome/browser/tabs/ |
pinned_tab_codec.cc | 15 #include "chrome/common/extensions/extension.h" 47 const Extension* extension = local 49 DCHECK(extension); 50 value->SetString(kAppID, extension->id()); 54 value->SetString(kURL, extension->GetFullLaunchURL().spec());
|
/external/chromium/chrome/browser/ui/views/extensions/ |
extension_uninstall_dialog_view.cc | 14 #include "chrome/common/extensions/extension.h" 35 const Extension* extension, 50 UTF8ToUTF16(extension->name())))); 147 const Extension* extension, 162 new ExtensionUninstallDialogView(delegate, extension, icon))->Show();
|