Lines Matching refs:CONST_STR_LEN

44 	run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN(""), CONST_STR_LEN(""));  in test_buffer_path_simplify_with()
45 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("/"), CONST_STR_LEN("/")); in test_buffer_path_simplify_with()
46 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("//"), CONST_STR_LEN("/")); in test_buffer_path_simplify_with()
47 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("abc"), CONST_STR_LEN("abc")); in test_buffer_path_simplify_with()
48 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("abc//"), CONST_STR_LEN("abc/")); in test_buffer_path_simplify_with()
49 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("abc/./xyz"), CONST_STR_LEN("abc/xyz")); in test_buffer_path_simplify_with()
50 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("abc/.//xyz"), CONST_STR_LEN("abc/xyz")); in test_buffer_path_simplify_with()
51 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("abc/../xyz"), CONST_STR_LEN("/xyz")); in test_buffer_path_simplify_with()
52 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("/abc/./xyz"), CONST_STR_LEN("/abc/xyz")); in test_buffer_path_simplify_with()
53 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("/abc//./xyz"), CONST_STR_LEN("/abc/xyz")); in test_buffer_path_simplify_with()
54 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("/abc/../xyz"), CONST_STR_LEN("/xyz")); in test_buffer_path_simplify_with()
55 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("abc/../xyz/."), CONST_STR_LEN("/xyz/")); in test_buffer_path_simplify_with()
56 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("/abc/../xyz/."), CONST_STR_LEN("/xyz/")); in test_buffer_path_simplify_with()
57 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("abc/./xyz/.."), CONST_STR_LEN("abc/")); in test_buffer_path_simplify_with()
58 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("/abc/./xyz/.."), CONST_STR_LEN("/abc/")); in test_buffer_path_simplify_with()
59 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("."), CONST_STR_LEN("")); in test_buffer_path_simplify_with()
60 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN(".."), CONST_STR_LEN("")); in test_buffer_path_simplify_with()
61 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("..."), CONST_STR_LEN("...")); in test_buffer_path_simplify_with()
62 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("...."), CONST_STR_LEN("....")); in test_buffer_path_simplify_with()
63 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN(".../"), CONST_STR_LEN(".../")); in test_buffer_path_simplify_with()
64 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("./xyz/.."), CONST_STR_LEN("/")); in test_buffer_path_simplify_with()
65 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN(".//xyz/.."), CONST_STR_LEN("/")); in test_buffer_path_simplify_with()
66 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("/./xyz/.."), CONST_STR_LEN("/")); in test_buffer_path_simplify_with()
67 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN(".././xyz/.."), CONST_STR_LEN("/")); in test_buffer_path_simplify_with()
68 run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("/.././xyz/.."), CONST_STR_LEN("/")); in test_buffer_path_simplify_with()
83 buffer_copy_string_len(psrc, CONST_STR_LEN("0123456789abcdefghijklmnopqrstuvwxyz")); in test_buffer_to_lower_upper()
85 assert(buffer_eq_slen(psrc, CONST_STR_LEN("0123456789abcdefghijklmnopqrstuvwxyz"))); in test_buffer_to_lower_upper()
87 assert(buffer_eq_slen(psrc, CONST_STR_LEN("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"))); in test_buffer_to_lower_upper()
89 assert(buffer_eq_slen(psrc, CONST_STR_LEN("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"))); in test_buffer_to_lower_upper()
91 assert(buffer_eq_slen(psrc, CONST_STR_LEN("0123456789abcdefghijklmnopqrstuvwxyz"))); in test_buffer_to_lower_upper()
102 buffer_copy_string_len(b, CONST_STR_LEN("")); in test_buffer_string_space()
117 buffer_append_path_len(b, CONST_STR_LEN("a")); in test_buffer_append_path_len()
118 assert(buffer_eq_slen(b, CONST_STR_LEN("/a"))); in test_buffer_append_path_len()
120 buffer_append_path_len(b, CONST_STR_LEN("a")); in test_buffer_append_path_len()
121 assert(buffer_eq_slen(b, CONST_STR_LEN("/a"))); in test_buffer_append_path_len()
123 buffer_append_path_len(b, CONST_STR_LEN("/a")); in test_buffer_append_path_len()
124 assert(buffer_eq_slen(b, CONST_STR_LEN("/a"))); in test_buffer_append_path_len()
125 buffer_copy_string_len(b, CONST_STR_LEN("/")); in test_buffer_append_path_len()
126 buffer_append_path_len(b, CONST_STR_LEN("a")); in test_buffer_append_path_len()
127 assert(buffer_eq_slen(b, CONST_STR_LEN("/a"))); in test_buffer_append_path_len()
128 buffer_copy_string_len(b, CONST_STR_LEN("/")); in test_buffer_append_path_len()
129 buffer_append_path_len(b, CONST_STR_LEN("/a")); in test_buffer_append_path_len()
130 assert(buffer_eq_slen(b, CONST_STR_LEN("/a"))); in test_buffer_append_path_len()
131 buffer_copy_string_len(b, CONST_STR_LEN("a")); in test_buffer_append_path_len()
132 buffer_append_path_len(b, CONST_STR_LEN("a")); in test_buffer_append_path_len()
133 assert(buffer_eq_slen(b, CONST_STR_LEN("a/a"))); in test_buffer_append_path_len()
134 buffer_copy_string_len(b, CONST_STR_LEN("a/")); in test_buffer_append_path_len()
135 buffer_append_path_len(b, CONST_STR_LEN("a")); in test_buffer_append_path_len()
136 assert(buffer_eq_slen(b, CONST_STR_LEN("a/a"))); in test_buffer_append_path_len()
137 buffer_copy_string_len(b, CONST_STR_LEN("a/")); in test_buffer_append_path_len()
138 buffer_append_path_len(b, CONST_STR_LEN("/a")); in test_buffer_append_path_len()
139 assert(buffer_eq_slen(b, CONST_STR_LEN("a/a"))); in test_buffer_append_path_len()
140 buffer_copy_string_len(b, CONST_STR_LEN("/a/")); in test_buffer_append_path_len()
141 buffer_append_path_len(b, CONST_STR_LEN("/a")); in test_buffer_append_path_len()
142 assert(buffer_eq_slen(b, CONST_STR_LEN("/a/a"))); in test_buffer_append_path_len()
150 buffer_append_bs_escaped_json(b, CONST_STR_LEN(" ")); in test_buffer_append_bs_escaped()
151 assert(buffer_eq_slen(b, CONST_STR_LEN(" "))); in test_buffer_append_bs_escaped()
153 buffer_append_bs_escaped_json(b, CONST_STR_LEN("\0")); in test_buffer_append_bs_escaped()
154 assert(buffer_eq_slen(b, CONST_STR_LEN("\\u0000"))); in test_buffer_append_bs_escaped()
156 buffer_append_bs_escaped_json(b, CONST_STR_LEN("\1")); in test_buffer_append_bs_escaped()
157 assert(buffer_eq_slen(b, CONST_STR_LEN("\\u0001"))); in test_buffer_append_bs_escaped()
159 buffer_append_bs_escaped_json(b, CONST_STR_LEN("\n")); in test_buffer_append_bs_escaped()
160 assert(buffer_eq_slen(b, CONST_STR_LEN("\\n"))); in test_buffer_append_bs_escaped()
162 buffer_append_bs_escaped_json(b, CONST_STR_LEN("é")); in test_buffer_append_bs_escaped()
163 assert(buffer_eq_slen(b, CONST_STR_LEN("é"))); in test_buffer_append_bs_escaped()
165 buffer_append_bs_escaped_json(b, CONST_STR_LEN("ö")); in test_buffer_append_bs_escaped()
166 assert(buffer_eq_slen(b, CONST_STR_LEN("ö"))); in test_buffer_append_bs_escaped()
170 magnet_buffer_append_bsdec(b, CONST_STR_LEN("\\u00E9")); in test_buffer_append_bs_escaped()
171 assert(buffer_eq_slen(b, CONST_STR_LEN("é"))); in test_buffer_append_bs_escaped()
173 magnet_buffer_append_bsdec(b, CONST_STR_LEN("\\u00F6")); in test_buffer_append_bs_escaped()
174 assert(buffer_eq_slen(b, CONST_STR_LEN("ö"))); in test_buffer_append_bs_escaped()