Home
last modified time | relevance | path

Searched refs:FixedArray (Results 1 – 25 of 123) sorted by relevance

12345

/external/v8/src/
Delements.cc68 V(FastObjectElementsAccessor, FAST_SMI_ONLY_ELEMENTS, FixedArray) \
69 V(FastObjectElementsAccessor, FAST_ELEMENTS, FixedArray) \
74 FixedArray) \
112 static bool HasKey(FixedArray* array, Object* key) { in HasKey()
134 void CopyObjectToObjectElements(FixedArray* from, in CopyObjectToObjectElements()
137 FixedArray* to, in CopyObjectToObjectElements()
163 Address to_address = to->address() + FixedArray::kHeaderSize; in CopyObjectToObjectElements()
164 Address from_address = from->address() + FixedArray::kHeaderSize; in CopyObjectToObjectElements()
182 FixedArray* to, in CopyDictionaryToObjectElements()
233 FixedArray* to, in CopyDoubleToObjectElements()
[all …]
Dhandles.cc133 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray> content, in AddKeysFromJSArray()
136 content->AddKeysFromJSArray(*array), FixedArray); in AddKeysFromJSArray()
140 Handle<FixedArray> UnionOfKeys(Handle<FixedArray> first, in UnionOfKeys()
141 Handle<FixedArray> second) { in UnionOfKeys()
143 first->UnionOfKeys(*second), FixedArray); in UnionOfKeys()
401 Handle<FixedArray> empty = isolate->factory()->NewFixedArray(0); in InitScriptLineEnds()
409 Handle<FixedArray> array = CalculateLineEnds(src, true); in InitScriptLineEnds()
444 Handle<FixedArray> CalculateLineEnds(Handle<String> src, in CalculateLineEnds()
470 Handle<FixedArray> array = isolate->factory()->NewFixedArray(line_count); in CalculateLineEnds()
482 FixedArray* line_ends_array = FixedArray::cast(script->line_ends()); in GetScriptLineNumber()
[all …]
Dbuiltins.cc226 array->set_elements(FixedArray::cast(fixed_array)); in ArrayCodeGenericCommon()
265 FixedArray* smi_elms = FixedArray::cast(elms); in ArrayCodeGenericCommon()
274 FixedArray* object_elms = FixedArray::cast(elms); in ArrayCodeGenericCommon()
316 FixedArray* dst, in MoveElements()
318 FixedArray* src, in MoveElements()
334 static void FillWithHoles(Heap* heap, FixedArray* dst, int from, int to) { in FillWithHoles()
340 static FixedArray* LeftTrimFixedArray(Heap* heap, in LeftTrimFixedArray()
341 FixedArray* elms, in LeftTrimFixedArray()
349 STATIC_ASSERT(FixedArray::kMapOffset == 0); in LeftTrimFixedArray()
350 STATIC_ASSERT(FixedArray::kLengthOffset == kPointerSize); in LeftTrimFixedArray()
[all …]
Dhandles.h212 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>,
224 Handle<FixedArray> CalculateLineEnds(Handle<String> string,
242 Handle<FixedArray> GetKeysInFixedArrayFor(Handle<JSReceiver> object,
246 Handle<FixedArray> GetEnumPropertyKeys(Handle<JSObject> object,
251 Handle<FixedArray> UnionOfKeys(Handle<FixedArray> first,
252 Handle<FixedArray> second);
Dcompilation-cache.h176 Handle<FixedArray> Lookup(Handle<String> source, JSRegExp::Flags flags);
180 Handle<FixedArray> data);
184 Handle<FixedArray> data);
189 Handle<FixedArray> data);
220 Handle<FixedArray> LookupRegExp(Handle<String> source,
240 Handle<FixedArray> data);
Dcompilation-cache.cc317 Handle<FixedArray> CompilationCacheRegExp::Lookup(Handle<String> source, in Lookup()
334 Handle<FixedArray> data(FixedArray::cast(result), isolate()); in Lookup()
342 return Handle<FixedArray>::null(); in Lookup()
350 Handle<FixedArray> data) { in TryTablePut()
359 Handle<FixedArray> data) { in TablePut()
368 Handle<FixedArray> data) { in Put()
418 Handle<FixedArray> CompilationCache::LookupRegExp(Handle<String> source, in LookupRegExp()
421 return Handle<FixedArray>::null(); in LookupRegExp()
460 Handle<FixedArray> data) { in PutRegExp()
Dobjects.cc522 FixedArray* new_properties = NULL; in DeleteNormalizedProperty()
1192 accumulator->Add("<FixedArray[%u]>", FixedArray::cast(this)->length()); in HeapObjectShortPrint()
1335 FixedArray::BodyDescriptor::IterateBody(this, object_size, v); in IterateBody()
1493 set_properties(FixedArray::cast(values)); in AddFastPropertyUsingMap()
1598 set_properties(FixedArray::cast(values)); in AddFastProperty()
1867 FixedArray* new_properties = 0; // Will always be NULL or a valid pointer. in ConvertDescriptorToField()
1878 new_properties = FixedArray::cast(new_properties_object); in ConvertDescriptorToField()
1886 set_properties(FixedArray::cast(new_properties)); in ConvertDescriptorToField()
2239 FixedArray* map_array = FixedArray::cast(descriptor_contents); in GetElementsTransitionMapFromDescriptor()
2266 FixedArray* new_array; in AddElementsTransitionMapToDescriptor()
[all …]
Dobjects-inl.h530 TYPE_CHECKER(FixedArray, FIXED_ARRAY_TYPE) in TYPE_CHECKER()
547 int length = FixedArray::cast(this)->length(); in IsDeoptimizationInputData()
561 if (FixedArray::cast(this)->length() % 2 != 0) return false; in IsDeoptimizationOutputData()
571 if (FixedArray::cast(this)->length() % 2 != 0) return false; in IsTypeFeedbackCells()
665 FixedArray* self = FixedArray::cast(this); in IsJSFunctionResultCache()
684 if (FixedArray::cast(this)->length() != NormalizedMapCache::kEntries) { in IsNormalizedMapCache()
1214 ACCESSORS(JSObject, properties, FixedArray, kPropertiesOffset) in ACCESSORS() argument
1217 Object** FixedArray::GetFirstElementAddress() { in ACCESSORS()
1222 bool FixedArray::ContainsOnlySmisOrHoles() { in ContainsOnlySmisOrHoles()
1244 FixedArray* fixed_array = in ValidateSmiOnlyElements()
[all …]
Delements.h122 FixedArray* to,
159 void CopyObjectToObjectElements(FixedArray* from_obj,
162 FixedArray* to_obj,
Druntime.cc153 FixedArray* properties = copy->properties(); in DeepCopyBoilerplate()
180 FixedArray* names = FixedArray::cast(result); in DeepCopyBoilerplate()
213 FixedArray* elements = FixedArray::cast(copy->elements()); in DeepCopyBoilerplate()
280 Handle<FixedArray> constant_properties, in ComputeObjectLiteralMap()
308 Handle<FixedArray> keys = in ComputeObjectLiteralMap()
332 Handle<FixedArray> literals,
333 Handle<FixedArray> constant_properties);
338 Handle<FixedArray> literals, in CreateObjectLiteralBoilerplate()
339 Handle<FixedArray> constant_properties, in CreateObjectLiteralBoilerplate()
385 Handle<FixedArray> array = Handle<FixedArray>::cast(value); in CreateObjectLiteralBoilerplate()
[all …]
Dbootstrapper.h52 v->VisitPointer(BitCast<Object**, FixedArray**>(&cache_)); in Iterate()
70 Handle<FixedArray> new_array = in Add()
82 FixedArray* cache_;
Dobjects-debug.cc89 FixedArray::cast(this)->FixedArrayVerify(); in HeapObjectVerify()
344 void FixedArray::FixedArrayVerify() { in FixedArrayVerify()
500 CHECK_EQ(0, FixedArray::cast(elements())->length()); in JSGlobalProxyVerify()
603 FixedArray* arr = FixedArray::cast(data()); in JSRegExpVerify()
610 FixedArray* arr = FixedArray::cast(data()); in JSRegExpVerify()
797 FixedArray* e = FixedArray::cast(elements()); in IncrementSpillStatistics()
912 FixedArray::cast(this)->Verify(); in NormalizedMapCacheVerify()
Dobjects.h811 V(FixedArray) \
1478 DECL_ACCESSORS(properties, FixedArray) // Get and set fast properties.
1868 void GetLocalPropertyNames(FixedArray* storage, int index);
1877 int GetLocalElementKeys(FixedArray* storage, PropertyAttributes filter);
1883 int GetEnumElementKeys(FixedArray* storage);
2165 bool ReferencesObjectFromElements(FixedArray* elements,
2231 class FixedArray: public FixedArrayBase {
2273 MUST_USE_RESULT MaybeObject* UnionOfKeys(FixedArray* other);
2276 void CopyTo(int pos, FixedArray* dest, int dest_pos, int len);
2285 static inline FixedArray* cast(Object* obj);
[all …]
Djsregexp.h140 FixedArray::kHeaderSize + kLastCaptureCount * kPointerSize;
142 FixedArray::kHeaderSize + kLastSubject * kPointerSize;
144 FixedArray::kHeaderSize + kLastInput * kPointerSize;
146 FixedArray::kHeaderSize + kFirstCapture * kPointerSize;
149 static int GetCapture(FixedArray* array, int index) { in GetCapture()
153 static void SetLastCaptureCount(FixedArray* array, int to) { in SetLastCaptureCount()
157 static void SetLastSubject(FixedArray* array, String* to) { in SetLastSubject()
161 static void SetLastInput(FixedArray* array, String* to) { in SetLastInput()
165 static void SetCapture(FixedArray* array, int index, int to) { in SetCapture()
169 static int GetLastCaptureCount(FixedArray* array) { in GetLastCaptureCount()
[all …]
Ddateparser.cc35 bool DateParser::DayComposer::Write(FixedArray* output) { in Write()
88 bool DateParser::TimeComposer::Write(FixedArray* output) { in Write()
115 bool DateParser::TimeZoneComposer::Write(FixedArray* output) { in Write()
Dparser.h500 Handle<FixedArray> this_property_assignments) { in SetThisPropertyAssignmentInfo()
508 Handle<FixedArray> this_property_assignments() { in this_property_assignments()
532 Handle<FixedArray> this_property_assignments_;
649 Handle<FixedArray> constants,
656 Handle<FixedArray> constants,
857 static Handle<FixedArray> GetValue(Expression* expression);
860 static Type GetType(Handle<FixedArray> value);
863 static Handle<FixedArray> GetElements(Handle<FixedArray> value);
Dfactory.cc43 Handle<FixedArray> Factory::NewFixedArray(int size, PretenureFlag pretenure) { in NewFixedArray()
48 FixedArray); in NewFixedArray()
52 Handle<FixedArray> Factory::NewFixedArrayWithHoles(int size, in NewFixedArrayWithHoles()
58 FixedArray); in NewFixedArrayWithHoles()
504 Handle<FixedArray> Factory::CopyFixedArray(Handle<FixedArray> array) { in CopyFixedArray()
505 CALL_HEAP_FUNCTION(isolate(), array->Copy(), FixedArray); in CopyFixedArray()
547 Handle<FixedArray> literals = NewFixedArray(number_of_literals, pretenure); in NewFunctionFromSharedFunctionInfo()
648 Handle<FixedArray> array = NewFixedArray(args.length()); in NewError()
1187 Handle<FixedArray> break_points( in NewDebugInfo()
1325 FixedArray* keys, in UpdateMapCacheWith()
[all …]
Ddateparser.h51 static bool Parse(Vector<Char> str, FixedArray* output, UnicodeCache* cache);
324 bool Write(FixedArray* output);
350 bool Write(FixedArray* output);
379 bool Write(FixedArray* output);
Dfactory.h43 Handle<FixedArray> NewFixedArray(
48 Handle<FixedArray> NewFixedArrayWithHoles(
233 Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array);
460 Handle<FixedArray> keys);
505 Handle<FixedArray> keys,
Dstring-stream.cc376 void StringStream::PrintFixedArray(FixedArray* array, unsigned int limit) { in PrintFixedArray()
431 unsigned int limit = FixedArray::cast(array->elements())->length(); in PrintMentionedObjectCache()
435 PrintFixedArray(FixedArray::cast(array->elements()), limit); in PrintMentionedObjectCache()
441 unsigned int limit = FixedArray::cast(printee)->length(); in PrintMentionedObjectCache()
442 PrintFixedArray(FixedArray::cast(printee), limit); in PrintMentionedObjectCache()
/external/webkit/Source/JavaScriptCore/runtime/
DNumericStrings.h90 FixedArray<CacheEntry<double>, cacheSize> doubleCache;
91 FixedArray<CacheEntry<int>, cacheSize> intCache;
92 FixedArray<CacheEntry<unsigned>, cacheSize> unsignedCache;
93 FixedArray<UString, cacheSize> smallIntCache;
/external/v8/test/cctest/
Dtest-mark-compact.cc97 (Page::kMaxNonCodeHeapObjectSize - FixedArray::kHeaderSize) / in TEST()
101 Handle<FixedArray> array(FixedArray::cast(obj)); in TEST()
130 int length = (max_size - FixedArray::kHeaderSize) / (2*kPointerSize); in TEST()
134 Handle<FixedArray> array(FixedArray::cast(obj)); in TEST()
140 FixedArray* host = *array; in TEST()
148 host = FixedArray::cast(obj); in TEST()
353 Handle<FixedArray>::cast(g1s2)->set(0, *g2s2); in TEST()
354 Handle<FixedArray>::cast(g2s1)->set(0, *g1s1); in TEST()
/external/webkit/Source/JavaScriptCore/wtf/
DFixedArray.h33 template <typename T, size_t Size> class FixedArray {
56 using WTF::FixedArray;
/external/v8/src/x64/
Dcodegen-x64.cc296 STATIC_ASSERT(FixedDoubleArray::kLengthOffset == FixedArray::kLengthOffset); in GenerateSmiOnlyToDouble()
297 STATIC_ASSERT(FixedDoubleArray::kHeaderSize == FixedArray::kHeaderSize); in GenerateSmiOnlyToDouble()
306 __ lea(rdi, Operand(r9, times_pointer_size, FixedArray::kHeaderSize)); in GenerateSmiOnlyToDouble()
341 FieldOperand(r8, r9, times_8, FixedArray::kHeaderSize)); in GenerateSmiOnlyToDouble()
389 __ lea(rdi, Operand(r9, times_pointer_size, FixedArray::kHeaderSize)); in GenerateDoubleToObject()
395 __ movq(FieldOperand(r11, FixedArray::kLengthOffset), r14); in GenerateDoubleToObject()
428 FixedArray::kHeaderSize), in GenerateDoubleToObject()
444 FixedArray::kHeaderSize), in GenerateDoubleToObject()
Dic-x64.cc341 __ SmiCompare(key, FieldOperand(elements, FixedArray::kLengthOffset)); in GenerateFastArrayLoad()
349 FixedArray::kHeaderSize)); in GenerateFastArrayLoad()
527 FixedArray::kHeaderSize)); in GenerateGeneric()
666 __ SmiCompareInteger32(FieldOperand(rbx, FixedArray::kLengthOffset), rcx); in GenerateGeneric()
689 __ SmiCompareInteger32(FieldOperand(rbx, FixedArray::kLengthOffset), rcx); in GenerateGeneric()
735 __ movq(FieldOperand(rbx, rcx, times_pointer_size, FixedArray::kHeaderSize), in GenerateGeneric()
744 __ movq(FieldOperand(rbx, rcx, times_pointer_size, FixedArray::kHeaderSize), in GenerateGeneric()
1180 __ movq(scratch2, FieldOperand(scratch1, FixedArray::kLengthOffset)); in GenerateMappedArgumentsLookup()
1186 const int kHeaderSize = FixedArray::kHeaderSize + 2 * kPointerSize; in GenerateMappedArgumentsLookup()
1198 __ movq(scratch1, FieldOperand(scratch1, FixedArray::kHeaderSize)); in GenerateMappedArgumentsLookup()
[all …]

12345