| /external/clang/test/VFS/ |
| D | parse-errors.c | 1 // RUN: not %clang_cc1 -ivfsoverlay %S/Inputs/invalid-yaml.yaml -fsyntax-only %s 2>&1 | FileCheck %s 4 // RUN: not %clang_cc1 -ivfsoverlay %S/Inputs/missing-key.yaml -fsyntax-only %s 2>&1 | FileCheck -c… 5 // CHECK-MISSING-TYPE: missing key 'type' 6 // CHECK-MISSING-TYPE: invalid virtual filesystem overlay file 8 // RUN: not %clang_cc1 -ivfsoverlay %S/Inputs/unknown-key.yaml -fsyntax-only %s 2>&1 | FileCheck -c… 9 // CHECK-UNKNOWN-KEY: unknown key 10 // CHECK-UNKNOWN-KEY: invalid virtual filesystem overlay file 12 // RUN: not %clang_cc1 -ivfsoverlay %S/Inputs/unknown-value.yaml -fsyntax-only %s 2>&1 | FileCheck … 13 // CHECK-UNKNOWN-VALUE: expected boolean value 14 // CHECK-UNKNOWN-VALUE: invalid virtual filesystem overlay file
|
| /external/conscrypt/src/main/java/org/conscrypt/ |
| D | OpenSSLKey.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 71 public static OpenSSLKey fromPrivateKey(PrivateKey key) throws InvalidKeyException { in fromPrivateKey() argument 72 if (key instanceof OpenSSLKeyHolder) { in fromPrivateKey() 73 return ((OpenSSLKeyHolder) key).getOpenSSLKey(); in fromPrivateKey() 76 final String keyFormat = key.getFormat(); in fromPrivateKey() 78 return wrapPrivateKey(key); in fromPrivateKey() 79 } else if (!"PKCS#8".equals(key.getFormat())) { in fromPrivateKey() 80 throw new InvalidKeyException("Unknown key format " + keyFormat); in fromPrivateKey() 83 final byte[] encoded = key.getEncoded(); in fromPrivateKey() 85 throw new InvalidKeyException("Key encoding is null"); in fromPrivateKey() [all …]
|
| D | OpenSSLECKeyPairGenerator.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 59 final OpenSSLKey key = new OpenSSLKey(NativeCrypto.EC_KEY_generate_key(group.getContext())); in generateKeyPair() local 60 return new KeyPair(new OpenSSLECPublicKey(group, key), new OpenSSLECPrivateKey(group, key)); in generateKeyPair() 67 throw new InvalidParameterException("unknown key size " + keysize); in initialize() 76 throw new InvalidParameterException("unknown curve " + name); in initialize() 101 throw new InvalidAlgorithmParameterException("unknown curve name: " + curveName); in initialize()
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
| D | BaseCipherSpi.java | 5 import java.security.Key; 21 // BEGIN android-removed 24 // END android-removed 42 // BEGIN android-removed 45 // END android-removed 71 Key key) in engineGetKeySize() argument 73 return key.getEncoded().length; in engineGetKeySize() 79 return -1; in engineGetOutputSize() 98 throw new NoSuchPaddingException("Padding " + padding + " unknown."); in engineSetPadding() 102 Key key) in engineWrap() argument [all …]
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
| D | CertPathReviewerMessages.properties | 94 CertPathReviewer.totalPathLength.text = The total path length without self-signed certificates is {… 95 CertPathReviewer.totalPathLength.summary = The total path length without self-signed certificates i… 96 CertPathReviewer.totalPathLength.details = The total path length without self-signed certificates, … 101 # one unknown critical extension 103 CertPathReviewer.unknownCriticalExt.title = Unknown critical extension 104 CertPathReviewer.unknownCriticalExt.text = The certificate contains the unknown critical extension … 105 CertPathReviewer.unknownCriticalExt.summary = Unknown critical extension: {0}. 106 CertPathReviewer.unknownCriticalExt.details = The certificate contains the unknown critical extensi… 108 # more unknown critical extensions 110 CertPathReviewer.unknownCriticalExts.title = Unknown critical extensions [all …]
|
| /external/chromium_org/chrome/utility/media_galleries/ |
| D | itunes_library_parser_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 13 " <key>Tracks</key>" \ 16 #define SIMPLE_TRACK(key, id, path, artist, album) \ argument 17 "<key>" #key "</key>" \ 19 " <key>Track ID</key><integer>" #id "</integer>" \ 20 " <key>Location</key><string>file://localhost/" path "</string>" \ 21 " <key>Artist</key><string>" artist "</string>" \ 22 " <key>Album</key><string>" album "</string>" \ 59 EXPECT_EQ(a_it->first, b_it->first); in CompareAlbums() 60 CompareAlbum(a_it->second, b_it->second); in CompareAlbums() [all …]
|
| /external/chromium_org/chrome_elf/blacklist/ |
| D | blacklist.cc | 2 // Use of this source code is governed by a BSD-style license that can be 31 // https://sites.google.com/a/chromium.org/dev/Home/third-party-developers 33 L"activedetect32.dll", // Lenovo One Key Theater. 35 L"activedetect64.dll", // Lenovo One Key Theater. 36 L"bitguard.dll", // Unknown (suspected malware). 38 L"chrmxtn.dll", // Unknown (keystroke logger). 39 L"cplushook.dll", // Unknown (suspected malware). 40 L"datamngr.dll", // Unknown (suspected adware). 41 L"hk.dll", // Unknown (keystroke logger). 42 L"libapi2hook.dll", // V-Bates. [all …]
|
| /external/mockito/cglib-and-asm/src/org/mockito/cglib/util/ |
| D | StringSwitcher.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 26 * This class implements a simple String->int mapping for a fixed set of keys. 45 * @param ints the array of integer results; must be the same length as the key array 46 …* @param fixedInput if false, an unknown key will be returned from {@link #intValue} as <code>-1</… 61 * Return the integer associated with the given key. 62 * @param s the key 63 * @return the associated integer value, or <code>-1</code> if the key is unknown (unless 65 * in which case the return value for an unknown key is undefined) 91 * @param ints the array of integer results; must be the same length as the key array 99 * Configure how unknown String keys will be handled. [all …]
|
| /external/chromium_org/chrome/browser/local_discovery/ |
| D | device_description.cc | 2 // Use of this source code is governed by a BSD-style license that can be 30 return DeviceDescription::UNKNOWN; in ConnectionStateFromString() 37 connection_state(UNKNOWN) { in DeviceDescription() 53 size_t equals_pos = i->find_first_of('='); in FillFromServiceDescription() 55 continue; // We do not parse non key-value TXT records in FillFromServiceDescription() 57 std::string key = i->substr(0, equals_pos); in FillFromServiceDescription() local 58 std::string value = i->substr(equals_pos + 1); in FillFromServiceDescription() 60 if (LowerCaseEqualsASCII(key, kPrivetTxtKeyVersion)) { in FillFromServiceDescription() 62 continue; // Unknown version. in FillFromServiceDescription() 63 } else if (LowerCaseEqualsASCII(key, kPrivetTxtKeyName)) { in FillFromServiceDescription() [all …]
|
| /external/chromium_org/components/policy/core/common/ |
| D | schema.h | 2 // Use of this source code is governed by a BSD-style license that can be 27 // the strategy to handle unknown properties or invalid values for dict type. 30 // Unknown error indicates that some value in a dictionary (may or may not be 31 // the one in root) have unknown property name according to schema. 39 // Unknown properties in the top-level dictionary will be ignored. 41 // Unknown properties in any dictionary will be ignored. 45 // Mismatched values will be ignored at the top-level value. 46 // Unknown properties in any dictionary will be ignored. 92 // handle unknown properties or invalid values. Allowed errors will be 134 const char* key() const; [all …]
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
| D | JCEStreamCipher.java | 6 import java.security.Key; 26 // BEGIN android-removed 29 // END android-removed 38 // BEGIN android-removed 42 // END android-removed 44 // BEGIN android-removed 47 // END android-removed 64 // BEGIN android-removed 67 // END android-removed 110 Key key) in engineGetKeySize() argument [all …]
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
| D | BaseWrapCipher.java | 6 import java.security.Key; 25 // BEGIN android-removed 28 // END android-removed 50 // BEGIN android-removed 53 // END android-removed 97 Key key) in engineGetKeySize() argument 99 return key.getEncoded().length; in engineGetKeySize() 105 return -1; in engineGetOutputSize() 124 throw new NoSuchPaddingException("Padding " + padding + " unknown."); in engineSetPadding() 129 Key key, in engineInit() argument [all …]
|
| D | BaseStreamCipher.java | 7 import java.security.Key; 17 // BEGIN android-removed 20 // END android-removed 40 // BEGIN android-removed 43 // END android-removed 84 Key key) in engineGetKeySize() argument 86 return key.getEncoded().length * 8; in engineGetKeySize() 139 throw new NoSuchPaddingException("Padding " + padding + " unknown."); in engineSetPadding() 145 Key key, in engineInit() argument 158 // basic key check in engineInit() [all …]
|
| /external/chromium_org/sandbox/win/sandbox_poc/pocdll/ |
| D | registry.cc | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 12 // "key" is the hive to convert to string. 13 // The return value is the string corresponding to the hive or "unknown" 14 const wchar_t *HKEYToString(const HKEY key) { in HKEYToString() argument 15 switch (reinterpret_cast<LONG_PTR>(key)) { in HKEYToString() 27 return L"unknown"; in HKEYToString() 30 // Tries to open the key hive\path and outputs the result. 33 HKEY key; in TryOpenKey() local 38 &key); in TryOpenKey() [all …]
|
| /external/mesa3d/src/gallium/drivers/radeon/ |
| D | R600GenRegisterInfo.pl | 1 #===-- R600GenRegisterInfo.pl - Script for generating register info files --===# 8 #===------------------------------------------------------------------------===# 14 #===------------------------------------------------------------------------===# 22 my $CREG_MAX = CONST_REG_COUNT - 1; 23 my $TREG_MAX = TEMP_REG_COUNT - 1; 68 def NEG_HALF : R600Reg<"-0.5">; 69 def NEG_ONE : R600Reg<"-1.0">; 101 let CopyCost = -1; 131 default: assert(!"Unknown register"); return 0; 133 foreach my $key (keys(%index_map)) { [all …]
|
| /external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
| D | R600GenRegisterInfo.pl | 1 #===-- R600GenRegisterInfo.pl - Script for generating register info files --===# 8 #===------------------------------------------------------------------------===# 14 #===------------------------------------------------------------------------===# 22 my $CREG_MAX = CONST_REG_COUNT - 1; 23 my $TREG_MAX = TEMP_REG_COUNT - 1; 68 def NEG_HALF : R600Reg<"-0.5">; 69 def NEG_ONE : R600Reg<"-1.0">; 101 let CopyCost = -1; 131 default: assert(!"Unknown register"); return 0; 133 foreach my $key (keys(%index_map)) { [all …]
|
| /external/chromium_org/content/renderer/media/crypto/ |
| D | key_systems_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 40 // These are the (fake) key systems that are registered for these tests. 41 // kUsesAes uses the AesDecryptor like Clear Key. 42 // kExternal uses an external CDM, such as Pepper-based or Android platform CDM. 49 const char kPrefixedClearKey[] = "webkit-org.w3.clearkey"; 73 // During KeySystems's construction GetContentClient() will be used to add key 104 key_systems->push_back(aes); in AddKeySystems() 111 ext.pepper_type = "application/x-ppapi-external-cdm"; in AddKeySystems() 113 key_systems->push_back(ext); in AddKeySystems() 146 unknown_codec_.push_back("unknown"); in KeySystemsTest() [all …]
|
| /external/openssl/crypto/evp/ |
| D | evp_err.c | 3 * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved. 25 * openssl-core@OpenSSL.org. 156 {ERR_REASON(EVP_R_AES_KEY_SETUP_FAILED) ,"aes key setup failed"}, 160 {ERR_REASON(EVP_R_BAD_KEY_LENGTH) ,"bad key length"}, 164 {ERR_REASON(EVP_R_CAMELLIA_KEY_SETUP_FAILED),"camellia key setup failed"}, 171 {ERR_REASON(EVP_R_DIFFERENT_KEY_TYPES) ,"different key types"}, 178 {ERR_REASON(EVP_R_EXPECTING_AN_RSA_KEY) ,"expecting an rsa key"}, 179 {ERR_REASON(EVP_R_EXPECTING_A_DH_KEY) ,"expecting a dh key"}, 180 {ERR_REASON(EVP_R_EXPECTING_A_DSA_KEY) ,"expecting a dsa key"}, 181 {ERR_REASON(EVP_R_EXPECTING_A_ECDSA_KEY) ,"expecting a ecdsa key"}, [all …]
|
| /external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/impl/ |
| D | FieldProviderTransformer.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 140 public void processCase(int key, Label end) throws Exception { in setByIndex() 141 Type type = (Type)fields.get(names[key]); in setByIndex() 143 e.putfield(names[key]); in setByIndex() 147 e.throw_exception(ILLEGAL_ARGUMENT_EXCEPTION, "Unknown field index"); in setByIndex() 158 public void processCase(int key, Label end) throws Exception { in getByIndex() 159 Type type = (Type)fields.get(names[key]); in getByIndex() 160 e.getfield(names[key]); in getByIndex() 165 e.throw_exception(ILLEGAL_ARGUMENT_EXCEPTION, "Unknown field index"); in getByIndex() 178 public void processCase(Object key, Label end) { in getField() [all …]
|
| /external/chromium_org/chrome/test/mini_installer/ |
| D | registry_verifier.py | 2 # Use of this source code is governed by a BSD-style license that can be 14 """Converts a root registry key string into a _winreg.HKEY_* constant.""" 22 raise KeyError("Unknown root registry key '%s'" % root_key) 39 raise KeyError("Unknown registry value type '%s'" % value_type) 46 Verifies a registry key according to the |expectation|. 49 expectation_name: The registry key being verified. It is expanded using 52 'exists' a boolean indicating whether the registry key should exist. 53 'values' (optional) a dictionary where each key is a registry value 54 and its associated value is a dictionary with the following key 61 key = variable_expander.Expand(expectation_name) [all …]
|
| /external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
| D | evp_err.c | 3 * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved. 25 * openssl-core@OpenSSL.org. 165 {ERR_REASON(EVP_R_AES_KEY_SETUP_FAILED) ,"aes key setup failed"}, 169 {ERR_REASON(EVP_R_BAD_KEY_LENGTH) ,"bad key length"}, 173 {ERR_REASON(EVP_R_CAMELLIA_KEY_SETUP_FAILED),"camellia key setup failed"}, 180 {ERR_REASON(EVP_R_DIFFERENT_KEY_TYPES) ,"different key types"}, 187 {ERR_REASON(EVP_R_EXPECTING_AN_RSA_KEY) ,"expecting an rsa key"}, 188 {ERR_REASON(EVP_R_EXPECTING_A_DH_KEY) ,"expecting a dh key"}, 189 {ERR_REASON(EVP_R_EXPECTING_A_DSA_KEY) ,"expecting a dsa key"}, 190 {ERR_REASON(EVP_R_EXPECTING_A_ECDSA_KEY) ,"expecting a ecdsa key"}, [all …]
|
| /external/chromium_org/third_party/WebKit/Source/build/scripts/ |
| D | in_file.py | 101 for key in one: 102 if key not in two: 103 self._fatal("Expected key '%s' not found in entry: %s" % (key, two)) 104 if one[key] and two[key]: 105 val_one = one[key] 106 val_two = two[key] 115 merged[key] = val 116 elif one[key]: 117 merged[key] = one[key] 119 merged[key] = two[key] [all …]
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
| D | KeyFactorySpi.java | 5 import java.security.Key; 32 Key key, in engineGetKeySpec() argument 36 if (spec.isAssignableFrom(RSAPublicKeySpec.class) && key instanceof RSAPublicKey) in engineGetKeySpec() 38 RSAPublicKey k = (RSAPublicKey)key; in engineGetKeySpec() 42 …else if (spec.isAssignableFrom(RSAPrivateKeySpec.class) && key instanceof java.security.interfaces… in engineGetKeySpec() 44 java.security.interfaces.RSAPrivateKey k = (java.security.interfaces.RSAPrivateKey)key; in engineGetKeySpec() 48 … else if (spec.isAssignableFrom(RSAPrivateCrtKeySpec.class) && key instanceof RSAPrivateCrtKey) in engineGetKeySpec() 50 RSAPrivateCrtKey k = (RSAPrivateCrtKey)key; in engineGetKeySpec() 60 return super.engineGetKeySpec(key, spec); in engineGetKeySpec() 63 protected Key engineTranslateKey( in engineTranslateKey() [all …]
|
| /external/chromium_org/chrome/browser/ |
| D | chrome_browser_application_mac.h | 2 // Use of this source code is governed by a BSD-style license that can be 24 // App's previous key windows. Most recent key window is last. 25 // Does not include current key window. Elements of this vector are weak 33 // Our implementation of |-terminate:| only attempts to terminate the 36 - (void)cancelTerminate:(id)sender; 38 // Keep track of the previous key windows and whether windows are being 40 // key window. 41 - (NSWindow*)previousKeyWindow; 42 - (BOOL)isCyclingWindows; 47 // Bin for unknown exceptions. Exposed for testing purposes. [all …]
|
| /external/clang/test/Analysis/ |
| D | objc-for.m | 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.Loops,debug.ExprInspection -verify %s 9 - (int)countByEnumeratingWithState:(void *)state objects:(id *)objects count:(unsigned)count; 10 - (void)protocolMethod; 21 - (NSUInteger)count; 22 - (NSEnumerator *)objectEnumerator; 26 - (NSUInteger)count; 27 - (id)objectForKey:(id)key; 31 - (void)categoryMethodOnNSDictionary; 35 - (void)setObject:(id)obj forKey:(id)key; 39 - (void)addObject:(id)obj; [all …]
|