/dalvik/tests/021-string2/src/junit/framework/ |
D | Assert.java | 59 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument 60 if (expected == null && actual == null) in assertEquals() 62 if (expected != null && expected.equals(actual)) in assertEquals() 64 failNotEquals(message, expected, actual); in assertEquals() 70 static public void assertEquals(Object expected, Object actual) { in assertEquals() argument 71 assertEquals(null, expected, actual); in assertEquals() 76 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument 77 if (expected == null && actual == null) in assertEquals() 79 if (expected != null && expected.equals(actual)) in assertEquals() 81 throw new ComparisonFailure(message, expected, actual); in assertEquals() [all …]
|
D | ComparisonFailure.java | 18 public ComparisonFailure (String message, String expected, String actual) { in ComparisonFailure() argument 21 fActual= actual; in ComparisonFailure() 47 String actual, expected; in getMessage() local 52 actual= fActual; in getMessage() 55 actual= fActual.substring(i, k+1); in getMessage() 58 actual= "..."+actual; in getMessage() 64 actual= actual+"..."; in getMessage() 66 return Assert.format(super.getMessage(), expected, actual); in getMessage()
|
/dalvik/tests/082-inline-execute/src/junit/framework/ |
D | Assert.java | 59 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument 60 if (expected == null && actual == null) in assertEquals() 62 if (expected != null && expected.equals(actual)) in assertEquals() 64 failNotEquals(message, expected, actual); in assertEquals() 70 static public void assertEquals(Object expected, Object actual) { in assertEquals() argument 71 assertEquals(null, expected, actual); in assertEquals() 76 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument 77 if (expected == null && actual == null) in assertEquals() 79 if (expected != null && expected.equals(actual)) in assertEquals() 81 throw new ComparisonFailure(message, expected, actual); in assertEquals() [all …]
|
D | ComparisonFailure.java | 18 public ComparisonFailure (String message, String expected, String actual) { in ComparisonFailure() argument 21 fActual= actual; in ComparisonFailure() 47 String actual, expected; in getMessage() local 52 actual= fActual; in getMessage() 55 actual= fActual.substring(i, k+1); in getMessage() 58 actual= "..."+actual; in getMessage() 64 actual= actual+"..."; in getMessage() 66 return Assert.format(super.getMessage(), expected, actual); in getMessage()
|
/dalvik/vm/ |
D | SignalCatcher.cpp | 84 ssize_t actual; in printProcessName() local 86 actual = read(fd, tmpBuf, sizeof(tmpBuf)-1); in printProcessName() 87 if (actual <= 0) in printProcessName() 90 tmpBuf[actual] = '\0'; in printProcessName() 194 ssize_t actual = TEMP_FAILURE_RETRY(write(fd, traceBuf, traceLen)); in handleSigQuit() local 195 if (actual != (ssize_t) traceLen) { in handleSigQuit() 197 gDvm.stackTraceFile, (int) actual, traceLen, in handleSigQuit()
|
D | StdioConverter.cpp | 208 ssize_t actual; in readAndLog() local 214 actual = read(fd, data->buf + data->count, want); in readAndLog() 215 if (actual <= 0) { in readAndLog() 217 tag, fd, want, (int)actual, strerror(errno)); in readAndLog() 222 data->count += actual; in readAndLog()
|
D | Exception.h | 235 void dvmThrowArrayStoreExceptionNotArray(ClassObject* actual, const char* label); 257 extern "C" void dvmThrowClassCastException(ClassObject* actual, ClassObject* desired);
|
D | InitRefs.cpp | 453 static bool verifyStringOffset(const char* name, int actual, int expected) { in verifyStringOffset() argument 454 if (actual != expected) { in verifyStringOffset() 455 ALOGE("InitRefs: String.%s offset = %d; expected %d", name, actual, expected); in verifyStringOffset()
|
D | Exception.cpp | 1190 ClassObject* actual, ClassObject* desired) in throwTypeError() argument 1192 std::string actualClassName(dvmHumanReadableDescriptor(actual->descriptor)); in throwTypeError() 1219 void dvmThrowArrayStoreExceptionNotArray(ClassObject* actual, const char* label) { in dvmThrowArrayStoreExceptionNotArray() argument 1220 std::string actualClassName(dvmHumanReadableDescriptor(actual->descriptor)); in dvmThrowArrayStoreExceptionNotArray() 1242 void dvmThrowClassCastException(ClassObject* actual, ClassObject* desired) in dvmThrowClassCastException() argument 1245 "%s cannot be cast to %s", actual, desired); in dvmThrowClassCastException()
|
/dalvik/libdex/ |
D | SysUtil.cpp | 319 ssize_t actual = TEMP_FAILURE_RETRY(write(fd, buf, count)); in sysWriteFully() local 320 if (actual < 0) { in sysWriteFully() 324 } else if (actual != (ssize_t) count) { in sysWriteFully() 326 logMsg, (int) actual, count); in sysWriteFully() 327 buf = (const void*) (((const u1*) buf) + actual); in sysWriteFully() 329 count -= actual; in sysWriteFully() 344 ssize_t actual = TEMP_FAILURE_RETRY(read(inFd, buf, getSize)); in sysCopyFileToFile() local 345 if (actual != (ssize_t) getSize) { in sysCopyFileToFile() 347 (int) actual, getSize); in sysCopyFileToFile()
|
D | OptInvocation.cpp | 123 ssize_t actual; in dexOptCreateEmptyHeader() local 135 actual = write(fd, &optHdr, sizeof(optHdr)); in dexOptCreateEmptyHeader() 136 if (actual != sizeof(optHdr)) { in dexOptCreateEmptyHeader()
|
D | ZipArchive.cpp | 153 ssize_t actual = TEMP_FAILURE_RETRY(read(fd, scanBuf, readAmount)); in mapCentralDirectory0() local 154 if (actual != (ssize_t) readAmount) { in mapCentralDirectory0() 543 ssize_t actual = in dexZipGetEntryInfo() local 545 if (actual != sizeof(lfhBuf)) { in dexZipGetEntryInfo() 635 ssize_t actual = TEMP_FAILURE_RETRY(read(inFd, readBuf, getSize)); in inflateToFile() local 636 if (actual != (ssize_t) getSize) { in inflateToFile() 638 (int)actual, getSize); in inflateToFile()
|
/dalvik/dx/tests/116-leb128/com/android/dx/util/ |
D | Leb128UtilsTest.java | 72 private void assertEquals(byte[] expected, byte[] actual) { in assertEquals() argument 73 assertTrue(Arrays.toString(actual), Arrays.equals(expected, actual)); in assertEquals()
|
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
D | Main.java | 162 int actual; in openInputFileAsZip() local 165 actual = zis.read(copyBuf); in openInputFileAsZip() 166 if (actual == -1) in openInputFileAsZip() 169 raf.write(copyBuf, 0, actual); in openInputFileAsZip()
|
/dalvik/tools/hprof-conv/ |
D | HprofConv.c | 223 size_t actual; in ebReadData() local 228 actual = fread(pBuf->storage + pBuf->curLen, 1, count, in); in ebReadData() 229 if (actual != count) { in ebReadData() 233 fprintf(stderr, "ERROR: read %d of %d bytes\n", actual, count); in ebReadData() 249 size_t actual; in ebWriteData() local 254 actual = fwrite(pBuf->storage, 1, pBuf->curLen, out); in ebWriteData() 255 if (actual != pBuf->curLen) { in ebWriteData() 256 fprintf(stderr, "ERROR: write %d of %d bytes\n", actual, pBuf->curLen); in ebWriteData()
|
/dalvik/tests/301-abstract-protected/ |
D | info.txt | 2 of an interface method; the RI only cares about the visibility of the actual
|
/dalvik/vm/analysis/ |
D | DexPrepare.cpp | 1178 ssize_t actual; in dvmCheckOptHeaderAndDependencies() local 1193 actual = read(fd, &optHdr, sizeof(optHdr)); in dvmCheckOptHeaderAndDependencies() 1194 if (actual < 0) { in dvmCheckOptHeaderAndDependencies() 1197 } else if (actual != sizeof(optHdr)) { in dvmCheckOptHeaderAndDependencies() 1199 (int) actual, sizeof(optHdr)); in dvmCheckOptHeaderAndDependencies() 1257 actual = read(fd, depData, optHdr.depsLength); in dvmCheckOptHeaderAndDependencies() 1258 if (actual < 0) { in dvmCheckOptHeaderAndDependencies() 1261 } else if (actual != (ssize_t) optHdr.depsLength) { in dvmCheckOptHeaderAndDependencies() 1263 (int) actual, optHdr.depsLength); in dvmCheckOptHeaderAndDependencies() 1519 ssize_t actual; in computeFileChecksum() local [all …]
|
D | RegisterMap.cpp | 809 size_t actual = writeMapsAllClasses(pDvmDex, (u1*)pBuilder->memMap.addr, in dvmGenerateRegisterMaps() local 811 if (actual == 0) { in dvmGenerateRegisterMaps() 816 ALOGV("TOTAL size of register maps: %d", actual); in dvmGenerateRegisterMaps() 819 pBuilder->size = actual; in dvmGenerateRegisterMaps()
|
/dalvik/vm/compiler/template/armv5te/ |
D | TEMPLATE_INVOKE_METHOD_PREDICTED_CHAIN.S | 30 cmp r3, r8 @ predicted class == actual class?
|
/dalvik/vm/jdwp/ |
D | JdwpMain.cpp | 62 ssize_t actual = TEMP_FAILURE_RETRY(writev(clientSock, iov, iovcnt)); in writeBufferedPacket() local 65 return actual; in writeBufferedPacket()
|
D | JdwpAdb.cpp | 711 ssize_t actual = netState->writeBufferedPacket(iov, iovcnt); in sendBufferedRequest() local 713 if ((size_t)actual != expected) { in sendBufferedRequest() 715 strerror(errno), (int) actual, expected); in sendBufferedRequest()
|
D | JdwpSocket.cpp | 871 ssize_t actual = netState->writeBufferedPacket(iov, iovcnt); in sendBufferedRequest() local 873 if ((size_t)actual != expected) { in sendBufferedRequest() 875 strerror(errno), (int) actual, expected); in sendBufferedRequest()
|
/dalvik/dx/tests/111-use-null-as-array/ |
D | info.txt | 13 recover the "true" original meaning at the level of actual opcode
|
/dalvik/vm/mterp/armv5te/ |
D | OP_CHECK_CAST.S | 46 ldr r0, [r9, #offObject_clazz] @ r0<- obj->clazz (actual class)
|