Lines Matching refs:len_val
37547 JSValue len_val; in js_get_length32() local
37548 len_val = JS_GetProperty(ctx, obj, JS_ATOM_length); in js_get_length32()
37549 if (JS_IsException(len_val)) { in js_get_length32()
37553 return JS_ToUint32Free(ctx, pres, len_val); in js_get_length32()
37558 JSValue len_val; in js_get_length64() local
37559 len_val = JS_GetProperty(ctx, obj, JS_ATOM_length); in js_get_length64()
37560 if (JS_IsException(len_val)) { in js_get_length64()
37564 return JS_ToLengthFree(ctx, pres, len_val); in js_get_length64()
37658 JSValue func_obj, name1, len_val; in js_function_bind() local
37688 len_val = JS_NewInt32(ctx, 0); in js_function_bind()
37690 len_val = JS_GetProperty(ctx, this_val, JS_ATOM_length); in js_function_bind()
37691 if (JS_IsException(len_val)) in js_function_bind()
37693 if (JS_VALUE_GET_TAG(len_val) == JS_TAG_INT) { in js_function_bind()
37695 int len1 = JS_VALUE_GET_INT(len_val); in js_function_bind()
37700 len_val = JS_NewInt32(ctx, len1); in js_function_bind()
37701 } else if (JS_VALUE_GET_NORM_TAG(len_val) == JS_TAG_FLOAT64) { in js_function_bind()
37702 double d = JS_VALUE_GET_FLOAT64(len_val); in js_function_bind()
37712 len_val = JS_NewFloat64(ctx, d); in js_function_bind()
37714 JS_FreeValue(ctx, len_val); in js_function_bind()
37715 len_val = JS_NewInt32(ctx, 0); in js_function_bind()
37719 len_val, JS_PROP_CONFIGURABLE); in js_function_bind()
38180 JSValueConst len_val) in JS_ArraySpeciesCreate() argument
38190 return js_array_constructor(ctx, JS_UNDEFINED, 1, &len_val); in JS_ArraySpeciesCreate()
38217 return js_array_constructor(ctx, JS_UNDEFINED, 1, &len_val); in JS_ArraySpeciesCreate()
38219 ret = JS_CallConstructor(ctx, ctor, 1, &len_val); in JS_ArraySpeciesCreate()
39027 JSValue obj, arr, val, len_val; in js_array_slice() local
39068 len_val = JS_NewInt64(ctx, count); in js_array_slice()
39069 arr = JS_ArraySpeciesCreate(ctx, obj, len_val); in js_array_slice()
39070 JS_FreeValue(ctx, len_val); in js_array_slice()