Lines Matching refs:len
2262 int len; in php_openssl_make_REQ() local
2268 len = strlen(type); in php_openssl_make_REQ()
2269 if (len < sizeof("_default")) { in php_openssl_make_REQ()
2272 len -= sizeof("_default") - 1; in php_openssl_make_REQ()
2273 if (strcmp("_default", type + len) != 0) { in php_openssl_make_REQ()
2276 if (len > 200) { in php_openssl_make_REQ()
2277 len = 200; in php_openssl_make_REQ()
2279 memcpy(buffer, type, len); in php_openssl_make_REQ()
2280 buffer[len] = '\0'; in php_openssl_make_REQ()
3068 int len = BN_num_bytes(pkey->pkey._type->_name); \
3069 char *str = emalloc(len + 1); \
3071 str[len] = 0; \
3072 add_assoc_stringl(_type, #_name, str, len, 0); \
5105 int len; in PHP_FUNCTION() local
5118 len = DH_compute_key((unsigned char*)data, pub, pkey->pkey.dh); in PHP_FUNCTION()
5120 if (len >= 0) { in PHP_FUNCTION()
5121 data[len] = 0; in PHP_FUNCTION()
5122 RETVAL_STRINGL(data, len, 0); in PHP_FUNCTION()