Lines Matching full:next

77  *   settings_name_steq(name, key, next): compares the start of name with key
78 * settings_name_next(name, next): returns the location of the first
89 /* complete match: return 1, next = NULL */ in ZTEST()
92 zassert_is_null(next1, "_steq comparison next error"); in ZTEST()
95 zassert_is_null(next2, "_steq comparison next error"); in ZTEST()
97 /* partial match: return 1, next <> NULL */ in ZTEST()
100 zassert_not_null(next1, "_steq comparison next error"); in ZTEST()
101 zassert_equal_ptr(next1, test1+9, "next points to wrong location"); in ZTEST()
104 zassert_not_null(next2, "_steq comparison next error"); in ZTEST()
105 zassert_equal_ptr(next2, test2+9, "next points to wrong location"); in ZTEST()
107 /* no match: return 0, next = NULL */ in ZTEST()
110 zassert_is_null(next1, "_steq comparison next error"); in ZTEST()
113 zassert_is_null(next2, "_steq comparison next error"); in ZTEST()
115 /* no match: return 0, next = NULL */ in ZTEST()
118 zassert_is_null(next1, "_steq comparison next error"); in ZTEST()
121 zassert_is_null(next2, "_steq comparison next error"); in ZTEST()
123 /* first separator: return 2, next <> NULL */ in ZTEST()
126 zassert_not_null(next1, "_next wrong next"); in ZTEST()
127 zassert_equal_ptr(next1, test1+3, "next points to wrong location"); in ZTEST()
130 zassert_not_null(next2, "_next wrong next"); in ZTEST()
131 zassert_equal_ptr(next2, test2+3, "next points to wrong location"); in ZTEST()
133 /* second separator: return 1, next <> NULL */ in ZTEST()
136 zassert_not_null(next1, "_next wrong next"); in ZTEST()
137 zassert_equal_ptr(next1, test1+5, "next points to wrong location"); in ZTEST()
140 zassert_not_null(next2, "_next wrong next"); in ZTEST()
141 zassert_equal_ptr(next2, test2+5, "next points to wrong location"); in ZTEST()
143 /* third separator: return 1, next <> NULL */ in ZTEST()
146 zassert_not_null(next1, "_next wrong next"); in ZTEST()
149 zassert_not_null(next2, "_next wrong next"); in ZTEST()
151 /* fourth separator: return 1, next <> NULL */ in ZTEST()
154 zassert_not_null(next1, "_next wrong next"); in ZTEST()
157 zassert_not_null(next2, "_next wrong next"); in ZTEST()
159 /* fifth separator: return 1, next == NULL */ in ZTEST()
162 zassert_is_null(next1, "_next wrong next"); in ZTEST()
165 zassert_is_null(next2, "_next wrong next"); in ZTEST()
264 /* Next register should be ok */ in ZTEST()
268 /* Next register should fail (same name) */ in ZTEST()
502 const char *next; in filtered_loader() local
510 if (settings_name_steq(key, ldata->n, &next)) { in filtered_loader()
515 zassert_is_null(next, NULL); in filtered_loader()