Home
last modified time | relevance | path

Searched refs:usages (Results 1 – 25 of 69) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/platform/exported/
DWebCryptoKey.cpp44 …yType type, bool extractable, const WebCryptoKeyAlgorithm& algorithm, WebCryptoKeyUsageMask usages) in WebCryptoKeyPrivate() argument
49 , usages(usages) in WebCryptoKeyPrivate()
58 const WebCryptoKeyUsageMask usages; member in blink::WebCryptoKeyPrivate
61 …yType type, bool extractable, const WebCryptoKeyAlgorithm& algorithm, WebCryptoKeyUsageMask usages) in create() argument
64 …rivate = adoptRef(new WebCryptoKeyPrivate(adoptPtr(handle), type, extractable, algorithm, usages)); in create()
97 WebCryptoKeyUsageMask WebCryptoKey::usages() const in usages() function in blink::WebCryptoKey
100 return m_private->usages; in usages()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DExtendedKeyUsage.java111 KeyPurposeId[] usages) in ExtendedKeyUsage() argument
115 for (int i = 0; i != usages.length; i++) in ExtendedKeyUsage()
117 v.add(usages[i]); in ExtendedKeyUsage()
118 this.usageTable.put(usages[i], usages[i]); in ExtendedKeyUsage()
128 Vector usages) in ExtendedKeyUsage() argument
131 Enumeration e = usages.elements(); in ExtendedKeyUsage()
DKeyUsage.java83 public boolean hasUsages(int usages) in hasUsages() argument
85 return (bitString.intValue() & usages) == usages; in hasUsages()
/external/chromium_org/third_party/WebKit/Source/modules/crypto/
DKey.cpp160 Vector<String> Key::usages() const in usages() function in WebCore::Key
165 if (m_key.usages() & usage) in usages()
173 if (!(m_key.usages() & toKeyUsage(op))) { in canBeUsedForAlgorithm()
210 bool Key::parseUsageMask(const Vector<String>& usages, blink::WebCryptoKeyUsageMask& mask, CryptoRe… in parseUsageMask() argument
213 for (size_t i = 0; i < usages.size(); ++i) { in parseUsageMask()
214 blink::WebCryptoKeyUsageMask usage = keyUsageStringToMask(usages[i]); in parseUsageMask()
DKey.h60 Vector<String> usages() const;
/external/chromium_org/chrome/renderer/resources/extensions/enterprise_platform_keys/
Dkey_pair.js20 var KeyPairImpl = function(publicKeySpki, algorithm, usages) { argument
24 intersect([KeyUsage.verify], usages),
29 intersect([KeyUsage.sign], usages),
Dkey.js35 var KeyImpl = function(type, publicKeySpki, algorithm, usages, extractable) { argument
39 this.usages = usages;
/external/chromium_org/chrome/third_party/mozilla_security_manager/
DnsUsageArrayHelper.cpp46 SECCertificateUsage usages = 0; in GetCertUsageStrings() local
50 NULL, &usages) == SECSuccess) { in GetCertUsageStrings()
66 if (usages & usage_string_map[i].usage) in GetCertUsageStrings()
/external/chromium_org/chrome/browser/extensions/api/hid/
Dhid_device_manager.cc55 device_info.usages.begin(); in GetApiDevices()
56 usage_iter != device_info.usages.end(); in GetApiDevices()
64 api_device_info.usages.push_back(usage_and_page_ptr); in GetApiDevices()
124 device_info.usages.begin(); in IsDeviceAccessible()
125 iter != device_info.usages.end(); ++iter) { in IsDeviceAccessible()
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
DAwQuotaManagerBridge.java45 Origins(String[] origins, long[] usages, long[] quotas) { in Origins() argument
47 mUsages = usages; in Origins()
135 private void onGetOriginsCallback(int callbackId, String[] origin, long[] usages, in onGetOriginsCallback() argument
139 new Origins(origin, usages, quotas)); in onGetOriginsCallback()
/external/chromium_org/chrome/browser/sessions/
Dsession_data_deleter.cc45 const std::vector<content::LocalStorageUsageInfo>& usages);
91 const std::vector<content::LocalStorageUsageInfo>& usages) { in ClearSessionOnlyLocalStorage() argument
93 usages.begin(); in ClearSessionOnlyLocalStorage()
94 it != usages.end(); in ClearSessionOnlyLocalStorage()
/external/deqp/modules/gles2/functional/
Des2fBufferObjectQueryTests.cpp220 const GLenum usages[] = in testBuffer() local
227 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(usages); ++ndx) in testBuffer()
229 glBufferData(m_bufferTarget, 16, DE_NULL, usages[ndx]); in testBuffer()
232 m_verifier->verifyInteger(m_testCtx, m_bufferTarget, GL_BUFFER_USAGE, usages[ndx]); in testBuffer()
/external/chromium_org/chrome/browser/resources/
Dcertificate_viewer.css23 #usages-title {
38 #usages,
57 #usages,
/external/chromium_org/content/child/webcrypto/
Dwebcrypto_impl.cc323 blink::WebCryptoKeyUsageMask usages, in UnwrapKeyState()
332 usages(usages), in UnwrapKeyState()
341 const blink::WebCryptoKeyUsageMask usages; member
441 DCHECK_EQ(state->usage_mask, key->usages()); in DoGenerateKey()
572 state->usages, in DoUnwrapKey()
728 blink::WebCryptoKeyUsageMask usages, in unwrapKey() argument
737 usages, in unwrapKey()
754 blink::WebCryptoKeyUsageMask usages, in deserializeKeyForClone() argument
764 usages, in deserializeKeyForClone()
Dwebcrypto_impl.h83 blink::WebCryptoKeyUsageMask usages,
99 blink::WebCryptoKeyUsageMask usages,
Dshared_crypto.cc39 return ((key.usages() & usage) != 0); in KeyUsageAllows()
482 blink::WebCryptoKeyUsageMask usages) { in BestEffortCheckKeyUsagesForImport() argument
484 return CheckKeyUsages(algorithm, blink::WebCryptoKeyTypeSecret, usages); in BestEffortCheckKeyUsagesForImport()
512 return CheckKeyUsages(algorithm, key_type, usages); in BestEffortCheckKeyUsagesForImport()
519 if (CheckKeyUsages(algorithm, blink::WebCryptoKeyTypePublic, usages) in BestEffortCheckKeyUsagesForImport()
521 CheckKeyUsages(algorithm, blink::WebCryptoKeyTypePrivate, usages) in BestEffortCheckKeyUsagesForImport()
945 blink::WebCryptoKeyUsageMask usages) { in CheckKeyUsages() argument
947 usages)) in CheckKeyUsages()
Dshared_crypto_unittest.cc472 EXPECT_EQ(usage, key.usages()); in ImportSecretKeyFromRaw()
496 EXPECT_EQ(public_key_usage_mask, public_key->usages()); in ImportRsaKeyPair()
510 EXPECT_EQ(private_key_usage_mask, private_key->usages()); in ImportRsaKeyPair()
1221 EXPECT_EQ(0, key.usages()); in TEST_F()
1253 EXPECT_EQ(test_case[test_index].usage, key.usages()); in TEST_F()
1269 key.usages()); in TEST_F()
1281 EXPECT_EQ(blink::WebCryptoKeyUsageDecrypt, key.usages()); in TEST_F()
1319 key.usages()); in TEST_F()
1336 key.usages()); in TEST_F()
1480 EXPECT_EQ(blink::WebCryptoKeyUsageEncrypt, key.usages()); in TEST_F()
[all …]
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DSerializedScriptValue.cpp526 doWriteKeyUsages(key.usages(), key.extractable()); in writeCryptoKey()
784 void doWriteKeyUsages(const blink::WebCryptoKeyUsageMask usages, bool extractable) in doWriteKeyUsages() argument
794 if (usages & blink::WebCryptoKeyUsageEncrypt) in doWriteKeyUsages()
796 if (usages & blink::WebCryptoKeyUsageDecrypt) in doWriteKeyUsages()
798 if (usages & blink::WebCryptoKeyUsageSign) in doWriteKeyUsages()
800 if (usages & blink::WebCryptoKeyUsageVerify) in doWriteKeyUsages()
802 if (usages & blink::WebCryptoKeyUsageDeriveKey) in doWriteKeyUsages()
804 if (usages & blink::WebCryptoKeyUsageWrapKey) in doWriteKeyUsages()
806 if (usages & blink::WebCryptoKeyUsageUnwrapKey) in doWriteKeyUsages()
808 if (usages & blink::WebCryptoKeyUsageDeriveBits) in doWriteKeyUsages()
[all …]
/external/chromium_org/device/hid/
Dhid_device_info.h46 std::vector<HidUsageAndPage> usages; member
/external/chromium_org/chrome/browser/ui/webui/
Dcertificate_viewer_webui.cc109 std::vector<std::string> usages; in GetDialogArgs() local
110 x509_certificate_model::GetUsageStrings(cert_hnd, &usages); in GetDialogArgs()
112 for (std::vector<std::string>::iterator it = usages.begin(); in GetDialogArgs()
113 it != usages.end(); ++it) { in GetDialogArgs()
/external/deqp/modules/gles2/stress/
Des2sVertexArrayTests.cpp73 …Array::Usage usages[] = {Array::USAGE_STATIC_DRAW, Array::USAGE_STREAM_DRAW, Array::USAGE_DYNAMI… in init() local
84 for (int usageNdx = 0; usageNdx < DE_LENGTH_OF_ARRAY(usages); usageNdx++) in init()
92 usages[usageNdx], in init()
Des2sDrawTests.cpp299 gls::DrawTestSpec::Usage usages[] = in init() local
305 const UniformWeightArray<DE_LENGTH_OF_ARRAY(usages)> usageWeights; in init()
346 …om.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), DE_ARRAY_END(usages), us… in init()
/external/deqp/modules/gles3/functional/
Des3fBufferObjectQueryTests.cpp309 const GLenum usages[] = in testBuffer() local
318 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(usages); ++ndx) in testBuffer()
320 glBufferData(m_bufferTarget, 16, DE_NULL, usages[ndx]); in testBuffer()
323 m_verifier->verifyInteger(m_testCtx, m_bufferTarget, GL_BUFFER_USAGE, usages[ndx]); in testBuffer()
/external/chromium_org/third_party/WebKit/public/platform/
DWebCryptoKey.h117 BLINK_PLATFORM_EXPORT WebCryptoKeyUsageMask usages() const;
/external/deqp/modules/gles31/stress/
Des31sDrawTests.cpp421 gls::DrawTestSpec::Usage usages[] = in init() local
433 const UniformWeightArray<DE_LENGTH_OF_ARRAY(usages)> usageWeights; in init()
483 …om.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), DE_ARRAY_END(usages), us… in init()

123