Lines Matching refs:CachedData

344   struct V8_EXPORT CachedData {
347 CachedData()
354 // data and guarantees that it stays alive until the CachedData object is
356 // (with delete[]) when the CachedData object is destroyed.
357 CachedData(const uint8_t* data, int length,
359 ~CachedData();
368 CachedData(const CachedData&) = delete;
369 CachedData& operator=(const CachedData&) = delete;
377 // Source takes ownership of both CachedData and CodeCacheConsumeTask.
380 CachedData* cached_data = nullptr,
382 // Source takes ownership of both CachedData and CodeCacheConsumeTask.
384 Local<String> source_string, CachedData* cached_data = nullptr,
388 // Ownership of the CachedData or its buffers is *not* transferred to the
389 // caller. The CachedData object is alive as long as the Source object is
391 V8_INLINE const CachedData* GetCachedData() const;
411 std::unique_ptr<CachedData> cached_data;
586 Isolate* isolate, std::unique_ptr<CachedData> source);
600 * Return a version tag for CachedData for the current V8 version & flags.
603 * CachedData instance is still valid; the tag has no other meaing.
605 * Background: The data carried by CachedData may depend on the exact
607 * persisting CachedData, the embedder must take care to not pass in
669 * CachedData returned by this function should be owned by the caller.
671 static CachedData* CreateCodeCache(Local<UnboundScript> unbound_script);
676 * CachedData returned by this function should be owned by the caller.
678 static CachedData* CreateCodeCache(
685 * CachedData returned by this function should be owned by the caller.
687 static CachedData* CreateCodeCacheForFunction(Local<Function> function);
703 CachedData* data,
715 ScriptCompiler::Source::Source(Local<String> string, CachedData* data,
721 const ScriptCompiler::CachedData* ScriptCompiler::Source::GetCachedData()