Lines Matching refs:value

53     unsigned char value[MAX_LEN];  member
207 le_copy(buf, sizeof(in), raw_values[n].value, sizeof(in)); in test_param_int()
213 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_int()
219 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_int()
222 return test_param_type_extra(&param, raw_values[n].value, sizeof(int)); in test_param_int()
237 le_copy(buf, sizeof(in), raw_values[n].value, sizeof(in)); in test_param_long()
243 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_long()
249 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_long()
252 return test_param_type_extra(&param, raw_values[n].value, sizeof(long int)); in test_param_long()
266 le_copy(buf, sizeof(in), raw_values[n].value, sizeof(in)); in test_param_uint()
272 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_uint()
278 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_uint()
281 return test_param_type_extra(&param, raw_values[n].value, sizeof(unsigned int)); in test_param_uint()
296 le_copy(buf, sizeof(in), raw_values[n].value, sizeof(in)); in test_param_ulong()
302 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_ulong()
308 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_ulong()
311 return test_param_type_extra(&param, raw_values[n].value, sizeof(unsigned long int)); in test_param_ulong()
326 le_copy(buf, sizeof(in), raw_values[n].value, sizeof(in)); in test_param_int32()
332 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_int32()
338 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_int32()
341 return test_param_type_extra(&param, raw_values[n].value, sizeof(int32_t)); in test_param_int32()
356 le_copy(buf, sizeof(in), raw_values[n].value, sizeof(in)); in test_param_uint32()
362 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_uint32()
368 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_uint32()
371 return test_param_type_extra(&param, raw_values[n].value, sizeof(uint32_t)); in test_param_uint32()
386 le_copy(buf, sizeof(in), raw_values[n].value, sizeof(in)); in test_param_int64()
392 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_int64()
398 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_int64()
401 return test_param_type_extra(&param, raw_values[n].value, sizeof(int64_t)); in test_param_int64()
416 le_copy(buf, sizeof(in), raw_values[n].value, sizeof(in)); in test_param_uint64()
422 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_uint64()
428 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_uint64()
431 return test_param_type_extra(&param, raw_values[n].value, sizeof(uint64_t)); in test_param_uint64()
446 le_copy(buf, sizeof(in), raw_values[n].value, sizeof(in)); in test_param_size_t()
452 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_size_t()
458 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_size_t()
461 return test_param_type_extra(&param, raw_values[n].value, sizeof(size_t)); in test_param_size_t()
476 le_copy(buf, sizeof(in), raw_values[n].value, sizeof(in)); in test_param_time_t()
482 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_time_t()
488 if (!TEST_mem_eq(cmp, sizeof(in), raw_values[n].value, sizeof(in))) in test_param_time_t()
491 return test_param_type_extra(&param, raw_values[n].value, sizeof(size_t)); in test_param_time_t()
509 if (!TEST_ptr(b = BN_lebin2bn(raw_values[n].value, (int)len, NULL))) in test_param_bignum()
515 if (!TEST_mem_eq(raw_values[n].value, len, buf, len)) in test_param_bignum()
543 if (!TEST_ptr(b = BN_signed_lebin2bn(raw_values[n].value, (int)len, NULL))) in test_param_signed_bignum()
547 if (!TEST_false(!!(raw_values[n].value[len - 1] & 0x80) ^ BN_is_negative(b))) in test_param_signed_bignum()
552 if (!TEST_mem_eq(raw_values[n].value, len, buf, len)) in test_param_signed_bignum()