Home
last modified time | relevance | path

Searched refs:sourceArray (Results 1 – 11 of 11) sorted by relevance

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetASCII.java62 byte[] sourceArray = source.array(); in decodeLoop()
80 …cr = decodeLoopCoreOptimized(source, target, sourceArray, targetArray, sourceIndex, offset, limit); in decodeLoop()
112 byte[] sourceArray, char[] targetArray, int oldSource, int offset, int limit) { in decodeLoopCoreOptimized() argument
119 for (i = oldSource; i < limit && (((ch = (sourceArray[i] & 0xff)) & 0x80) == 0); i++) in decodeLoopCoreOptimized()
220 char[] sourceArray = source.array(); in encodeLoop() local
238 …cr = encodeLoopCoreOptimized(source, target, sourceArray, targetArray, sourceIndex, offset, limit,… in encodeLoop()
272 char[] sourceArray, byte[] targetArray, int oldSource, int offset, int limit, in encodeLoopCoreOptimized() argument
280 for (i = oldSource; i < limit && (((ch = sourceArray[i]) & 0xff80) == 0); i++) in encodeLoopCoreOptimized()
DCharset88591.java32 byte[] sourceArray, char[] targetArray, int oldSource, int offset, int limit) { in decodeLoopCoreOptimized() argument
39 targetArray[i + offset] = (char) (sourceArray[i] & 0xff); in decodeLoopCoreOptimized()
71 char[] sourceArray, byte[] targetArray, int oldSource, int offset, int limit, in encodeLoopCoreOptimized() argument
80 ch = sourceArray[i]; in encodeLoopCoreOptimized()
DCharsetUTF8.java63 byte[] sourceArray = source.array(); in decodeLoop()
76 toUBytesArray[0] = ch = sourceArray[sourceIndex++]; in decodeLoop()
102 toUBytesArray[bytesSoFar] = ch = sourceArray[sourceIndex++]; in decodeLoop()
152 while (UTF8.isSingle(ch = sourceArray[sourceIndex++])) { in decodeLoop()
341 char[] sourceArray = source.array(); in encodeLoop() local
357 cr = encodeFourBytes(sourceArray, targetArray, sourceLimit, targetLimit, in encodeLoop()
381 char32 = sourceArray[srcIdx++]; in encodeLoop()
425 cr = encodeFourBytes(sourceArray, targetArray, sourceLimit, targetLimit, in encodeLoop()
518 private final CoderResult encodeFourBytes(char[] sourceArray, byte[] targetArray, in encodeFourBytes() argument
523 CoderResult cr = handleSurrogates(sourceArray, sourceIndex, sourceLimit, (char)char32); in encodeFourBytes()
DCharsetEncoderICU.java908 final CoderResult handleSurrogates(char[] sourceArray, int sourceIndex, in handleSurrogates() argument
920 char trail = sourceArray[sourceIndex]; in handleSurrogates()
DCharsetMBCS.java1970 byte[] sourceArray; in simpleMatchToU()
1975 sourceArray = new byte[Math.min(source.remaining(), EXT_MAX_BYTES)]; in simpleMatchToU()
1976 source.get(sourceArray).position(sourcePosition); in simpleMatchToU()
1978 sourceLimit = sourceArray.length; in simpleMatchToU()
1980 sourceArray = source.array(); in simpleMatchToU()
1984 …match = matchToU((byte) -1, sourceArray, sourcePosition, sourceLimit, null, value, useFallback, tr… in simpleMatchToU()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DJSystem.cs59 …public static void arraycopy<T>( T[] sourceArray, int sourceIndex, T[] destinationArray, int desti… in arraycopy() argument
61 Array.Copy( sourceArray, sourceIndex, destinationArray, destinationIndex, length ); in arraycopy()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DJSystem.cs60 …public static void arraycopy<T>( T[] sourceArray, int sourceIndex, T[] destinationArray, int desti… in arraycopy() argument
62 Array.Copy( sourceArray, sourceIndex, destinationArray, destinationIndex, length ); in arraycopy()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DChangeTimeScaleTrack.java156 long[] sourceArray = TimeToSampleBox.blowupTimeToSamples(source); in adjustTts() local
160 for (int i = 1; i <= sourceArray.length; i++) { in adjustTts()
161 long duration = sourceArray[i - 1]; in adjustTts()
/external/icu/icu4c/source/common/
Drbbitblb.cpp982 MaybeStackArray<void *, 16> destArray, sourceArray; // Handle small cases without malloc in setAdd() local
994 if (sourceSize > sourceArray.getCapacity()) { in setAdd()
995 if (sourceArray.resize(sourceSize) == NULL) { in setAdd()
999 sourcePtr = sourceArray.getAlias(); in setAdd()
/external/guava/guava-tests/test/com/google/common/collect/
DIterablesTest.java208 String[] sourceArray = new String[] {"a", "b", "c"};
209 Iterable<String> iterable = asList(sourceArray);
211 assertTrue(Arrays.equals(sourceArray, newArray));
DIteratorsTest.java270 String[] sourceArray = new String[] {"a", "b", "c"}; in testToArray() local
271 Iterator<String> iterator = asList(sourceArray).iterator(); in testToArray()
273 assertTrue(Arrays.equals(sourceArray, newArray)); in testToArray()