Searched refs:actual (Results 1 - 17 of 17) sorted by relevance

/haiku/src/add-ons/translators/exr/
H A DIStreamWrapper.cpp24 int actual = fStream.Read(c, n); local
25 if (actual < B_OK) {
28 return (actual == n);
/haiku/src/tests/system/libroot/posix/
H A DTestUnitUtils.h26 _assert_equals(const char* test, const Type& expected, const Type& actual, argument
29 if (actual == expected)
39 _assert_equals_not(const char* test, const Type& unexpected, const Type& actual, argument
42 if (actual != unexpected)
52 bigtime_t actual, int lineNumber)
55 bigtime_t diff = actual > expected ? actual - expected : expected - actual;
59 fprintf(stderr, "%s FAILED in line %d: expected time: %lld, actual: %lld\n",
60 test, lineNumber, (long long)expected, (long long)actual);
51 _assert_time_equals(const char* test, bigtime_t expected, bigtime_t actual, int lineNumber) argument
[all...]
/haiku/src/tools/cppunit/cppunit/
H A DTestAssert.cpp31 string actual,
36 actual,
44 double actual,
49 if (fabs (expected - actual) > delta)
51 assertion_traits<double>::toString(actual),
60 double actual,
64 Asserter::failNotEqualIf( fabs( expected - actual ) > delta,
66 assertion_traits<double>::toString(actual),
30 assertNotEqualImplementation( string expected, string actual, long lineNumber, string fileName ) argument
43 assertEquals( double expected, double actual, double delta, long lineNumber, string fileName ) argument
H A DAsserter.cpp35 string actual,
40 actual,
49 string actual,
54 failNotEqual( expected, actual, sourceLine, additionalMessage );
34 failNotEqual( string expected, string actual, SourceLine sourceLine, string additionalMessage ) argument
47 failNotEqualIf( bool shouldFail, string expected, string actual, SourceLine sourceLine, string additionalMessage ) argument
H A DNotEqualException.cpp9 string actual,
13 ", but was: " + actual +
17 m_actual( actual ),
28 string actual,
31 Exception( "Expected: " + expected + ", but was: " + actual,
35 m_actual( actual )
8 NotEqualException( string expected, string actual, SourceLine sourceLine , string additionalMessage ) argument
27 NotEqualException( string expected, string actual, long lineNumber, string fileName ) argument
/haiku/headers/tools/cppunit/cppunit/
H A DTestAssert.h60 std::string actual,
67 const T& actual,
71 if ( !assertion_traits<T>::equal(expected,actual) ) // lazy toString conversion...
74 assertion_traits<T>::toString(actual),
81 double actual,
90 const T& actual,
94 if ( !assertion_traits<T>::equal(expected,actual) ) // lazy toString conversion...
97 assertion_traits<T>::toString(actual),
104 double actual,
154 #define CPPUNIT_ASSERT_EQUAL(expected,actual) \
66 assertEquals( const T& expected, const T& actual, long lineNumber, std::string fileName ) argument
[all...]
H A DAsserter.h15 * actual assertion implemented in examples/cppunittest/XmlUniformiser.h:
26 * string actual = XmlUniformiser( actualXml ).stripped();
28 * if ( expected == actual )
32 * actual,
37 * #define CPPUNITTEST_ASSERT_XML_EQUAL( expected, actual ) \
38 * checkXmlEqual( expected, actual, \
62 * \param actual Text describing the actual value.
68 std::string actual,
76 * \param actual Tex
[all...]
H A DNotEqualException.h17 * \param actual Text that represents the actual value.
23 std::string actual,
29 std::string actual,
/haiku/src/tests/kits/support/blocker/
H A DSemaphoreLockCountTest1.cpp62 * Descr: This member function checks the actual number of lock requests
69 int actual = theLocker->CountLockRequests(); local
70 return(actual == expected);
142 int actual = theLocker->CountLockRequests(); local
143 CPPUNIT_ASSERT((actual == 4) || (actual == 5));
169 int actual = theLocker->CountLockRequests(); local
170 CPPUNIT_ASSERT((actual == 4) || (actual == 5));
H A DBenaphoreLockCountTest1.cpp66 * Descr: This member function checks the actual number of lock requests
73 int actual = theLocker->CountLockRequests(); local
74 return(actual == expected);
156 int actual = theLocker->CountLockRequests(); local
158 CPPUNIT_ASSERT((actual == 3) || (actual == 4));
188 int actual = theLocker->CountLockRequests(); local
190 CPPUNIT_ASSERT((actual == 3) || (actual == 4));
/haiku/src/add-ons/kernel/bus_managers/virtio/
H A Dvirtio_balloon.h48 uint32_t actual; member in struct:virtio_balloon_config
H A DVirtioBalloonDevice.cpp256 offsetof(struct virtio_balloon_config, actual),
/haiku/src/system/boot/platform/amiga_m68k/
H A Dconsole.cpp463 ssize_t actual; local
472 actual = MapRawKey(&event, (char *)buffer, bufferSize, NULL);
473 //dprintf("%s actual %d\n", __FUNCTION__, actual);
474 if (actual > 0) {
475 return actual;
486 ssize_t actual; local
514 actual = MapRawKey(&event, &ascii, 1, NULL);
515 //dprintf("%s actual %d\n", __FUNCTION__, actual);
556 ssize_t actual; local
584 ssize_t actual; local
[all...]
/haiku/src/kits/game/
H A DSimpleGameSound.cpp57 gs_audio_format actual = *format;
58 if (actual.byte_order == 0)
59 actual.byte_order = B_MEDIA_HOST_ENDIAN;
66 SetInitError(Init(data, inFrameCount, &actual));
/haiku/src/add-ons/media/media-add-ons/usb_webcam/
H A DProducer.h156 uint32 actual; member in struct:VideoProducer::__anon2592
H A DProducer.cpp873 float rfps = (fStats[0].actual - fStats[1].actual) * 1000000LL
1006 fStats[0].actual++;;
/haiku/docs/develop/kits/storage/resources/
H A DResourcesFormat.tex133 Therefore two values have to be known: The size of the actual ELF file and the
146 The data used for the padding between the end of the actual ELF data and the
222 \item{A data section holding the actual resource data.

Completed in 146 milliseconds