/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLRSAKeyPairGenerator.java | 26 import java.security.spec.AlgorithmParameterSpec; 27 import java.security.spec.RSAKeyGenParameterSpec; 65 RSAKeyGenParameterSpec spec = (RSAKeyGenParameterSpec) params; local 67 final BigInteger publicExponent = spec.getPublicExponent(); 72 this.modulusBits = spec.getKeysize();
|
OpenSSLECPublicKey.java | 25 import java.security.spec.ECParameterSpec; 26 import java.security.spec.ECPoint; 27 import java.security.spec.ECPublicKeySpec; 28 import java.security.spec.InvalidKeySpecException; 133 final ECParameterSpec spec = getParams(); local 136 return spec.getCurve().equals(otherSpec.getCurve()) 137 && spec.getGenerator().equals(otherSpec.getGenerator()) 138 && spec.getOrder().equals(otherSpec.getOrder()) 139 && spec.getCofactor() == otherSpec.getCofactor();
|
/external/icu/icu4c/source/i18n/ |
unesctrn.cpp | 25 * Special character marking the end of the spec[] array. 79 static UChar* copySpec(const UChar* spec) { 81 while (spec[len] != END) { 88 uprv_memcpy(result, spec, len*sizeof(result[0])); 141 * Constructor. Takes the encoded spec array. 147 this->spec = copySpec(newSpec); 155 this->spec = copySpec(o.spec); 159 uprv_free(spec); 179 // Loop over the forms in spec[]. Exit this loop when w [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/dsp/ |
SDL_dspaudio.c | 61 static int DSP_OpenAudio(_THIS, SDL_AudioSpec *spec); 163 static int DSP_OpenAudio(_THIS, SDL_AudioSpec *spec) 173 if (spec->channels > 8) 174 spec->channels = 8; 175 else if (spec->channels > 4) 176 spec->channels = 4; 177 else if (spec->channels > 2) 178 spec->channels = 2; 209 for ( test_format = SDL_FirstAudioFormat(spec->format); 264 spec->format = test_format [all...] |
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
MyKeyManagerFactorySpi.java | 49 protected void engineInit(ManagerFactoryParameters spec) 51 if (spec == null) { 54 if (spec instanceof Parameters) { 56 engineInit(((Parameters)spec).getKeyStore(), 57 ((Parameters)spec).getPassword());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
BCECPublicKey.java | 8 import java.security.spec.ECParameterSpec; 9 import java.security.spec.ECPoint; 10 import java.security.spec.ECPublicKeySpec; 11 import java.security.spec.EllipticCurve; 35 import org.bouncycastle.jce.spec.ECNamedCurveSpec; 63 ECPublicKeySpec spec, 67 this.ecSpec = spec.getParams(); 68 this.q = EC5Util.convertPoint(ecSpec, spec.getW(), false); 74 org.bouncycastle.jce.spec.ECPublicKeySpec spec, [all...] |
BCECPrivateKey.java | 8 import java.security.spec.ECParameterSpec; 9 import java.security.spec.ECPoint; 10 import java.security.spec.ECPrivateKeySpec; 11 import java.security.spec.EllipticCurve; 36 import org.bouncycastle.jce.spec.ECNamedCurveSpec; 70 org.bouncycastle.jce.spec.ECPrivateKeySpec spec, 74 this.d = spec.getD(); 76 if (spec.getParams() != null) // can be null if implicitlyCA 78 ECCurve curve = spec.getParams().getCurve() [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/mme/ |
SDL_mmeaudio.c | 35 static int MME_OpenAudio(_THIS, SDL_AudioSpec *spec); 118 static int MME_OpenAudio(_THIS, SDL_AudioSpec *spec) 135 switch ( spec->format & 0xFF ) { 138 spec->format = AUDIO_U8; 143 spec->format = AUDIO_S16; 151 shm->wFmt.wf.nChannels = spec->channels; 152 shm->wFmt.wf.nSamplesPerSec = spec->freq; 159 if ( spec->samples < (spec->freq/4) ) 160 spec->samples = ((spec->freq/4)+3)&~3 [all...] |
/external/chromium_org/chrome/browser/history/ |
redirect_browsertest.cc | 78 "server-redirect?" + final_url.spec()); 85 EXPECT_EQ(final_url.spec(), redirects[0].spec()); 94 "client-redirect?" + final_url.spec()); 103 EXPECT_EQ(final_url.spec(), redirects[0].spec()); 131 final_url.spec().c_str()); 152 EXPECT_EQ(final_url.spec(), redirects[0].spec()); 190 "server-redirect?" + final_url.spec()); [all...] |
/external/chromium_org/url/ |
url_parse_internal.h | 28 // in the input string (so the string starts at character |*begin| in the spec, 31 inline void TrimURL(const CHAR* spec, int* begin, int* len, 34 while (*begin < *len && ShouldTrimFromURL(spec[*begin])) 41 while (*len > *begin && ShouldTrimFromURL(spec[*len - 1])) 65 void ParsePathInternal(const char* spec, 70 void ParsePathInternal(const base::char16* spec, 77 // Given a spec and a pointer to the character after the colon following the 80 void ParseAfterScheme(const char* spec, 84 void ParseAfterScheme(const base::char16* spec,
|
url_canon_internal_file.h | 23 // Given a pointer into the spec, this copies and canonicalizes the drive 25 // spec, it won't do anything. The index of the next character in the input 26 // spec is returned (after the colon when a drive spec is found, the begin 29 static int FileDoDriveSpec(const CHAR* spec, int begin, int end, 33 int num_slashes = CountConsecutiveSlashes(spec, begin, end); 36 if (!DoesBeginWindowsDriveSpec(spec, after_slashes, end)) 43 if (spec[after_slashes] >= 'a' && spec[after_slashes] <= 'z') 44 output->push_back(spec[after_slashes] - 'a' + 'A') [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
IntentTile.java | 52 public static QSTile<?> create(Host host, String spec) { 53 if (spec == null || !spec.startsWith(PREFIX) || !spec.endsWith(")")) { 54 throw new IllegalArgumentException("Bad intent tile spec: " + spec); 56 final String action = spec.substring(PREFIX.length(), spec.length() - 1); 58 throw new IllegalArgumentException("Empty intent tile spec action");
|
/frameworks/rs/ |
Android.mk | 81 spec.l \ 107 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rsg.spec $(PRIVATE_PATH)/rs_native.spec | $(RSG_GENERATOR) $< $@ 108 $(GEN) : $(RSG_GENERATOR) $(LOCAL_PATH)/rs.spec $(LOCAL_PATH)/rsg.spec $(LOCAL_PATH)/rs_native.spec 124 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rsg.spec $(PRIVATE_PATH)/rs_native.spec | $(RSG_GENERATOR) $< $ [all...] |
/cts/tests/tests/keystore/src/android/keystore/cts/ |
KeyPairGeneratorSpecTest.java | 43 KeyPairGeneratorSpec spec = new KeyPairGeneratorSpec.Builder(getContext()) local 51 assertEquals("Context should be the one specified", getContext(), spec.getContext()); 53 assertEquals("Alias should be the one specified", TEST_ALIAS_1, spec.getKeystoreAlias()); 55 assertEquals("subjectDN should be the one specified", TEST_DN_1, spec.getSubjectDN()); 57 assertEquals("startDate should be the one specified", NOW, spec.getStartDate()); 59 assertEquals("endDate should be the one specified", NOW_PLUS_10_YEARS, spec.getEndDate()); 61 assertFalse("encryption flag should not be on", spec.isEncryptionRequired()); 65 KeyPairGeneratorSpec spec = new KeyPairGeneratorSpec.Builder(getContext()) local 74 assertEquals("Context should be the one specified", getContext(), spec.getContext()); 76 assertEquals("Alias should be the one specified", TEST_ALIAS_1, spec.getKeystoreAlias()) [all...] |
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom/generate/ |
module.py | 17 def __init__(self, spec=None): 18 self.spec = spec 104 spec = 'x:' + name 106 spec = None 107 Kind.__init__(self, spec) 120 Kind.__init__(self, 'a:' + kind.spec) 129 Kind.__init__(self, 'r:' + kind.spec) 169 spec = 'x:' + name 171 spec = Non [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/include/pipe/ |
p_video_state.h | 42 * see table 6-12 in the spec 53 * see table 6-14 in the spec 64 * flags for macroblock_type, see section 6.3.17.1 in the spec 76 * flags for motion_type, see table 6-17 and 6-18 in the spec 88 * see section 6.3.17.1 and table 6-19 in the spec 147 /* see section 6.3.17 in the spec */ 150 /* see section 6.3.17.1 in the spec */ 155 /* see table 6-17 in the spec */ 158 /* see table 6-18 in the spec */ 161 /* see table 6-19 in the spec */ [all...] |
/external/jpeg/ |
jmemdos.c | 338 XMSspec spec; local 345 spec.length = byte_count & (~ 1L); 346 spec.src_handle = info->handle.xms_handle; 347 spec.src.offset = file_offset; 348 spec.dst_handle = 0; 349 spec.dst.ptr = buffer_address; 351 ctx.ds_si = (void far *) & spec; 371 XMSspec spec; local 378 spec.length = byte_count & (~ 1L); 379 spec.src_handle = 0 496 EMSspec spec; local 521 EMSspec spec; local [all...] |
/external/mesa3d/src/gallium/include/pipe/ |
p_video_state.h | 42 * see table 6-12 in the spec 53 * see table 6-14 in the spec 64 * flags for macroblock_type, see section 6.3.17.1 in the spec 76 * flags for motion_type, see table 6-17 and 6-18 in the spec 88 * see section 6.3.17.1 and table 6-19 in the spec 147 /* see section 6.3.17 in the spec */ 150 /* see section 6.3.17.1 in the spec */ 155 /* see table 6-17 in the spec */ 158 /* see table 6-18 in the spec */ 161 /* see table 6-19 in the spec */ [all...] |
/external/qemu/distrib/jpeg-6b/ |
jmemdos.c | 338 XMSspec spec; local 345 spec.length = byte_count & (~ 1L); 346 spec.src_handle = info->handle.xms_handle; 347 spec.src.offset = file_offset; 348 spec.dst_handle = 0; 349 spec.dst.ptr = buffer_address; 351 ctx.ds_si = (void far *) & spec; 371 XMSspec spec; local 378 spec.length = byte_count & (~ 1L); 379 spec.src_handle = 0 496 EMSspec spec; local 521 EMSspec spec; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/macosx/ |
SDL_coreaudio.c | 39 static int Core_OpenAudio(_THIS, SDL_AudioSpec *spec); 113 SDL_memset(abuf->mData, this->spec.silence, abuf->mDataByteSize); 123 assert(this->spec.channels == ioData->mNumberChannels); 133 SDL_memset(buffer, this->spec.silence, bufferSize); 135 (*this->spec.callback)(this->spec.userdata, 212 int Core_OpenAudio(_THIS, SDL_AudioSpec *spec) 223 requestedDesc.mChannelsPerFrame = spec->channels; 224 requestedDesc.mSampleRate = spec->freq; 226 requestedDesc.mBitsPerChannel = spec->format & 0xFF [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
JCEECPublicKey.java | 8 import java.security.spec.ECParameterSpec; 9 import java.security.spec.ECPoint; 10 import java.security.spec.ECPublicKeySpec; 11 import java.security.spec.EllipticCurve; 43 // import org.bouncycastle.jce.spec.ECNamedCurveParameterSpec; 45 import org.bouncycastle.jce.spec.ECNamedCurveSpec; 74 ECPublicKeySpec spec) 77 this.ecSpec = spec.getParams(); 78 this.q = EC5Util.convertPoint(ecSpec, spec.getW(), false); 83 org.bouncycastle.jce.spec.ECPublicKeySpec spec [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/ |
ECNamedCurveSpec.java | 1 package org.bouncycastle.jce.spec; 4 import java.security.spec.ECFieldF2m; 5 import java.security.spec.ECFieldFp; 6 import java.security.spec.ECPoint; 7 import java.security.spec.EllipticCurve; 16 extends java.security.spec.ECParameterSpec
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/ |
mock.py | 99 def __init__(self, spec=None, side_effect=None, return_value=DEFAULT, 103 if spec is not None and not isinstance(spec, list): 104 spec = [member for member in dir(spec) if not _is_magic(member)] 106 self._methods = spec 211 def __init__(self, target, attribute, new, spec, create): 215 self.spec = spec 264 new, spec, = self.new, self.spe [all...] |
/frameworks/compile/mclinker/include/mcld/Script/ |
InputSectDesc.h | 34 struct Spec { 57 bool operator==(const Spec& pRHS) const { 77 const Spec& pSpec, 83 const Spec& spec() const { return m_Spec; } function in class:mcld::InputSectDesc 96 Spec m_Spec;
|
/libcore/benchmarks/src/benchmarks/regression/ |
CipherInputStreamBenchmark.java | 26 import java.security.spec.AlgorithmParameterSpec; 36 import javax.crypto.spec.IvParameterSpec; 64 private AlgorithmParameterSpec spec; field in class:CipherInputStreamBenchmark 71 spec = new IvParameterSpec(IV); 74 cipherEncrypt.init(Cipher.ENCRYPT_MODE, key, spec); 79 cipherEncrypt.init(Cipher.ENCRYPT_MODE, key, spec);
|