HomeSort by relevance Sort by last modified time
    Searched refs:numRead (Results 1 - 25 of 61) sorted by null

1 2 3

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/
Streams.java 49 int numRead = inStr.read(buf, off + totalRead, len - totalRead);
50 if (numRead < 0)
54 totalRead += numRead;
63 int numRead;
64 while ((numRead = inStr.read(bs, 0, bs.length)) >= 0)
66 outStr.write(bs, 0, numRead);
75 int numRead;
76 while ((numRead = inStr.read(bs, 0, bs.length)) >= 0)
78 total += numRead;
83 outStr.write(bs, 0, numRead);
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
ANTLRReaderStream.java 73 int numRead=0;
82 numRead = r.read(data, p, readChunkSize);
83 // System.out.println("read "+numRead+" chars; p was "+p+" is now "+(p+numRead));
84 p += numRead;
85 } while (numRead!=-1); // while not EOF
87 // EOF subtracted one above in p+=numRead; add one back
  /frameworks/base/core/java/android/content/pm/
MacAuthenticatedInputStream.java 72 int numRead = super.read(buffer, offset, count);
73 if (numRead > 0) {
74 mMac.update(buffer, offset, numRead);
76 return numRead;
LimitedLengthInputStream.java 84 final int numRead = super.read(buffer, offset, byteCount);
85 mOffset += numRead;
87 return numRead;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DefiniteLengthInputStream.java 74 int numRead = _in.read(buf, off, toRead);
76 if (numRead < 0)
81 if ((_remaining -= numRead) == 0)
86 return numRead;
ConstructedOctetStream.java 44 int numRead = _currentStream.read(b, off + totalRead, len - totalRead);
46 if (numRead >= 0)
48 totalRead += numRead;
IndefiniteLengthInputStream.java 65 int numRead = _in.read(b, off + 2, len - 2);
67 if (numRead < 0)
85 return numRead + 2;
  /external/libnfc-nxp/Linux_x86/
phDal4Nfc_i2c.c 181 int numRead = 0;
191 while (numRead < nNbBytesToRead) {
207 ret = read(gI2cPortContext.nHandle, pBuffer + numRead, nNbBytesToRead - numRead);
210 numRead += ret;
222 return numRead;
phDal4Nfc_uart.c 299 int numRead = 0;
330 while (numRead < nNbBytesToRead) {
350 ret = read(gComPortContext.nHandle, pBuffer + numRead, nNbBytesToRead - numRead);
352 ret = apply_errors(pBuffer + numRead, ret);
355 numRead += ret;
368 return numRead;
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRFileStream.m 92 int numRead=0;
95 numRead = [retData length];
97 NSLog( @"read %d chars; p was %d is now %d", n, p1, (p1+numRead) );
98 p1 += numRead;
  /frameworks/base/core/tests/coretests/src/android/content/pm/
MacAuthenticatedInputStreamTest.java 108 int numRead = 0;
110 numRead++;
112 if (numRead > TEST_STRING_1.length) {
116 assertEquals(TEST_STRING_1.length, numRead);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/
UsbAccessoryTestActivity.java 191 int numRead = 0;
193 while (numRead >= 0) {
194 numRead = mInputStream.read(buffer);
195 if (numRead > 0) {
196 handleReceivedMessage(buffer, numRead);
209 private void handleReceivedMessage(byte[] buffer, int numRead) throws IOException {
211 String text = new String(buffer, 0, numRead).trim();
  /external/webkit/Source/WebKit/android/wds/client/
AdbConnection.cpp 220 int numRead;
222 while (sscanf(ptr, "%31s\t%31s\n%n", serial, state, &numRead) > 1) {
231 ptr += numRead;
  /packages/apps/Browser/src/com/android/browser/
BrowserBackupAgent.java 196 int numRead = data.readEntityData(buf, 0, CHUNK);
197 crc.update(buf, 0, numRead);
198 out.write(buf, 0, numRead);
199 toRead -= numRead;
  /external/icu4c/tools/toolutil/
ucbuf.c 55 int32_t numRead;
62 numRead=T_FileStream_read(in, start, sizeof(start));
64 *cp = ucnv_detectUnicodeSignature(start, numRead, signatureLength, error);
301 for(i=0;i<numRead;i++){
591 int32_t numRead;
594 numRead=T_FileStream_read(buf->in, start, buf->signatureLength);
599 ucnv_toUnicode(buf->conv, &pTarget, target+1, &pStart, start+numRead, NULL, FALSE, error);
605 if(U_SUCCESS(*error) && (numRead!=buf->signatureLength || pTarget!=(target+1) || target[0]!=0xfeff)) {
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
IssueReporter.java 110 int numRead = input.read(buffer);
111 if (numRead < 0) {
114 gzipOutput.write(buffer, 0, numRead);
  /packages/apps/Settings/src/com/android/settings/
SettingsLicenseActivity.java 82 int numRead;
90 while ((numRead = inputReader.read(tmp)) >= 0) {
91 data.append(tmp, 0, numRead);
  /system/core/toolbox/
lsof.c 198 int numRead = read(fd, cmdline, sizeof(cmdline) - 1);
201 if (numRead < 0) {
206 cmdline[numRead] = '\0';
  /external/webkit/Tools/DumpRenderTree/chromium/
ImageDiff.cpp 113 size_t numRead = 0;
114 while ((numRead = fread(buf, 1, bufSize, f)) > 0)
115 std::copy(buf, &buf[numRead], std::back_inserter(compressed));
  /hardware/samsung_slsi/exynos5/mobicore/daemon/ClientLib/
ClientLib.cpp 567 ssize_t numRead = nqconnection->readData(
573 if (count == 0 && numRead == -2 ) {
578 if (count == 0 && numRead == 0 ) {
588 if (numRead != sizeof(notification_t)) {
592 LOG_E("read notification failed, %i bytes received", (int)numRead);
  /external/smali/smali/src/main/java/org/jf/smali/
smaliFlexLexer.java     [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
G711DecTest.c 219 OMX_S16 numRead = 0;
    [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/tests/
WBAmrDecTest.c 208 int numRead;
    [all...]
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
InflaterTest.java 465 int numRead = 0;
467 int inflatedChunkSize = inflater.inflate(buffer, numRead,
468 buffer.length - numRead);
469 numRead += inflatedChunkSize;
    [all...]
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsBackupAgent.java 783 int numRead = 0;
785 && (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0) {
786 offset += numRead;
    [all...]

Completed in 736 milliseconds

1 2 3