Home
last modified time | relevance | path

Searched refs:NewNumber (Results 1 – 25 of 50) sorted by relevance

12

/external/pdfium/fxjs/xfa/
Dcjx_layoutpseudomodel.cpp104 return CJS_Return(runtime->NewNumber(0.0)); in HWXY()
125 return CJS_Return(runtime->NewNumber(FXSYS_round(fValue * 1000) / 1000.0f)); in HWXY()
173 return CJS_Return(runtime->NewNumber(iPageCount)); in NumberedPageCount()
198 return CJS_Return(runtime->NewNumber(-1)); in pageSpan()
203 return CJS_Return(runtime->NewNumber(iPageSpan)); in pageSpan()
391 return CJS_Return(runtime->NewNumber(0)); in absPageCountInBatch()
397 return CJS_Return(runtime->NewNumber(0)); in sheetCountInBatch()
426 return CJS_Return(runtime->NewNumber(0)); in absPageInBatch()
434 return CJS_Return(runtime->NewNumber(0)); in sheetInBatch()
470 return CJS_Return(runtime->NewNumber(0)); in PageInternals()
[all …]
Dcjx_signaturepseudomodel.cpp34 return CJS_Return(runtime->NewNumber(0)); in verifySignature()
Dcjx_hostpseudomodel.cpp352 return CJS_Return(runtime->NewNumber(0)); in documentInBatch()
524 return CJS_Return(runtime->NewNumber(iValue)); in messageBox()
530 return CJS_Return(runtime->NewNumber(0)); in documentCountInBatch()
/external/pdfium/fxjs/
Dcjs_color.cpp57 pRuntime->PutArrayElement(array, 1, pRuntime->NewNumber(color.fColor1)); in ConvertPWLColorToArray()
62 pRuntime->PutArrayElement(array, 1, pRuntime->NewNumber(color.fColor1)); in ConvertPWLColorToArray()
63 pRuntime->PutArrayElement(array, 2, pRuntime->NewNumber(color.fColor2)); in ConvertPWLColorToArray()
64 pRuntime->PutArrayElement(array, 3, pRuntime->NewNumber(color.fColor3)); in ConvertPWLColorToArray()
69 pRuntime->PutArrayElement(array, 1, pRuntime->NewNumber(color.fColor1)); in ConvertPWLColorToArray()
70 pRuntime->PutArrayElement(array, 2, pRuntime->NewNumber(color.fColor2)); in ConvertPWLColorToArray()
71 pRuntime->PutArrayElement(array, 3, pRuntime->NewNumber(color.fColor3)); in ConvertPWLColorToArray()
72 pRuntime->PutArrayElement(array, 4, pRuntime->NewNumber(color.fColor4)); in ConvertPWLColorToArray()
Dcjs_v8.h37 v8::Local<v8::Number> NewNumber(int number);
38 v8::Local<v8::Number> NewNumber(double number);
39 v8::Local<v8::Number> NewNumber(float number);
Dcjs_field.cpp534 return CJS_Return(pRuntime->NewNumber(static_cast<int32_t>(fLeft))); in get_button_align_x()
564 return CJS_Return(pRuntime->NewNumber(static_cast<int32_t>(fBottom))); in get_button_align_y()
613 return CJS_Return(pRuntime->NewNumber(pFormControl->GetTextPosition())); in get_button_position()
667 pRuntime->NewNumber(static_cast<int32_t>(CPDF_IconFit::Always))); in get_button_scale_when()
670 pRuntime->NewNumber(static_cast<int32_t>(CPDF_IconFit::Bigger))); in get_button_scale_when()
673 pRuntime->NewNumber(static_cast<int32_t>(CPDF_IconFit::Never))); in get_button_scale_when()
676 pRuntime->NewNumber(static_cast<int32_t>(CPDF_IconFit::Smaller))); in get_button_scale_when()
702 return CJS_Return(pRuntime->NewNumber(static_cast<int32_t>( in get_calc_order_index()
723 pRuntime->NewNumber(static_cast<int32_t>(pFormField->GetMaxLen()))); in get_char_limit()
788 return CJS_Return(pRuntime->NewNumber(-1)); in get_current_value_indices()
[all …]
Dfxjs_v8_embeddertest.cpp134 TEST_F(FXJSV8EmbedderTest, NewNumber) { in TEST_F() argument
139 auto num = engine()->NewNumber(42.1); in TEST_F()
187 engine()->PutArrayElement(array, 3, engine()->NewNumber(12)); in TEST_F()
215 engine()->PutObjectProperty(object, L"clams", engine()->NewNumber(12)); in TEST_F()
Dcjs_v8.cpp99 v8::Local<v8::Number> CJS_V8::NewNumber(int number) { in NewNumber() function in CJS_V8
103 v8::Local<v8::Number> CJS_V8::NewNumber(double number) { in NewNumber() function in CJS_V8
107 v8::Local<v8::Number> CJS_V8::NewNumber(float number) { in NewNumber() function in CJS_V8
Dcjs_event.cpp84 return CJS_Return(pRuntime->NewNumber(pEvent->CommitKey())); in get_commit_key()
184 return CJS_Return(pRuntime->NewNumber(pEvent->SelEnd())); in get_sel_end()
205 return CJS_Return(pRuntime->NewNumber(pEvent->SelStart())); in get_sel_start()
Dcjs_app.cpp124 return CJS_Return(pRuntime->NewNumber(JS_NUM_FORMSVERSION)); in get_forms_version()
154 return CJS_Return(pRuntime->NewNumber(JS_NUM_VIEWERVERSION_XFA)); in get_viewer_version()
156 return CJS_Return(pRuntime->NewNumber(JS_NUM_VIEWERVERSION)); in get_viewer_version()
229 return CJS_Return(pRuntime->NewNumber(0)); in alert()
263 v8::Local<v8::Value> ret = pRuntime->NewNumber( in alert()
Dcjs_publicmethods.cpp942 pRuntime->PutArrayElement(arColor, 1, pRuntime->NewNumber(1)); in AFNumber_Format()
943 pRuntime->PutArrayElement(arColor, 2, pRuntime->NewNumber(0)); in AFNumber_Format()
944 pRuntime->PutArrayElement(arColor, 3, pRuntime->NewNumber(0)); in AFNumber_Format()
953 pRuntime->PutArrayElement(arColor, 1, pRuntime->NewNumber(0)); in AFNumber_Format()
954 pRuntime->PutArrayElement(arColor, 2, pRuntime->NewNumber(0)); in AFNumber_Format()
955 pRuntime->PutArrayElement(arColor, 3, pRuntime->NewNumber(0)); in AFNumber_Format()
1542 return CJS_Return(pRuntime->NewNumber(dDate)); in AFParseDateEx()
1551 return CJS_Return(pRuntime->NewNumber(static_cast<double>(AF_Simple( in AFSimple()
1568 return CJS_Return(pRuntime->NewNumber(0)); in AFMakeNumber()
1657 pRuntime->ToWideString(pRuntime->NewNumber(dValue)); in AFSimple_Calculate()
Dcjs_object.cpp18 ? pEngine->NewNumber(consts[i].number).As<v8::Value>() in DefineConsts()
Dcjs_global.cpp294 return CJS_Return(pRuntime->NewNumber(pData->dData)); in GetProperty()
375 pRuntime->NewNumber(pData->data.dData)); in UpdateGlobalPersistentVariables()
512 pRuntime->NewNumber(pObjData->dData)); in PutObjectProperty()
Dcjs_document.cpp147 return CJS_Return(pRuntime->NewNumber( in get_num_fields()
186 return CJS_Return(pRuntime->NewNumber(pPageView->GetPageIndex())); in get_page_num()
702 pRuntime->NewNumber(pValueObj->GetNumber())); in get_info()
842 return CJS_Return(pRuntime->NewNumber(m_pFormFillEnv->GetPageCount())); in get_num_pages()
861 return CJS_Return(pRuntime->NewNumber(0)); in get_filesize()
1306 return CJS_Return(pRuntime->NewNumber(nWords)); in getPageNumWords()
/external/swiftshader/third_party/subzero/src/
DIceCfgNode.h39 void resetIndex(SizeT NewNumber) { Number = NewNumber; } in resetIndex() argument
/external/v8/src/runtime/
Druntime-numbers.cc69 return *isolate->factory()->NewNumber(result); in RUNTIME_FUNCTION()
83 return *isolate->factory()->NewNumber(value); in RUNTIME_FUNCTION()
Druntime-date.cc36 return *isolate->factory()->NewNumber(JSDate::CurrentTimeValue(isolate)); in RUNTIME_FUNCTION()
Druntime-atomics.cc181 return *isolate->factory()->NewNumber(t); in ToObject()
186 return *isolate->factory()->NewNumber(t); in ToObject()
/external/v8/src/builtins/
Dbuiltins-dataview.cc70 isolate->factory()->NewNumber(buffer_byte_length - offset->Number()); in BUILTIN()
199 return isolate->factory()->NewNumber(v.data); in GetViewValue()
Dbuiltins-math.cc339 return *isolate->factory()->NewNumber(V8_INFINITY); in BUILTIN()
363 return *isolate->factory()->NewNumber(std::sqrt(sum) * max); in BUILTIN()
Dbuiltins-date.cc290 return *isolate->factory()->NewNumber(JSDate::CurrentTimeValue(isolate)); in BUILTIN()
300 return *isolate->factory()->NewNumber(ParseDateTimeString(string)); in BUILTIN()
358 return *isolate->factory()->NewNumber(TimeClip(MakeDate(day, time))); in BUILTIN()
/external/v8/src/ast/
Dast-value-factory.cc225 set_value(isolate->factory()->NewNumber(number_, TENURED)); in Internalize()
330 const AstValue* AstValueFactory::NewNumber(double number, bool with_dot) { in NewNumber() function in v8::internal::AstValueFactory
Dast-value-factory.h451 V8_EXPORT_PRIVATE const AstValue* NewNumber(double number,
/external/v8/src/
Dfactory.h419 Handle<Object> NewNumber(double value,
434 return NewNumber(static_cast<double>(value), pretenure);
444 return NewNumber(static_cast<double>(value), pretenure);
Djson-parser.cc53 Handle<Object> index = isolate_->factory()->NewNumber(i); in InternalizeJsonProperty()
580 return factory()->NewNumber(number, pretenure_); in ParseJsonNumber()

12