Home
last modified time | relevance | path

Searched refs:sourceArray (Results 1 – 17 of 17) 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/angle/src/tests/gl_tests/
DParallelShaderCompileTest.cpp87 const char *sourceArray[1] = {source.c_str()}; in CompileShader() local
88 glShaderSource(shader, 1, sourceArray, nullptr); in CompileShader()
DGLSLTest.cpp1898 const char *sourceArray[1] = {source.c_str()}; in TEST_P() local
1900 glShaderSource(shader, static_cast<GLsizei>(ArraySize(sourceArray)), sourceArray, lengths); in TEST_P()
1913 const char *sourceArray[1] = {essl1_shaders::fs::Red()}; in TEST_P() local
1915 glShaderSource(shader, static_cast<GLsizei>(ArraySize(sourceArray)), sourceArray, lengths); in TEST_P()
1941 const char *sourceArray[] = { in TEST_P() local
1950 static_cast<GLint>(strlen(sourceArray[2])), in TEST_P()
1953 ASSERT_EQ(ArraySize(sourceArray), ArraySize(lengths)); in TEST_P()
1955 glShaderSource(shader, static_cast<GLsizei>(ArraySize(sourceArray)), sourceArray, lengths); in TEST_P()
1968 const char *sourceArray[] = { in TEST_P() local
1974 ASSERT_EQ(ArraySize(sourceArray), ArraySize(lengths)); in TEST_P()
[all …]
DFramebufferFetchTest.cpp977 const char *sourceArray[3] = {kVS, kFS1, kFS2}; in ProgramPipelineTest() local
980 glShaderSource(vertShader, 1, &sourceArray[0], nullptr); in ProgramPipelineTest()
988 glShaderSource(fragShader1, 1, &sourceArray[1], nullptr); in ProgramPipelineTest()
996 glShaderSource(fragShader2, 1, &sourceArray[2], nullptr); in ProgramPipelineTest()
/external/angle/util/
Dshader_utils.cpp144 const char *sourceArray[1] = {source}; in CompileShader() local
145 glShaderSource(shader, 1, sourceArray, nullptr); in CompileShader()
/external/icu/icu4c/source/common/
Drbbitblb.cpp1048 MaybeStackArray<void *, 16> destArray, sourceArray; // Handle small cases without malloc in setAdd() local
1060 if (sourceSize > sourceArray.getCapacity()) { in setAdd()
1061 if (sourceArray.resize(sourceSize) == NULL) { in setAdd()
1065 sourcePtr = sourceArray.getAlias(); in setAdd()
/external/guava/guava-tests/test/com/google/common/collect/
DIterablesTest.java207 String[] sourceArray = new String[] {"a", "b", "c"};
208 Iterable<String> iterable = asList(sourceArray);
210 assertTrue(Arrays.equals(sourceArray, newArray));
DIteratorsTest.java266 String[] sourceArray = new String[] {"a", "b", "c"}; in testToArray() local
267 Iterator<String> iterator = asList(sourceArray).iterator(); in testToArray()
269 assertTrue(Arrays.equals(sourceArray, newArray)); in testToArray()
/external/guava/android/guava-tests/test/com/google/common/collect/
DIterablesTest.java207 String[] sourceArray = new String[] {"a", "b", "c"};
208 Iterable<String> iterable = asList(sourceArray);
210 assertTrue(Arrays.equals(sourceArray, newArray));
DIteratorsTest.java266 String[] sourceArray = new String[] {"a", "b", "c"}; in testToArray() local
267 Iterator<String> iterator = asList(sourceArray).iterator(); in testToArray()
269 assertTrue(Arrays.equals(sourceArray, newArray)); in testToArray()