Home
last modified time | relevance | path

Searched refs:wordIndex (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DBitSet.java111 private static int wordIndex(int bitIndex) { in wordIndex() method in BitSet
166 words = new long[wordIndex(nbits-1) + 1]; in initWords()
343 private void expandTo(int wordIndex) { in expandTo() argument
344 int wordsRequired = wordIndex+1; in expandTo()
376 int wordIndex = wordIndex(bitIndex); in flip() local
377 expandTo(wordIndex); in flip()
379 words[wordIndex] ^= (1L << bitIndex); in flip()
403 int startWordIndex = wordIndex(fromIndex); in flip()
404 int endWordIndex = wordIndex(toIndex - 1); in flip()
440 int wordIndex = wordIndex(bitIndex); in set() local
[all …]
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
DSHA1Impl.java178 int wordIndex = index >>2; in updateHash() local
191 intArray[wordIndex] |= ( byteInput[i] & 0xFF ) << ((3 - byteIndex)<<3) ; in updateHash()
195 wordIndex++; in updateHash()
196 if ( wordIndex == 16 ) { // intArray is full, computing hash in updateHash()
199 wordIndex = 0; in updateHash()
212 intArray[wordIndex] = ( ((int) byteInput[i ] & 0xFF) <<24 ) | in updateHash()
217 wordIndex++; in updateHash()
219 if ( wordIndex < 16 ) { // buffer is not full yet in updateHash()
223 wordIndex = 0; in updateHash()
240 intArray[wordIndex] = w; in updateHash()