Home
last modified time | relevance | path

Searched refs:gap (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dtype_literal_extractor.h83 const uint32_t gap = 2; in EnumerateTypesWithIntKey() local
85 ASSERT(numIndex + length * gap < array_.size()); in EnumerateTypesWithIntKey()
87 uint32_t keyIndex = numIndex + i * gap + KEY_OFFSET; in EnumerateTypesWithIntKey()
88 uint32_t valueIndex = numIndex + i * gap + VALUE_OFFSET; in EnumerateTypesWithIntKey()
96 void EnumerateProperties(const uint32_t numIndex, const uint32_t gap, const Callback &callback) in EnumerateProperties() argument
99 ASSERT(gap >= VALUE_OFFSET); in EnumerateProperties()
101 ASSERT(numIndex + length * gap < array_.size()); in EnumerateProperties()
103 uint32_t keyIndex = numIndex + i * gap + KEY_OFFSET; in EnumerateProperties()
104 uint32_t valueIndex = numIndex + i * gap + VALUE_OFFSET; in EnumerateProperties()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_json.cpp90 JSTaggedValue gap = JSTaggedValue::Undefined(); in Stringify() local
96 gap = GetCallArg(argv, BuiltinsBase::ArgsPosition::THIRD).GetTaggedValue(); in Stringify()
101 JSHandle<JSTaggedValue> handleGap(thread, gap); in Stringify()
/arkcompiler/ets_runtime/ecmascript/base/
Djson_stringifier.h37 const JSHandle<JSTaggedValue> &gap);
62 bool CalculateNumberGap(JSTaggedValue gap);
Djson_stringifier.cpp145 const JSHandle<JSTaggedValue> &gap) in Stringify() argument
206 if (gap->IsJSPrimitiveRef()) { in Stringify()
207 JSTaggedValue primitive = JSPrimitiveRef::Cast(gap->GetTaggedObject())->GetValue(); in Stringify()
211 JSTaggedNumber num = JSTaggedValue::ToNumber(thread_, gap); in Stringify()
218 auto str = JSTaggedValue::ToString(thread_, gap); in Stringify()
223 } else if (gap->IsNumber()) { in Stringify()
225 CalculateNumberGap(gap.GetTaggedValue()); in Stringify()
226 } else if (gap->IsString()) { in Stringify()
228 CalculateStringGap(JSHandle<EcmaString>::Cast(gap)); in Stringify()
258 bool JsonStringifier::CalculateNumberGap(JSTaggedValue gap) in CalculateNumberGap() argument
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DcontrolFlowCaching.ts131 taTitleGap = (o.titleGap == 0) ? 0 : o.titleGap || (ta.title && ta.title.gap) || 15,
133 AssertType((o.titleGap == 0) ? 0 : o.titleGap || (ta.title && ta.title.gap) || 15, "any");
139 AssertType(o.titleGap || (ta.title && ta.title.gap) || 15, "any");
140 AssertType(o.titleGap || (ta.title && ta.title.gap), "any");
142 AssertType((ta.title && ta.title.gap), "any");
143 AssertType(ta.title && ta.title.gap, "any");
145 AssertType(ta.title.gap, "any");
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/
DX2DFast.js78 let gap = (Math.PI * 2) / 32;
87 i += gap;
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_type_parser.cpp431 const uint32_t gap) in FillPropTypes() argument
435 typeLiteralExtractor->EnumerateProperties(numOfFieldIndex, gap, in FillPropTypes()
912 uint32_t gap = 1) in CalculateNextNumIndex() argument
914 … return startIndex + INDEX_OCCUPIED_OFFSET + (typeLiteralExtractor->GetIntValue(startIndex) * gap); in CalculateNextNumIndex()
Dts_type_parser.h188 const uint32_t gap);
/arkcompiler/toolchain/build/config/compiler/
DBUILD.gn286 # by shrinking the alignment gap between segments. This also causes all
/arkcompiler/runtime_core/disassembler/tests/
Dinstructions_test.cpp.in326 size_t code_end = body_g.find("\n\n"); // First gap in function body is code section end