/art/test/070-nio-buffer/src/ |
Main.java | 20 import java.nio.CharBuffer; 124 CharBuffer charBuf = directBuf.asCharBuffer();
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
Grid.java | 21 import java.nio.CharBuffer; 135 private CharBuffer mIndexBuffer;
|
/external/guava/guava-tests/test/com/google/common/io/ |
LineBufferTest.java | 27 import java.nio.CharBuffer; 132 public int read(CharBuffer cbuf) throws IOException {
|
/frameworks/base/core/java/android/text/ |
TextDirectionHeuristics.java | 22 import java.nio.CharBuffer; 131 return isRtl(CharBuffer.wrap(array), start, count);
|
/frameworks/support/v4/java/android/support/v4/text/ |
TextDirectionHeuristicsCompat.java | 22 import java.nio.CharBuffer; 125 return isRtl(CharBuffer.wrap(array), start, count);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
PropertyResourceBundleTest.java | 27 import java.nio.CharBuffer; 75 CharBuffer cbuffer = charset.decode(ByteBuffer.wrap(content
|
/external/guava/guava/src/com/google/common/io/ |
CharStreams.java | 32 import java.nio.CharBuffer; 200 CharBuffer buf = CharBuffer.allocate(BUF_SIZE);
|
/frameworks/base/core/java/com/android/internal/os/ |
LoggingPrintStream.java | 23 import java.nio.CharBuffer; 53 private CharBuffer decodedChars; 123 decodedChars = CharBuffer.allocate(80);
|
/libcore/luni/src/main/java/java/util/jar/ |
Manifest.java | 24 import java.nio.CharBuffer; 296 CharBuffer cBuf = CharBuffer.wrap(value);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
CharsetTest.java | 20 import java.nio.CharBuffer; 288 CharBuffer out = cs.decode(in); 654 ByteBuffer bb = c1.encode(CharBuffer.wrap("abcdefg")); 656 bb = c1.encode(CharBuffer.wrap("")); 662 ByteBuffer bb = c1.encode(CharBuffer.wrap("abcd\u5D14efg")); 670 c.encode((CharBuffer) null); 679 c.encode(CharBuffer.wrap("hehe")); 720 CharBuffer cb = c1.decode(ByteBuffer.wrap("abcdefg".getBytes("iso8859-1"))); 728 CharBuffer cb = c1.decode(ByteBuffer.wrap("abcd\u5D14efg".getBytes("iso8859-1"))); 797 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
AtomicString.cpp | 365 typedef HashTranslatorCharBuffer<char> CharBuffer; 367 static unsigned hash(const CharBuffer& buf) 372 static bool equal(StringImpl* const& str, const CharBuffer& buf) 377 static void translate(StringImpl*& location, const CharBuffer& buf, unsigned hash) 402 CharBuffer buffer = { characters, length }; 403 return addToStringTable<CharBuffer, CharBufferFromLiteralDataTranslator>(buffer);
|
/external/smali/util/src/main/java/org/jf/util/ |
ClassFileNameHandler.java | 36 import java.nio.CharBuffer; 349 CharBuffer buf = CharBuffer.allocate(32);
|
/frameworks/base/core/java/com/android/internal/util/ |
FastPrintWriter.java | 11 import java.nio.CharBuffer; 343 CharBuffer charBuffer = CharBuffer.wrap(mText, 0, mPos); 344 CoderResult result = mCharset.encode(charBuffer, mBytes, true); 350 result = mCharset.encode(charBuffer, mBytes, true);
|
FastXmlSerializer.java | 27 import java.nio.CharBuffer; 241 CharBuffer charBuffer = CharBuffer.wrap(mText, 0, mPos); 242 CoderResult result = mCharset.encode(charBuffer, mBytes, true); 248 result = mCharset.encode(charBuffer, mBytes, true);
|
/frameworks/base/core/java/android/text/format/ |
TimeFormatter.java | 25 import java.nio.CharBuffer; 132 CharBuffer formatBuffer = CharBuffer.wrap(pattern); 146 private boolean handleToken(CharBuffer formatBuffer, ZoneInfo.WallTime wallTime,
|
/frameworks/native/opengl/tests/testViewport/src/com/android/test/ |
TestView.java | 36 import java.nio.CharBuffer; 103 private CharBuffer mIndexBuffer;
|
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
IsValidUtf8TestUtil.java | 47 import java.nio.CharBuffer; 330 CharBuffer cb = CharBuffer.wrap(charsDecoded);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
StringTest.java | 22 import java.nio.CharBuffer; 39 // The evil decoder keeps hold of the CharBuffer it wrote to. 45 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { 61 // The evil encoder tries to write to the CharBuffer it was given to 67 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { 86 // Check that our encoder can't write to the input CharBuffer 120 // Check that even if the decoder messes with the output CharBuffer
|
/external/replicaisland/src/com/replica/replicaisland/ |
Grid.java | 22 import java.nio.CharBuffer; 46 private CharBuffer mIndexBuffer;
|
/libcore/luni/src/test/java/libcore/java/nio/ |
BufferTest.java | 29 import java.nio.CharBuffer; 323 assertEquals(ByteOrder.nativeOrder(), CharBuffer.wrap(new char[10]).order()); 324 assertEquals(ByteOrder.nativeOrder(), CharBuffer.wrap(new char[10]).asReadOnlyBuffer().order()); 327 private void testCharBufferByteOrder(CharBuffer b, ByteOrder bo) throws Exception { 337 private CharBuffer allocateCharBuffer(ByteOrder order) { 342 testCharBufferByteOrder(CharBuffer.allocate(10), ByteOrder.nativeOrder()); 738 CharBuffer cb = b.asCharBuffer(); [all...] |
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
StreamHandlerTest.java | 25 import java.nio.CharBuffer; 625 CharBuffer.wrap("MockFormatter_Head" + "\u6881\u884D\u8F69")) 643 CharBuffer.wrap("MockFormatter_Head" + "\u6881\u884D\u8F69")) 652 CharBuffer.wrap("MockFormatter_Head" + "\u6881\u884D\u8F69" 656 CharBuffer.wrap("MockFormatter_Head" + "\u6881\u884D\u8F69")) 658 byte[] b2 = encoder.encode(CharBuffer.wrap("\u6881\u884D\u8F69")) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CubeMapActivity.java | 23 import java.nio.CharBuffer; 251 private CharBuffer mIndexBuffer;
|
MatrixPaletteRenderer.java | 23 import java.nio.CharBuffer; 83 private CharBuffer mIndexBuffer;
|
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/ |
WebSocketFrame.java | 8 import java.nio.CharBuffer; 295 return TEXT_ENCODER.encode(CharBuffer.wrap(payload)).array();
|
/libcore/benchmarks/src/benchmarks/regression/ |
ByteBufferBenchmark.java | 122 CharBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asCharBuffer(); 283 CharBuffer dst = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asCharBuffer();
|