Home
last modified time | relevance | path

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

/external/pdfium/fxjs/xfa/
Dcjx_layoutpseudomodel.cpp111 return CJS_Result::Success(runtime->NewNumber(0.0)); in HWXY()
136 runtime->NewNumber(FXSYS_roundf(fValue * 1000) / 1000.0f)); in HWXY()
181 return CJS_Result::Success(runtime->NewNumber(iPageCount)); in NumberedPageCount()
205 return CJS_Result::Success(runtime->NewNumber(-1)); in pageSpan()
210 return CJS_Result::Success(runtime->NewNumber(iPageSpan)); in pageSpan()
392 return CJS_Result::Success(runtime->NewNumber(0)); in absPageCountInBatch()
398 return CJS_Result::Success(runtime->NewNumber(0)); in sheetCountInBatch()
429 return CJS_Result::Success(runtime->NewNumber(0)); in absPageInBatch()
438 return CJS_Result::Success(runtime->NewNumber(0)); in sheetInBatch()
475 return CJS_Result::Success(runtime->NewNumber(0)); in PageInternals()
[all …]
Dcjx_signaturepseudomodel.cpp40 return CJS_Result::Success(runtime->NewNumber(0)); in verifySignature()
Dcjx_hostpseudomodel.cpp340 return CJS_Result::Success(runtime->NewNumber(0)); in documentInBatch()
506 return CJS_Result::Success(runtime->NewNumber(iValue)); in messageBox()
512 return CJS_Result::Success(runtime->NewNumber(0)); in documentCountInBatch()
/external/pdfium/fxjs/
Dcjs_color.cpp64 pRuntime->PutArrayElement(array, 1, pRuntime->NewNumber(color.fColor1)); 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()
76 pRuntime->PutArrayElement(array, 1, pRuntime->NewNumber(color.fColor1)); in ConvertPWLColorToArray()
77 pRuntime->PutArrayElement(array, 2, pRuntime->NewNumber(color.fColor2)); in ConvertPWLColorToArray()
78 pRuntime->PutArrayElement(array, 3, pRuntime->NewNumber(color.fColor3)); in ConvertPWLColorToArray()
79 pRuntime->PutArrayElement(array, 4, pRuntime->NewNumber(color.fColor4)); in ConvertPWLColorToArray()
Dcfx_v8.h27 v8::Local<v8::Number> NewNumber(int number);
28 v8::Local<v8::Number> NewNumber(double number);
29 v8::Local<v8::Number> NewNumber(float number);
Dcfx_v8_unittest.cpp51 v8::Local<v8::Value> marker = cfx_v8()->NewNumber(2); in TEST_F()
118 TEST_F(FXV8UnitTest, NewNumber) { in TEST_F() argument
123 auto num = cfx_v8()->NewNumber(42.1); in TEST_F()
183 EXPECT_TRUE(cfx_v8()->PutArrayElement(array, 3, cfx_v8()->NewNumber(12))); in TEST_F()
212 cfx_v8()->PutObjectProperty(object, "clams", cfx_v8()->NewNumber(12))); in TEST_F()
Dcjs_field.cpp751 return CJS_Result::Success(pRuntime->NewNumber(static_cast<int32_t>(pos.x))); in get_button_align_x()
778 return CJS_Result::Success(pRuntime->NewNumber(static_cast<int32_t>(pos.y))); in get_button_align_y()
830 pRuntime->NewNumber(pFormControl->GetTextPosition())); in get_button_position()
886 pRuntime->NewNumber(static_cast<int32_t>(CPDF_IconFit::Always))); in get_button_scale_when()
889 pRuntime->NewNumber(static_cast<int32_t>(CPDF_IconFit::Bigger))); in get_button_scale_when()
892 pRuntime->NewNumber(static_cast<int32_t>(CPDF_IconFit::Never))); in get_button_scale_when()
895 pRuntime->NewNumber(static_cast<int32_t>(CPDF_IconFit::Smaller))); in get_button_scale_when()
920 return CJS_Result::Success(pRuntime->NewNumber( in get_calc_order_index()
942 pRuntime->NewNumber(static_cast<int32_t>(pFormField->GetMaxLen()))); in get_char_limit()
1007 return CJS_Result::Success(pRuntime->NewNumber(-1)); in get_current_value_indices()
[all …]
Dcfx_v8.cpp95 v8::Local<v8::Number> CFX_V8::NewNumber(int number) { in NewNumber() function in CFX_V8
99 v8::Local<v8::Number> CFX_V8::NewNumber(double number) { in NewNumber() function in CFX_V8
103 v8::Local<v8::Number> CFX_V8::NewNumber(float number) { in NewNumber() function in CFX_V8
Dcjs_publicmethods.cpp659 pRuntime->PutArrayElement(arColor, 1, pRuntime->NewNumber(1)); in AFNumber_Format()
660 pRuntime->PutArrayElement(arColor, 2, pRuntime->NewNumber(0)); in AFNumber_Format()
661 pRuntime->PutArrayElement(arColor, 3, pRuntime->NewNumber(0)); in AFNumber_Format()
670 pRuntime->PutArrayElement(arColor, 1, pRuntime->NewNumber(0)); in AFNumber_Format()
671 pRuntime->PutArrayElement(arColor, 2, pRuntime->NewNumber(0)); in AFNumber_Format()
672 pRuntime->PutArrayElement(arColor, 3, pRuntime->NewNumber(0)); in AFNumber_Format()
1236 return CJS_Result::Success(pRuntime->NewNumber(dDate)); in AFParseDateEx()
1259 return CJS_Result::Success(pRuntime->NewNumber(dValue)); in AFSimple()
1274 return CJS_Result::Success(pRuntime->NewNumber(0)); in AFMakeNumber()
1368 pRuntime->ToWideString(pRuntime->NewNumber(dValue)); in AFSimple_Calculate()
Dcjs_object.cpp19 ? pEngine->NewNumber(item.number).As<v8::Value>() in DefineConsts()
Dcjs_event.cpp91 return CJS_Result::Success(pRuntime->NewNumber(pEvent->CommitKey())); in get_commit_key()
191 return CJS_Result::Success(pRuntime->NewNumber(pEvent->SelEnd())); in get_sel_end()
210 return CJS_Result::Success(pRuntime->NewNumber(pEvent->SelStart())); in get_sel_start()
Dcjs_app.cpp120 return CJS_Result::Success(pRuntime->NewNumber(JS_NUM_FORMSVERSION)); in get_forms_version()
152 return CJS_Result::Success(pRuntime->NewNumber(version)); in get_viewer_version()
221 return CJS_Result::Success(pRuntime->NewNumber(0)); in alert()
254 v8::Local<v8::Value> ret = pRuntime->NewNumber( in alert()
Dcjs_global.cpp253 return CJS_Result::Success(pRuntime->NewNumber(pData->dData)); in GetProperty()
332 pRuntime->NewNumber(pData->data.dData)); in UpdateGlobalPersistentVariables()
473 pRuntime->NewNumber(pObjData->dData)); in PutObjectProperty()
Dcjs_document.cpp140 return CJS_Result::Success(pRuntime->NewNumber( in get_num_fields()
184 return CJS_Result::Success(pRuntime->NewNumber(pPageView->GetPageIndex())); in get_page_num()
699 pRuntime->NewNumber(pValueObj->GetNumber())); in get_info()
842 pRuntime->NewNumber(m_pFormFillEnv->GetPageCount())); in get_num_pages()
861 return CJS_Result::Success(pRuntime->NewNumber(0)); in get_filesize()
1301 return CJS_Result::Success(pRuntime->NewNumber(nWords)); in getPageNumWords()
/external/swiftshader/third_party/subzero/src/
DIceCfgNode.h39 void resetIndex(SizeT NewNumber) { Number = NewNumber; } in resetIndex() argument