Home
last modified time | relevance | path

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

/examples/utest/testcases/posix/stdlib_h/functions/
A Dstrtol_tc.c17 __attribute__((unused)) long l; in strtol_entry() local
24 TEST(l, atol("2147483647"), 2147483647L, "max 32bit signed %ld != %ld"); in strtol_entry()
25 TEST(l, strtol("2147483647", 0, 0), 2147483647L, "max 32bit signed %ld != %ld"); in strtol_entry()
30 TEST(l, strtol(s = "2147483648", &c, 0), 2147483647L, "uncaught overflow %ld != %ld"); in strtol_entry()
95 TEST(l, strtol("z", 0, 36), 35L, "%ld != %ld"); in strtol_entry()
97 TEST(l, strtol(s = "0F5F", &c, 16), 0x0f5fL, "%ld != %ld"); in strtol_entry()
99 TEST(l, strtol(s = "0xz", &c, 16), 0L, "%ld != %ld"); in strtol_entry()
102 TEST(l, strtol(s = "0x1234", &c, 16), 0x1234, "%ld != %ld"); in strtol_entry()
106 TEST3(l, strtol(s = "123", &c, 36), 0, "%ld != %ld"); in strtol_entry()
109 TEST(l, strtol(s = " 15437", &c, 8), 015437, "%ld != %ld"); in strtol_entry()
[all …]
/examples/utest/testcases/posix/stdio_h/functions/
A Drewind_tc.c6 long l; in rewind_entry() local
21 fscanf(stream,"%ld",&l); in rewind_entry()
24 if((strcmp(s,"a_string") != 0) || (l != 6500) || (c != 'x')) in rewind_entry()
A Dfscanf_tc.c6 long l; in fscanf_entry() local
21 fscanf(stream,"%ld",&l); in fscanf_entry()
24 if((strcmp(s,"a_string") != 0) || (l != 6500) || (c != 'x')) in fscanf_entry()
A Dfseek_tc.c6 long l; in fdopen_entry() local
21 fscanf(stream,"%ld",&l); in fdopen_entry()
24 if((strcmp(s,"a_string") != 0) || (l != 6500) || (c != 'x')) in fdopen_entry()
/examples/test/
A Ddhry_1.c339 memcpy (d, s, l) in memcpy() argument
342 register int l;
344 while (l--) *d++ = *s++;

Completed in 36 milliseconds