/external/chromium/chrome/browser/extensions/ |
user_script_master.cc | 20 #include "chrome/common/extensions/extension.h" 241 // renderers along with other extension data in ExtensionMsg_Loaded. 344 // Add any content scripts inside the extension. 345 const Extension* extension = Details<const Extension>(details).ptr(); local 347 IsIncognitoEnabled(extension->id()); 348 const UserScriptList& scripts = extension->content_scripts(); 360 const Extension* extension local 377 const Extension* extension = Details<const Extension>(details).ptr(); local [all...] |
convert_user_script.cc | 19 #include "chrome/common/extensions/extension.h" 28 scoped_refptr<Extension> ConvertUserScriptToExtension( 70 // User scripts are not signed, but the public key for an extension doubles as 80 // The script may not have a name field, but we need one for an extension. If 135 Extension::kManifestFilename); 149 scoped_refptr<Extension> extension = Extension::Create( local 151 Extension::INTERNAL, 153 Extension::NO_FLAGS [all...] |
execute_code_in_tab_function.cc | 17 #include "chrome/common/extensions/extension.h" 158 const Extension* extension = GetExtension(); local 159 if (!extension) { 174 params.extension_id = extension->id(); 194 NOTREACHED() << "malformed extension message";
|
pending_extension_manager.cc | 9 #include "chrome/common/extensions/extension.h" 15 bool IsApp(const Extension& extension) { 16 return extension.is_app(); 20 bool AlwaysInstall(const Extension& extension) { 64 LOG(ERROR) << "Trying to add pending extension " << id 70 const Extension::Location kSyncLocation = Extension::INTERNAL; 81 Extension::Location location) [all...] |
crx_installer.h | 16 #include "chrome/common/extensions/extension.h" 52 // currently necessary. This is the |id| of an extension to be installed 58 // Exempt the next extension install with |id| from displaying a confirmation 60 // beginInstallWithManifest. We require that the extension manifest matches 91 // Convert the specified user script into an extension and install it. 95 // Convert the specified web app into an extension and install it. 105 Extension::Location install_source() const { return install_source_; } 106 void set_install_source(Extension::Location source) { 140 // Converts the source user script to an extension. 143 // Converts the source web app to an extension [all...] |
/external/chromium/chrome/common/net/ |
x509_certificate_model_nss.cc | 64 CERTCertExtension* extension) { 66 extension->critical.data && extension->critical.data[0] ? 69 psm::ProcessExtensionData(SECOID_FindOIDTag(&extension->id), 70 &extension->value); 290 Extension extension; local 291 extension.name = psm::GetOIDText(&cert_handle->extensions[i]->id); 292 extension.value = ProcessExtension( 294 extensions->push_back(extension); [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
pathutils.cc | 46 // EXT_DELIM separates a file basename from extension 212 std::string Pathname::extension() const { function in class:talk_base::Pathname 216 bool Pathname::SetExtension(const std::string& extension) { 217 if (extension.find_first_of(FOLDER_DELIMS) != std::string::npos || 218 extension.find_first_of(EXT_DELIM, 1) != std::string::npos) { 221 extension_.assign(extension); 222 // Ensure extension begins with the extension delimiter
|
pathutils.h | 50 // extension() .txt 53 // If extension exists, it consists of a period followed by zero or more 104 std::string extension() const; 106 bool SetExtension(const std::string& extension);
|
/external/openssl/crypto/dso/ |
dso_dl.c | 320 static const char extension[] = ".sl"; variable 322 static const char extension[] = ".so"; variable 334 rsize += strlen(extension);/* The length of ".s?" */ 348 sprintf(translated, "lib%s%s", filename, extension); 350 sprintf(translated, "%s%s", filename, extension);
|
/external/protobuf/python/google/protobuf/internal/ |
reflection_test.py | 735 extension = unittest_pb2.optional_int32_extension 736 self.assertTrue(not extendee_proto.HasExtension(extension)) 737 self.assertEqual(0, extendee_proto.Extensions[extension]) 740 self.assertTrue(not extendee_proto.HasExtension(extension)) 742 extendee_proto.Extensions[extension] = 23 743 self.assertEqual(23, extendee_proto.Extensions[extension]) 744 self.assertTrue(extendee_proto.HasExtension(extension)) 746 extendee_proto.ClearExtension(extension) 747 self.assertEqual(0, extendee_proto.Extensions[extension]) 748 self.assertTrue(not extendee_proto.HasExtension(extension)) [all...] |
/external/webkit/Source/WebKit/mac/Plugins/ |
WebBasePluginPackage.mm | 229 // extension string into components. 232 for (NSString *extension in extensionComponents) 233 mimeClassInfo.extensions.append(extension); 300 - (BOOL)supportsExtension:(const String&)extension 302 ASSERT(extension.lower() == extension); 307 if (find(extensions.begin(), extensions.end(), extension) != extensions.end()) 326 - (NSString *)MIMETypeForExtension:(const String&)extension 328 ASSERT(extension.lower() == extension); [all...] |
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
ManagerService.java | 258 private byte[] getExpectedResult(String relativePath, String extension) { 260 FileFilter.setPathEnding(relativePath, "-expected." + extension); 284 private String getExpectedResultPath(String relativePath, String extension) { 286 FileFilter.setPathEnding(relativePath, "-expected." + extension); 288 getExpectedResult(relativePath, extension);
|
/libcore/benchmarks/src/benchmarks/regression/ |
ParseBenchmark.java | 81 final String extension; field in class:ParseBenchmark.Api 83 private Api(String extension) { 84 this.extension = extension; 94 text = resourceToString("/" + document.name() + "." + api.extension);
|
/external/chromium/chrome/browser/ |
utility_process_host.cc | 32 bool UtilityProcessHost::StartExtensionUnpacker(const FilePath& extension) { 33 // Grant the subprocess access to the entire subdir the extension file is 35 if (!StartProcess(extension.DirName())) 38 Send(new UtilityMsg_UnpackExtension(extension));
|
/external/chromium/net/base/ |
mime_util.cc | 98 { "application/x-chrome-extension", "crx" } 151 // We implement the same algorithm as Mozilla for mapping a file extension to 186 FilePath::StringType file_name_str = file_path.Extension(); 488 FilePath::StringType* extension) { 490 extension); 610 FilePath::StringType extension; local 619 FilePath::StringType extension(UTF8ToWide(this_extensions[j])); 621 FilePath::StringType extension(this_extensions[j]); 623 extensions->insert(extension); 634 FilePath::StringType extension; local 697 FilePath::StringType extension; local [all...] |
mime_util_unittest.cc | 13 const FilePath::CharType* extension; member in struct:net::__anon4916 21 { FILE_PATH_LITERAL("not an extension / for sure"), "", false }, 28 rv = GetMimeTypeFromExtension(tests[i].extension, &mime_type);
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
test_handshake.py | 146 same members as extension definitions in expected_list. Extension 147 definition used in this test is a pair of an extension name and a 230 extension = ExtensionParameter(name) 231 extension._parameters = parameters 232 extensions.append(extension)
|
/external/webkit/Source/WebCore/platform/network/mac/ |
WebCoreURLResponse.mm | 42 // When the URL's extension is a known binary type, we'll go with application/octet-stream. 494 RetainPtr<CFStringRef> extension(AdoptCF, CFURLCopyPathExtension(url)); 495 if (extension) { 499 CFMutableStringRef mutableExtension = CFStringCreateMutableCopy(kCFAllocatorDefault, 0, extension.get()); 501 extension.adoptCF(mutableExtension); 502 result = (CFStringRef) CFDictionaryGetValue(extensionMap, extension.get()); 506 // looking up the file extension in the UTI maps. 507 RetainPtr<CFStringRef> uti(AdoptCF, UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, extension.get(), 0));
|
/external/webkit/Tools/DumpRenderTree/qt/ |
DumpRenderTreeQt.h | 198 virtual bool supportsExtension(QWebPage::Extension extension) const; 199 virtual bool extension(Extension extension, const ExtensionOption *option, ExtensionReturn *output);
|
/external/smack/src/org/jivesoftware/smack/packet/ |
XMPPError.java | 132 * @param extension list of packet extensions 135 List<PacketExtension> extension) { 140 this.applicationExtensions = extension; 252 * Returns the first patcket extension that matches the specified element name and 255 * @param elementName the XML element name of the packet extension. 256 * @param namespace the XML element namespace of the packet extension. 257 * @return the extension, or <tt>null</tt> if it doesn't exist. 272 * Adds a packet extension to the error. 274 * @param extension a packet extension [all...] |
/external/aac/libAACenc/src/ |
qc_data.h | 188 EXT_PAYLOAD_TYPE type; /* type of the extension payload */ 201 INT nExtensions; /* number of extension payloads for this element */ 202 QC_OUT_EXTENSION extension[(1)]; /* reffering extension payload */ member in struct:__anon2102 220 QC_OUT_EXTENSION extension[(2+2)]; /* global extension payload */ member in struct:__anon2103 221 INT nExtensions; /* number of extension payloads for this AU */ 225 INT elementExtBits; /* element associated extension payload bits, e.g. sbr, drc ... */ 226 INT globalExtBits; /* frame/au associated extension payload bits (anc data ...) */
|
/external/bison/src/ |
muscle-tab.c | 179 char *extension = NULL; local 185 extension = obstack_finish (&muscle_obstack); 186 muscle_grow (key, extension, ""); 187 obstack_free (&muscle_obstack, extension); 268 char *extension; local 277 extension = obstack_finish (&muscle_obstack); 278 muscle_grow (key, extension, ""); 279 obstack_free (&muscle_obstack, extension);
|
/external/chromium/chrome/browser/themes/ |
browser_theme_pack.h | 15 #include "chrome/common/extensions/extension.h" 46 // Builds the theme pack from all data from |extension|. This is often done 49 static BrowserThemePack* BuildFromExtension(const Extension* extension); 110 void BuildHeader(const Extension* extension); 128 // Parses the image names out of an extension. 136 // Loads the unmodified bitmaps packed in the extension to SkBitmaps. Returns
|
/external/llvm/include/llvm/Support/ |
PathV2.h | 120 /// @brief Replace the file extension of \a path with \a extension. 123 /// ./filename.cpp => ./filename.extension 124 /// ./filename => ./filename.extension 125 /// ./ => ./.extension 128 /// @param path A path that has its extension replaced with \a extension. 129 /// @param extension The extension to be added. It may be empty. It may also 132 void replace_extension(SmallVectorImpl<char> &path, const Twine &extension); [all...] |
/external/protobuf/src/google/protobuf/ |
descriptor_unittest.cc | 232 foo_extension_ = foo_file_->extension(0); 243 bar_extension_ = bar_file_->extension(0); 726 EXPECT_EQ("bar_foo", message_->extension(0)->lowercase_name()); 727 EXPECT_EQ("barbar" , message_->extension(1)->lowercase_name()); 728 EXPECT_EQ("barbaz" , message_->extension(2)->lowercase_name()); 729 EXPECT_EQ("barfoo" , message_->extension(3)->lowercase_name()); 730 EXPECT_EQ("barbar" , message_->extension(4)->lowercase_name()); 732 EXPECT_EQ("baz_foo", file_->extension(0)->lowercase_name()); 733 EXPECT_EQ("bazbar" , file_->extension(1)->lowercase_name()); 734 EXPECT_EQ("bazbaz" , file_->extension(2)->lowercase_name()) 3778 const FieldDescriptor* extension = pool.FindExtensionByNumber(foo, 5); local [all...] |