Lines Matching refs:entry
101 Local<Value> entry;
102 if (!ary->Get(env->context(), n).ToLocal(&entry))
104 CHECK(entry->IsArrayBufferView() || Blob::HasInstance(env, entry));
105 if (entry->IsArrayBufferView()) {
106 Local<ArrayBufferView> view = entry.As<ArrayBufferView>();
115 ASSIGN_OR_RETURN_UNWRAP(&blob, entry);
162 for (const auto& entry : entries()) {
163 unsigned char* src = static_cast<unsigned char*>(entry.store->Data());
164 src += entry.offset;
165 memcpy(dest, src, entry.length);
166 dest += entry.length;
167 total += entry.length;
186 for (const auto& entry : entries()) {
187 if (start + entry.offset > entry.store->ByteLength()) {
188 start -= entry.length;
192 size_t offset = entry.offset + start;
193 size_t len = std::min(remaining, entry.store->ByteLength() - offset);
194 slices.emplace_back(BlobEntry{entry.store, len, offset});
342 for (const auto& entry : source_) {
343 unsigned char* src = static_cast<unsigned char*>(entry.store->Data());
344 src += entry.offset;
345 memcpy(dest, src, entry.length);
346 dest += entry.length;
347 total += entry.length;
453 auto entry = data_objects_.find(uuid);
454 if (entry == data_objects_.end())
456 return entry->second;