/external/protobuf/python/google/protobuf/ |
descriptor_database.py | 68 # Add the top-level Message, Enum and Extension descriptors to the index. 76 for extension in file_desc_proto.extension: 78 '.'.join((package, extension.name))] = file_desc_proto
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/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/trappy/trappy/ |
__init__.py | 49 import_name, extension = os.path.splitext(fname) 50 if (extension == ".py") and (fname != "__init__.py") and \ 54 del fname, import_name, extension
|
/external/v8/testing/gtest/include/gtest/internal/ |
gtest-filepath.h | 84 // extension = "xml", returns "dir/test.xml". If number is greater 90 const char* extension); 99 // will be directory/base_name.extension or 100 // directory/base_name_<number>.extension if directory/base_name.extension 108 const char* extension); 134 // Returns a copy of the FilePath with the case-insensitive extension removed. 136 // FilePath("dir/file"). If a case-insensitive extension is not 138 FilePath RemoveExtension(const char* extension) const;
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/ |
gtest-filepath.h | 84 // extension = "xml", returns "dir/test.xml". If number is greater 90 const char* extension); 99 // will be directory/base_name.extension or 100 // directory/base_name_<number>.extension if directory/base_name.extension 108 const char* extension); 134 // Returns a copy of the FilePath with the case-insensitive extension removed. 136 // FilePath("dir/file"). If a case-insensitive extension is not 138 FilePath RemoveExtension(const char* extension) const;
|
/libcore/luni/src/main/java/libcore/net/ |
MimeUtils.java | 43 // The "most popular" extension must come first, so that it's the one returned 399 private static void add(String mimeType, String extension) { 403 // the first extension added is considered the most popular 406 mimeTypeToExtensionMap.put(mimeType, extension); 408 if (!extensionToMimeTypeMap.containsKey(extension)) { 409 extensionToMimeTypeMap.put(extension, mimeType); 419 * @return True if a extension has been registered for 427 * Returns the MIME type for the given case insensitive file extension. 428 * @param extension A file extension without the leading '. [all...] |
/prebuilts/ndk/r16/sources/third_party/googletest/googletest/include/gtest/internal/ |
gtest-filepath.h | 84 // extension = "xml", returns "dir/test.xml". If number is greater 90 const char* extension); 99 // will be directory/base_name.extension or 100 // directory/base_name_<number>.extension if directory/base_name.extension 108 const char* extension); 134 // Returns a copy of the FilePath with the case-insensitive extension removed. 136 // FilePath("dir/file"). If a case-insensitive extension is not 138 FilePath RemoveExtension(const char* extension) const;
|
/prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/gtest-1.7.0/include/gtest/internal/ |
gtest-filepath.h | 84 // extension = "xml", returns "dir/test.xml". If number is greater 90 const char* extension); 99 // will be directory/base_name.extension or 100 // directory/base_name_<number>.extension if directory/base_name.extension 108 const char* extension); 134 // Returns a copy of the FilePath with the case-insensitive extension removed. 136 // FilePath("dir/file"). If a case-insensitive extension is not 138 FilePath RemoveExtension(const char* extension) const;
|
/external/golang-protobuf/proto/ |
extensions.go | 46 // ErrMissingExtension is the error returned by GetExtension if the named extension is not in the message. 47 var ErrMissingExtension = errors.New("proto: missing extension") 60 extensionsWrite() map[int32]Extension 61 extensionsRead() (map[int32]Extension, sync.Locker) 69 ExtensionMap() map[int32]Extension 77 func (e extensionAdapter) extensionsWrite() map[int32]Extension { 81 func (e extensionAdapter) extensionsRead() (map[int32]Extension, sync.Locker) { 92 // If the proto message has the old extension format, it returns a wrapper that implements 121 extensionMap map[int32]Extension 125 // extensionsWrite returns the extension map, creating it on first use [all...] |
/external/golang-protobuf/protoc-gen-go/testdata/ |
extension_test.go | 53 // Use extension within scope of another type. 57 t.Fatal("Failed setting extension:", err) 61 t.Fatal("Failed encoding message with extension:", err) 65 t.Fatal("Failed decoding message with extension:", err) 68 t.Fatal("Decoded message didn't contain extension.") 72 t.Fatal("Failed getting extension:", err) 79 t.Fatal("Failed clearing extension.") 88 // Use extension that is itself a message. 95 t.Fatal("Failed setting extension:", err) 99 t.Fatal("Failed encoding message with extension:", err [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/ |
AuthorityKeyIdentifierStructure.java | 1 package org.bouncycastle.x509.extension; 12 import org.bouncycastle.asn1.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. 43 * @deprecated use constructor that takes Extension 46 X509Extension extension) 48 super((ASN1Sequence)extension.getParsedValue()); 52 * Constructor which will take an extension 54 * @param extension a X509Extension object containing an AuthorityKeyIdentifier [all...] |
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/ |
PVRTgles2Ext.cpp | 68 /* Retrieve GL extension string */ 156 @Input extension extension to query for 157 @Returns True if the extension is supported 158 @Description Queries for support of an extension 160 bool CPVRTgles2Ext::IsGLExtensionSupported(const char * const extension) 168 /* Extension names should not have spaces. */ 169 where = (GLubyte *) strchr(extension, ' '); 170 if (where || *extension == '\0') 179 where = (GLubyte *) strstr((const char *) start, extension); [all...] |
/frameworks/av/media/libstagefright/ |
StagefrightMediaScanner.cpp | 37 static bool FileHasAcceptableExtension(const char *extension) { 50 if (!strcasecmp(extension, kValidExtensions[i])) { 78 const char *extension = strrchr(path, '.'); local 80 if (!extension) { 84 if (!FileHasAcceptableExtension(extension)) {
|
/frameworks/base/tools/validatekeymaps/ |
Main.cpp | 70 const char *extension = strrchr(filename, '.'); local 71 if (extension) { 72 if (strcmp(extension, ".kl") == 0) { 75 if (strcmp(extension, ".kcm") == 0) { 78 if (strcmp(extension, ".idc") == 0) {
|
/external/protobuf/python/google/protobuf/pyext/ |
extension_dict.cc | 65 PyObject* extension, 71 extension)) < 0) { 77 extension)) < 0) { 84 reinterpret_cast<CMessage*>(extension)) < 0) { 114 // TODO(amauryfa): Support adding non-scalars to a detached extension dict. 171 PyErr_SetString(PyExc_TypeError, "Extension is repeated and/or composite " 186 PyObject* ClearExtension(ExtensionDict* self, PyObject* extension) { 188 cmessage::GetExtensionDescriptor(extension); 192 PyObject* value = PyDict_GetItem(self->values, extension); 204 if (PyDict_DelItem(self->values, extension) < 0) [all...] |
/external/autotest/client/cros/networking/chrome_testing/ |
chrome_networking_test_context.py | 15 telemetry extension objects, which can be used to inject JavaScript from 19 loads the default network testing extension 'network_test_ext' which 26 extension = context.network_test_extension() 27 extension.EvaluateJavaScript('var foo = 1; return foo + 1;') 83 extension = self._chrome.get_extension(path) 84 if extension is None: 85 raise error.TestFail('Failed to find loaded extension "%s"' % path) 86 return extension 116 @return Handle to the metworking test Chrome extension instance. 118 extension cannot get acquired [all...] |
/external/protobuf/src/google/protobuf/ |
extension_set_heavy.cc | 98 for (map<int, Extension>::const_iterator iter = extensions_.begin(); 138 #define GOOGLE_DCHECK_TYPE(EXTENSION, LABEL, CPPTYPE) \ 139 GOOGLE_DCHECK_EQ((EXTENSION).is_repeated ? FieldDescriptor::LABEL_REPEATED \ 142 GOOGLE_DCHECK_EQ(cpp_type((EXTENSION).type), FieldDescriptor::CPPTYPE_##CPPTYPE) 147 map<int, Extension>::const_iterator iter = extensions_.find(number); 164 Extension* extension; local 165 if (MaybeNewExtension(descriptor->number(), descriptor, &extension)) { 166 extension->type = descriptor->type(); 167 GOOGLE_DCHECK_EQ(cpp_type(extension->type), FieldDescriptor::CPPTYPE_MESSAGE) 217 Extension* extension; local 232 Extension* extension = MaybeNewRepeatedExtension(descriptor); local 254 Extension* extension = MaybeNewRepeatedExtension(descriptor); local 265 const FieldDescriptor* extension = local [all...] |
/external/mesa3d/src/mapi/glapi/gen/ |
gl_enums.py | 222 def process_extension(self, extension): 223 if extension.get('name').startswith('GL_ARB_'): 225 elif extension.get('name').startswith('GL_EXT_'): 230 for enum in extension.findall('require/enum'): 271 for extension in xml.findall('extensions/extension'): 272 self.process_extension(extension)
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/utils/ |
vis_utils.py | 150 _, extension = os.path.splitext(to_file) 151 if not extension: 152 extension = 'png' 154 extension = extension[1:] 155 dot.write(to_file, format=extension)
|
/external/valgrind/none/tests/s390x/ |
fpext_warn.stderr.exp | 4 feature requires the floating point extension facility 10 feature requires the floating point extension facility 16 feature requires the floating point extension facility
|
/frameworks/base/tools/split-select/ |
SplitDescription.cpp | 71 String8 extension; local 73 if (extension.isEmpty()) { 74 extension.append(":"); 76 extension.append("-"); 78 extension.append(abi::toString(abi)); 81 str.append(extension);
|
/external/autotest/client/site_tests/graphics_GLAPICheck/ |
graphics_GLAPICheck.py | 23 for extension in ext_entries: 24 match = extension in info_split 26 self.error_message += ' ' + extension 63 logging.warning('Please add missing extension check. '
|
/external/autotest/client/site_tests/logging_AsanCrash/ |
logging_AsanCrash.py | 34 extension = cr.get_extension(extension_path) 35 if not extension: 36 raise error.TestFail('Failed to find extension %s' 40 cr.did_browser_crash(lambda: extension.ExecuteJavaScript(
|
/external/autotest/client/site_tests/logging_FeedbackReport/ |
logging_FeedbackReport.py | 79 for extension in cr_exts.GetByExtensionId(self._FEEDBACK_ID): 80 url = extension.EvaluateJavaScript('location.href;') 82 self.feedback_app = extension
|
/external/python/cpython3/Doc/includes/ |
email-read-alternative.py | 54 extension = os.path.splitext(part.get_filename())[1] variable 56 extension = mimetypes.guess_extension(part.get_content_type()) variable 57 with tempfile.NamedTemporaryFile(suffix=extension, delete=False) as f:
|