Lines Matching defs:length
288 reinterpret_cast<const char*>(bytes.begin()), bytes.length(),
469 if (bytes.start() == nullptr || bytes.length() == 0) {
646 std::unique_ptr<uint8_t[]> copy(new uint8_t[bytes.length()]);
647 memcpy(copy.get(), bytes.start(), bytes.length());
648 ModuleWireBytes bytes_copy(copy.get(), copy.get() + bytes.length());
674 std::unique_ptr<byte[]> copy(new byte[bytes.length()]);
675 memcpy(copy.get(), bytes.start(), bytes.length());
678 isolate, enabled, std::move(copy), bytes.length(),
797 reinterpret_cast<const char*>(wire_bytes.begin()), wire_bytes.length(),
804 DCHECK(url_len >= 0 && url_len < buffer.length());
812 DCHECK(hash_len >= 0 && hash_len < buffer.length());
917 std::unique_ptr<byte[]> bytes_copy, size_t length, Handle<Context> context,
922 isolate, enabled, std::move(bytes_copy), length, context,