Home
last modified time | relevance | path

Searched refs:cached_data (Results 1 – 13 of 13) sorted by relevance

/external/v8/src/snapshot/
Dcode-serializer.cc151 Isolate* isolate, ScriptData* cached_data, Handle<String> source) { in Deserialize() argument
158 SerializedCodeData::FromCachedData(isolate, cached_data, *source)); in Deserialize()
161 DCHECK(cached_data->rejected()); in Deserialize()
183 int length = cached_data->length(); in Deserialize()
352 ScriptData* cached_data, in FromCachedData() argument
355 SerializedCodeData* scd = new SerializedCodeData(cached_data); in FromCachedData()
358 cached_data->Reject(); in FromCachedData()
Dcode-serializer.h21 Isolate* isolate, ScriptData* cached_data, Handle<String> source);
59 ScriptData* cached_data,
/external/v8/src/
Dbackground-parsing-task.h28 base::SmartPointer<ScriptCompiler::CachedData> cached_data; member
Dbackground-parsing-task.cc62 source_->cached_data.Reset(new ScriptCompiler::CachedData( in Run()
Dcompiler.cc1455 v8::Extension* extension, ScriptData** cached_data, in GetSharedFunctionInfoForScript() argument
1460 cached_data = NULL; in GetSharedFunctionInfoForScript()
1463 DCHECK(cached_data && !*cached_data); in GetSharedFunctionInfoForScript()
1469 DCHECK(cached_data && *cached_data); in GetSharedFunctionInfoForScript()
1496 if (CodeSerializer::Deserialize(isolate, *cached_data, source) in GetSharedFunctionInfoForScript()
1546 parse_info.set_cached_data(cached_data); in GetSharedFunctionInfoForScript()
1568 *cached_data = CodeSerializer::Serialize(isolate, result, source); in GetSharedFunctionInfoForScript()
Dcompiler.h91 v8::Extension* extension, ScriptData** cached_data,
Dapi.cc1773 return impl_->cached_data.get(); in GetCachedData()
1910 DCHECK(source->cached_data); in CompileUnboundInternal()
1912 script_data = new i::ScriptData(source->cached_data->data, in CompileUnboundInternal()
1913 source->cached_data->length); in CompileUnboundInternal()
1956 source->cached_data = new CachedData( in CompileUnboundInternal()
1960 source->cached_data->rejected = script_data->rejected(); in CompileUnboundInternal()
/external/v8/src/parsing/
Dparser.h91 ScriptData** cached_data() { return cached_data_; } in cached_data() function
92 void set_cached_data(ScriptData** cached_data) { cached_data_ = cached_data; } in set_cached_data() argument
243 static ParseData* FromCachedData(ScriptData* cached_data) { in FromCachedData() argument
244 ParseData* pd = new ParseData(cached_data); in FromCachedData()
246 cached_data->Reject(); in FromCachedData()
Dparser.cc174 DCHECK(info->cached_data() != NULL); in SetCachedData()
176 cached_parse_data_ = ParseData::FromCachedData(*info->cached_data()); in SetCachedData()
894 if (result != NULL) *info->cached_data() = recorder.GetScriptData(); in ParseProgram()
5315 if (result != NULL) *info->cached_data() = recorder.GetScriptData(); in ParseOnBackground()
/external/v8/include/
Dv8.h1162 CachedData* cached_data = NULL);
1164 CachedData* cached_data = NULL);
1190 CachedData* cached_data; variable
8109 cached_data(data) {}
8114 : source_string(string), cached_data(data) {}
8118 delete cached_data;
8124 return cached_data;
/external/v8/test/cctest/
Dtest-parsing.cc289 const v8::ScriptCompiler::CachedData* cached_data = in TEST() local
291 CHECK(cached_data->data != NULL); in TEST()
292 CHECK_GT(cached_data->length, 0); in TEST()
299 cached_data->data, cached_data->length)); in TEST()
Dtest-serialize.cc910 ScriptData** cached_data, v8::ScriptCompiler::CompileOptions options) { in CompileScript() argument
913 Handle<Context>(isolate->native_context()), NULL, cached_data, options, in CompileScript()
Dtest-api.cc24103 const v8::ScriptCompiler::CachedData* cached_data = source.GetCachedData(); in TEST() local
24104 CHECK(cached_data != NULL); in TEST()
24105 CHECK(cached_data->data != NULL); in TEST()
24106 CHECK(!cached_data->rejected); in TEST()
24107 CHECK_GT(cached_data->length, 0); in TEST()
24327 v8::ScriptCompiler::CachedData* cached_data = in TestInvalidCacheData() local
24329 CHECK(!cached_data->rejected); in TestInvalidCacheData()
24331 v8::ScriptCompiler::Source source(v8_str("42"), origin, cached_data); in TestInvalidCacheData()
24335 CHECK(cached_data->rejected); in TestInvalidCacheData()