/external/e2fsprogs/contrib/ |
make-sparse.c | 25 int got, total = 0; local 29 got = read(fd, buf, count); 30 if (got == -1) { 35 if (got == 0) { 41 buf += got; 42 total += got; 43 count -= got; 50 int fd, got, i; local 64 got = full_read(0, buf, sizeof(buf)); 65 if (got == 0 [all...] |
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
CipherInputStreamTest.java | 83 + data[i] + ", Got: " + res + "."); 104 int ind = 0; // index into the data array (to check the got data) 105 int got = cis.read(result); // the number of got bytes local 107 for (int j = 0; j < got - ind; j++) { 112 if (got == expected) { 114 } else if (got > expected) { 118 ind = got; 119 got += cis.read(result); 143 int ind = skip; // index into the data array (to check the got data 146 int got = skip + cis.read(result, 0, 1); \/\/ the number of got bytes local 181 int got = skipped + cis.read(result, 0, 1); \/\/ the number of got bytes local [all...] |
/external/e2fsprogs/util/ |
copy_sparse.c | 67 int got, total = 0; local 71 got = read(fd, buf, count); 72 if (got == -1) { 77 if (got == 0) { 83 buf += got; 84 total += got; 85 count -= got; 94 ssize_t got, got2; local 167 got = full_read(fd, buf, bs); 169 if (fd == 0 && got == 0 [all...] |
/external/zlib/ |
gzwrite.c | 63 int ret, got; local 79 if (have && ((got = write(state->fd, state->next, have)) < 0 || 80 (unsigned)got != have)) {
|
gzread.c | 312 if (state->have) /* got some data from gz_head() */ 367 unsigned got, n; local 400 got = 0; 444 got += n; 449 return (int)got; 576 if (buf == str) /* got bupkus */ 578 break; /* got something -- return it */
|
/external/e2fsprogs/debugfs/ |
dump.c | 108 unsigned int got; local 119 retval = ext2fs_file_read(e2_file, buf, sizeof(buf), &got); 122 if (got == 0) 124 nbytes = write(fd, buf, got); 125 if ((unsigned) nbytes != got) 214 unsigned int got; local 215 retval = ext2fs_file_read(e2_file, p, bytes, &got); 220 bytes -= got; 221 p += got; 222 if (got == 0 || bytes == 0 [all...] |
logdump.c | 275 unsigned int *got) 287 *got = retval; 299 retval = ext2fs_file_read(source->file, buf, size, got); 304 else if (*got != (unsigned int) size) { 306 "while reading journal", *got, size); 339 unsigned int got; local 349 buf, 2048, &got); 378 jsb_buffer, 1024, &got); 402 blocksize, &got); 403 if (retval || got != blocksize 577 unsigned int got; local [all...] |
/external/zlib/examples/ |
enough.c | 203 big_t got; /* value returned from count() */ local 218 got = num[index]; 219 if (got) 220 return got; /* we have -- return the saved result */ 237 got = count(syms - use, len + 1, (left - use) << 1); 238 sum += got; 239 if (got == -1 || sum < got) /* overflow */ 459 big_t got; /* return value of count() */ local 533 got = count(n, 1, 2) [all...] |
gzlog.c | 611 uint got, max; local 662 got = DICT - strm.avail_out; 663 if (got && write(log->fd, buf, got) != got) { [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherInputStream1Test.java | 92 + data[i] + ", Got: " + res + "."); 113 int ind = 0; // index into the data array (to check the got data) 114 int got = cis.read(result); // the number of got bytes local 116 for (int j = 0; j < got - ind; j++) { 121 if (got == expected) { 123 } else if (got > expected) { 127 ind = got; 128 got += cis.read(result); 152 int ind = skip; // index into the data array (to check the got data 155 int got = skip + cis.read(result, 0, 1); \/\/ the number of got bytes local 190 int got = skipped + cis.read(result, 0, 1); \/\/ the number of got bytes local [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
ProtectionDomainTest.java | 140 Principal[] got = pd.getPrincipals(); local 141 assertNotNull(got); 142 assertNotSame(got, principals); 143 assertNotSame(got, pd.getPrincipals()); 144 assertTrue(got.length == principals.length);
|
/external/e2fsprogs/misc/ |
e2initrd_helper.c | 77 unsigned int got; local 106 retval = ext2fs_file_read(e2_file, buf, inode.i_size, &got); 115 ret_file->size = (int) got;
|
/external/icu4c/test/intltest/ |
astrotst.cpp | 308 // Compute delta of what we got to the USNO data, in seconds 377 dataerrln("Got error: %s", u_errorName(status)); 451 // Moon phase angle - Got from http://www.moonsystem.to/checkupe.htm 463 double got = astro->getMoonAge(); local 465 if(!(got>expectedAge-precision && got<expectedAge+precision)){ 467 " got " + got); 470 " got " + got); [all...] |
restsnew.cpp | 352 UnicodeString got=bundle.getNextString(err); local 363 got=rowbundle.getNextString(err); 368 CONFIRM_EQ(got, expected); 378 CONFIRM_EQ(got, expected); 479 errln("Construction of default resourcebundle didn't take the defaultlocale. Expected %s Got %s err=%s\n", 564 UnicodeString got=ures_getNextUnicodeString(bundle, &key, &err); local 575 got=ures_getNextUnicodeString(rowbundle, &key, &err); 583 CONFIRM_EQ(got, expected); 595 CONFIRM_EQ(got, expected); [all...] |
testidna.cpp | 443 + " Got: " + prettify(UnicodeString(prepOut,prepOutLength))); 481 + " Got: " + prettify(UnicodeString(dest,destLen)) 493 + " Got: "+ UnicodeString(u_errorName(status)) 513 "Got: " + prettify(UnicodeString(dest,destLen))); 527 + " Got: "+ UnicodeString(u_errorName(status)) 555 + " Got: "+ UnicodeString(u_errorName(status)) 582 + " Got: "+ UnicodeString(u_errorName(status)) 611 + " Got: "+ UnicodeString(u_errorName(status)) 638 + " Got: "+ UnicodeString(u_errorName(status)) 1381 UChar got[MAX_DEST_SIZE]={0}; local [all...] |
/external/jhead/ |
jpgfile.c | 142 int ll,lh, got; local 186 got = fread(Data+2, 1, itemlen-2, infile); // Read the whole section. 187 if (got != itemlen-2){ 215 got = fread(Data, 1, size, infile); 216 if (got != size){ 338 int ll,lh, got; local
|
/external/srec/srec/clib/ |
fpi_tgt.c | 726 int ii, jj, got; local 744 got = setRECframePtr(frmPkt, end, relative_to_pullp); 745 if (got != end) 747 (void) setRECframePtr(frmPkt, -got, relative_to_pullp);
|
/frameworks/base/core/java/android/app/backup/ |
FullBackup.java | 123 int got = in.read(buffer, 0, toRead); local 124 if (got <= 0) { 125 Log.w(TAG, "Incomplete read: expected " + size + " but got " 131 out.write(buffer, 0, got); 141 size -= got;
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidDeflateTest.java | 136 int want = -1, got; local 175 int want = -1, got; local
|
/external/icu4c/test/cintltst/ |
putiltst.c | 30 static void doAssert(double expect, double got, const char *message); 44 log_err("Error in uprv_modf. Expected IntegralValue=%f, Got=%f, \n Expected FractionalValue=%f, Got=%f\n", 128 log_err("ERROR: u_getVersion() failed. Expected: U_ZERO_ERROR Got=%s\n", str); 133 log_err("ERROR: u_getVersion() failed. Expected: U_USING_DEFAULT_WARNING Got=%s\n", str); 138 log_err("ERROR: u_getVersion() failed. Expected: [BOGUS UErrorCode] Got=%s\n", str); 160 log_err("ERROR: u_charsToUChars failed. Expected %s, Got %s\n", austrdup(temp), austrdup(udataDir)); 167 log_err("ERROR: u_UCharsToChars failed. Expected %s, Got %s\n", charvalue, dataDirectory); 202 log_err("ERROR: u_versionToString() failed. Expected: 1.0.2.2, Got=%s\n", versionString); 223 log_err("ERROR: u_versionToString() failed. Expected: 10.0.2.2, Got=%s\n", versionString) 305 int32_t op, invop, got, invgot; local [all...] |
cdtrgtst.c | 109 log_err("Fail: Want %s Got %s\n", austrdup(todayS), austrdup(rt) ); 130 UDate start,exp,got; local 180 got = udat_parse(def, s, u_strlen(s), 0, &status); 181 gotdate=myFormatit(def, got); 188 log_err("set2DigitYearStart broken for %s \n got: %s, expected: %s\n", austrdup(s), 264 log_err("Fail: Want %s Got: %s\n", austrdup(str), austrdup(formatted) ); 307 log_err("Fail: Got %d Expected 40\n", ucal_get(cal, UCAL_DAY_OF_YEAR, &status));
|
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11wm.c | 85 SDL_Color want[256], got[256]; local 126 SDL_memset(got, 0, sizeof got); 135 /* got the colour */ 137 got[c.pixel] = want[i]; 150 got[i].r = cols[i].red >> 8; 151 got[i].g = cols[i].green >> 8; 152 got[i].b = cols[i].blue >> 8; 159 got[i].r = 0; 160 got[i].g = 0 [all...] |
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
DictionaryBackupAgent.java | 190 int got; local 191 while ((got = gzip.read(tempData)) > 0) { 192 baos.write(tempData, 0, got);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
FloatTest.java | 93 + ") Expecting:" + Integer.toHexString(expectedRawBits) + " Got: " 854 Float got = Float.valueOf("432.1235"); local [all...] |
/external/dbus/dbus/ |
dbus-spawn.c | 373 int got; local 377 r = read_ints (fd, &what, 1, &got, &error); 393 if (got == 1) 403 r = read_ints (fd, &arg, 1, &got, &error); 417 if (got == 1) 613 _dbus_verbose ("Got child PID %ld for killing\n", 1004 _dbus_verbose ("babysitter got POLLIN from parent pipe\n"); 1010 _dbus_verbose ("babysitter got POLLERR or POLLHUP from parent\n"); 1219 _dbus_assert_not_reached ("Got to code after write_err_and_exit()"); 1227 _dbus_assert_not_reached ("Got to code after exec() - should have exited on error") [all...] |