Searched refs:seed (Results 26 - 50 of 82) sorted by relevance

1234

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/
H A DRuntimeReferencePropertyInfoImpl.java45 public RuntimeReferencePropertyInfoImpl(RuntimeClassInfoImpl classInfo, PropertySeed<Type,Class,Field,Method> seed) { argument
46 super(classInfo,seed);
47 Accessor rawAcc = ((RuntimeClassInfoImpl.RuntimePropertySeed)seed).getAccessor();
H A DGetterSetterPropertySeed.java80 String seed = parent.nav().getMethodName(m);
81 String lseed = seed.toLowerCase();
83 return camelize(seed.substring(3));
85 return camelize(seed.substring(2));
86 return seed;
H A DSingleTypePropertyInfoImpl.java59 public SingleTypePropertyInfoImpl(ClassInfoImpl<T,C,F,M> classInfo, PropertySeed<T,C,F,M> seed) { argument
60 super(classInfo, seed);
62 Accessor rawAcc = ((RuntimeClassInfoImpl.RuntimePropertySeed)seed).getAccessor();
94 seed
98 if(!isCollection() && seed.hasAnnotation(XmlList.class)) {
H A DAttributePropertyInfoImpl.java47 AttributePropertyInfoImpl(ClassInfoImpl<TypeT,ClassDeclT,FieldT,MethodT> parent, PropertySeed<TypeT,ClassDeclT,FieldT,MethodT> seed ) {
48 super(parent,seed);
49 XmlAttribute att = seed.readAnnotation(XmlAttribute.class);
H A DERPropertyInfoImpl.java44 XmlElementWrapper e = seed.readAnnotation(XmlElementWrapper.class);
53 nav().getClassName(parent.getClazz())+'.'+seed.getName()),
H A DRuntimeAttributePropertyInfoImpl.java42 RuntimeAttributePropertyInfoImpl(RuntimeClassInfoImpl classInfo, PropertySeed<Type,Class,Field,Method> seed) { argument
43 super(classInfo, seed);
H A DRuntimeValuePropertyInfoImpl.java42 RuntimeValuePropertyInfoImpl(RuntimeClassInfoImpl classInfo, PropertySeed<Type,Class,Field,Method> seed) { argument
43 super(classInfo, seed);
H A DMapPropertyInfoImpl.java55 public MapPropertyInfoImpl(ClassInfoImpl<T,C,F,M> ci, PropertySeed<T,C,F,M> seed) { argument
56 super(ci, seed);
58 XmlElementWrapper xe = seed.readAnnotation(XmlElementWrapper.class);
/openjdk7/jdk/test/java/security/spec/
H A DEllipticCurveMatch.java27 * @summary Check EllipticCurve.equals() does not compare seed value of curve.
48 byte[] seed = new byte[12];
49 rand.nextBytes(seed);
52 seed);
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11SecureRandom.java38 * application specified seed, we create a SHA1PRNG that we mix with in that
91 protected synchronized void engineSetSeed(byte[] seed) { argument
92 if (seed == null) {
93 throw new NullPointerException("seed must not be null");
98 token.p11.C_SeedRandom(session.id(), seed);
100 // cannot set seed
101 // let a SHA1PRNG use that seed instead
104 random.setSeed(seed);
110 random.setSeed(seed);
H A DP11TlsPrfGenerator.java121 byte[] seed = spec.getSeed();
130 token.p11.C_SignUpdate(session.id(), 0, seed, 0, seed.length);
144 CK_TLS_PRF_PARAMS params = new CK_TLS_PRF_PARAMS(seed, label, out);
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/
H A Dcrc32.java38 private int seed; field in class:crc32
69 result = int2quad(seed);
79 result = int2quad(seed);
107 engineUpdate(input, seed, 1);
194 seed = 0;
198 int result = seed;
201 seed = result;
233 public static int byte2crc32sum(int seed, byte[] data, int size) { argument
234 int crc = seed;
241 public static int byte2crc32sum(int seed, byt argument
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DpsCompactionManager.hpp189 static bool steal(int queue_num, int* seed, oop& t) { argument
190 return stack_array()->steal(queue_num, seed, t);
193 static bool steal_objarray(int queue_num, int* seed, ObjArrayTask& t) { argument
194 return _objarray_queues->steal(queue_num, seed, t);
197 static bool steal(int queue_num, int* seed, size_t& region) { argument
198 return region_array()->steal(queue_num, seed, region);
/openjdk7/jdk/test/com/sun/crypto/provider/TLS/
H A DTestPRF.java59 byte[] seed = null;
78 } else if (line.startsWith("prf-seed:")) {
79 seed = parse(data);
97 new TlsPrfParameterSpec(inKey, label, seed, length,
H A DTestPRF12.java62 byte[] seed = null;
84 } else if (line.startsWith("prf-seed:")) {
85 seed = parse(data);
125 new TlsPrfParameterSpec(inKey, label, seed, length,
/openjdk7/jdk/src/share/classes/sun/security/ec/
H A DECKeyPairGenerator.java53 // used to seed the keypair generator
117 // seed is twice the key size (in bytes) plus 1
118 byte[] seed = new byte[(((keySize + 7) >> 3) + 1) * 2];
122 random.nextBytes(seed);
126 long[] handles = generateECKeyPair(keySize, encodedParams, seed);
167 byte[] encodedParams, byte[] seed) throws GeneralSecurityException;
166 generateECKeyPair(int keySize, byte[] encodedParams, byte[] seed) argument
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DThreadLocalRandom.java44 * with an internally generated seed that may not otherwise be
71 * The random seed. We can't use super.seed.
78 * since it would cause setting seed in one part of a program to
83 // Padding to help avoid memory contention among seed updates in
122 public void setSeed(long seed) { argument
125 rnd = (seed ^ multiplier) & mask;
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DTlsKeyMaterialGenerator.java126 byte[] seed = concat(serverRandom, clientRandom);
127 keyBlock = doTLS12PRF(masterSecret, LABEL_KEY_EXPANSION, seed,
134 byte[] seed = concat(serverRandom, clientRandom);
135 keyBlock = doTLS10PRF(masterSecret, LABEL_KEY_EXPANSION, seed,
222 byte[] seed = concat(clientRandom, serverRandom);
224 tmp = doTLS10PRF(clientKeyBytes, LABEL_CLIENT_WRITE_KEY, seed,
228 tmp = doTLS10PRF(serverKeyBytes, LABEL_SERVER_WRITE_KEY, seed,
234 byte[] block = doTLS10PRF(null, LABEL_IV_BLOCK, seed,
H A DTlsMasterSecretGenerator.java107 byte[] seed = concat(clientRandom, serverRandom);
109 doTLS12PRF(premaster, LABEL_MASTER_SECRET, seed, 48,
112 doTLS10PRF(premaster, LABEL_MASTER_SECRET, seed, 48));
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DDSAKeyPairGenerator.java201 * source passed to generate a seed and then calls the seed-based
207 int[] seed = new int[5];
209 seed[i] = random.nextInt();
211 x = generateX(seed, q);
220 * Given a seed, generate the private key component of the key
222 * (FIPS-186) seed is the XSEED quantity.
224 * @param seed the seed to use to generate the private key.
226 BigInteger generateX(int[] seed, BigIntege argument
[all...]
H A DDSAParameterGenerator.java155 * seed has been found.
158 * seed
166 byte[] seed = new byte[20];
170 seed[i] = (byte)random.nextInt();
172 result = generatePandQ(seed, L);
180 * <p>The seed parameter corresponds to the <code>SEED</code> parameter
184 * @param seed the seed to generate the parameters
188 * <code>q</code> at index 1, the seed at index 2, and the counter value
189 * at index 3, or null if the seed doe
191 generatePandQ(byte[] seed, int L) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/security/provider/
H A DNativePRNG.java50 * Also note that we do not need any initial pure random seed from
107 // set the seed
108 protected void engineSetSeed(byte[] seed) { argument
109 INSTANCE.implSetSeed(seed);
229 // always add the seed to our mixing random
230 private void implSetSeed(byte[] seed) { argument
247 randomOut.write(seed);
252 getMixRandom().engineSetSeed(seed);
/openjdk7/hotspot/src/share/vm/utilities/
H A Dtaskqueue.cpp129 int seed = *seed0; local
130 int hi = seed / q;
131 int lo = seed % q;
134 seed = test;
136 seed = test + m;
137 *seed0 = seed;
138 return seed;
/openjdk7/jdk/test/java/math/BigDecimal/
H A DStringConstructor.java35 private static int seed = new Random().nextInt(); field in class:StringConstructor
36 private static Random rnd = new Random(seed);
86 System.err.println("Random number seed = " + seed);
/openjdk7/jdk/test/sun/security/pkcs11/tls/
H A DTestPRF.java67 byte[] seed = null;
86 } else if (line.startsWith("prf-seed:")) {
87 seed = parse(data);
105 new TlsPrfParameterSpec(inKey, label, seed, length,

Completed in 68 milliseconds

1234