/external/bluetooth/glib/gio/ |
gvfs.c | 181 GIOExtension *extension; local 193 extension = g_io_extension_point_get_extension_by_name (ep, use_this); 194 if (extension) 196 vfs = g_object_new (g_io_extension_get_type (extension), NULL); 207 extension = l->data; 209 vfs = g_object_new (g_io_extension_get_type (extension), NULL);
|
/external/webkit/WebCore/loader/mac/ |
LoaderNSURLExtras.mm | 57 NSString *extension = nil; 68 // Save the extension for later correction. Only correct the extension of the lastPathComponent. 70 extension = [filename pathExtension]; 87 // If the type is known, check the extension and correct it if necessary. 91 if (extensions.isEmpty() || !vectorContainsString(extensions, extension)) { 92 // The extension doesn't match the MIME type. Correct this. 95 // Append the correct extension.
|
/libcore/luni/src/main/java/libcore/net/ |
MimeUtils.java | 357 private static void add(String mimeType, String extension) { 363 // the first extension is considered the most popular and is 367 mimeTypeToExtensionMap.put(mimeType, extension); 369 extensionToMimeTypeMap.put(extension, mimeType); 418 String extension = (String) entry.getKey(); local 420 add(mimeType, extension); 445 * Returns the MIME type for the given extension. 446 * @param extension A file extension without the leading '.' 447 * @return The MIME type for the given extension or null iff there is none [all...] |
/external/emma/core/java12/com/vladium/emma/report/ |
SourcePathCache.java | 162 return super.toString () + ", extension = [" + m_extension + "]"; 165 FileExtensionFilter (final String extension) 167 if (extension == null) 168 throw new IllegalArgumentException ("null input: extension"); 171 final String canonical = canonicalizeExtension (extension); 173 if (extension.length () <= 1) 174 throw new IllegalArgumentException ("empty input: extension"); 179 private static String canonicalizeExtension (final String extension) 181 if (extension.charAt (0) != '.') 182 return ".".concat (extension); [all...] |
/external/protobuf/src/google/protobuf/ |
extension_set_heavy.cc | 71 for (map<int, Extension>::const_iterator iter = extensions_.begin(); 106 #define GOOGLE_DCHECK_TYPE(EXTENSION, LABEL, CPPTYPE) \ 107 GOOGLE_DCHECK_EQ((EXTENSION).is_repeated ? FieldDescriptor::LABEL_REPEATED \ 110 GOOGLE_DCHECK_EQ(cpp_type((EXTENSION).type), FieldDescriptor::CPPTYPE_##CPPTYPE) 115 map<int, Extension>::const_iterator iter = extensions_.find(number); 127 Extension* extension; local 128 if (MaybeNewExtension(descriptor->number(), descriptor, &extension)) { 129 extension->type = descriptor->type(); 130 GOOGLE_DCHECK_EQ(cpp_type(extension->type), FieldDescriptor::CPPTYPE_MESSAGE) 146 Extension* extension; local 181 const FieldDescriptor* extension = local [all...] |
/external/webkit/WebKit/chromium/src/ |
WebPluginListBuilderImpl.cpp | 59 void WebPluginListBuilderImpl::addFileExtensionToLastMediaType(const WebString& extension) 64 info->suffixes.append(extension);
|
WebPluginListBuilderImpl.h | 48 virtual void addFileExtensionToLastMediaType(const WebString& extension);
|
/external/webkit/WebCore/bindings/v8/ |
DateExtension.h | 39 class DateExtension : public v8::Extension { 50 static DateExtension* extension; member in class:WebCore::DateExtension
|
DateExtension.cpp | 39 DateExtension* DateExtension::extension; member in class:WebCore::DateExtension 65 DateExtension::DateExtension() : v8::Extension(dateExtensionName, dateExtensionScript) 71 if (!extension) 72 extension = new DateExtension(); 73 return extension;
|
/external/webkit/WebKitTools/QtLauncher/ |
webpage.cpp | 56 bool WebPage::supportsExtension(QWebPage::Extension extension) const 58 if (extension == QWebPage::ErrorPageExtension) 63 bool WebPage::extension(Extension extension, const ExtensionOption* option, ExtensionReturn* output) function in class:WebPage
|
/external/gtest/include/gtest/internal/ |
gtest-filepath.h | 88 // extension = "xml", returns "dir/test.xml". If number is greater 94 const char* extension); 103 // will be directory/base_name.extension or 104 // directory/base_name_<number>.extension if directory/base_name.extension 112 const char* extension); 138 // Returns a copy of the FilePath with the case-insensitive extension removed. 140 // FilePath("dir/file"). If a case-insensitive extension is not 142 FilePath RemoveExtension(const char* extension) const;
|
/external/protobuf/gtest/include/gtest/internal/ |
gtest-filepath.h | 88 // extension = "xml", returns "dir/test.xml". If number is greater 94 const char* extension); 103 // will be directory/base_name.extension or 104 // directory/base_name_<number>.extension if directory/base_name.extension 112 const char* extension); 138 // Returns a copy of the FilePath with the case-insensitive extension removed. 140 // FilePath("dir/file"). If a case-insensitive extension is not 142 FilePath RemoveExtension(const char* extension) const;
|
/external/bluetooth/hcidump/parser/ |
bnep.c | 56 /* BNEP Extension Type */ 189 int extension = type & 0x80; local 196 type & 0x7f, extension ? "1" : "0", length); 202 type & 0x7f, extension ? "1" : "0", length); 208 if (extension) 216 int extension = type & 0x80; local 223 type & 0x7f, extension ? "1" : "0"); 229 type & 0x7f, extension ? "1" : "0"); 237 type & 0x7f, extension ? "1" : "0"); 247 type & 0x7f, extension ? "1" : "0") [all...] |
/external/v8/src/ |
contexts.cc | 98 // check extension/with object 100 Handle<JSObject> extension = Handle<JSObject>(context->extension()); local 101 // Context extension objects needs to behave as if they have no 103 // need to only do a local lookup for context extension objects. 105 extension->IsJSContextExtensionObject()) { 106 *attributes = extension->GetLocalPropertyAttribute(*name); 108 *attributes = extension->GetPropertyAttribute(*name); 113 PrintF("=> found property in context object %p\n", *extension); 115 return extension; [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
GeneratedMessage.java | 279 * Generated message classes for message types that contain extension ranges 287 * extension in its input. Through the magic of generics, all is made 320 final GeneratedExtension<MessageType, ?> extension) { 321 if (extension.getDescriptor().getContainingType() != 325 "Extension is for type \"" + 326 extension.getDescriptor().getContainingType().getFullName() + 332 /** Check if a singular extension is present. */ 334 final GeneratedExtension<MessageType, ?> extension) { 335 verifyExtensionContainingType(extension); 336 return extensions.hasField(extension.getDescriptor()) [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
Helpers.java | 152 // Split filename between base and extension 153 // Add an extension if filename does not have one 154 String extension = null; local 157 extension = chooseExtensionFromMimeType(mimeType, true); 159 extension = chooseExtensionFromFilename(mimeType, destination, filename, dotIndex); 163 boolean recoveryDir = Constants.RECOVERY_DIRECTORY.equalsIgnoreCase(filename + extension); 168 Log.v(Constants.TAG, "target file: " + filename + extension); 171 return chooseUniqueFilename(destination, filename, extension, recoveryDir); 370 String extension = null; local 372 extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType) 409 String extension = null; local [all...] |
/frameworks/base/media/libmedia/ |
MediaScanner.cpp | 84 char* extension = strrchr(path, '.'); local 85 if (!extension) return false; 86 ++extension; // skip the dot 87 if (extension[0] == 0) return false; 92 if (length == strlen(extension) && strncasecmp(extension, extensions, length) == 0) return true;
|
/external/webkit/WebCore/platform/chromium/ |
MIMETypeRegistryChromium.cpp | 50 // Returns the file extension if one is found. Does not include the dot in the 70 String extension = path.substring(pos + 1); 71 String mimeType = getMIMETypeForExtension(extension); 73 // If there's no mimetype registered for the extension, check to see 74 // if a plugin can handle the extension. 75 mimeType = getPluginMimeTypeFromExtension(extension);
|
/external/qemu/distrib/sdl-1.2.12/src/video/xbios/ |
SDL_xbios_blowup.h | 25 Blowup extension definitions 57 unsigned short extension; /* Extended mode defined ? 0=yes, 1=no */ member in struct:__anon6089
|
/external/clearsilver/perl/ |
ClearSilver.pm | 40 ClearSilver - Perl extension for blah blah blah 50 author of the extension was negligent enough to leave the stub
|
/external/stlport/stlport/ |
rope | 28 * no extension. 30 # error The rope class is a STLport extension.
|
slist | 29 * no extension. 31 # error The slist class is an STLport extension.
|
/external/webkit/WebCore/platform/mac/ |
DragImageMac.mm | 89 NSString *extension = nil; 93 extension = filename.substring(dotIndex + 1); 95 // It might be worth doing a further lookup to pull the extension from the MIME type. 96 extension = @""; 99 return [[NSWorkspace sharedWorkspace] iconForFileType:extension];
|
/external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/layout_package/ |
test_files.py | 93 extension = os.path.splitext(filename)[1] 94 return extension in _supported_file_extensions
|
/ndk/sources/cxx-stl/stlport/stlport/ |
rope | 28 * no extension. 30 # error The rope class is a STLport extension.
|