Searched refs:i2d_func (Results 1 – 3 of 3) sorted by relevance
/external/boringssl/src/crypto/asn1/ |
D | asn1_test.cc | 155 void TestSerialize(T obj, int (*i2d_func)(T a, uint8_t **pp), in TestSerialize() 158 ASSERT_EQ(i2d_func(obj, nullptr), len); in TestSerialize() 162 ASSERT_EQ(i2d_func(obj, &ptr), len); in TestSerialize() 168 ASSERT_EQ(i2d_func(obj, &ptr), len); in TestSerialize()
|
/external/boringssl/src/crypto/x509/ |
D | x_all.c | 254 #define IMPLEMENT_I2D_BIO(type, name, i2d_func) \ argument 257 int len = i2d_func(obj, &data); \
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | native_crypto.cc | 286 jbyteArray ASN1ToByteArray(JNIEnv* env, T* obj, int (*i2d_func)(T*, unsigned char**)) { in ASN1ToByteArray() 293 int derLen = i2d_func(obj, nullptr); in ASN1ToByteArray() 313 int ret = i2d_func(obj, &p); in ASN1ToByteArray()
|