Home
last modified time | relevance | path

Searched refs:cached_data (Results 1 - 16 of 16) sorted by relevance

/third_party/node/deps/v8/src/snapshot/
H A Dcode-serializer.cc81 AlignedCachedData* cached_data = cs.SerializeSharedFunctionInfo(info); in Serialize() local
85 int length = cached_data->length(); in Serialize()
90 new ScriptCompiler::CachedData(cached_data->data(), cached_data->length(), in Serialize()
92 cached_data->ReleaseDataOwnership(); in Serialize()
93 delete cached_data; in Serialize()
325 AlignedCachedData* cached_data) in StressOffThreadDeserializeThread()
329 cached_data_(cached_data) {} in StressOffThreadDeserializeThread()
420 Isolate* isolate, AlignedCachedData* cached_data, Handle<String> source, in Deserialize()
423 StressOffThreadDeserializeThread thread(isolate, cached_data); in Deserialize()
324 StressOffThreadDeserializeThread(Isolate* isolate, AlignedCachedData* cached_data) StressOffThreadDeserializeThread() argument
419 Deserialize( Isolate* isolate, AlignedCachedData* cached_data, Handle<String> source, ScriptOriginOptions origin_options) Deserialize() argument
471 StartDeserializeOffThread(LocalIsolate* local_isolate, AlignedCachedData* cached_data) StartDeserializeOffThread() argument
498 FinishOffThreadDeserialize( Isolate* isolate, OffThreadDeserializeData&& data, AlignedCachedData* cached_data, Handle<String> source, ScriptOriginOptions origin_options) FinishOffThreadDeserialize() argument
689 FromCachedData( AlignedCachedData* cached_data, uint32_t expected_source_hash, SerializedCodeSanityCheckResult* rejection_result) FromCachedData() argument
702 FromCachedDataWithoutSource( AlignedCachedData* cached_data, SerializedCodeSanityCheckResult* rejection_result) FromCachedDataWithoutSource() argument
715 FromPartiallySanityCheckedCachedData( AlignedCachedData* cached_data, uint32_t expected_source_hash, SerializedCodeSanityCheckResult* rejection_result) FromPartiallySanityCheckedCachedData() argument
[all...]
H A Dcode-serializer.h82 Isolate* isolate, AlignedCachedData* cached_data, Handle<String> source,
87 AlignedCachedData* cached_data);
91 AlignedCachedData* cached_data,
135 AlignedCachedData* cached_data, uint32_t expected_source_hash,
140 AlignedCachedData* cached_data,
146 AlignedCachedData* cached_data, uint32_t expected_source_hash,
/third_party/node/deps/v8/include/v8-include/
H A Dv8-script.h411 CachedData* cached_data = nullptr,
415 Local<String> source_string, CachedData* cached_data = nullptr,
444 std::unique_ptr<CachedData> cached_data; member in v8::ScriptCompiler::Source
784 cached_data(data), in Source()
790 cached_data(data), in Source()
808 return cached_data.get(); in GetCachedData()
H A Dv8-primitive.h307 const uint16_t* cached_data() const { in cached_data() function in v8::String::ExternalStringResource
360 const char* cached_data() const { in cached_data() function in v8::String::ExternalOneByteStringResource
/third_party/node/deps/v8/include/
H A Dv8-script.h380 CachedData* cached_data = nullptr,
384 Local<String> source_string, CachedData* cached_data = nullptr,
411 std::unique_ptr<CachedData> cached_data; member in v8::ScriptCompiler::Source
712 cached_data(data), in Source()
718 cached_data(data), in Source()
723 return cached_data.get(); in GetCachedData()
H A Dv8-primitive.h305 const uint16_t* cached_data() const { in cached_data() function in v8::String::ExternalStringResource
358 const char* cached_data() const { in cached_data() function in v8::String::ExternalOneByteStringResource
/third_party/node/src/
H A Dmodule_wrap.cc174 ScriptCompiler::CachedData* cached_data = nullptr; in New() local
180 cached_data = in New()
197 ScriptCompiler::Source source(source_text, origin, cached_data); in New()
739 std::unique_ptr<ScriptCompiler::CachedData> cached_data( in CreateCachedData()
742 if (!cached_data) { in CreateCachedData()
747 reinterpret_cast<const char*>(cached_data->data), in CreateCachedData()
748 cached_data->length); in CreateCachedData()
H A Dnode_contextify.cc830 ScriptCompiler::CachedData* cached_data = nullptr; in New() local
833 cached_data = new ScriptCompiler::CachedData( in New()
853 ScriptCompiler::Source source(code, origin, cached_data); in New()
970 std::unique_ptr<ScriptCompiler::CachedData> cached_data( in CreateCachedData()
972 if (!cached_data) { in CreateCachedData()
977 reinterpret_cast<const char*>(cached_data->data), in CreateCachedData()
978 cached_data->length); in CreateCachedData()
1201 ScriptCompiler::CachedData* cached_data = nullptr; in CompileFunction() local
1204 cached_data = new ScriptCompiler::CachedData( in CompileFunction()
1226 ScriptCompiler::Source source(code, origin, cached_data); in CompileFunction()
[all...]
H A Dnode_builtins.cc276 ScriptCompiler::CachedData* cached_data = nullptr; in LookupAndCompileInternal() local
286 cached_data = cache_it->second.release(); in LookupAndCompileInternal()
291 const bool has_cache = cached_data != nullptr; in LookupAndCompileInternal()
295 ScriptCompiler::Source script_source(source, origin, cached_data); in LookupAndCompileInternal()
/third_party/node/deps/v8/src/codegen/
H A Dcompiler.cc1842 Isolate* isolate, std::unique_ptr<ScriptCompiler::CachedData> cached_data) in BackgroundDeserializeTask()
1844 cached_data_(cached_data->data, cached_data->length) { in BackgroundDeserializeTask()
1847 if (cached_data->buffer_policy == ScriptCompiler::CachedData::BufferOwned && in BackgroundDeserializeTask()
1849 cached_data->buffer_policy = ScriptCompiler::CachedData::BufferNotOwned; in BackgroundDeserializeTask()
2967 AlignedCachedData* cached_data, BackgroundDeserializeTask* deserialize_task, in Compile()
2974 DCHECK_NULL(cached_data); in Compile()
2978 // Have to have exactly one of cached_data or deserialize_task. in Compile()
2979 DCHECK(cached_data || deserialize_task); in Compile()
2980 DCHECK(!(cached_data in Compile()
1841 BackgroundDeserializeTask( Isolate* isolate, std::unique_ptr<ScriptCompiler::CachedData> cached_data) BackgroundDeserializeTask() argument
2964 GetSharedFunctionInfoForScriptImpl( Isolate* isolate, Handle<String> source, const ScriptDetails& script_details, v8::Extension* extension, AlignedCachedData* cached_data, BackgroundDeserializeTask* deserialize_task, ScriptCompiler::CompileOptions compile_options, ScriptCompiler::NoCacheReason no_cache_reason, NativesFlag natives) Compile() argument
3126 GetSharedFunctionInfoForScriptWithCachedData( Isolate* isolate, Handle<String> source, const ScriptDetails& script_details, AlignedCachedData* cached_data, ScriptCompiler::CompileOptions compile_options, ScriptCompiler::NoCacheReason no_cache_reason, NativesFlag natives) Compile() argument
3149 GetWrappedFunction( Handle<String> source, Handle<FixedArray> arguments, Handle<Context> context, const ScriptDetails& script_details, AlignedCachedData* cached_data, v8::ScriptCompiler::CompileOptions compile_options, v8::ScriptCompiler::NoCacheReason no_cache_reason) Compile() argument
[all...]
H A Dcompiler.h160 AlignedCachedData* cached_data,
199 // will set cached_data->rejected() to true.
203 const ScriptDetails& script_details, AlignedCachedData* cached_data,
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_program.c648 void *cached_data = NULL; in nvc0_program_translate() local
651 cached_data = disk_cache_get(disk_shader_cache, key, &cache_size); in nvc0_program_translate()
653 if (cached_data && cache_size >= blob.size) { // blob.size is the size of serialized "info" in nvc0_program_translate()
656 if (nv50_ir_prog_info_out_deserialize(cached_data, cache_size, offset, &info_out)) in nvc0_program_translate()
661 free(cached_data); in nvc0_program_translate()
/third_party/node/deps/v8/src/api/
H A Dapi.cc2518 source->cached_data->rejected = deserialize_task->rejected(); in CompileUnboundInternal()
2520 DCHECK(source->cached_data); in CompileUnboundInternal()
2522 auto cached_data = std::make_unique<i::AlignedCachedData>( in CompileUnboundInternal() local
2523 source->cached_data->data, source->cached_data->length); in CompileUnboundInternal()
2526 isolate, str, script_details, cached_data.get(), options, in CompileUnboundInternal()
2528 source->cached_data->rejected = cached_data->rejected(); in CompileUnboundInternal()
2657 std::unique_ptr<i::AlignedCachedData> cached_data; in CompileFunctionInternal() local
2659 DCHECK(source->cached_data); in CompileFunctionInternal()
2722 StartConsumingCodeCache( Isolate* v8_isolate, std::unique_ptr<CachedData> cached_data) StartConsumingCodeCache() argument
[all...]
/third_party/node/deps/v8/src/d8/
H A Dd8.cc499 ScriptCompiler::CachedData* cached_data = new ScriptCompiler::CachedData( in LookupCodeCache() local
501 return cached_data; in LookupCodeCache()
759 ScriptCompiler::CachedData* cached_data = in ExecuteString() local
761 StoreInCodeCache(isolate, source, cached_data); in ExecuteString()
762 delete cached_data; in ExecuteString()
777 ScriptCompiler::CachedData* cached_data = in ExecuteString() local
779 StoreInCodeCache(isolate, source, cached_data); in ExecuteString()
780 delete cached_data; in ExecuteString()
/third_party/node/deps/v8/src/debug/
H A Ddebug-interface.cc836 i::AlignedCachedData* cached_data = nullptr; in CompileInspectorScript() local
839 isolate, str, i::ScriptDetails(), cached_data, in CompileInspectorScript()
/third_party/node/deps/v8/src/objects/
H A Dstring-inl.h1205 return reinterpret_cast<const uint8_t*>(res->cached_data()); in GetChars()
1277 return res->cached_data(); in GetChars()

Completed in 48 milliseconds