Home
last modified time | relevance | path

Searched refs:cs_snprintf (Results 1 – 6 of 6) sorted by relevance

/external/capstone/tests/
Dtest_winkernel.cpp127 ok = (ok && cs_snprintf(buf, sizeof(buf), "%s", "") == 0 && strcmp(buf, "") == 0); in cs_winkernel_vsnprintf_test()
128 ok = (ok && cs_snprintf(buf, sizeof(buf), "%s", "0") == 1 && strcmp(buf, "0") == 0); in cs_winkernel_vsnprintf_test()
129 …ok = (ok && cs_snprintf(buf, sizeof(buf), "%s", "012345678") == 9 && strcmp(buf, "012345678") == 0… in cs_winkernel_vsnprintf_test()
130 …ok = (ok && cs_snprintf(buf, sizeof(buf), "%s", "0123456789") == 10 && strcmp(buf, "012345678") ==… in cs_winkernel_vsnprintf_test()
131 …ok = (ok && cs_snprintf(buf, sizeof(buf), "%s", "01234567890") == 11 && strcmp(buf, "012345678") =… in cs_winkernel_vsnprintf_test()
132 …ok = (ok && cs_snprintf(buf, sizeof(buf), "%s", "0123456789001234567890") == 22 && strcmp(buf, "01… in cs_winkernel_vsnprintf_test()
/external/capstone/
Dutils.h56 int cs_snprintf(char *buffer, size_t size, const char *fmt, ...);
Dutils.c78 int cs_snprintf(char *buffer, size_t size, const char *fmt, ...) in cs_snprintf() function
Dcs.c451 len = cs_snprintf(p, available, "0x%02x", buffer[0]); in skipdata_opstr()
456 len = cs_snprintf(p, available, ", 0x%02x", buffer[i]); in skipdata_opstr()
/external/capstone/arch/AArch64/
DAArch64BaseInfo.c691 dummy = cs_snprintf(result, 128, "s3_%s_c%s_c%s_%s", Op1S, CRnS, CRmS, Op2S); in A64SysRegMapper_toString()
DAArch64InstPrinter.c1156 cs_snprintf(Suffix, sizeof(Suffix), ".%u%c", NumLanes, LaneKind); in printTypedVectorList()
1213 cs_snprintf(Suffix, sizeof(Suffix), ".%c", LaneKind); in printTypedVectorList()