Home
last modified time | relevance | path

Searched refs:instance_type (Results 1 – 25 of 99) sorted by relevance

1234

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Disac_fix_type.h21 using instance_type = ISACFIX_MainStruct;
23 static inline int16_t Control(instance_type* inst, in Control()
28 static inline int16_t ControlBwe(instance_type* inst, in ControlBwe()
35 static inline int16_t Create(instance_type** inst) { in Create()
38 static inline int DecodeInternal(instance_type* inst, in DecodeInternal()
45 static inline size_t DecodePlc(instance_type* inst, in DecodePlc()
50 static inline void DecoderInit(instance_type* inst) { in DecoderInit()
53 static inline int Encode(instance_type* inst, in Encode()
58 static inline int16_t EncoderInit(instance_type* inst, int16_t coding_mode) { in EncoderInit()
61 static inline uint16_t EncSampRate(instance_type* inst) { in EncSampRate()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Disac_float_type.h19 using instance_type = ISACStruct; member
21 static inline int16_t Control(instance_type* inst, in Control()
26 static inline int16_t ControlBwe(instance_type* inst, in ControlBwe()
33 static inline int16_t Create(instance_type** inst) { in Create()
36 static inline int DecodeInternal(instance_type* inst, in DecodeInternal()
43 static inline size_t DecodePlc(instance_type* inst, in DecodePlc()
49 static inline void DecoderInit(instance_type* inst) { in DecoderInit()
52 static inline int Encode(instance_type* inst, in Encode()
57 static inline int16_t EncoderInit(instance_type* inst, int16_t coding_mode) { in EncoderInit()
60 static inline uint16_t EncSampRate(instance_type* inst) { in EncSampRate()
[all …]
/external/v8/tools/heap-stats/
Ddetails-selection.js233 this.selectedData.instance_type_data[checkbox.instance_type]
236 checkbox.instance_type, checkbox.checked,
237 this.selectedData.instance_type_data[checkbox.instance_type]
289 categoryForType(instance_type) { argument
291 if (value.has(instance_type)) return key;
333 for (let instance_type of this.selectedIsolate.non_empty_instance_types) {
334 const category = this.categoryForType(instance_type);
335 categories[category].push(instance_type);
339 for (let instance_type of categories[category]) {
341 .appendChild(this.createCheckBox(instance_type, category));
[all …]
Dhistogram-viewer.js95 (inner_accu, instance_type) => inner_accu +
97 .instance_type_data[instance_type][property],
104 (accu, instance_type) => accu +
105 this.selectedData.instance_type_data[instance_type][property],
134 instance_type =>
136 .instance_type_data[instance_type]
151 instance_type =>
152 this.selectedData.instance_type_data[instance_type]
Dtrace-file-reader.js148 addInstanceTypeData(data, isolate, gc_id, data_set, instance_type, entry) { argument
149 data[isolate].gcs[gc_id][data_set].instance_type_data[instance_type] = {
159 instance_type);
160 data[isolate].gcs[gc_id].non_empty_instance_types.add(instance_type);
161 data[isolate].non_empty_instance_types.add(instance_type);
225 for (let [instance_type, value] of Object.entries(
231 data, isolate, gc_id, data_set, instance_type, value);
Dglobal-timeline.js125 .map(instance_type => {
126 return data_set[instance_type].overall;
148 instance_types.forEach(instance_type => {
149 data.push(data_set[instance_type].overall / KB);
/external/v8/src/objects/
Dmap-inl.h100 bool Map::CanHaveFastTransitionableElementsKind(InstanceType instance_type) { in CanHaveFastTransitionableElementsKind() argument
101 return instance_type == JS_ARRAY_TYPE || instance_type == JS_VALUE_TYPE || in CanHaveFastTransitionableElementsKind()
102 instance_type == JS_ARGUMENTS_TYPE; in CanHaveFastTransitionableElementsKind()
106 return CanHaveFastTransitionableElementsKind(instance_type()); in CanHaveFastTransitionableElementsKind()
111 Isolate* isolate, InstanceType instance_type, PropertyConstness* constness, in GeneralizeIfCanHaveTransitionableFastElementsKind() argument
113 if (CanHaveFastTransitionableElementsKind(instance_type)) { in GeneralizeIfCanHaveTransitionableFastElementsKind()
277 InstanceType Map::instance_type() const { in instance_type() function
521 return IsJSObject(instance_type()); in CanTransition()
539 return instance_type() <= LAST_PRIMITIVE_TYPE; in IsPrimitiveMap()
543 return instance_type() >= FIRST_JS_RECEIVER_TYPE; in IsJSReceiverMap()
[all …]
Dstring-inl.h38 : type_(str->map()->instance_type()) { in SMI_ACCESSORS()
43 StringShape::StringShape(Map* map) : type_(map->instance_type()) { in StringShape()
133 uint32_t type = map()->instance_type(); in IsOneByteRepresentation()
138 uint32_t type = map()->instance_type(); in IsTwoByteRepresentation()
143 uint32_t type = map()->instance_type(); in IsOneByteRepresentationUnderneath()
158 uint32_t type = map()->instance_type(); in IsTwoByteRepresentationUnderneath()
173 uint32_t type = map()->instance_type(); in HasOnlyOneByteChars()
379 int32_t type = string->map()->instance_type(); in VisitFlat()
486 int SeqTwoByteString::SeqTwoByteStringSize(InstanceType instance_type) { in SeqTwoByteStringSize() argument
490 int SeqOneByteString::SeqOneByteStringSize(InstanceType instance_type) { in SeqOneByteStringSize() argument
[all …]
/external/v8/src/
Dcontexts-inl.h87 return map()->instance_type() == FUNCTION_CONTEXT_TYPE; in IsFunctionContext()
91 return map()->instance_type() == CATCH_CONTEXT_TYPE; in IsCatchContext()
95 return map()->instance_type() == WITH_CONTEXT_TYPE; in IsWithContext()
99 return map()->instance_type() == DEBUG_EVALUATE_CONTEXT_TYPE; in IsDebugEvaluateContext()
103 return map()->instance_type() == BLOCK_CONTEXT_TYPE; in IsBlockContext()
107 return map()->instance_type() == MODULE_CONTEXT_TYPE; in IsModuleContext()
111 return map()->instance_type() == EVAL_CONTEXT_TYPE; in IsEvalContext()
115 return map()->instance_type() == SCRIPT_CONTEXT_TYPE; in IsScriptContext()
Dobjects-inl.h94 V8_INLINE bool Is##type(InstanceType instance_type) { \
95 return instance_type >= first_instance_type && \
96 instance_type <= last_instance_type; \
101 V8_INLINE bool IsFixedArrayBase(InstanceType instance_type) { in IsFixedArrayBase() argument
102 return IsFixedArray(instance_type) || IsFixedDoubleArray(instance_type) || in IsFixedArrayBase()
103 IsFixedTypedArrayBase(instance_type); in IsFixedArrayBase()
106 V8_INLINE bool IsHeapObject(InstanceType instance_type) { return true; } in IsHeapObject() argument
108 V8_INLINE bool IsInternalizedString(InstanceType instance_type) { in IsInternalizedString() argument
110 return (instance_type & (kIsNotStringMask | kIsNotInternalizedMask)) == in IsInternalizedString()
114 V8_INLINE bool IsJSObject(InstanceType instance_type) { in IsJSObject() argument
[all …]
Dcode-stub-assembler.cc1510 InstanceType instance_type) { in HasInstanceType() argument
1511 return InstanceTypeEqual(LoadInstanceType(object), instance_type); in HasInstanceType()
1515 SloppyTNode<HeapObject> object, InstanceType instance_type) { in DoesntHaveInstanceType() argument
1516 return Word32NotEqual(LoadInstanceType(object), Int32Constant(instance_type)); in DoesntHaveInstanceType()
4784 Node* instance_type = LoadMapInstanceType(map); in TaggedToWord32OrBigIntImpl() local
4786 GotoIf(IsBigIntInstanceType(instance_type), &is_bigint); in TaggedToWord32OrBigIntImpl()
4798 GotoIf(InstanceTypeEqual(instance_type, ODDBALL_TYPE), &is_oddball); in TaggedToWord32OrBigIntImpl()
5161 InstanceType instance_type, in ThrowIfNotInstanceType() argument
5172 Branch(Word32Equal(value_instance_type, Int32Constant(instance_type)), &out, in ThrowIfNotInstanceType()
5251 SloppyTNode<Int32T> instance_type, int type) { in InstanceTypeEqual() argument
[all …]
Dcode-stub-assembler.h1703 InstanceType instance_type,
1722 TNode<BoolT> InstanceTypeEqual(SloppyTNode<Int32T> instance_type, int type);
1728 TNode<BoolT> IsBigIntInstanceType(SloppyTNode<Int32T> instance_type);
1736 TNode<BoolT> IsConsStringInstanceType(SloppyTNode<Int32T> instance_type);
1743 TNode<BoolT> IsExternalStringInstanceType(SloppyTNode<Int32T> instance_type);
1763 TNode<BoolT> IsIndirectStringInstanceType(SloppyTNode<Int32T> instance_type);
1766 TNode<BoolT> IsJSArrayInstanceType(SloppyTNode<Int32T> instance_type);
1771 TNode<BoolT> IsJSFunctionInstanceType(SloppyTNode<Int32T> instance_type);
1772 TNode<BoolT> IsAllocationSiteInstanceType(SloppyTNode<Int32T> instance_type);
1776 TNode<BoolT> IsJSGlobalProxyInstanceType(SloppyTNode<Int32T> instance_type);
[all …]
/external/v8/src/builtins/
Dbuiltins-sharedarraybuffer-gen.cc142 Node* instance_type; in TF_BUILTIN() local
144 ValidateSharedTypedArray(array, context, &instance_type, &backing_store); in TF_BUILTIN()
161 Switch(instance_type, &other, case_values, case_labels, in TF_BUILTIN()
199 Node* instance_type; in TF_BUILTIN() local
201 ValidateSharedTypedArray(array, context, &instance_type, &backing_store); in TF_BUILTIN()
224 Switch(instance_type, &other, case_values, case_labels, in TF_BUILTIN()
253 Node* instance_type; in TF_BUILTIN() local
255 ValidateSharedTypedArray(array, context, &instance_type, &backing_store); in TF_BUILTIN()
285 Switch(instance_type, &other, case_values, case_labels, in TF_BUILTIN()
327 Node* instance_type; in TF_BUILTIN() local
[all …]
Dbuiltins-intl-gen.cc53 Node* const instance_type = to_direct.instance_type(); in TF_BUILTIN() local
55 Word32BinaryNot(IsIndirectStringInstanceType(instance_type))); in TF_BUILTIN()
56 GotoIfNot(IsOneByteStringInstanceType(instance_type), &runtime); in TF_BUILTIN()
Dbuiltins-function-gen.cc32 Node* instance_type = LoadMapInstanceType(receiver_map); in TF_BUILTIN() local
34 Word32Or(InstanceTypeEqual(instance_type, JS_FUNCTION_TYPE), in TF_BUILTIN()
35 InstanceTypeEqual(instance_type, JS_BOUND_FUNCTION_TYPE)), in TF_BUILTIN()
/external/v8/src/compiler/
Dallocation-builder.h53 DCHECK(map->instance_type() >= BLOCK_CONTEXT_TYPE && in AllocateContext()
54 map->instance_type() <= WITH_CONTEXT_TYPE); in AllocateContext()
64 DCHECK(map->instance_type() == FIXED_ARRAY_TYPE ||
65 map->instance_type() == FIXED_DOUBLE_ARRAY_TYPE);
66 int size = (map->instance_type() == FIXED_ARRAY_TYPE)
Djs-heap-broker.h35 HeapObjectType(InstanceType instance_type, Flags flags, in HeapObjectType() argument
37 : instance_type_(instance_type), in HeapObjectType()
40 DCHECK_EQ(instance_type == ODDBALL_TYPE, in HeapObjectType()
45 InstanceType instance_type() const { return instance_type_; } in instance_type() function
309 InstanceType instance_type() const;
Djs-heap-broker.cc299 InstanceType const instance_type; member in v8::internal::compiler::MapData
320 instance_type(object_->instance_type()), in MapData()
338 if (initial_map != nullptr && initial_map->instance_type == JS_ARRAY_TYPE) { in JSFunctionData()
345 DCHECK_EQ(instance_type, JS_ARRAY_TYPE); in SerializeElementsKindGeneralizations()
492 InstanceType instance_type = \
493 static_cast<const HeapObjectData*>(this)->type.instance_type(); \
494 return InstanceTypeChecker::Is##Name(instance_type); \
637 if (map->instance_type() == ODDBALL_TYPE) { in HeapObjectTypeFromMap()
661 return HeapObjectType(map->instance_type(), flags, oddball_type); in HeapObjectTypeFromMap()
1036 HANDLE_ACCESSOR_C(Map, InstanceType, instance_type) in BIMODAL_ACCESSOR()
Daccess-info.cc46 if (map->instance_type() < LAST_PRIMITIVE_TYPE) return true; in CanInlinePropertyAccess()
427 if (map->instance_type() == JS_MODULE_NAMESPACE_TYPE) { in ComputePropertyAccessInfo()
606 InstanceType instance_type = maps.front()->instance_type(); in ConsolidateElementLoad() local
609 if (!CanInlineElementAccess(map) || map->instance_type() != instance_type) { in ConsolidateElementLoad()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/
Dunittest.cc38 IsacBandwidthInfo GetBwInfo(typename T::instance_type* inst) { in GetBwInfo()
47 int EncodePacket(typename T::instance_type* inst, in EncodePacket()
66 std::vector<int16_t> DecodePacket(typename T::instance_type* inst, in DecodePacket()
111 typename T::instance_type* encdec; in TestGetSetBandwidthInfo()
122 typename T::instance_type* enc; in TestGetSetBandwidthInfo()
130 typename T::instance_type* dec; in TestGetSetBandwidthInfo()
Daudio_decoder_isac_t.h45 typename T::instance_type* isac_state_;
/external/v8/src/heap/
Dsetup-heap-internal.cc89 AllocationResult Heap::AllocateMap(InstanceType instance_type, in AllocateMap() argument
94 bool is_js_object = Map::IsJSObject(instance_type); in AllocateMap()
96 !Map::CanHaveFastTransitionableElementsKind(instance_type), in AllocateMap()
109 Map::cast(result), instance_type, instance_size, elements_kind, in AllocateMap()
115 AllocationResult Heap::AllocatePartialMap(InstanceType instance_type, in AllocatePartialMap() argument
124 map->set_instance_type(instance_type); in AllocatePartialMap()
160 DCHECK(map->instance_type() != MAP_TYPE); in Allocate()
207 #define ALLOCATE_PARTIAL_MAP(instance_type, size, field_name) \ in CreateInitialMaps() argument
210 if (!AllocatePartialMap((instance_type), (size)).To(&map)) return false; \ in CreateInitialMaps()
337 #define ALLOCATE_MAP(instance_type, size, field_name) \ in CreateInitialMaps() argument
[all …]
/external/v8/src/ic/
Dic-stats.cc113 instance_type.clear(); in Reset()
139 if (!instance_type.empty()) value->SetString("instanceType", instance_type); in AppendToTracedValue()
Dkeyed-store-generic.cc62 Node* instance_type, Node* intptr_index,
158 TNode<Int32T> instance_type = LoadMapInstanceType(prototype_map); in BranchIfPrototypesHaveNonFastElements() local
159 GotoIf(IsCustomElementsReceiverInstanceType(instance_type), in BranchIfPrototypesHaveNonFastElements()
470 Node* receiver, Node* receiver_map, Node* instance_type, Node* intptr_index, in EmitGenericElementStore() argument
482 GotoIf(InstanceTypeEqual(instance_type, JS_ARRAY_TYPE), &if_array); in EmitGenericElementStore()
511 GotoIfNot(InstanceTypeEqual(instance_type, JS_TYPED_ARRAY_TYPE), &if_grow); in EmitGenericElementStore()
587 Node* instance_type = LoadMapInstanceType(holder_map); in LookupPropertyOnPrototypeChain() local
593 TryLookupProperty(holder, holder_map, instance_type, name, &found_fast, in LookupPropertyOnPrototypeChain()
649 GotoIf(InstanceTypeEqual(instance_type, JS_TYPED_ARRAY_TYPE), bailout); in LookupPropertyOnPrototypeChain()
916 TNode<Int32T> instance_type = LoadMapInstanceType(receiver_map); in KeyedStoreGeneric() local
[all …]
/external/mesa3d/src/compiler/glsl/tests/
Dbuiltin_variable_test.cpp328 const glsl_type *const instance_type = var->type->fields.array; in TEST_F() local
330 for (unsigned i = 0; i < instance_type->length; i++) { in TEST_F()
332 &instance_type->fields.structure[i]; in TEST_F()

1234