/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/preloader/ |
H A D | DefaultAssetFilter.java | 20 private String extension (String file) { method in class:DefaultAssetFilter 35 String extension = extension(file).toLowerCase(); 36 if (isImage(extension)) return AssetType.Image; 37 if (isAudio(extension)) return AssetType.Audio; 38 if (isText(extension)) return AssetType.Text; 42 private boolean isImage (String extension) { argument 43 return extension.equals("jpg") || extension.equals("jpeg") || extension 46 isText(String extension) argument 52 isAudio(String extension) argument [all...] |
/external/proguard/src/proguard/util/ |
H A D | ExtensionMatcher.java | 24 * This StringMatcher tests whether strings end in a given extension, ignoring 31 private final String extension; field in class:ExtensionMatcher 36 * @param extension the extension against which strings will be matched. 38 public ExtensionMatcher(String extension) argument 40 this.extension = extension; 48 return endsWithIgnoreCase(string, extension);
|
/external/lzma/CPP/7zip/UI/Common/ |
H A D | DefaultName.h | 9 const UString &extension, const UString &addSubExtension);
|
H A D | DefaultName.cpp | 8 const UString &extension, const UString &addSubExtension)
10 int extLength = extension.Len();
16 if (extension.IsEqualToNoCase(fileName.Ptr(dotPos + 1)))
30 const UString &extension, const UString &addSubExtension)
32 UString name = GetDefaultName3(fileName, extension, addSubExtension);
7 GetDefaultName3(const UString &fileName, const UString &extension, const UString &addSubExtension) argument 29 GetDefaultName2(const UString &fileName, const UString &extension, const UString &addSubExtension) argument
|
/external/autotest/client/site_tests/desktopui_ConnectivityDiagnostics/ |
H A D | desktopui_ConnectivityDiagnostics.py | 42 extension = cr.autotest_ext 43 extension.EvaluateJavaScript(self.EXT_CODE) 46 lambda: extension.EvaluateJavaScript('complete;'), 49 if not extension.EvaluateJavaScript('success;'): 50 raise error.TestFail(extension.EvaluateJavaScript('error;'))
|
/external/sl4a/Common/src/com/googlecode/android_scripting/language/ |
H A D | SupportedLanguages.java | 60 public static Language getLanguageByExtension(String extension) { argument 61 extension = extension.toLowerCase(); 62 if (!extension.startsWith(".")) { 63 throw new RuntimeException("Extension does not start with a dot: " + extension); 67 Class<? extends Language> clazz = sSupportedLanguages.get(extension); 84 String extension = name.toLowerCase(); 85 int index = extension.lastIndexOf('.'); 87 extension = "." + extension; [all...] |
/external/vulkan-validation-layers/demos/ |
H A D | cube.frag | 29 #extension GL_ARB_separate_shader_objects : enable 30 #extension GL_ARB_shading_language_420pack : enable
|
H A D | tri.frag | 29 #extension GL_ARB_separate_shader_objects : enable 30 #extension GL_ARB_shading_language_420pack : enable
|
H A D | tri.vert | 29 #extension GL_ARB_separate_shader_objects : enable 30 #extension GL_ARB_shading_language_420pack : enable
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
H A D | GeneratedMessageLite.java | 144 /** Check if a singular extension is present. */ 146 GeneratedExtension<MessageType, Type> extension); 148 /** Get the number of elements in a repeated extension. */ 150 GeneratedExtension<MessageType, List<Type>> extension); 152 /** Get the value of an extension. */ 153 <Type> Type getExtension(GeneratedExtension<MessageType, Type> extension); argument 155 /** Get one element of a repeated extension. */ 157 GeneratedExtension<MessageType, List<Type>> extension, 180 final GeneratedExtension<MessageType, ?> extension) { 181 if (extension 145 hasExtension( GeneratedExtension<MessageType, Type> extension) argument 149 getExtensionCount( GeneratedExtension<MessageType, List<Type>> extension) argument 156 getExtension( GeneratedExtension<MessageType, List<Type>> extension, int index) argument 179 verifyExtensionContainingType( final GeneratedExtension<MessageType, ?> extension) argument 192 hasExtension( final GeneratedExtension<MessageType, Type> extension) argument 200 getExtensionCount( final GeneratedExtension<MessageType, List<Type>> extension) argument 209 getExtension( final GeneratedExtension<MessageType, Type> extension) argument 223 getExtension( final GeneratedExtension<MessageType, List<Type>> extension, final int index) argument 366 verifyExtensionContainingType( final GeneratedExtension<MessageType, ?> extension) argument 379 hasExtension( final GeneratedExtension<MessageType, Type> extension) argument 387 getExtensionCount( final GeneratedExtension<MessageType, List<Type>> extension) argument 396 getExtension( final GeneratedExtension<MessageType, Type> extension) argument 410 getExtension( final GeneratedExtension<MessageType, List<Type>> extension, final int index) argument 428 setExtension( final GeneratedExtension<MessageType, Type> extension, final Type value) argument 439 setExtension( final GeneratedExtension<MessageType, List<Type>> extension, final int index, final Type value) argument 450 addExtension( final GeneratedExtension<MessageType, List<Type>> extension, final Type value) argument 461 clearExtension( final GeneratedExtension<MessageType, ?> extension) argument [all...] |
H A D | ExtensionRegistry.java | 81 * privileged class by registering itself as an extension of the right type. 84 * extension until it is first requested, at which point the caller must 86 * it would require a mutex lock any time an extension was accessed, which 116 /** The extension's descriptor. */ 120 * A default instance of the extension's type, if it has a message type. 144 * Find an extension for immutable APIs by fully-qualified field name, 148 * @return Information about the extension if found, or {@code null} 156 * Find an extension for mutable APIs by fully-qualified field name, 160 * @return Information about the extension if found, or {@code null} 177 * Find an extension b 237 add(final Extension<?, ?> extension) argument 246 newExtensionInfo(final Extension<?, ?> extension) argument 326 add( final ExtensionInfo extension, final Extension.ExtensionType extensionType) argument [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowMimeTypeMap.java | 14 * Shadow for {@code MimeTypeMap} that allows custom extension <-> mimetype mapping to be set up by tests. 43 public String getMimeTypeFromExtension(String extension) { argument 44 if (extensionToMimeTypeMap.containsKey(extension)) 45 return extensionToMimeTypeMap.get(extension); 58 public void addExtensionMimeTypMapping(String extension, String mimeType) { argument 59 extensionToMimeTypeMap.put(extension, mimeType); 60 mimeTypeToExtensionMap.put(mimeType, extension); 69 public boolean hasExtension(String extension) { argument 70 return extensionToMimeTypeMap.containsKey(extension);
|
/external/protobuf/src/google/protobuf/ |
H A D | extension_set.cc | 100 GOOGLE_LOG(FATAL) << "Multiple extension registrations for type \"" 117 const ExtensionInfo* extension = local 119 if (extension == NULL) { 122 *output = *extension; 218 GOOGLE_LOG(DFATAL) << "Don't lookup extension types if they aren't present (1). "; 222 GOOGLE_LOG(DFATAL) << "Don't lookup extension types if they aren't present (2). "; 268 Extension* extension; \ 269 if (MaybeNewExtension(number, descriptor, &extension)) { \ 270 extension->type = type; \ 271 GOOGLE_DCHECK_EQ(cpp_type(extension 336 Extension* extension; local 412 Extension* extension; local 441 Extension* extension; local 472 Extension* extension; local 501 Extension* extension; local 541 Extension* extension; local 573 Extension* extension; local 634 Extension* extension; local 667 Extension* extension = &iter->second; local 708 Extension* extension = &iter->second; local 718 Extension* extension = &iter->second; local 770 Extension* extension; local 852 Extension* extension; local 945 const Extension& extension = iter->second; local 968 FindExtensionInfoFromTag( uint32 tag, ExtensionFinder* extension_finder, int* field_number, ExtensionInfo* extension, bool* was_packed_on_wire) argument 978 FindExtensionInfoFromFieldNumber( int wire_type, int field_number, ExtensionFinder* extension_finder, ExtensionInfo* extension, bool* was_packed_on_wire) argument 1005 ExtensionInfo extension; local 1015 ParseFieldWithExtensionInfo( int number, bool was_packed_on_wire, const ExtensionInfo& extension, io::CodedInputStream* input, FieldSkipper* field_skipper) argument [all...] |
/external/opencv3/modules/java/pure_test/src/org/opencv/test/ |
H A D | OpenCVTestRunner.java | 16 public static String getTempFileName(String extension) argument 18 if (!extension.startsWith(".")) 19 extension = "." + extension; 21 File tmp = File.createTempFile("OpenCV", extension);
|
/external/protobuf/python/google/protobuf/ |
H A D | message_factory.py | 90 for extension in result_class.DESCRIPTOR.extensions: 91 if extension.containing_type.full_name not in self._classes: 92 self.GetPrototype(extension.containing_type) 93 extended_class = self._classes[extension.containing_type.full_name] 94 extended_class.RegisterExtension(extension) 122 # While the extension FieldDescriptors are created by the descriptor pool, 127 # extension was already registered on the object and either 131 for name, extension in file_desc.extensions_by_name.iteritems(): 132 if extension.containing_type.full_name not in self._classes: 133 self.GetPrototype(extension [all...] |
/external/webrtc/talk/media/webrtc/ |
H A D | webrtcmediaengine.cc | 98 for (const auto& extension : extensions) { 99 if (extension.id <= 0 || extension.id >= 15) { 100 LOG(LS_ERROR) << "Bad RTP extension ID: " << extension.ToString(); 103 if (id_used[extension.id - 1]) { 104 LOG(LS_ERROR) << "Duplicate RTP extension ID: " << extension.ToString(); 107 id_used[extension.id - 1] = true; 121 for (const auto& extension [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cff/ |
H A D | module.mk | 20 $(ECHO_DRIVER)cff $(ECHO_DRIVER_DESC)OpenType fonts with extension *.otf$(ECHO_DRIVER_DONE)
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cid/ |
H A D | module.mk | 20 $(ECHO_DRIVER)cid $(ECHO_DRIVER_DESC)Postscript CID-keyed fonts, no known extension$(ECHO_DRIVER_DONE)
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pfr/ |
H A D | module.mk | 20 $(ECHO_DRIVER)pfr $(ECHO_DRIVER_DESC)PFR/TrueDoc font files with extension *.pfr$(ECHO_DRIVER_DONE)
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/type42/ |
H A D | module.mk | 20 $(ECHO_DRIVER)type42 $(ECHO_DRIVER_DESC)Type 42 font files with no known extension$(ECHO_DRIVER_DONE)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
H A D | ExtensionsGenerator.java | 30 * Add an extension with the given oid and the passed in value to be included 31 * in the OCTET STRING associated with the extension. 33 * @param oid OID for the extension. 35 * @param value the ASN.1 object to be included in the extension. 47 * Add an extension with the given oid and the passed in byte array to be wrapped in the 48 * OCTET STRING associated with the extension. 50 * @param oid OID for the extension. 61 throw new IllegalArgumentException("extension " + oid + " already added"); 69 * Add a given extension. 71 * @param extension th 73 addExtension( Extension extension) argument [all...] |
/external/lzma/CPP/7zip/Common/ |
H A D | FilePathAutoRename.cpp | 15 const FString &extension, unsigned value, FString &path)
21 path += extension;
36 FString name, extension;
local 40 extension = fullProcessedPath.Ptr(dotPos);
49 if (MakeAutoName(name, extension, mid, path))
54 return !MakeAutoName(name, extension, right, fullProcessedPath);
14 MakeAutoName(const FString &name, const FString &extension, unsigned value, FString &path) argument
|
/external/autotest/client/site_tests/network_FirewallHolePunch/ |
H A D | network_FirewallHolePunch.py | 57 self.extension = self.cr.get_extension(self.extension_path) 58 self.extension.ExecuteJavaScript('tcpUI.create();') 62 self.extension.ExecuteJavaScript(script) 64 self.extension.ExecuteJavaScript('tcpUI.stopServer();') 67 self.extension.ExecuteJavaScript(script) 68 self.extension.ExecuteJavaScript('close();') 95 self.extension = None
|
/external/guice/util/ |
H A D | compareBuilds.sh | 26 extension=core 27 compareJars "$ANT" "$MVN" $extension 28 #compareJars "./build/no_aop/$ANT" "./core/target/guice-$version-SNAPSHOT-no_aop.jar" "no_aop: $extension" 31 extension=`echo $ANT | awk -F"-" '{print $2 }'` 32 MVN=./extensions/$extension/target/guice-$extension-$version-SNAPSHOT.jar 33 compareJars "$ANT" "$MVN" $extension 42 extension=$3
|
/external/webrtc/webrtc/modules/video_coding/test/ |
H A D | test_util.cc | 37 std::string* extension) { 39 assert(extension); 46 *extension = filename.substr(idx + 1); 49 *extension = ""; 58 std::string extension; local 59 SplitFilename(filename, &basename, &extension); 62 << extension; local 78 std::string extension; local 81 extension = "yuv"; 83 SplitFilename(base_out_filename, &basename, &extension); 35 SplitFilename(const std::string& filename, std::string* basename, std::string* extension) argument 87 << "." << extension; local 104 std::string extension; local [all...] |