Lines Matching defs:size
97 int PasswordCallback(char* buf, int size, int rwflag, void* u) {
100 size_t buflen = static_cast<size_t>(size);
101 size_t len = passphrase->size();
116 int NoPasswordCallback(char* buf, int size, int rwflag, void* u) {
306 last_error_string.size()).ToLocal(&exception_string)) {
358 size(),
413 size_t size = str->Utf8Length(env->isolate());
414 size_t alloc_size = ntc ? size + 1 : size;
452 ByteSource ByteSource::Allocated(void* data, size_t size) {
453 return ByteSource(data, data, size);
456 ByteSource ByteSource::Foreign(const void* data, size_t size) {
457 return ByteSource(data, nullptr, size);
649 int size,
651 std::vector<uint8_t> buf(size);
652 CHECK_EQ(BN_bn2binpad(bn, buf.data(), size), size);
656 buf.size(),
666 int size) {
670 if (size == 0)
671 size = BN_num_bytes(bn);
672 if (!EncodeBignum(env, bn, size, &error).ToLocal(&value)) {
681 if (label.size() != 0) {
683 void* label_copy = OPENSSL_memdup(label.data(), label.size());
686 ctx.get(), static_cast<unsigned char*>(label_copy), label.size());