Home
last modified time | relevance | path

Searched refs:i2d_func (Results 1 – 3 of 3) sorted by relevance

/external/boringssl/src/crypto/asn1/
Dasn1_test.cc155 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/
Dx_all.c254 #define IMPLEMENT_I2D_BIO(type, name, i2d_func) \ argument
257 int len = i2d_func(obj, &data); \
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc286 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()