/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...] |
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherInputStream1Test.java | 111 + data[i] + ", Got: " + res + "."); 138 int ind = 0; // index into the data array (to check the got data) 139 int got = cis.read(result); // the number of got bytes local 141 for (int j = 0; j < got - ind; j++) { 146 if (got == expected) { 148 } else if (got > expected) { 152 ind = got; 153 got += cis.read(result); 183 int ind = skip; // index into the data array (to check the got data 186 int got = skip + cis.read(result, 0, 1); \/\/ the number of got bytes local 227 int got = skipped + cis.read(result, 0, 1); \/\/ the number of got bytes local [all...] |
/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) 215 unsigned int got; local 216 retval = ext2fs_file_read(e2_file, p, bytes, &got); 221 bytes -= got; 222 p += got; 223 if (got == 0 || bytes == 0 [all...] |
logdump.c | 274 unsigned int *got) 286 *got = retval; 298 retval = ext2fs_file_read(source->file, buf, size, got); 303 else if (*got != (unsigned int) size) { 304 com_err(cmd, 0, "short read (read %d, expected %d) while while reading journal", *got, size); 337 unsigned int got; local 347 buf, 2048, &got); 376 jsb_buffer, 1024, &got); 400 blocksize, &got); 401 if (retval || got != blocksize 572 unsigned int got; local [all...] |
debugfs.c | 1251 int got; local 1262 got = read(fd, buf, sizeof(buf)); 1263 if (got == 0) 1265 if (got < 0) { 1270 while (got > 0) { 1272 got, &written); 1276 got -= written; [all...] |
/external/icu4c/test/cintltst/ |
putiltst.c | 25 static void doAssert(double expect, double got, const char *message); 39 log_err("Error in uprv_modf. Expected IntegralValue=%f, Got=%f, \n Expected FractionalValue=%f, Got=%f\n", 123 log_err("ERROR: u_getVersion() failed. Expected: U_ZERO_ERROR Got=%s\n", str); 128 log_err("ERROR: u_getVersion() failed. Expected: U_USING_DEFAULT_WARNING Got=%s\n", str); 133 log_err("ERROR: u_getVersion() failed. Expected: [BOGUS UErrorCode] Got=%s\n", str); 155 log_err("ERROR: u_charsToUChars failed. Expected %s, Got %s\n", austrdup(temp), austrdup(udataDir)); 162 log_err("ERROR: u_UCharsToChars failed. Expected %s, Got %s\n", charvalue, dataDirectory); 194 log_err("ERROR: u_versionToString() failed. Expected: 1.0.2.2, Got=%s\n", versionString); 215 log_err("ERROR: u_versionToString() failed. Expected: 10.0.2.2, Got=%s\n", versionString) 286 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 179 got = udat_parse(def, s, u_strlen(s), 0, &status); 180 gotdate=myFormatit(def, got); 187 log_err("set2DigitYearStart broken for %s \n got: %s, expected: %s\n", austrdup(s), 263 log_err("Fail: Want %s Got: %s\n", austrdup(str), austrdup(formatted) ); 306 log_err("Fail: Got %d Expected 40\n", ucal_get(cal, UCAL_DAY_OF_YEAR, &status));
|
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
ProtectionDomainTest.java | 209 Principal[] got = pd.getPrincipals(); local 210 assertNotNull(got); 211 assertNotSame(got, principals); 212 assertNotSame(got, pd.getPrincipals()); 213 assertTrue(got.length == principals.length);
|
CodeSourceTest.java | 271 java.security.cert.Certificate[] got = new CodeSource(null, chain) local 274 assertNotSame(got, chain); 276 assertTrue(checkEqual(got, chain)); 297 Certificate[] got = cs.getCertificates(); local 300 assertTrue(presented(certs, got)); 301 assertTrue(presented(got, certs)); 400 CodeSigner[] got = cs.getCodeSigners(); local 401 assertNotNull(got); 402 assertTrue(signers.length == got.length); 407 for (int j = 0; j < got.length; j++) [all...] |
/external/e2fsprogs/misc/ |
e2initrd_helper.c | 76 unsigned int got; local 105 retval = ext2fs_file_read(e2_file, buf, inode.i_size, &got); 114 ret_file->size = (int) got;
|
badblocks.c | 268 long got; local 281 got = read (dev, buffer, try * block_size); 282 if (got < 0) 283 got = 0; 284 if (got & 511) 285 fprintf(stderr, _("Weird value (%ld) in do_read\n"), got); 286 got /= block_size; 287 return got; 297 long got; local 310 got = write (dev, buffer, try * block_size) 336 long got; local 440 int i, try, got, nr_pattern, pat_idx; local 568 long got, used2, written, save_currently_testing; local [all...] |
/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 | 347 UnicodeString got=bundle.getNextString(err); local 358 got=rowbundle.getNextString(err); 363 CONFIRM_EQ(got, expected); 373 CONFIRM_EQ(got, expected); 474 errln("Construction of default resourcebundle didn't take the defaultlocale. Expected %s Got %s err=%s\n", 559 UnicodeString got=ures_getNextUnicodeString(bundle, &key, &err); local 570 got=ures_getNextUnicodeString(rowbundle, &key, &err); 578 CONFIRM_EQ(got, expected); 590 CONFIRM_EQ(got, expected); [all...] |
testidna.cpp | 442 + " 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)) 1367 UChar got[MAX_DEST_SIZE]={0}; local [all...] |
transapi.cpp | 790 UnicodeString got, temp, message; local 796 got = data; 797 t->transliterate(got); 800 doTest(message, got, exp); 809 got = data; 810 t->transliterate(got); 813 doTest(message, got, exp); 815 doTest("adoptFilter round trip", got, temp); 821 got = data; 822 t->transliterate(got); [all...] |
/external/jhead/ |
jpgfile.c | 140 int ll,lh, got; local 184 got = fread(Data+2, 1, itemlen-2, infile); // Read the whole section. 185 if (got != itemlen-2){ 213 got = fread(Data, 1, size, infile); 214 if (got != size){
|
/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/tests/CoreTests/android/core/ |
DeflateTest.java | 138 int want = -1, got; local 177 int want = -1, got; local
|
/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);
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
FloatTest.java | 99 + ") Expecting:" + Integer.toHexString(expectedRawBits) + " Got: " 1088 Float got = Float.valueOf("432.1235"); local [all...] |
/external/dbus/dbus/ |
dbus-spawn.c | 366 int got; local 372 r = read_ints (fd, &what, 1, &got, &error); 388 if (got == 1) 398 r = read_ints (fd, &arg, 1, &got, &error); 412 if (got == 1) 596 _dbus_verbose ("Got child PID %ld for killing\n", 928 _dbus_verbose ("babysitter got POLLIN from parent pipe\n"); 934 _dbus_verbose ("babysitter got POLLERR or POLLHUP from parent\n"); 1140 _dbus_assert_not_reached ("Got to code after write_err_and_exit()"); 1147 _dbus_assert_not_reached ("Got to code after exec() - should have exited on error") [all...] |
/external/qemu/ |
loader.c | 133 size_t got; local 138 got = fread_targphys(addr, max_sz, f); 142 return got;
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/ |
JPEGTest.c | 188 int got = 0; local 203 ReadFile(infile, &a, 1, &got, NULL); 209 ReadFile(infile, &b, 1, &got, NULL); 219 int ll = 0,lh = 0, got = 0; local 224 ReadFile(infile, &marker, 1, &got, NULL); 249 ReadFile(infile, &lh, 1, &got, NULL); 250 ReadFile(infile, &ll, 1, &got, NULL); 272 ReadFile(infile, Data+2, itemlen-2, &got, NULL); 274 got = fread(Data+2, 1, itemlen-2, infile); /* Read the whole section.*/ 276 if ( got != itemlen-2 ) [all...] |
/system/core/sh/ |
parser.c | 345 int got; local 349 if ((got=readtoken()) != TDO) { 350 TRACE(("expecting DO got %s %s\n", tokname[got], got == TWORD ? wordtext : "")); [all...] |