Lines Matching refs:safe_atolli
420 TEST(safe_atolli) { in TEST() argument
424 r = safe_atolli("12345", &l); in TEST()
428 r = safe_atolli(" 12345", &l); in TEST()
432 r = safe_atolli("-12345", &l); in TEST()
436 r = safe_atolli(" -12345", &l); in TEST()
440 r = safe_atolli("0x5", &l); in TEST()
444 r = safe_atolli("0o6", &l); in TEST()
448 r = safe_atolli("0B101", &l); in TEST()
452 r = safe_atolli("12345678901234567890", &l); in TEST()
455 r = safe_atolli("-12345678901234567890", &l); in TEST()
458 r = safe_atolli("junk", &l); in TEST()
461 r = safe_atolli("123x", &l); in TEST()
464 r = safe_atolli("12.3", &l); in TEST()
467 r = safe_atolli("", &l); in TEST()