/external/chromium/net/base/ |
filter.cc | 182 FilePath::StringType extension = filename.Extension(); local 187 // For the case of svgz files, we use the extension to distinguish 192 if (EndsWith(extension, FILE_PATH_LITERAL(".gz"), false) || 193 LowerCaseEqualsASCII(extension, ".tgz") || 194 LowerCaseEqualsASCII(extension, ".svgz")) 201 if ((EndsWith(extension, FILE_PATH_LITERAL(".gz"), false) || 202 LowerCaseEqualsASCII(extension, ".tgz")) &&
|
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...] |
/external/mesa3d/docs/ |
MESA_texture_signed_rgba.spec | 37 This extension trivially interacts with ARB_texture_float. 38 This extension shares some language with ARB_texture_compression_rgtc 52 This extension adds a signed 4-channel texture format by backporting 58 1) What should this extension be called? 67 RESOLVED: NO. To keep this extension simple, only add the most 74 3) Should this extension use new enums for the texture formats? 127 The specification language for this extension is silent 141 NV_texture_shader extension, if supported, adds support for 144 NV_texture_shader extension is supported, its specified behavior 157 by this extension because the conventional texture environmen [all...] |
MESA_shader_debug.spec | 31 The ARB_shader_objects extension is required. 33 The ARB_shading_language_100 extension is required. 35 The extension is written against the OpenGL 1.5 specification. 37 The extension is written against the OpenGL Shading Language 1.10 42 This extension introduces a debug object that can be attached to
|
/packages/apps/Email/src/com/android/email/ |
AttachmentInfo.java | 126 // Check for unacceptable attachments by filename extension 127 String extension = AttachmentUtilities.getFilenameExtension(mName); local 128 if (!TextUtils.isEmpty(extension) && 130 extension)) { 143 // Check for installable attachments by filename extension 144 extension = AttachmentUtilities.getFilenameExtension(mName); 145 if (!TextUtils.isEmpty(extension) && 147 extension)) {
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
DescriptorsTest.java | 130 FieldDescriptor extension = local 132 assertEquals(extension, file.getExtensions().get(0)); 133 assertEquals(extension, 199 FieldDescriptor extension = local 233 assertEquals("optional_int32_extension", extension.getName()); 235 extension.getFullName()); 236 assertEquals(1, extension.getNumber()); 238 extension.getContainingType()); 239 assertEquals(UnittestProto.getDescriptor(), extension.getFile()); 240 assertEquals(FieldDescriptor.Type.INT32, extension.getType()) [all...] |
/external/bluetooth/glib/gio/ |
gunionvolumemonitor.c | 420 GIOExtension *extension; local 435 extension = g_io_extension_point_get_extension_by_name (ep, use_this); 436 if (extension) 438 klass = G_NATIVE_VOLUME_MONITOR_CLASS (g_io_extension_ref_class (extension)); 450 extension = l->data; 451 klass = G_NATIVE_VOLUME_MONITOR_CLASS (g_io_extension_ref_class (extension)); 503 GIOExtension *extension; local 519 extension = l->data; 521 klass = G_VOLUME_MONITOR_CLASS (g_io_extension_ref_class (extension)); 524 monitor = g_object_new (g_io_extension_get_type (extension), NULL) [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_browsertest.cc | 45 // This enables it for extension hosts. 62 const Extension* ExtensionBrowserTest::LoadExtensionImpl( 73 // Find the extension by iterating backwards since it is likely last. 76 const Extension* extension = NULL; local 81 extension = *iter; 85 if (!extension) 88 // The call to OnExtensionInstalled ensures the other extension prefs 91 extension, Extension::ENABLED, false) [all...] |
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...] |
/external/chromium/chrome/browser/themes/ |
theme_service.cc | 46 // realize we've installed the default theme, we already have an extension 213 // the extension cannot yet be found via GetExtensionById() if it is 305 void ThemeService::SetTheme(const Extension* extension) { 309 DCHECK(extension); 310 DCHECK(extension->is_theme()); 312 BuildFromExtension(extension); 313 SaveThemeID(extension->id()); 580 const Extension* extension local 619 const Extension* extension = Details<const Extension>(details).ptr(); local [all...] |
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/mac/ |
WebDragClientMac.mm | 132 NSString *extension = @""; 134 extension = image->image()->filenameExtension(); 135 if (![extension length]) 157 [pasteboard setPropertyList:[NSArray arrayWithObject:extension] forType:NSFilesPromisePboardType]; 258 static bool matchesExtensionOrEquivalent(NSString *filename, NSString *extension) 260 NSString *extensionAsSuffix = [@"." stringByAppendingString:extension]; 262 || ([extension _webkit_isCaseInsensitiveEqualToString:@"jpeg"]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
BstInOrderPathTest.java | 20 import static com.google.common.collect.BstTesting.extension; 52 BstInOrderPath<SimpleNode> path = extension(factory, d, LEFT, LEFT); 78 BstInOrderPath<SimpleNode> path = extension(factory, d, RIGHT, RIGHT); 103 BstInOrderPath<SimpleNode> path = extension(factory, d, LEFT, LEFT); 126 BstInOrderPath<SimpleNode> path = extension(factory, d, RIGHT, RIGHT); 148 BstInOrderPath<SimpleNode> path = extension(factory, d, LEFT); 170 BstInOrderPath<SimpleNode> path = extension(factory, d, RIGHT);
|
/frameworks/base/media/java/android/media/ |
MediaFile.java | 127 // maps file extension to MTP format code 137 static void addFileType(String extension, int fileType, String mimeType) { 138 sFileTypeMap.put(extension, new MediaFileType(fileType, mimeType)); 142 static void addFileType(String extension, int fileType, String mimeType, int mtpFormatCode) { 143 addFileType(extension, fileType, mimeType); 144 sFileTypeToFormatMap.put(extension, Integer.valueOf(mtpFormatCode)); 300 // truncate the file extension (if any) 327 String extension = fileName.substring(lastDot + 1); local 328 Integer value = sFileTypeToFormatMap.get(extension);
|
/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
|
/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);
|
/external/bison/src/ |
muscle_tab.c | 167 char *extension = NULL; local 174 extension = obstack_finish (&muscle_obstack); 175 muscle_grow (key, 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/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));
|