Searched refs:byteBuffer (Results 1 – 6 of 6) sorted by relevance
/external/icu4c/samples/layout/ |
D | UnicodeReader.cpp | 32 char *byteBuffer; in readFile() local 83 byteBuffer = new char[fileSize]; in readFile() 85 if(byteBuffer == 0) { in readFile() 92 fread(byteBuffer, sizeof(char), fileSize, f); in readFile() 97 delete[] byteBuffer; in readFile() 102 UnicodeString myText(byteBuffer, fileSize, cp); in readFile() 104 delete[] byteBuffer; in readFile()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | MessageDigest1Test.java | 111 ByteBuffer byteBuffer = ByteBuffer.wrap(b); in test_updateLjava_nio_ByteBuffer() local 113 int limit = byteBuffer.limit(); in test_updateLjava_nio_ByteBuffer() 114 md.update(byteBuffer); in test_updateLjava_nio_ByteBuffer() 116 assertEquals(byteBuffer.limit(), byteBuffer.position()); in test_updateLjava_nio_ByteBuffer() 117 assertEquals(limit, byteBuffer.limit()); in test_updateLjava_nio_ByteBuffer()
|
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/ |
D | MappedByteBufferTest.java | 196 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(26 + 20); in setUp() local 198 byteBuffer.put((byte) ('A' + i)); in setUp() 201 byteBuffer.putInt(i + 1); in setUp() 203 byteBuffer.rewind(); in setUp() 204 fileChannel.write(byteBuffer); in setUp()
|
/external/webkit/Source/JavaScriptCore/runtime/ |
D | JSGlobalObjectFunctions.cpp | 320 Vector<char, 32> byteBuffer; in jsStrDecimalLiteral() local 323 byteBuffer.append(isASCII(character) ? character : 0); in jsStrDecimalLiteral() 325 byteBuffer.append(0); in jsStrDecimalLiteral() 327 double number = WTF::strtod(byteBuffer.data(), &endOfNumber); in jsStrDecimalLiteral() 330 ptrdiff_t consumed = endOfNumber - byteBuffer.data(); in jsStrDecimalLiteral()
|
/external/icu4c/tools/genrb/ |
D | wrtjava.c | 449 char byteBuffer[100] = { 0 }; in bytes_write_java() local 473 sprintf(byteBuffer, byteDecl, byteArray[byteIterator]); in bytes_write_java() 477 sprintf(byteBuffer, byteDecl, (byteArray[byteIterator]-256)); in bytes_write_java() 480 T_FileStream_write(out, byteBuffer, (int32_t)uprv_strlen(byteBuffer)); in bytes_write_java()
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
D | ByteString.java | 211 final ByteBuffer byteBuffer = ByteBuffer.wrap(bytes); in asReadOnlyByteBuffer() local 212 return byteBuffer.asReadOnlyBuffer(); in asReadOnlyByteBuffer()
|