Lines Matching refs:obj

41 	int *obj;  in ZTEST()  local
42 obj = zvfs_get_fd_obj_and_vtable(fd, &vtable, in ZTEST()
45 zassert_is_null(obj, "obj is not NULL"); in ZTEST()
59 int *obj = zvfs_get_fd_obj(fd, vtable, err); /* function being tested */ in ZTEST() local
62 zassert_is_null(obj, "obj not is NULL"); in ZTEST()
64 obj = (void *)1; in ZTEST()
68 zvfs_finalize_fd(fd, obj, vtable); in ZTEST()
70 obj = zvfs_get_fd_obj(-1, vtable, err); /* function being tested */ in ZTEST()
72 zassert_equal_ptr(obj, NULL, "obj is not NULL when fd < 0"); in ZTEST()
76 obj = zvfs_get_fd_obj(fd, vtable2, err); /* function being tested */ in ZTEST()
78 zassert_equal_ptr(obj, NULL, "obj is not NULL - vtable doesn't match"); in ZTEST()
91 int *obj = zvfs_get_fd_obj_and_vtable(fd, &vtable, NULL); in ZTEST() local
94 int *original_obj = obj; in ZTEST()
96 zvfs_finalize_fd(fd, obj, vtable); /* function being tested */ in ZTEST()
98 obj = zvfs_get_fd_obj_and_vtable(fd, &vtable, NULL); in ZTEST()
100 zassert_equal_ptr(obj, original_obj, "obj is different after finalizing"); in ZTEST()
109 int *obj = NULL; in ZTEST() local
111 int fd = zvfs_alloc_fd(obj, vtable); /* function being tested */ in ZTEST()
114 obj = zvfs_get_fd_obj_and_vtable(fd, &vtable, NULL); in ZTEST()
116 zassert_equal_ptr(obj, NULL, "obj is different after allocating"); in ZTEST()
131 int *obj = zvfs_get_fd_obj_and_vtable(fd, &vtable, NULL); in ZTEST() local
133 zassert_equal_ptr(obj, NULL, "obj is not NULL after freeing"); in ZTEST()
143 int *obj; in test_cb() local
145 obj = zvfs_get_fd_obj_and_vtable(fd, &vtable, NULL); in test_cb()
147 zassert_not_null(obj, "obj is null"); in test_cb()
152 obj = zvfs_get_fd_obj_and_vtable(fd, &vtable, NULL); in test_cb()
153 zassert_is_null(obj, "obj is still there"); in test_cb()
160 void *obj = (void *)vtable; in ZTEST() local
165 zvfs_finalize_fd(shared_fd, obj, vtable); in ZTEST()
176 obj = zvfs_get_fd_obj_and_vtable(shared_fd, &vtable, NULL); in ZTEST()
177 zassert_is_null(obj, "obj is still there"); in ZTEST()