Searched refs:nf (Results 1 - 4 of 4) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_number_format.cpp | 106 // 1. Let nf be this value. in Format() 108 // 2. If Type(nf) is not Object, throw a TypeError exception. in Format() 110 THROW_TYPE_ERROR_AND_RETURN(thread, "nf is not object", JSTaggedValue::Exception()); in Format() 112 // 3. Let nf be ? UnwrapNumberFormat(nf). in Format() 113 JSHandle<JSTaggedValue> nf = JSNumberFormat::UnwrapNumberFormat(thread, thisValue); in Format() local 115 if (nf->IsUndefined()) { in Format() 116 THROW_TYPE_ERROR_AND_RETURN(thread, "nf is not object", JSTaggedValue::Exception()); in Format() 119 JSHandle<JSNumberFormat> typpedNf = JSHandle<JSNumberFormat>::Cast(nf); in Format() 121 // 4. If nf in Format() 142 JSHandle<JSTaggedValue> nf = GetThis(argv); FormatToParts() local 169 JSHandle<JSTaggedValue> nf = JSNumberFormat::UnwrapNumberFormat(thread, thisValue); ResolvedOptions() local [all...] |
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_number_format.cpp | 948 // 12.1.12 UnwrapNumberFormat( nf ) 949 JSHandle<JSTaggedValue> JSNumberFormat::UnwrapNumberFormat(JSThread *thread, const JSHandle<JSTaggedValue> &nf) in UnwrapNumberFormat() argument 951 // 1. Assert: Type(nf) is Object. in UnwrapNumberFormat() 952 ASSERT(nf->IsJSObject()); in UnwrapNumberFormat() 954 // 2. If nf does not have an [[InitializedNumberFormat]] internal slot and ? in UnwrapNumberFormat() 955 // InstanceofOperator(nf, %NumberFormat%) is true, then Let nf be ? Get(nf, %Intl%.[[FallbackSymbol]]). in UnwrapNumberFormat() 957 bool hasInstance = JSFunction::OrdinaryHasInstance(thread, env->GetNumberFormatFunction(), nf); in UnwrapNumberFormat() 960 bool isJSNumberFormat = nf in UnwrapNumberFormat() [all...] |
H A D | js_number_format.h | 154 // 12.1.12 UnwrapNumberFormat( nf ) 155 static JSHandle<JSTaggedValue> UnwrapNumberFormat(JSThread *thread, const JSHandle<JSTaggedValue> &nf);
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
H A D | cocos_worker_test.js | 27217 class nf {} 27218 nf.MAX_MORPH_TARGET_COUNT = 60; 27219 nf.OFFSET_OF_WEIGHTS = 0; 27220 nf.OFFSET_OF_DISPLACEMENT_TEXTURE_WIDTH = 4 * nf.MAX_MORPH_TARGET_COUNT; 27221 nf.OFFSET_OF_DISPLACEMENT_TEXTURE_HEIGHT = nf.OFFSET_OF_DISPLACEMENT_TEXTURE_WIDTH + 4; 27222 nf.OFFSET_OF_VERTICES_COUNT = nf.OFFSET_OF_DISPLACEMENT_TEXTURE_HEIGHT + 4; 27223 nf [all...] |
Completed in 30 milliseconds