Lines Matching refs:cp
145 static void MYOBJ_sethello(MYOBJ *obj, char *cp) in MYOBJ_sethello() argument
147 obj->st = CRYPTO_set_ex_data(&obj->ex_data, saved_idx, cp); in MYOBJ_sethello()
157 static void MYOBJ_sethello2(MYOBJ *obj, char *cp) in MYOBJ_sethello2() argument
162 ex_data->hello = cp; in MYOBJ_sethello2()
178 static void MYOBJ_allochello3(MYOBJ *obj, char *cp) in MYOBJ_allochello3() argument
186 ex_data->hello = cp; in MYOBJ_allochello3()
224 const char *cp; in test_exdata() local
259 cp = MYOBJ_gethello(t1); in test_exdata()
260 if (!TEST_ptr_eq(cp, p)) in test_exdata()
264 cp = MYOBJ_gethello2(t1); in test_exdata()
265 if (!TEST_ptr_eq(cp, p)) in test_exdata()
269 cp = MYOBJ_gethello3(t1); in test_exdata()
270 if (!TEST_ptr_eq(cp, p)) in test_exdata()
273 cp = MYOBJ_gethello(t2); in test_exdata()
274 if (!TEST_ptr_null(cp)) in test_exdata()
277 cp = MYOBJ_gethello2(t2); in test_exdata()
278 if (!TEST_ptr_null(cp)) in test_exdata()
291 cp = MYOBJ_gethello(t3); in test_exdata()
292 if (!TEST_ptr_eq(cp, p)) in test_exdata()
295 cp = MYOBJ_gethello2(t3); in test_exdata()
296 if (!TEST_ptr_eq(cp, p)) in test_exdata()
299 cp = MYOBJ_gethello3(t3); in test_exdata()
300 if (!TEST_ptr_eq(cp, p)) in test_exdata()