/libcore/luni/src/test/java/libcore/java/io/ |
OldAndroidPipedStreamTest.java | 79 int toWrite = fib.next(); 80 out.write(toWrite); 159 int toWrite = fib.next(); 160 writeBytes[0] = (byte) (toWrite >> 24); 161 writeBytes[1] = (byte) (toWrite >> 16); 162 writeBytes[2] = (byte) (toWrite >> 8); 163 writeBytes[3] = (byte) (toWrite); 230 int toWrite = fib.next(); 231 writeBytes[i ] = (byte) (toWrite >> 24); 232 writeBytes[i + 1] = (byte) (toWrite >> 16) [all...] |
/external/srec/shared/src/ |
CircularBuffer.c | 140 size_t toWrite = bufSize - nbWritten; 141 memcpy(bufferData + buffer->writeIdx, ((unsigned char*) data) + nbWritten, toWrite); 142 buffer->size += toWrite; 143 buffer->writeIdx += toWrite;
|
/hardware/invensense/mlsdk/mllite/ |
mldl.c | 940 unsigned short toWrite; 949 toWrite = length; 950 if (toWrite > MAX_LOAD_WRITE_SIZE) 951 toWrite = MAX_LOAD_WRITE_SIZE; 954 inv_set_mpu_memory_one_bank(memAddr >> 8, memAddr & 0xff, toWrite, 961 buffer += toWrite; 962 memAddr += toWrite; 963 length -= toWrite; [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_HttpTests.java | 145 String toWrite = "abcdef"; 148 out.write(toWrite.getBytes("ISO8859_1")); 161 Assert.assertTrue("Error sending data 1: " + result, toWrite 170 String toWrite = "zyxwvuts"; 174 out.write(toWrite.getBytes("ISO8859_1")); 187 Assert.assertEquals(toWrite, result);
|
/external/srec/srec/EventLog/src/ |
EventLogImpl.c | 462 const LCHAR* toWrite[5]; 464 toWrite[0] = header; 465 toWrite[1] = bar; 466 toWrite[2] = evtt; 467 toWrite[3] = log_record; 468 toWrite[4] = nl; 494 len = LSTRLEN(toWrite[i]); 495 if (pfwrite(toWrite[i], sizeof_LCHAR, len, impl->logFile))
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
LoggingPrintStreamTest.java | 174 String toWrite = a + "\n" + b + "\n" + c; 175 out.write(toWrite.getBytes());
|
/frameworks/base/media/libmedia/ |
AudioTrack.cpp | 996 size_t toWrite; 1000 toWrite = audioBuffer.size>>1; 1002 int count = toWrite; 1008 toWrite = audioBuffer.size; 1009 memcpy(audioBuffer.i8, src, toWrite); 1010 src += toWrite; 1012 userSize -= toWrite; 1013 written += toWrite; [all...] |
/cts/tools/vm-tests/src/util/build/ |
BuildDalvikSuite.java | 223 File toWrite = new File(curJunitFileName); 224 String absPath = toWrite.getAbsolutePath(); 229 writeToFileMkdir(toWrite, curJunitFileData); 241 File toWrite = new File(allTestsFileName); 242 writeToFileMkdir(toWrite, curAllTestsData); 243 javacHostJunitBuildStep.addSourceFile(toWrite.getAbsolutePath());
|
/frameworks/base/voip/jni/rtp/ |
AudioGroup.cpp | 871 int toWrite = sampleCount; 875 while (--chances > 0 && (toWrite > 0 || toRead > 0)) { 876 if (toWrite > 0) { 878 buffer.frameCount = toWrite; 882 int offset = sampleCount - toWrite; 884 toWrite -= buffer.frameCount;
|
/libcore/luni/src/main/java/java/io/ |
ObjectOutputStream.java | 388 int toWrite = written.length - offset > 1024 ? 1024 390 if (toWrite < 256) { 392 output.writeByte((byte) toWrite); 395 output.writeInt(toWrite); 399 output.write(written, offset, toWrite); 400 offset += toWrite; [all...] |
/dalvik/dx/src/com/android/dx/merge/ |
DexMerger.java | 272 T toWrite = null; 274 toWrite = a; 280 toWrite = b; 285 if (toWrite == null) { 288 write(toWrite); [all...] |
/cts/tools/vm-tests-tf/src/util/build/ |
BuildDalvikSuite.java | 191 File toWrite = new File(curJunitFileName); 192 String absPath = toWrite.getAbsolutePath(); 197 writeToFileMkdir(toWrite, curJunitFileData);
|
/frameworks/base/libs/utils/ |
BackupHelpers.cpp | 685 off64_t toWrite = s.st_size; 686 while (toWrite > 0) { 687 size_t toRead = (toWrite < BUFSIZE) ? toWrite : BUFSIZE; 695 LOGE("EOF but expect %lld more bytes in [%s]", (long long) toWrite, 711 toWrite -= nRead; [all...] |
/hardware/ril/libril/ |
ril.cpp | 1225 const uint8_t *toWrite; 1227 toWrite = (const uint8_t *)buffer; [all...] |
/prebuilt/common/ant/ |
ant.jar | |