/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
Helpers.java | 74 Iterable<?> expected, Iterable<?> actual) { 76 List<?> act = copyToList(actual); 86 + "expected = " + exp + ", actual = " + actString); 93 Iterable<?> actual, Object... expected) { 94 assertEqualIgnoringOrder(Arrays.asList(expected), actual); local
|
/external/icu4c/i18n/unicode/ |
format.h | 243 /** Get the locale for this format object. You can choose between valid and actual locale. 244 * @param type type of the locale we're looking for (valid or actual) 252 /** Get the locale for this format object. You can choose between valid and actual locale. 253 * @param type type of the locale we're looking for (valid or actual) 263 void setLocaleIDs(const char* valid, const char* actual);
|
/external/proguard/src/proguard/ |
ProGuard.java | 293 // Perform the actual shrinking. 309 // Perform the actual inlining. 324 // Perform the actual optimization. 351 // Perform the actual obfuscation. 366 // Perform the actual preverification.
|
/cts/tests/tests/content/src/android/content/res/cts/ |
ResourcesTest.java | 139 final String actual = res.getText(resId).toString(); local 141 + "got '" + actual + "' from resource 0x" + Integer.toHexString(resId), 144 + ", got '" + actual + "' from resource 0x" + Integer.toHexString(resId), 145 expectedValue, actual); 150 final String actual = res.getText(resId, null).toString(); local 152 + "got '" + actual + "' from resource 0x" + Integer.toHexString(resId), 155 + ", got '" + actual + "' from resource 0x" + Integer.toHexString(resId), 156 expectedValue, actual); 500 private static void checkString(final int resid, final String actual, final String expected) { 502 + actual + "\" in resources 0x" + Integer.toHexString(resid) [all...] |
/dalvik/libdex/ |
ZipArchive.cpp | 166 ssize_t actual = TEMP_FAILURE_RETRY(read(pArchive->mFd, scanBuf, sizeof(int32_t))); local 167 if (actual != (ssize_t) sizeof(int32_t)) { 196 actual = TEMP_FAILURE_RETRY(read(pArchive->mFd, scanBuf, readAmount)); 197 if (actual != (ssize_t) readAmount) { 199 actual, readAmount, strerror(errno)); 595 * the actual data starts. 618 ssize_t actual = local 620 if (actual != sizeof(lfhBuf)) { 716 ssize_t actual = TEMP_FAILURE_RETRY(read(inFd, readBuf, getSize)); local 717 if (actual != (ssize_t) getSize) [all...] |
/external/chromium_org/ppapi/tests/ |
test_post_message.cc | 66 const pp::Var& actual, 68 if (expected.pp_var().type != actual.pp_var().type) { 69 if (!expected.is_number() && !actual.is_number()) 77 if (it->second == actual.pp_var().value.as_id) 81 (*visited_ids)[expected.pp_var().value.as_id] = actual.pp_var().value.as_id; 85 return fabs(expected.AsDouble() - actual.AsDouble()) < 1.0e-4; 88 pp::VarArray actual_array(actual); 98 pp::VarDictionary actual_dict(actual); 112 return expected == actual; 117 const pp::Var& actual) { [all...] |
/frameworks/base/keystore/tests/src/android/security/ |
KeyStoreTest.java | 658 long actual = mKeyStore.getmtime(TEST_KEYNAME); local 663 assertLessThan("Time should be close to current time", expectedBefore, actual); 664 assertGreaterThan("Time should be close to current time", expectedAfter, actual); 667 private static void assertLessThan(String explanation, long expectedBefore, long actual) { 668 if (actual >= expectedBefore) { 669 throw new AssertionFailedError(explanation + ": actual=" + actual 674 private static void assertGreaterThan(String explanation, long expectedAfter, long actual) { 675 if (actual <= expectedAfter) { 676 throw new AssertionFailedError(explanation + ": actual=" + actua [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/doc/ |
pprof_remote_servers.html | 57 get heap information. The actual url is controlled via the variable 108 get heap-profiling delta (growth) information. The actual url is 120 <p>Here's an example, from an actual Google webserver, of what the 134 information. The actual url is controlled via the variable 163 to get cpu-profiling information. The actual url is controlled via the variable 189 figure out what application it's profiling. The actual url is 209 map from hex addresses to variable names. The actual url is
|
/external/icu4c/test/cintltst/ |
reapits.c | 71 static void test_assert_string(const char *expected, const UChar *actual, UBool nulTerm, const char *file, int line) { 76 u_austrncpy(buf_inside_macro, (actual), len+1); 80 u_austrncpy(buf_inside_macro, (actual), len); 90 #define TEST_ASSERT_STRING(expected, actual, nulTerm) test_assert_string(expected, actual, nulTerm, __FILE__, __LINE__) 114 static void test_assert_utext(const char *expected, UText *actual, const char *file, int line) { 115 utext_setNativeIndex(actual, 0); 116 if (!equals_utf8_utext(expected, actual)) { 119 c = utext_next32From(actual, 0); 126 c = UTEXT_NEXT32(actual); 1757 UText *actual; local [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
Rfc822OutputTests.java | 334 String actual; local 335 actual = Rfc822Output.getHtmlBody(HTML_FULL_BODY); 336 assertEquals(HTML_FULL_RESULT, actual); 337 actual = Rfc822Output.getHtmlBody(HTML_BODY_BODY); 338 assertEquals(HTML_BODY_RESULT, actual); 339 actual = Rfc822Output.getHtmlBody(HTML_NO_BODY_BODY); 340 assertEquals(HTML_NO_BODY_RESULT, actual);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SimpleElementTest.java | 36 private static void assertArrayEquals(Object[] expected, Object[] actual) { 37 if (!Arrays.equals(expected, actual)) { 41 String strActual = actual == null ? "(null)" : Arrays.toString(actual); 44 fail(String.format("Array not equal:\n Expected[%d]=%s\n Actual[%d]=%s", 47 actual == null ? 0 : actual.length,
|
/frameworks/base/libs/androidfw/ |
ZipFileRO.cpp | 204 ssize_t actual = TEMP_FAILURE_RETRY(read(mFd, scanBuf, sizeof(int32_t))); local 205 if (actual != (ssize_t) sizeof(int32_t)) { 237 actual = TEMP_FAILURE_RETRY(read(mFd, scanBuf, readAmount)); 238 if (actual != (ssize_t) readAmount) { 240 (ZD_TYPE) actual, (ZD_TYPE) readAmount, strerror(errno)); 551 * the actual data starts. 578 ssize_t actual = local 581 if (actual != sizeof(lfhBuf)) { 609 ssize_t actual = local 611 if (actual != sizeof(lfhBuf)) 815 ssize_t actual = TEMP_FAILURE_RETRY(write(fd, ptr, uncompLen)); local [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/ |
ast_function.cpp | 67 * formal (\c ir_variable) or actual (\c ir_rvalue) 97 * Verify that 'out' and 'inout' actual parameters are lvalues. Also, verify 99 * ir_constant actual parameters. 116 const ir_rvalue *const actual = (ir_rvalue *) actual_ir_node; local 127 actual->ir_type != ir_type_constant) { 134 /* Verify that 'out' and 'inout' actual parameters are lvalues. */ 144 * is_lvalue() is insufficient because the actual parameter at the 155 ir_variable *var = actual->variable_referenced(); 164 actual->variable_referenced()->name); 166 } else if (!actual->is_lvalue()) 204 ir_rvalue *actual = (ir_rvalue *) actual_iter.get(); local [all...] |
/external/mesa3d/src/glsl/ |
ast_function.cpp | 67 * formal (\c ir_variable) or actual (\c ir_rvalue) 97 * Verify that 'out' and 'inout' actual parameters are lvalues. Also, verify 99 * ir_constant actual parameters. 116 const ir_rvalue *const actual = (ir_rvalue *) actual_ir_node; local 127 actual->ir_type != ir_type_constant) { 134 /* Verify that 'out' and 'inout' actual parameters are lvalues. */ 144 * is_lvalue() is insufficient because the actual parameter at the 155 ir_variable *var = actual->variable_referenced(); 164 actual->variable_referenced()->name); 166 } else if (!actual->is_lvalue()) 204 ir_rvalue *actual = (ir_rvalue *) actual_iter.get(); local [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
reapits.c | 71 static void test_assert_string(const char *expected, const UChar *actual, UBool nulTerm, const char *file, int line) { 76 u_austrncpy(buf_inside_macro, (actual), len+1); 80 u_austrncpy(buf_inside_macro, (actual), len); 90 #define TEST_ASSERT_STRING(expected, actual, nulTerm) test_assert_string(expected, actual, nulTerm, __FILE__, __LINE__) 93 static void test_assert_utext(const char *expected, UText *actual, const char *file, int line) { 97 utext_setNativeIndex(actual, 0); 98 if (utext_compare(&expectedText, -1, actual, -1) != 0) { 101 c = utext_next32From(actual, 0); 108 c = UTEXT_NEXT32(actual); 1715 UText *actual; local [all...] |
/external/icu4c/test/intltest/ |
intltest.cpp | 1077 // being run a second time local to a specific method in order to report only actual leaks [all...] |
bidiconf.cpp | 390 errln("Wrong number of level values; expected %d actual %d", 403 errln("Wrong level value at index %d; expected %d actual %d", 418 UnicodeString als("Actual levels: "); 450 errln("Wrong ordering value at visual index %d; expected %d actual %d", 460 errln("Wrong number of ordering values; expected %d actual %d", 470 UnicodeString aord("Actual ordering: ");
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/tests/ |
utilities.js | 153 * Verify that actual values after a test step match expectations. 155 verify: function(expected, actual, message) { 156 if (this.areEqual_(expected, actual)) 159 this.fail(message, expected, actual); 171 * Fail the current test step. Expected and actual values are optional. 173 fail: function(message, expected, actual) { 178 failure.messages.push(this.getDescription_('actual: ', actual)); 437 var actual = display.slice(-expected.length); variable 438 this.verify(expected, actual, this.getDescription_(before, controller)) [all...] |
/external/stressapptest/src/ |
worker.cc | 127 uint64 actual; // This is the actual value read. member in struct:ErrorRecord 128 uint64 reread; // This is the actual value, reread. 590 char *bad = reinterpret_cast<char*>(&(error->actual)); 592 sat_assert(error->expected != error->actual); 623 error->actual, 648 char *bad = reinterpret_cast<char*>(&(error->actual)); 650 sat_assert(error->expected != error->actual); 690 error->actual, 719 uint64 actual = memblock[i] local 769 uint64 actual = memblock[i]; local 845 uint64 actual = memblock[i]; local 1301 unsigned int actual = sourcemem[index]; local 1324 unsigned int actual = sourcemem[index]; local [all...] |
/art/runtime/jdwp/ |
jdwp_main.cc | 157 ssize_t actual = netState->WriteBufferedPacket(iov); local 158 if (static_cast<size_t>(actual) != expected) { 164 actual, expected); 176 ssize_t actual = netState->WritePacket(pReq); local 177 if (static_cast<size_t>(actual) != expandBufGetLength(pReq)) { 179 actual, expandBufGetLength(pReq));
|
/external/chromium_org/base/json/ |
json_value_serializer_unittest.cc | 278 std::string actual; local 279 JSONStringValueSerializer serializer(&actual); 281 ASSERT_EQ(expected, actual); 302 std::string actual; local 303 JSONStringValueSerializer serializer(&actual); 305 ASSERT_EQ(expected, actual);
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
bidiconf.cpp | 390 errln("Wrong number of level values; expected %d actual %d", 403 errln("Wrong level value at index %d; expected %d actual %d", 418 UnicodeString als("Actual levels: "); 450 errln("Wrong ordering value at visual index %d; expected %d actual %d", 460 errln("Wrong number of ordering values; expected %d actual %d", 470 UnicodeString aord("Actual ordering: ");
|
/external/icu4c/tools/toolutil/ |
udbgutil.cpp | 56 const char *str; /**< The actual string value */ 68 * @param x the actual enum value - it will be copied in both string and symbolic form. 226 #define COUNT_CASE(x) case UDBG_##x: return (actual?count_##x:DBG_ARRAY_COUNT(names_##x)); 236 * @param actual TRUE: for the actual enum's type (UCAL_FIELD_COUNT, etc), or FALSE for the string count 238 static int32_t _udbg_enumCount(UDebugEnumType type, UBool actual) {
|
/frameworks/wilhelm/tests/sandbox/ |
playbq.c | 128 ssize_t actual = pipeWriter->write(ptr, (size_t) count); local 129 if (actual < 0) { 132 if ((sf_count_t) actual < count) { 135 ptr += actual * sfinfo.channels; 136 count -= actual; 137 total += actual;
|
playbq.cpp | 128 ssize_t actual = pipeWriter->write(ptr, (size_t) count); local 129 if (actual < 0) { 132 if ((sf_count_t) actual < count) { 135 ptr += actual * sfinfo.channels; 136 count -= actual; 137 total += actual;
|