Lines Matching refs:len
65 size_t len; in ZTEST() local
75 rc = base64_encode(buffer, sizeof(buffer), &len, src, 64); in ZTEST()
83 rc = base64_decode(buffer, sizeof(buffer), &len, src, 88); in ZTEST()
89 rc = base64_encode(buffer, sizeof(buffer), &len, src, 0); in ZTEST()
91 zassert_equal(len, 0, "Error: slen: length value"); in ZTEST()
94 rc = base64_encode(buffer, sizeof(buffer), &len, src, slen); in ZTEST()
96 zassert_equal(len, -1, "Error: n: length value"); in ZTEST()
101 rc = base64_encode(buffer, sizeof(buffer), &len, src, slen); in ZTEST()
103 zassert_equal(len, n + 1, "Error: dlen: length value"); in ZTEST()
107 rc = base64_decode(buffer, sizeof(buffer), &len, src, 88); in ZTEST()
111 rc = base64_decode(buffer, sizeof(buffer), &len, src, 88); in ZTEST()
115 rc = base64_decode(buffer, sizeof(buffer), &len, src, 88); in ZTEST()
119 rc = base64_decode(buffer, sizeof(buffer), &len, src, 88); in ZTEST()
123 rc = base64_decode(buffer, sizeof(buffer), &len, src, 0); in ZTEST()
125 zassert_equal(len, 0, "Error: n: length value"); in ZTEST()
128 rc = base64_decode(NULL, -1, &len, src, 88); in ZTEST()