Lines Matching defs:obj
63 Local<Object> obj;
64 if (!ctor->NewInstance(env->context(), 0, nullptr).ToLocal(&obj)) {
70 WasmStreamingObject* ptr = Unwrap<WasmStreamingObject>(obj);
74 return obj;
84 WasmStreamingObject* obj;
85 ASSIGN_OR_RETURN_UNWRAP(&obj, args.Holder());
86 CHECK(obj->streaming_);
91 obj->streaming_->SetUrl(url.out(), url.length());
95 WasmStreamingObject* obj;
96 ASSIGN_OR_RETURN_UNWRAP(&obj, args.Holder());
97 CHECK(obj->streaming_);
125 obj->streaming_->OnBytesReceived(static_cast<const uint8_t*>(bytes) + offset,
127 obj->wasm_size_ += size;
131 WasmStreamingObject* obj;
132 ASSIGN_OR_RETURN_UNWRAP(&obj, args.Holder());
133 CHECK(obj->streaming_);
136 obj->streaming_->Finish();
140 WasmStreamingObject* obj;
141 ASSIGN_OR_RETURN_UNWRAP(&obj, args.Holder());
142 CHECK(obj->streaming_);
145 obj->streaming_->Abort(args[0]);
162 Local<Object> obj;
163 if (!WasmStreamingObject::Create(env, streaming).ToLocal(&obj)) {
177 Local<Value> args[] = {obj, info[0]};