Lines Matching refs:streq_ptr
74 assert_se(streq_ptr(a[0], "one=BAR")); in TEST()
75 assert_se(streq_ptr(a[1], "two=bar")); in TEST()
76 assert_se(streq_ptr(a[2], "three=333\nxxxx")); in TEST()
77 assert_se(streq_ptr(a[3], "four=44\\\"44")); in TEST()
78 assert_se(streq_ptr(a[4], "five=55\"55FIVEcinco")); in TEST()
79 assert_se(streq_ptr(a[5], "six=seis sechs sis")); in TEST()
80 assert_se(streq_ptr(a[6], "seven=sevenval#nocomment")); in TEST()
81 assert_se(streq_ptr(a[7], "eight=eightval #nocomment")); in TEST()
82 assert_se(streq_ptr(a[8], "export nine=nineval")); in TEST()
83 assert_se(streq_ptr(a[9], "ten=")); in TEST()
84 assert_se(streq_ptr(a[10], "eleven=value")); in TEST()
85 assert_se(streq_ptr(a[11], "twelve=\\value")); in TEST()
86 assert_se(streq_ptr(a[12], "thirteen=\\value")); in TEST()
201 assert_se(streq_ptr(a[0], "one=BAR VAR\tGAR")); in TEST()
202 assert_se(streq_ptr(a[1], "two=bar var\tgar")); in TEST()
203 assert_se(streq_ptr(a[2], "tri=bar var \tgar ")); in TEST()
639 assert_se(streq_ptr(ret, "/foo/bar/.#waldoXXXXXX")); in TEST()
643 assert_se(streq_ptr(ret, "/foo/bar/.#[miau]waldoXXXXXX")); in TEST()
839 assert_se(streq_ptr(s, "foo")); in TEST()
858 assert_se(read_nul_string(f, LONG_LINE_MAX, &s) == 13 && streq_ptr(s, "string nr. 1")); in TEST()
861 assert_se(read_nul_string(f, LONG_LINE_MAX, &s) == 14 && streq_ptr(s, "string nr. 2\n")); in TEST()
864 …assert_se(read_nul_string(f, LONG_LINE_MAX, &s) == 22 && streq_ptr(s, "\377empty string follows")); in TEST()
867 assert_se(read_nul_string(f, LONG_LINE_MAX, &s) == 1 && streq_ptr(s, "")); in TEST()
870 … assert_se(read_nul_string(f, LONG_LINE_MAX, &s) == 23 && streq_ptr(s, "final string\n is empty")); in TEST()
873 assert_se(read_nul_string(f, LONG_LINE_MAX, &s) == 1 && streq_ptr(s, "")); in TEST()
876 assert_se(read_nul_string(f, LONG_LINE_MAX, &s) == 0 && streq_ptr(s, "")); in TEST()