Searched refs:CuString (Results 1 – 3 of 3) sorted by relevance
/third_party/selinux/libsepol/cil/test/unit/ |
D | CuTest.h | 48 } CuString; typedef 50 void CuStringInit(CuString* str); 51 CuString* CuStringNew(void); 52 void CuStringRead(CuString* str, const char* path); 53 void CuStringAppend(CuString* str, const char* text); 54 void CuStringAppendChar(CuString* str, char ch); 55 void CuStringAppendFormat(CuString* str, const char* format, ...); 56 void CuStringInsert(CuString* str, const char* text, int pos); 57 void CuStringResize(CuString* str, int newSize); 58 void CuStringDelete(CuString* str); [all …]
|
D | CuTest.c | 55 void CuStringInit(CuString* str) in CuStringInit() 63 CuString* CuStringNew(void) in CuStringNew() 65 CuString* str = (CuString*) malloc(sizeof(CuString)); in CuStringNew() 73 void CuStringDelete(CuString *str) in CuStringDelete() 80 void CuStringResize(CuString* str, int newSize) in CuStringResize() 86 void CuStringAppend(CuString* str, const char* text) in CuStringAppend() 101 void CuStringAppendChar(CuString* str, char ch) in CuStringAppendChar() 109 __attribute__ ((format (printf, 2, 3))) void CuStringAppendFormat(CuString* str, const char* format… in CuStringAppendFormat() 119 void CuStringInsert(CuString* str, const char* text, int pos) in CuStringInsert() 171 static void CuFailInternal(CuTest* tc, const char* file, int line, CuString* string) in CuFailInternal() [all …]
|
D | AllTests.c | 43 CuString *output = CuStringNew(); in RunAllTests()
|