Lines Matching refs:strncmp
255 zassert_true((strncmp(buffer, "fffff", 0) == 0), "strncmp 0"); in ZTEST()
256 zassert_true((strncmp(buffer, "eeeff", 3) == 0), "strncmp 3"); in ZTEST()
257 zassert_true((strncmp(buffer, "eeeff", 4) != 0), "strncmp 4"); in ZTEST()
258 zassert_true((strncmp(buffer, "eeeeeeeeeeeff", BUFSIZE) == 0), in ZTEST()
263 zassert_true((strncmp(buffer, buffer, BUFSIZE) == 0), in ZTEST()
296 ret = strncmp(buffer, "This is over 20 characters", BUFSIZE); in ZTEST()
320 ret = strncmp(rs, "10", 2); in ZTEST()
1113 zassert_equal(strncmp("Fri Jun 1 14:30:10 2024\n", buf, sizeof(buf)), 0); in ZTEST()
1116 zassert_equal(strncmp("Fri Jun 1 14:30:10 2024\n", asctime(&tp), sizeof(buf)), 0); in ZTEST()
1166 zassert_equal(strncmp("Thu Jun 13 06:26:40 2024\n", buf, sizeof(buf)), 0); in ZTEST()
1169 zassert_equal(strncmp("Thu Jun 13 06:26:40 2024\n", ctime(&test1), sizeof(buf)), 0); in ZTEST()