Home
last modified time | relevance | path

Searched refs:equals (Results 1 – 25 of 27) sorted by relevance

12

/haiku/src/apps/terminal/
H A DUTF8Char.h102 bool equals = bytes[0] == other.bytes[0]; member
103 if (byteCount > 1 && equals) {
104 equals = bytes[1] == other.bytes[1];
105 if (byteCount > 2 && equals) {
106 equals = bytes[2] == other.bytes[2];
107 if (byteCount > 3 && equals)
108 equals = bytes[3] == other.bytes[3];
111 return equals;
/haiku/src/tests/kits/storage/
H A DNodeTest.cpp225 CPPUNIT_ASSERT( equals(node.InitCheck(), B_BAD_VALUE, B_NO_INIT) ); in InitTest1()
272 CPPUNIT_ASSERT( equals(node.InitCheck(), B_BAD_ADDRESS, B_BAD_VALUE) ); in InitTest1()
294 CPPUNIT_ASSERT( equals(entry.InitCheck(), E2BIG, B_NAME_TOO_LONG) ); in InitTest1()
296 CPPUNIT_ASSERT( equals(node.InitCheck(), B_BAD_ADDRESS, B_BAD_VALUE) ); in InitTest1()
446 CPPUNIT_ASSERT( equals(node.SetTo((const char *)NULL), B_BAD_VALUE, in InitTest2()
448 CPPUNIT_ASSERT( equals(node.InitCheck(), B_BAD_VALUE, B_NO_INIT) ); in InitTest2()
485 CPPUNIT_ASSERT( equals(node.SetTo(&entry), B_BAD_ADDRESS, B_BAD_VALUE) ); in InitTest2()
486 CPPUNIT_ASSERT( equals(node.InitCheck(), B_BAD_ADDRESS, B_BAD_VALUE) ); in InitTest2()
500 CPPUNIT_ASSERT( equals(entry.SetTo(tooLongEntryname), E2BIG, B_NAME_TOO_LONG) ); in InitTest2()
501 CPPUNIT_ASSERT( equals(node.SetTo(&entry), B_BAD_ADDRESS, B_BAD_VALUE) ); in InitTest2()
[all …]
H A DSymLinkTest.cpp127 CPPUNIT_ASSERT( equals(link.InitCheck(), B_BAD_VALUE, B_NO_INIT) ); in InitTest1()
174 CPPUNIT_ASSERT( equals(link.InitCheck(), B_BAD_ADDRESS, B_BAD_VALUE) ); in InitTest1()
196 CPPUNIT_ASSERT( equals(entry.InitCheck(), E2BIG, B_NAME_TOO_LONG) ); in InitTest1()
198 CPPUNIT_ASSERT( equals(link.InitCheck(), B_BAD_ADDRESS, B_BAD_VALUE) ); in InitTest1()
348 CPPUNIT_ASSERT( equals(link.SetTo((const char *)NULL), B_BAD_VALUE, in InitTest2()
350 CPPUNIT_ASSERT( equals(link.InitCheck(), B_BAD_VALUE, B_NO_INIT) ); in InitTest2()
387 CPPUNIT_ASSERT( equals(link.SetTo(&entry), B_BAD_ADDRESS, B_BAD_VALUE) ); in InitTest2()
388 CPPUNIT_ASSERT( equals(link.InitCheck(), B_BAD_ADDRESS, B_BAD_VALUE) ); in InitTest2()
402 CPPUNIT_ASSERT( equals(entry.SetTo(tooLongEntryname), E2BIG, in InitTest2()
404 CPPUNIT_ASSERT( equals(link.SetTo(&entry), B_BAD_ADDRESS, B_BAD_VALUE) ); in InitTest2()
[all …]
H A DDirectoryTest.cpp186 CPPUNIT_ASSERT( equals(dir.InitCheck(), B_BAD_ADDRESS, B_BAD_VALUE) ); in InitTest1()
200 CPPUNIT_ASSERT( equals(entry.InitCheck(), E2BIG, B_NAME_TOO_LONG) ); in InitTest1()
202 CPPUNIT_ASSERT( equals(dir.InitCheck(), B_BAD_ADDRESS, B_BAD_VALUE) ); in InitTest1()
410 CPPUNIT_ASSERT( equals(dir.SetTo(&entry), B_BAD_ADDRESS, B_BAD_VALUE) ); in InitTest2()
411 CPPUNIT_ASSERT( equals(dir.InitCheck(), B_BAD_ADDRESS, B_BAD_VALUE) ); in InitTest2()
425 CPPUNIT_ASSERT( equals(entry.InitCheck(), E2BIG, B_NAME_TOO_LONG) ); in InitTest2()
426 CPPUNIT_ASSERT( equals(dir.SetTo(&entry), B_BAD_ADDRESS, B_BAD_VALUE) ); in InitTest2()
427 CPPUNIT_ASSERT( equals(dir.InitCheck(), B_BAD_ADDRESS, B_BAD_VALUE) ); in InitTest2()
776 CPPUNIT_ASSERT( equals(entry.InitCheck(), B_ENTRY_NOT_FOUND, B_NO_INIT) ); in FindEntryTest()
1006 CPPUNIT_ASSERT( equals(dir.Contains(&entry), false, true) ); in ContainsTest()
[all …]
H A DResourceStringsTest.cpp336 CPPUNIT_ASSERT( equals(resourceStrings.InitCheck(), B_ERROR, in InitTest1()
339 CPPUNIT_ASSERT( equals(resourceStrings.GetStringFile(&ref2), B_ERROR, in InitTest1()
472 CPPUNIT_ASSERT( equals(resourceStrings.SetStringFile(&ref), B_ERROR, in InitTest2()
474 CPPUNIT_ASSERT( equals(resourceStrings.InitCheck(), B_ERROR, in InitTest2()
477 CPPUNIT_ASSERT( equals(resourceStrings.GetStringFile(&ref2), B_ERROR, in InitTest2()
674 CPPUNIT_ASSERT( equals(resourceStrings.InitCheck(), B_ERROR, in FindStringTest()
H A DBasicTest.h77 equals(const A &a, const B &b, const C &c) in equals() function
H A DPathTest.cpp477 CPPUNIT_ASSERT( equals(path.InitCheck(), B_NO_INIT, B_ENTRY_NOT_FOUND) ); in InitTest1()
484 CPPUNIT_ASSERT( equals(path.InitCheck(), B_NO_INIT, B_BAD_VALUE) ); in InitTest1()
526 CPPUNIT_ASSERT( equals(path.InitCheck(), B_NO_INIT, B_BAD_VALUE) ); in InitTest1()
937 CPPUNIT_ASSERT( equals(path.SetTo(&entry), B_NO_INIT, B_ENTRY_NOT_FOUND) ); in InitTest2()
938 CPPUNIT_ASSERT( equals(path.InitCheck(), B_NO_INIT, B_ENTRY_NOT_FOUND) ); in InitTest2()
944 CPPUNIT_ASSERT( equals(path.SetTo((const BEntry*)NULL), B_NO_INIT, in InitTest2()
946 CPPUNIT_ASSERT( equals(path.InitCheck(), B_NO_INIT, B_BAD_VALUE) ); in InitTest2()
984 CPPUNIT_ASSERT( equals(path.SetTo((const entry_ref*)NULL), B_NO_INIT, in InitTest2()
986 CPPUNIT_ASSERT( equals(path.InitCheck(), B_NO_INIT, B_BAD_VALUE) ); in InitTest2()
H A DFileTest.cpp626 CPPUNIT_ASSERT( equals(file2.InitCheck(), B_BAD_VALUE, B_NO_INIT) ); in AssignmentTest()
664 CPPUNIT_ASSERT( equals(file2.InitCheck(), B_BAD_VALUE, B_NO_INIT) ); in AssignmentTest()
673 CPPUNIT_ASSERT( equals(file2.InitCheck(), B_BAD_VALUE, B_NO_INIT) ); in AssignmentTest()
H A DNodeInfoTest.cpp346 CHK(equals(nodeInfo.GetType(NULL), B_BAD_ADDRESS, B_BAD_VALUE)); in TypeTest()
605 CHK(equals(nodeInfo.GetPreferredApp(NULL), B_BAD_ADDRESS, in PreferredAppTest()
H A DEntryTest.cpp1626 CPPUNIT_ASSERT( equals(entry.Rename(NULL, false), B_FILE_EXISTS, in RenameTest()
1628 CPPUNIT_ASSERT( equals(entry.Rename(NULL, true), B_NOT_ALLOWED, in RenameTest()
2058 CPPUNIT_ASSERT( equals(entry2.InitCheck(), B_BAD_VALUE, B_NO_INIT) ); in AssignmentTest()
2094 CPPUNIT_ASSERT( equals(entry2.InitCheck(), B_BAD_VALUE, B_NO_INIT) ); in AssignmentTest()
2104 CPPUNIT_ASSERT( equals(entry2.InitCheck(), B_BAD_VALUE, B_NO_INIT) ); in AssignmentTest()
H A DAppFileInfoTest.cpp1136 CHK(equals(appFileInfo.GetType(NULL), B_BAD_ADDRESS, B_BAD_VALUE)); in TypeTest()
1242 CHK(equals(appFileInfo.GetSignature(NULL), B_BAD_ADDRESS, B_BAD_VALUE)); in SignatureTest()
1350 CHK(equals(appFileInfo.GetAppFlags(NULL), B_BAD_ADDRESS, B_BAD_VALUE)); in AppFlagsTest()
2252 CHK(equals(appFileInfo.GetVersionInfo(NULL, B_APP_VERSION_KIND), in VersionInfoTest()
2254 CHK(equals(appFileInfo.GetVersionInfo(NULL, B_SYSTEM_VERSION_KIND), in VersionInfoTest()
H A DResourcesTest.cpp293 CPPUNIT_ASSERT( equals(resources.SetTo(&file, false), B_ERROR, in InitTest()
426 CPPUNIT_ASSERT( equals(resources.SetTo(&file, false), B_ERROR, in InitTest()
902 CPPUNIT_ASSERT( equals(resources.SetTo(&file, false), B_ERROR, in ReadTest()
H A DQueryTest.cpp1290 CPPUNIT_ASSERT( equals(query.GetNextDirents(NULL, bufSize, 1), in FetchTest()
/haiku/headers/private/kernel/platform/efi/
H A Dtypes.h89 bool equals(const efi_guid& other) const { in equals() function
/haiku/src/system/boot/platform/efi/
H A Dacpi.cpp214 if (!table[i].VendorGuid.equals(acpi)) in acpi_init()
H A Ddtb.cpp614 if (!table[i].VendorGuid.equals(DEVICE_TREE_GUID)) in dtb_init()
/haiku/docs/develop/packages/
H A DDirectoryStructure.rst33 The structure mostly equals the pre-package management directory structure with
H A DFileFormat.rst164 if the chunk's compressed size equals its uncompressed size, the data aren't
/haiku/src/add-ons/input_server/filters/shortcut_catcher/
H A DCommandActuators.cpp1517 const char* equals = strchr(arg, '='); in SendMessageCommandActuator() local
1520 if (equals) { in SendMessageCommandActuator()
1522 value = equals + 1; in SendMessageCommandActuator()
1524 if (colon > equals) in SendMessageCommandActuator()
1554 argString = argString.Truncate(equals - arg); in SendMessageCommandActuator()
/haiku/docs/develop/servers/app_server/
H A DCursorManager.rst66 3. If any ServerCursor->token equals ctoken, remove and delete it
H A DLayer.rst203 2. if parent's top child equals this, return without doing anything
215 2. if parent's bottom child equals this, return without doing anything
H A DDesktopClasses.rst65 1. if count equals the workspace list's CountItems value, return
/haiku/docs/user/storage/
H A DMimeType.dox216 A BMimeType objects equals a MIME string, if its MIME string equals the
233 \brief Returns whether this MIME type is a supertype of or equals the
238 \returns \c true, if this MIME type is a supertype of or equals the
/haiku/docs/develop/kits/storage/
H A DAnnotations41 Description: Uninitialized paths are not equal. An initialized path equals
/haiku/data/system/data/fortunes/
H A DKids226 I was delighted with the video game craze, thinking we could compete as equals.

12