/external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/ |
GCMBlockCipher.java | 13 import org.bouncycastle.util.Arrays; 158 this.S = Arrays.clone(initS); 159 this.counter = Arrays.clone(J0); 166 return Arrays.clone(macBlock); 289 if (!Arrays.constantTimeAreEqual(this.macBlock, msgMac)) 308 S = Arrays.clone(initS); 309 counter = Arrays.clone(J0); 315 Arrays.fill(bufBlock, (byte)0);
|
/external/jpeg/ |
jdtrans.c | 9 * that is, reading raw DCT coefficient arrays from an input JPEG file. 23 * Read the coefficient arrays from a JPEG file. 26 * The entire image is read into a set of virtual coefficient-block arrays, 30 * To release the memory occupied by the virtual arrays, call 33 * An alternative usage is to simply obtain access to the coefficient arrays 35 * after any jpeg_finish_output() call. The arrays can be accessed until 37 * may reposition the arrays, so don't rely on access_virt_barray() results 246 /* We can now tell the memory manager to allocate virtual arrays. */
|
/external/proguard/src/proguard/classfile/editor/ |
ClassMemberSorter.java | 42 Arrays.sort(programClass.fields, 0, programClass.u2fieldsCount, this); 45 Arrays.sort(programClass.methods, 0, programClass.u2methodsCount, this);
|
InterfaceSorter.java | 27 import java.util.Arrays; 46 Arrays.sort(interfaces, 0, interfacesCount);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Array/ |
regress-157652.js | 38 * SUMMARY: Testing that Array.sort() doesn't crash on very large arrays 63 * when trying to sort such large arrays. 88 * > arrays. But if the array is too big, Rhino simply hangs. Note that ECMA 90 * > arrays I'm sorting are legal. 101 * arrays with length > Integer.MAX_VALUE. If length can fit Java int, 104 * arrays, that Array(big_number) generates, it is rather inefficient and 108 * arrays both in case of Rhino and SpiderMonkey as SM always uses a 114 var summary = "Testing that Array.sort() doesn't crash on very large arrays";
|
/external/webrtc/src/system_wrappers/interface/ |
sort.h | 48 // arrays. 54 // numOfElements The number of elements in the arrays.
|
/libcore/luni/src/main/java/libcore/net/http/ |
FixedLengthInputStream.java | 22 import java.util.Arrays; 40 Arrays.checkOffsetAndCount(buffer.length, offset, count);
|
FixedLengthOutputStream.java | 21 import java.util.Arrays; 37 Arrays.checkOffsetAndCount(buffer.length, offset, count);
|
RetryableOutputStream.java | 22 import java.util.Arrays; 57 Arrays.checkOffsetAndCount(buffer.length, offset, count);
|
UnknownLengthHttpInputStream.java | 22 import java.util.Arrays; 36 Arrays.checkOffsetAndCount(buffer.length, offset, count);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyRepTypeTest.java | 20 import java.util.Arrays; 65 assertTrue(Arrays.equals(types, KeyRep.Type.values()));
|
SecurityTest.java | 28 import java.util.Arrays; 243 assertTrue(filter, Arrays.equals(new Provider[] { p }, Security 247 assertTrue(filter, Arrays.equals(new Provider[] { p }, Security 255 assertTrue(filter, Arrays.equals(new Provider[] { p }, Security 258 assertTrue(filter, Arrays.equals(new Provider[] { p }, Security 261 assertTrue(filter, Arrays.equals(new Provider[] { p }, Security 309 assertTrue("MyService.MyAlgorithm", Arrays.equals( 315 assertTrue("MyService.MyAlgorithm KeySize:512", Arrays.equals( 327 assertTrue(Arrays.equals(new Provider[] { p }, Security 331 assertTrue(Arrays.equals(new Provider[] { p }, Securit [all...] |
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
SingleCorpusPromoterTest.java | 22 import java.util.Arrays; 32 private List<Corpus> mCorpora = Arrays.asList(MockCorpus.CORPUS_1, MockCorpus.CORPUS_2);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ProjectionMap.java | 19 import java.util.Arrays; 52 Arrays.sort(columns);
|
/system/media/mca/filterfw/java/android/filterfw/core/ |
MutableFrameFormat.java | 23 import java.util.Arrays; 53 mDimensions = (dimensions == null) ? null : Arrays.copyOf(dimensions, dimensions.length);
|
/dalvik/tests/003-omnibus-opcodes/src/ |
Classes.java | 4 import java.util.Arrays; 110 * Exercise filled-new-array and test instanceof on arrays. 156 strForm = Arrays.deepToString(multi1); 164 strForm = Arrays.deepToString(multi2); 174 strForm = Arrays.deepToString(multi3); 184 strForm = Arrays.deepToString(multi4);
|
/frameworks/base/keystore/tests/src/android/security/ |
KeyStoreTest.java | 24 import java.util.Arrays; 83 assertTrue(Arrays.equals(TEST_KEYVALUE, mKeyStore.get(TEST_KEYNAME))); 92 assertTrue(Arrays.equals(TEST_KEYVALUE, mKeyStore.get(TEST_KEYNAME))); 109 assertTrue(Arrays.equals(TEST_KEYVALUE, mKeyStore.get(TEST_KEYNAME))); 134 assertEquals(new HashSet(Arrays.asList(TEST_KEYNAME1.substring(TEST_KEYNAME.length()), 136 new HashSet(Arrays.asList(results)));
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
MethodOverridesTest.java | 20 import java.util.Arrays; 36 assertEquals(Arrays.<Class<?>>asList(char.class), 37 Arrays.asList(method.getParameterTypes())); 52 assertEquals(Collections.<Class<?>>emptyList(), Arrays.asList(method.getExceptionTypes())); 162 + Arrays.toString(method.getParameterTypes()) 163 + " throws " + Arrays.toString(method.getExceptionTypes());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SelectionManagerTest.java | 23 import java.util.Arrays; 55 root.setChildren(Arrays.asList(child1, child2)); 59 manager.selectMultiple(Arrays.asList(rootView, rootView.getChildren().get(0), rootView 82 manager.selectMultiple(Arrays.asList(rootView, rootView.getChildren().get(0), rootView 106 root.setChildren(Arrays.asList(child1, child2)); 110 manager.selectMultiple(Arrays.asList(rootView.getChildren().get(0)));
|
/sdk/sdkmanager/app/tests/com/android/sdkmanager/ |
MainTest.java | 30 import java.util.Arrays; 178 Set<String> expectedSet = new TreeSet<String>(Arrays.asList(expectedValues)); 180 // First check the values are actually defined in the proper arrays 197 // Now check none of these values are NOT present in the NODES arrays 207 Arrays.toString(expectedSet.toArray())), 238 Arrays.toString(result.getSecond().toArray()));
|
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/ |
SdkRepoSourceTest.java | 34 import java.util.Arrays;
263 Arrays.toString(extraPaths.toArray()));
266 Arrays.toString(extraVendors.toArray()));
269 Arrays.toString(extraInstall.toArray()));
342 Arrays.toString(extraPaths.toArray()));
345 Arrays.toString(extraVendors.toArray()));
348 Arrays.toString(extraInstall.toArray()));
419 Arrays.toString(extraPaths.toArray()));
422 Arrays.toString(extraVendors.toArray()));
426 Arrays.toString(extraInstall.toArray())); [all...] |
ArchiveInstallerTest.java | 26 import java.util.Arrays; 126 Arrays.toString(mFile.getExistingFiles())); 130 Arrays.toString(mFile.getExistingFolders())); 140 stripDate(Arrays.toString(mFile.getOutputStreams()))); 172 Arrays.toString(mFile.getExistingFiles())); 179 Arrays.toString(mFile.getExistingFolders())); 195 stripDate(Arrays.toString(mFile.getOutputStreams()))); 245 Arrays.toString(mFile.getExistingFiles())); 252 Arrays.toString(mFile.getExistingFolders())); 269 stripDate(Arrays.toString(mFile.getOutputStreams()))) [all...] |
/external/guava/src/com/google/common/primitives/ |
Booleans.java | 23 import java.util.Arrays; 38 * already found in either {@link Boolean} or {@link Arrays}. 128 * java.util.Arrays.copyOfRange(array, i, i + target.length)} contains exactly 182 * @param arrays zero or more {@code boolean} arrays 183 * @return a single array containing all the values from the source arrays, in 186 public static boolean[] concat(boolean[]... arrays) { 188 for (boolean[] array : arrays) { 193 for (boolean[] array : arrays) { 225 // Arrays.copyOf() requires Java [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
PriorityQueueTest.java | 20 import java.util.Arrays; 53 Arrays.sort(array); 54 Arrays.sort(resultArray); 55 assertTrue(Arrays.equals(array, resultArray)); 131 Arrays.sort(newArray); 257 List<Integer> list = Arrays.asList(array); 268 List<Integer> list = Arrays.asList(array); 272 Arrays.sort(array); 361 Arrays.sort(array); 471 Arrays.sort(array) [all...] |
/development/tools/glesv2debugger/src/com/android/glesv2debugger/ |
GLServerVertex.java | 380 ByteBuffer arrays = null; local 383 arrays = msg.getData().asReadOnlyByteBuffer(); 384 arrays.order(SampleView.targetByteOrder); 387 fetch(maxAttrib, first + i, i, arrays, msgData.attribs); 388 assert null == arrays || arrays.remaining() == 0; 406 ByteBuffer arrays = null, index = null; local 409 arrays = msg.getData().asReadOnlyByteBuffer(); 410 arrays.order(SampleView.targetByteOrder); 413 index = arrays; // server also interleaves user pointer indice [all...] |