/external/pdfium/fxjs/xfa/ |
D | cjx_layoutpseudomodel.cpp | 111 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 …]
|
D | cjx_signaturepseudomodel.cpp | 40 return CJS_Result::Success(runtime->NewNumber(0)); in verifySignature()
|
D | cjx_hostpseudomodel.cpp | 340 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/ |
D | cjs_color.cpp | 64 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()
|
D | cfx_v8.h | 27 v8::Local<v8::Number> NewNumber(int number); 28 v8::Local<v8::Number> NewNumber(double number); 29 v8::Local<v8::Number> NewNumber(float number);
|
D | cfx_v8_unittest.cpp | 51 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()
|
D | cjs_field.cpp | 751 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 …]
|
D | cfx_v8.cpp | 95 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
|
D | cjs_publicmethods.cpp | 659 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()
|
D | cjs_object.cpp | 19 ? pEngine->NewNumber(item.number).As<v8::Value>() in DefineConsts()
|
D | cjs_event.cpp | 91 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()
|
D | cjs_app.cpp | 120 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()
|
D | cjs_global.cpp | 253 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()
|
D | cjs_document.cpp | 140 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/ |
D | IceCfgNode.h | 39 void resetIndex(SizeT NewNumber) { Number = NewNumber; } in resetIndex() argument
|