LF OS
Hobby operating system for amd64 with high ambitions
Loading...
Searching...
No Matches
LFOS Namespace Reference

Data Structures

class  MessageQueueTest
 
class  SputFamilyTest
 
class  TpaTest
 

Functions

void scheduler_waitable_done (enum wait_reason r, union wait_data d, size_t m)
 
 TEST_F (MessageQueueTest, PopFromEmptyQueue)
 
 TEST_F (MessageQueueTest, UnlimitedQueue)
 
 TEST_F (MessageQueueTest, ManyMessageTest)
 
 TEST (KernelServiceDiscovery, Basic)
 
 TEST (KernelSlab, Simple)
 
 TEST (KernelString, memcmp)
 
 TEST (KernelString, strlen)
 
 TEST (KernelString, strcmp)
 
 TEST (KernelString, strcasecmp)
 
 TEST_F (SputFamilyTest, sputs)
 
 TEST_F (SputFamilyTest, sputi)
 
 TEST_F (SputFamilyTest, sputui)
 
 TEST_F (SputFamilyTest, sputbytes)
 
 TEST (ksnprintf, UUID)
 
 TEST (ksnprintf, max_len_return)
 
 TEST (ksnprintf, null_terminating)
 
 TEST (ksnprintf, random_actually_used_format_string)
 
 TEST_F (TpaTest, Empty)
 
 TEST_F (TpaTest, BasicData)
 
 TEST_F (TpaTest, LotsOfData)
 

Function Documentation

◆ scheduler_waitable_done()

void LFOS::scheduler_waitable_done ( enum wait_reason  r,
union wait_data  d,
size_t  m 
)

Definition at line 12 of file test_mq.cxx.

◆ TEST() [1/10]

LFOS::TEST ( KernelServiceDiscovery  ,
Basic   
)

Definition at line 20 of file test_sd.cxx.

References ENOMSG, init_mq(), init_sd(), kernel_alloc, mq_create(), mq_destroy(), mq_pop(), MT_ServiceDiscovery, sd_register(), sd_send(), sender, Message::sender, Message::size, type, and uuid_key().

+ Here is the call graph for this function:

◆ TEST() [2/10]

LFOS::TEST ( KernelSlab  ,
Simple   
)

Definition at line 8 of file test_slab.cxx.

References free(), init_slab(), malloc(), size, slab_alloc(), and slab_index().

+ Here is the call graph for this function:

◆ TEST() [3/10]

LFOS::TEST ( KernelString  ,
memcmp   
)

Definition at line 12 of file test_string.cxx.

References memcmp().

+ Here is the call graph for this function:

◆ TEST() [4/10]

LFOS::TEST ( KernelString  ,
strcasecmp   
)

Definition at line 35 of file test_string.cxx.

References strcasecmp().

+ Here is the call graph for this function:

◆ TEST() [5/10]

LFOS::TEST ( KernelString  ,
strcmp   
)

Definition at line 29 of file test_string.cxx.

References strcmp().

+ Here is the call graph for this function:

◆ TEST() [6/10]

LFOS::TEST ( KernelString  ,
strlen   
)

Definition at line 22 of file test_string.cxx.

References strlen().

+ Here is the call graph for this function:

◆ TEST() [7/10]

LFOS::TEST ( ksnprintf  ,
max_len_return   
)

Definition at line 82 of file test_string.cxx.

References ksnprintf().

+ Here is the call graph for this function:

◆ TEST() [8/10]

LFOS::TEST ( ksnprintf  ,
null_terminating   
)

Definition at line 90 of file test_string.cxx.

References ksnprintf().

+ Here is the call graph for this function:

◆ TEST() [9/10]

LFOS::TEST ( ksnprintf  ,
random_actually_used_format_string   
)

Definition at line 98 of file test_string.cxx.

References ksnprintf(), and message.

+ Here is the call graph for this function:

◆ TEST() [10/10]

LFOS::TEST ( ksnprintf  ,
UUID   
)

Definition at line 72 of file test_string.cxx.

References FileSystemDriverUUID, and uuid_fmt().

+ Here is the call graph for this function:

◆ TEST_F() [1/10]

LFOS::TEST_F ( MessageQueueTest  ,
ManyMessageTest   
)

Definition at line 87 of file test_mq.cxx.

References free(), malloc(), mq_peek(), mq_pop(), mq_push(), Message::UserData::raw, Message::size, Message::user_data, and Message::user_size.

+ Here is the call graph for this function:

◆ TEST_F() [2/10]

LFOS::TEST_F ( MessageQueueTest  ,
PopFromEmptyQueue   
)

Definition at line 39 of file test_mq.cxx.

References ENOMSG, mq_peek(), and Message::size.

+ Here is the call graph for this function:

◆ TEST_F() [3/10]

LFOS::TEST_F ( MessageQueueTest  ,
UnlimitedQueue   
)

Definition at line 44 of file test_mq.cxx.

References EMSGSIZE, ENOMSG, free(), malloc(), memset(), mq_peek(), mq_pop(), mq_push(), MT_Invalid, MT_UserDefined, Message::UserData::raw, Message::size, Message::type, and Message::user_data.

+ Here is the call graph for this function:

◆ TEST_F() [4/10]

LFOS::TEST_F ( SputFamilyTest  ,
sputbytes   
)

Definition at line 67 of file test_string.cxx.

References sputbytes().

+ Here is the call graph for this function:

◆ TEST_F() [5/10]

LFOS::TEST_F ( SputFamilyTest  ,
sputi   
)

Definition at line 57 of file test_string.cxx.

References sputi().

+ Here is the call graph for this function:

◆ TEST_F() [6/10]

LFOS::TEST_F ( SputFamilyTest  ,
sputs   
)

Definition at line 52 of file test_string.cxx.

References sputs().

+ Here is the call graph for this function:

◆ TEST_F() [7/10]

LFOS::TEST_F ( SputFamilyTest  ,
sputui   
)

Definition at line 62 of file test_string.cxx.

References sputui().

+ Here is the call graph for this function:

◆ TEST_F() [8/10]

LFOS::TEST_F ( TpaTest  ,
BasicData   
)

Definition at line 31 of file test_tpa.cxx.

References entry, tpa_entries(), tpa_entries_per_page(), tpa_get(), tpa_length(), tpa_set(), and tpa_size().

+ Here is the call graph for this function:

◆ TEST_F() [9/10]

LFOS::TEST_F ( TpaTest  ,
Empty   
)

Definition at line 25 of file test_tpa.cxx.

References tpa_entries(), tpa_length(), and tpa_size().

+ Here is the call graph for this function:

◆ TEST_F() [10/10]

LFOS::TEST_F ( TpaTest  ,
LotsOfData   
)

Definition at line 74 of file test_tpa.cxx.

References num_pages, tpa_entries(), tpa_entries_per_page(), tpa_length(), tpa_set(), and tpa_size().

+ Here is the call graph for this function: