Searched refs:seed (Results 51 - 75 of 82) sorted by relevance

1234

/openjdk7/hotspot/src/share/vm/classfile/
H A DaltHashing.cpp61 jint AltHashing::murmur3_32(jint seed, const jbyte* data, int len) { argument
62 jint h1 = seed;
122 jint AltHashing::murmur3_32(jint seed, const jchar* data, int len) { argument
123 jint h1 = seed;
169 // Hash used for the seed.
170 jint AltHashing::murmur3_32(jint seed, const int* data, int len) { argument
171 jint h1 = seed;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/
H A DRuntimeClassInfoImpl.java144 protected ReferencePropertyInfoImpl createReferenceProperty(PropertySeed<Type,Class,Field,Method> seed) { argument
145 return new RuntimeReferencePropertyInfoImpl(this,seed);
149 protected AttributePropertyInfoImpl createAttributeProperty(PropertySeed<Type,Class,Field,Method> seed) { argument
150 return new RuntimeAttributePropertyInfoImpl(this,seed);
154 protected ValuePropertyInfoImpl createValueProperty(PropertySeed<Type,Class,Field,Method> seed) { argument
155 return new RuntimeValuePropertyInfoImpl(this,seed);
159 protected ElementPropertyInfoImpl createElementProperty(PropertySeed<Type,Class,Field,Method> seed) { argument
160 return new RuntimeElementPropertyInfoImpl(this,seed);
164 protected MapPropertyInfoImpl createMapProperty(PropertySeed<Type,Class,Field,Method> seed) { argument
165 return new RuntimeMapPropertyInfoImpl(this,seed);
[all...]
H A DClassInfoImpl.java390 PropertySeed seed = createFieldSeed(f);
391 ((DummyPropertyInfo)prop).addType(createReferenceProperty(seed));
706 * {@code seed.readAllAnnotation()}, but taken as a parameter
709 private void addProperty( PropertySeed<T,C,F,M> seed, Annotation[] annotations, boolean dummy ) { argument
797 if(nav().isSubClassOf( seed.getRawType(), nav().ref(Map.class) )
798 && !seed.hasAnnotation(XmlJavaTypeAdapter.class))
803 if (nav().isSubClassOf( seed.getRawType(), nav().ref(Map.class)) && !seed.hasAnnotation(XmlJavaTypeAdapter.class)) {
816 Annotation offender = seed.readAnnotation(m);
841 attributeWildcard = seed;
899 createReferenceProperty(PropertySeed<T,C,F,M> seed) argument
903 createAttributeProperty(PropertySeed<T,C,F,M> seed) argument
907 createValueProperty(PropertySeed<T,C,F,M> seed) argument
911 createElementProperty(PropertySeed<T,C,F,M> seed) argument
915 createMapProperty(PropertySeed<T,C,F,M> seed) argument
[all...]
H A DReferencePropertyInfoImpl.java81 PropertySeed<T,C,F,M> seed) {
83 super(classInfo, seed);
85 isMixed = seed.readAnnotation(XmlMixed.class) != null;
87 XmlAnyElement xae = seed.readAnnotation(XmlAnyElement.class);
121 XmlElementRefs refs = seed.readAnnotation(XmlElementRefs.class);
122 XmlElementRef ref = seed.readAnnotation(XmlElementRef.class);
127 nav().getClassName(parent.getClazz())+'#'+seed.getName(),
192 PropertySeed sd = info.seed;
199 nav().getClassName(parent.getClazz())+'#'+seed.getName(),
79 ReferencePropertyInfoImpl( ClassInfoImpl<T,C,F,M> classInfo, PropertySeed<T,C,F,M> seed) argument
H A DElementPropertyInfoImpl.java87 isValueList = seed.hasAnnotation(XmlList.class);
96 XmlElement xe = seed.readAnnotation(XmlElement.class);
97 XmlElements xes = seed.readAnnotation(XmlElements.class);
102 nav().getClassName(parent.getClazz())+'#'+seed.getName(),
/openjdk7/jdk/src/share/native/sun/security/ec/
H A DECC_JNI.cpp58 SECITEM_FreeItem(&ecparams->curve.seed, B_FALSE);
74 (JNIEnv *env, jclass clazz, jint keySize, jbyteArray encodedParams, jbyteArray seed)
96 // Copy seed from Java to native buffer
97 jSeedLength = env->GetArrayLength(seed);
99 env->GetByteArrayRegion(seed, 0, jSeedLength, pSeedBuffer);
101 // Generate the new keypair (using the supplied seed)
170 (JNIEnv *env, jclass clazz, jbyteArray digest, jbyteArray privateKey, jbyteArray encodedParams, jbyteArray seed)
180 jint jSeedLength = env->GetArrayLength(seed);
217 // Copy seed from Java to native buffer
219 env->GetByteArrayRegion(seed,
73 Java_sun_security_ec_ECKeyPairGenerator_generateECKeyPair(JNIEnv *env, jclass clazz, jint keySize, jbyteArray encodedParams, jbyteArray seed) argument
169 Java_sun_security_ec_ECDSASignature_signDigest(JNIEnv *env, jclass clazz, jbyteArray digest, jbyteArray privateKey, jbyteArray encodedParams, jbyteArray seed) argument
[all...]
/openjdk7/hotspot/src/share/vm/utilities/
H A Dtaskqueue.hpp500 bool steal_1_random(uint queue_num, int* seed, E& t);
501 bool steal_best_of_2(uint queue_num, int* seed, E& t);
502 bool steal_best_of_all(uint queue_num, int* seed, E& t);
508 // The thread with queue number "queue_num" (and whose random number seed is
509 // at "seed") is trying to steal a task from some other queue. (It may try
513 bool steal(uint queue_num, int* seed, E& t);
530 GenericTaskQueueSet<T, F>::steal(uint queue_num, int* seed, E& t) {
532 if (steal_best_of_2(queue_num, seed, t)) {
542 GenericTaskQueueSet<T, F>::steal_best_of_all(uint queue_num, int* seed, E& t) { argument
566 GenericTaskQueueSet<T, F>::steal_1_random(uint queue_num, int* seed, argument
582 steal_best_of_2(uint queue_num, int* seed, E& t) argument
[all...]
H A Dhashtable.cpp100 return AltHashing::murmur3_32(seed(), (const jbyte*)sym->as_C_string(), sym->utf8_length());
108 return AltHashing::murmur3_32(seed(), chars, length);
117 // Initialize the global seed for hashing.
119 assert(seed() != 0, "shouldn't be zero");
H A Dhashtable.hpp282 static jint seed() { return _seed; } function in class:Hashtable
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DpsPromotionManager.hpp161 static bool steal_depth(int queue_num, int* seed, StarTask& t) { argument
162 return stack_array_depth()->steal(queue_num, seed, t);
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DDSA.java81 /* The random seed used to generate k */
84 /* The random seed used to generate k (specified by application) */
88 * The random seed used to generate k
93 /* The RNG used to output a seed for generating k */
423 int[] seed = new int[5];
426 seed[i] = random.nextInt();
427 k = generateK(seed, q);
429 previousKseed = new int [seed.length];
430 System.arraycopy(seed, 0, previousKseed, 0, seed
458 generateK(int[] seed, BigInteger q) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/ec/
H A DECDSASignature.java276 // seed is twice the key size (in bytes) plus 1
277 byte[] seed = new byte[(((keySize + 7) >> 3) + 1) * 2];
281 random.nextBytes(seed);
286 signDigest(getDigestValue(), s, encodedParams, seed));
401 * @param seed the random seed.
406 byte[] encodedParams, byte[] seed) throws GeneralSecurityException;
405 signDigest(byte[] digest, byte[] s, byte[] encodedParams, byte[] seed) argument
/openjdk7/jdk/src/share/classes/sun/security/rsa/
H A DRSAPadding.java361 // 2.d: generate a random octet string seed of length hLen
363 byte[] seed = new byte[hLen];
364 random.nextBytes(seed);
369 // start and length of seed (as index into EM)
373 // copy seed into EM
374 System.arraycopy(seed, 0, EM, seedStart, seedLen);
455 * We generate maskLen bytes of MGF1 from the seed and XOR it into
458 private void mgf1(byte[] seed, int seedOfs, int seedLen, argument
463 mgfMd.update(seed, seedOfs, seedLen);
/openjdk7/jdk/test/sun/net/www/
H A DParseUtil_4922813.java57 long seed = System.currentTimeMillis();
58 random = new Random(seed);
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/RSA/
H A DTestOAEP_KAT.java47 * because our APIs do now allow us to explicitly specify the seed.
56 private static byte[] plainText, seed, cipherText, cipherText2; field in class:TestOAEP_KAT
96 seed = parseBytes(reader);
102 c.init(Cipher.ENCRYPT_MODE, pubKey, new MyRandom(seed));
/openjdk7/langtools/test/tools/javac/scope/7017664/
H A DCompoundScopeTest.java52 if (arg.equals("-seed") && (i + 1 < args.length))
53 seed = Long.parseLong(args[++i]);
60 rgen = new Random(seed);
87 long seed = 0; field in class:CompoundScopeTest
/openjdk7/langtools/test/tools/javac/scope/
H A DStarImportTest.java50 if (arg.equals("-seed") && (i + 1 < args.length))
51 seed = Long.parseLong(args[++i]);
58 rgen = new Random(seed);
110 long seed = 0; field in class:StarImportTest
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DForkJoinWorkerThread.java252 int seed; field in class:ForkJoinWorkerThread
343 int r = seed;
347 return seed = r;
364 seed = (r == 0) ? 1 : r; // must be nonzero
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/
H A DDefaultClassBinder.java551 String seed = builder.deriveName( comp.getName(), comp );
554 seed = "Original"+seed;
555 return seed;
/openjdk7/jdk/src/share/classes/org/jcp/xml/dsig/internal/dom/
H A DDOMKeyValue.java61 private DOMCryptoBinary p, q, g, y, j, seed, pgen; field in class:DOMKeyValue
211 seed = new DOMCryptoBinary(curElem.getFirstChild());
215 //@@@ do we care about j, pgenCounter or seed?
/openjdk7/jdk/src/windows/native/sun/security/mscapi/
H A Dsecurity.cpp149 (JNIEnv *env, jclass clazz, jint length, jbyteArray seed)
173 * If length is negative then use the supplied seed to re-seed the
175 * If length is non-zero then generate a new seed according to the
176 * requested length and return the new seed.
177 * If length is zero then overwrite the supplied seed with a new
178 * seed of the same length and return the seed.
181 length = env->GetArrayLength(seed);
182 reseedBytes = env->GetByteArrayElements(seed,
148 Java_sun_security_mscapi_PRNG_generateSeed(JNIEnv *env, jclass clazz, jint length, jbyteArray seed) argument
[all...]
/openjdk7/jdk/test/java/util/Arrays/
H A DSorting.java86 for (long seed : randoms) {
88 testAndCheckWithInsertionSort(length, new MyRandom(seed));
89 testAndCheckWithCheckSum(length, new MyRandom(seed));
90 testAndCheckWithScrambling(length, new MyRandom(seed));
91 testAndCheckFloat(length, new MyRandom(seed));
92 testAndCheckDouble(length, new MyRandom(seed));
93 testStable(length, new MyRandom(seed));
2031 MyRandom(long seed) { argument
2032 super(seed);
2033 mySeed = seed;
[all...]
/openjdk7/jdk/test/javax/management/remote/mandatory/loading/
H A DMissingClassTest.java600 We explicitly seed the random number generator so we
605 long seed = System.currentTimeMillis();
606 System.out.println("Random number seed is " + seed);
607 Random r = new Random(seed);
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DHandshakeMessage.java1907 byte [] seed;
1911 // Get the KeyGenerator alg and calculate the seed.
1914 seed = handshakeHash.getFinishedHash();
1922 seed = new byte[36];
1923 md5Clone.digest(seed, 0, 16);
1924 shaClone.digest(seed, 16, 20);
1941 masterKey, tlsLabel, seed, 12,
/openjdk7/jdk/src/share/native/sun/security/ec/impl/
H A Dec.c302 CHECK_SEC_OK(SECITEM_CopyItem(arena, &key->ecParams.curve.seed,
303 &ecParams->curve.seed, kmflag));
354 * random value (in seed) and the public key is the result of
360 const unsigned char *seed, int seedlen, int kmflag)
363 rv = ec_NewKey(ecParams, privKey, seed, seedlen, kmflag);
828 printf("ECDSA signing with seed %s\n",
837 ** and a random seed.
359 EC_NewKeyFromSeed(ECParams *ecParams, ECPrivateKey **privKey, const unsigned char *seed, int seedlen, int kmflag) argument

Completed in 78 milliseconds

1234