Home
last modified time | relevance | path

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

/kernel/liteos_m/testsuites/unittest/posix/src/stdlib/
Dstrtol_test.c75 char nPtr16[] = " 10"; variable
77 long ret = strtol(nPtr16, &endPtr16, 16);
79 …EMO] posix stdlib test case 1:strtol(base=16) ret:%ld,%s, endPtr:%s ok.\n", ret, nPtr16, endPtr16);
81 LOG("[DEMO] posix stdlib test case 1:strtol(base=16) ret:%ld,%s fail.\n", ret, nPtr16);
95 char nPtr16[] = "0x10"; variable
97 long ret = strtol(nPtr16, &endPtr16, 0);
99 …EMO] posix stdlib test case 2:strtol(base=16) ret:%ld,%s, endPtr:%s ok.\n", ret, nPtr16, endPtr16);
101 LOG("[DEMO] posix stdlib test case 2:strtol(base=16) ret:%ld,%s fail.\n", ret, nPtr16);