Searched refs:hex (Results 1 - 1 of 1) sorted by relevance

/systemd/src/test/
H A Dtest-util.c354 const char *hex = "efa214921"; local
360 assert_se(unhexmem(hex, strlen(hex), &mem, &len) == 0);
361 assert_se(unhexmem(hex, strlen(hex) + 1, &mem, &len) == -EINVAL);
368 assert_se(memcmp(hex, hex2, strlen(hex)) == 0);
372 assert_se(unhexmem(hex, strlen(hex) - 1, &mem, &len) == 0);
374 assert_se(memcmp(hex, hex
[all...]

Completed in 472 milliseconds