Searched refs:StrnAppend (Results 1 – 6 of 6) sorted by relevance
/external/vboot_reference/tests/ |
D | utility_string_tests.c | 23 TEST_EQ(0, StrnAppend(dest, NULL, sizeof(dest)), "StrnAppend('', null)"); in StrncatTest() 24 TEST_EQ(0, StrnAppend(NULL, "Hey!", sizeof(dest)), "StrnAppend(null, '')"); in StrncatTest() 28 TEST_EQ(0, StrnAppend(dest, "", sizeof(dest)), "StrnAppend('', '')"); in StrncatTest() 33 TEST_EQ(3, StrnAppend(dest, "", sizeof(dest)), "StrnAppend(B, '')"); in StrncatTest() 38 TEST_EQ(5, StrnAppend(dest, "Alice", sizeof(dest)), "StrnAppend('', A)"); in StrncatTest() 43 TEST_EQ(10, StrnAppend(dest, "Bunny", sizeof(dest)), "StrnAppend(T, B)"); in StrncatTest() 48 TEST_EQ(7, StrnAppend(dest, "Can't", 8), "StrnAppend(Y, over)"); in StrncatTest() 53 TEST_EQ(6, StrnAppend(dest, "Spending", 7), "StrnAppend(over, over)"); in StrncatTest()
|
/external/vboot_reference/firmware/lib/ |
D | vboot_display.c | 521 used += StrnAppend(buf + used, "HWID: ", DEBUG_INFO_SIZE - used); in VbDisplayDebugInfo() 522 used += StrnAppend(buf + used, hwid, DEBUG_INFO_SIZE - used); in VbDisplayDebugInfo() 526 used += StrnAppend(buf + used, in VbDisplayDebugInfo() 530 used += StrnAppend(buf + used, " / 0x", DEBUG_INFO_SIZE - used); in VbDisplayDebugInfo() 532 used += StrnAppend(buf + used, " ", DEBUG_INFO_SIZE - used); in VbDisplayDebugInfo() 533 used += StrnAppend(buf + used, in VbDisplayDebugInfo() 538 used += StrnAppend(buf + used, "\nVbSD.flags: 0x", DEBUG_INFO_SIZE - used); in VbDisplayDebugInfo() 543 used += StrnAppend(buf + used, "\nVbNv.raw:", DEBUG_INFO_SIZE - used); in VbDisplayDebugInfo() 545 used += StrnAppend(buf + used, " ", DEBUG_INFO_SIZE - used); in VbDisplayDebugInfo() 552 used += StrnAppend(buf + used, "\ndev_boot_usb: ", DEBUG_INFO_SIZE - used); in VbDisplayDebugInfo() [all …]
|
D | region-kernel.c | 74 StrnAppend(hwid, "{INVALID}", max_size); in VbRegionReadHWID() 193 used += StrnAppend(outbuf + used, "gbb.flags is nonzero: 0x", in VbRegionCheckVersion() 197 used += StrnAppend(outbuf + used, "\n", OUTBUF_LEN - used); in VbRegionCheckVersion()
|
D | utility_string.c | 56 uint32_t StrnAppend(char *dest, const char *src, uint32_t destlen) in StrnAppend() function
|
/external/vboot_reference/cgpt/ |
D | cgpt_add.c | 21 StrnAppend(buf, tmp, sizeof(buf)); in DumpCgptAddParams() 24 StrnAppend(buf, tmp, sizeof(buf)); in DumpCgptAddParams() 28 StrnAppend(buf, tmp, sizeof(buf)); in DumpCgptAddParams() 32 StrnAppend(buf, tmp, sizeof(buf)); in DumpCgptAddParams() 36 StrnAppend(buf, "-t ", sizeof(buf)); in DumpCgptAddParams() 37 StrnAppend(buf, tmp, sizeof(buf)); in DumpCgptAddParams() 38 StrnAppend(buf, " ", sizeof(buf)); in DumpCgptAddParams() 42 StrnAppend(buf, "-u ", sizeof(buf)); in DumpCgptAddParams() 43 StrnAppend(buf, tmp, sizeof(buf)); in DumpCgptAddParams() 44 StrnAppend(buf, " ", sizeof(buf)); in DumpCgptAddParams() [all …]
|
/external/vboot_reference/firmware/lib/include/ |
D | utility.h | 105 uint32_t StrnAppend(char *dest, const char *src, uint32_t destlen);
|