Searched defs:usages (Results 1 - 25 of 34) sorted by relevance

12

/external/chromium_org/chrome/third_party/mozilla_security_manager/
H A DnsUsageArrayHelper.cpp46 SECCertificateUsage usages = 0; local
50 NULL, &usages) == SECSuccess) {
66 if (usages & usage_string_map[i].usage)
/external/chromium_org/third_party/WebKit/Source/platform/exported/
H A DWebCryptoKey.cpp44 WebCryptoKeyPrivate(PassOwnPtr<WebCryptoKeyHandle> handle, WebCryptoKeyType type, bool extractable, const WebCryptoKeyAlgorithm& algorithm, WebCryptoKeyUsageMask usages) argument
49 , usages(usages)
58 const WebCryptoKeyUsageMask usages; member in class:blink::WebCryptoKeyPrivate
61 WebCryptoKey WebCryptoKey::create(WebCryptoKeyHandle* handle, WebCryptoKeyType type, bool extractable, const WebCryptoKeyAlgorithm& algorithm, WebCryptoKeyUsageMask usages) argument
64 key.m_private = adoptRef(new WebCryptoKeyPrivate(adoptPtr(handle), type, extractable, algorithm, usages));
97 WebCryptoKeyUsageMask WebCryptoKey::usages() const function in class:blink::WebCryptoKey
100 return m_private->usages;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
H A DExtendedKeyUsage.java108 * @param usages an array of KeyPurposeIds.
111 KeyPurposeId[] usages)
115 for (int i = 0; i != usages.length; i++)
117 v.add(usages[i]);
118 this.usageTable.put(usages[i], usages[i]);
128 Vector usages)
131 Enumeration e = usages.elements();
157 * Returns all extended key usages.
110 ExtendedKeyUsage( KeyPurposeId[] usages) argument
127 ExtendedKeyUsage( Vector usages) argument
H A DKeyUsage.java80 * @param usages combination of usage flags.
83 public boolean hasUsages(int usages) argument
85 return (bitString.intValue() & usages) == usages;
/external/chromium_org/chrome/browser/sessions/
H A Dsession_data_deleter.cc42 // Deletes the local storage described by |usages| for origins which are
46 const std::vector<content::LocalStorageUsageInfo>& usages);
95 const std::vector<content::LocalStorageUsageInfo>& usages) {
98 for (size_t i = 0; i < usages.size(); ++i) {
99 const content::LocalStorageUsageInfo& usage = usages[i];
93 ClearSessionOnlyLocalStorage( content::StoragePartition* storage_partition, const std::vector<content::LocalStorageUsageInfo>& usages) argument
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
H A DAwQuotaManagerBridge.java45 Origins(String[] origins, long[] usages, long[] quotas) { argument
47 mUsages = usages;
135 private void onGetOriginsCallback(int callbackId, String[] origin, long[] usages, argument
139 new Origins(origin, usages, quotas));
/external/chromium_org/content/child/webcrypto/test/
H A Dhmac_unittest.cc196 EXPECT_EQ(blink::WebCryptoKeyUsageSign, key.usages());
208 EXPECT_EQ(blink::WebCryptoKeyUsageVerify, key.usages());
251 key.usages());
282 EXPECT_EQ(blink::WebCryptoKeyUsageVerify, key.usages());
490 blink::WebCryptoKeyUsageMask usages = blink::WebCryptoKeyUsageSign; local
496 HexStringToBytes(key_data_hex), import_algorithm, usages);
503 EXPECT_TRUE(VerifySecretJwk(json, "HS1", key_data_hex, usages));
512 usages,
H A Dtest_helpers.cc343 EXPECT_EQ(usage, key.usages());
367 EXPECT_EQ(public_key_usage_mask, public_key->usages());
381 EXPECT_EQ(private_key_usage_mask, private_key->usages());
525 blink::WebCryptoKeyUsageMask usages,
555 HexStringToBytes(key_hex), import_algorithm, usages);
560 EXPECT_TRUE(VerifySecretJwk(json, jwk_alg, key_hex, usages));
568 usages,
574 EXPECT_EQ(usages, key.usages());
522 ImportExportJwkSymmetricKey( int key_len_bits, const blink::WebCryptoAlgorithm& import_algorithm, blink::WebCryptoKeyUsageMask usages, const std::string& jwk_alg) argument
/external/chromium_org/third_party/WebKit/Source/modules/crypto/
H A DCryptoKey.cpp65 // CryptoKey.usages. It must be kept ordered as described by the Web Crypto
153 Vector<String> CryptoKey::usages() const function in class:blink::CryptoKey
158 if (m_key.usages() & usage)
166 if (!(m_key.usages() & toKeyUsage(op))) {
167 result->completeWithError(WebCryptoErrorTypeInvalidAccess, "key.usages does not permit this operation");
203 bool CryptoKey::parseUsageMask(const Vector<String>& usages, WebCryptoKeyUsageMask& mask, CryptoResult* result) argument
206 for (size_t i = 0; i < usages.size(); ++i) {
207 WebCryptoKeyUsageMask usage = keyUsageStringToMask(usages[i]);
/external/deqp/modules/gles2/stress/
H A Des2sVertexArrayTests.cpp62 : TestCaseGroup(context, "usages", "Single vertex atribute, usage")
73 Array::Usage usages[] = {Array::USAGE_STATIC_DRAW, Array::USAGE_STREAM_DRAW, Array::USAGE_DYNAMIC_DRAW}; local
84 for (int usageNdx = 0; usageNdx < DE_LENGTH_OF_ARRAY(usages); usageNdx++)
92 usages[usageNdx],
H A Des2sDrawTests.cpp299 gls::DrawTestSpec::Usage usages[] = local
305 const UniformWeightArray<DE_LENGTH_OF_ARRAY(usages)> usageWeights;
346 attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), DE_ARRAY_END(usages), usageWeights.weights);
/external/chromium_org/chrome/browser/ui/webui/
H A Dcertificate_viewer_webui.cc111 std::vector<std::string> usages; local
112 x509_certificate_model::GetUsageStrings(cert_hnd, &usages);
114 for (std::vector<std::string>::iterator it = usages.begin();
115 it != usages.end(); ++it) {
121 cert_info.SetString("general.usages", usagestr);
/external/deqp/modules/gles2/functional/
H A Des2fBufferObjectQueryTests.cpp220 const GLenum usages[] = local
227 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(usages); ++ndx)
229 glBufferData(m_bufferTarget, 16, DE_NULL, usages[ndx]);
232 m_verifier->verifyInteger(m_testCtx, m_bufferTarget, GL_BUFFER_USAGE, usages[ndx]);
H A Des2fVertexArrayTest.cpp61 : TestCaseGroup(context, "usages", "Single vertex atribute, usage")
72 Array::Usage usages[] = {Array::USAGE_STATIC_DRAW, Array::USAGE_STREAM_DRAW, Array::USAGE_DYNAMIC_DRAW}; local
83 for (int usageNdx = 0; usageNdx < DE_LENGTH_OF_ARRAY(usages); usageNdx++)
91 usages[usageNdx],
H A Des2fDrawTests.cpp576 static const gls::DrawTestSpec::Usage usages[] = local
582 const UniformWeightArray<DE_LENGTH_OF_ARRAY(usages)> usageWeights;
623 attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), DE_ARRAY_END(usages), usageWeights.weights);
/external/deqp/modules/gles3/functional/
H A Des3fBufferObjectQueryTests.cpp309 const GLenum usages[] = local
318 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(usages); ++ndx)
320 glBufferData(m_bufferTarget, 16, DE_NULL, usages[ndx]);
323 m_verifier->verifyInteger(m_testCtx, m_bufferTarget, GL_BUFFER_USAGE, usages[ndx]);
H A Des3fVertexArrayTest.cpp125 : TestCaseGroup(context, "usages", "Single vertex atribute, usage")
136 Array::Usage usages[] = { Array::USAGE_STATIC_DRAW, Array::USAGE_STREAM_DRAW, Array::USAGE_DYNAMIC_DRAW, Array::USAGE_STATIC_COPY, Array::USAGE_STREAM_COPY, Array::USAGE_DYNAMIC_COPY, Array::USAGE_STATIC_READ, Array::USAGE_STREAM_READ, Array::USAGE_DYNAMIC_READ }; local
137 for (int usageNdx = 0; usageNdx < DE_LENGTH_OF_ARRAY(usages); usageNdx++)
139 addChild(new SingleVertexArrayUsageGroup(m_context, usages[usageNdx]));
H A Des3fDrawTests.cpp1000 static const gls::DrawTestSpec::Usage usages[] = local
1012 const UniformWeightArray<DE_LENGTH_OF_ARRAY(usages)> usageWeights;
1053 attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), DE_ARRAY_END(usages), usageWeights.weights);
/external/deqp/modules/gles3/stress/
H A Des3sVertexArrayTests.cpp128 : TestCaseGroup(context, "usages", "Single vertex atribute, usage")
139 Array::Usage usages[] = { Array::USAGE_STATIC_DRAW, Array::USAGE_STREAM_DRAW, Array::USAGE_DYNAMIC_DRAW, Array::USAGE_STATIC_COPY, Array::USAGE_STREAM_COPY, Array::USAGE_DYNAMIC_COPY, Array::USAGE_STATIC_READ, Array::USAGE_STREAM_READ, Array::USAGE_DYNAMIC_READ }; local
140 for (int usageNdx = 0; usageNdx < DE_LENGTH_OF_ARRAY(usages); usageNdx++)
142 addChild(new SingleVertexArrayUsageGroup(m_context, usages[usageNdx]));
H A Des3sDrawTests.cpp515 gls::DrawTestSpec::Usage usages[] = local
527 const UniformWeightArray<DE_LENGTH_OF_ARRAY(usages)> usageWeights;
563 attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), DE_ARRAY_END(usages), usageWeights.weights);
/external/chromium_org/chrome/common/net/
H A Dx509_certificate_model_nss.cc138 std::vector<string>* usages) {
139 psm::GetCertUsageStrings(cert_handle, usages);
137 GetUsageStrings(X509Certificate::OSCertHandle cert_handle, std::vector<string>* usages) argument
H A Dx509_certificate_model_openssl.cc1003 std::vector<std::string>* usages) {
1002 GetUsageStrings(X509Certificate::OSCertHandle cert_handle, std::vector<std::string>* usages) argument
/external/chromium_org/content/child/webcrypto/
H A Dwebcrypto_impl.cc324 blink::WebCryptoKeyUsageMask usages,
333 usages(usages),
342 const blink::WebCryptoKeyUsageMask usages; member in struct:content::__anon7555::UnwrapKeyState
442 DCHECK_EQ(state->usage_mask, key->usages());
571 state->usages,
723 blink::WebCryptoKeyUsageMask usages,
732 usages,
749 blink::WebCryptoKeyUsageMask usages,
759 usages,
317 UnwrapKeyState(blink::WebCryptoKeyFormat format, const unsigned char* wrapped_key, unsigned wrapped_key_size, const blink::WebCryptoKey& wrapping_key, const blink::WebCryptoAlgorithm& unwrap_algorithm, const blink::WebCryptoAlgorithm& unwrapped_key_algorithm, bool extractable, blink::WebCryptoKeyUsageMask usages, const blink::WebCryptoResult& result) argument
715 unwrapKey( blink::WebCryptoKeyFormat format, const unsigned char* wrapped_key, unsigned wrapped_key_size, const blink::WebCryptoKey& wrapping_key, const blink::WebCryptoAlgorithm& unwrap_algorithm, const blink::WebCryptoAlgorithm& unwrapped_key_algorithm, bool extractable, blink::WebCryptoKeyUsageMask usages, blink::WebCryptoResult result) argument
745 deserializeKeyForClone( const blink::WebCryptoKeyAlgorithm& algorithm, blink::WebCryptoKeyType type, bool extractable, blink::WebCryptoKeyUsageMask usages, const unsigned char* key_data, unsigned key_data_size, blink::WebCryptoKey& key) argument
[all...]
/external/chromium_org/chrome/browser/ui/content_settings/
H A Dcontent_setting_bubble_model.cc938 const ContentSettingsUsagesState& usages = local
942 usages.GetDetailedInfo(&formatted_hosts_per_state, &tab_state_flags);
/external/chromium_org/win8/metro_driver/
H A Dmetro_driver_win7.cc355 windevs::Input::PointerDeviceUsage>** usages) {
353 get_SupportedUsages( winfoundtn::Collections::IVectorView< windevs::Input::PointerDeviceUsage>** usages) argument

Completed in 2112 milliseconds

12