/external/pdfium/fxjs/xfa/ |
D | cjx_layoutpseudomodel.cpp | 104 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 …]
|
D | cjx_signaturepseudomodel.cpp | 34 return CJS_Return(runtime->NewNumber(0)); in verifySignature()
|
D | cjx_hostpseudomodel.cpp | 352 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/ |
D | cjs_color.cpp | 57 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()
|
D | cjs_v8.h | 37 v8::Local<v8::Number> NewNumber(int number); 38 v8::Local<v8::Number> NewNumber(double number); 39 v8::Local<v8::Number> NewNumber(float number);
|
D | cjs_field.cpp | 534 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 …]
|
D | fxjs_v8_embeddertest.cpp | 134 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()
|
D | cjs_v8.cpp | 99 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
|
D | cjs_event.cpp | 84 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()
|
D | cjs_app.cpp | 124 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()
|
D | cjs_publicmethods.cpp | 942 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()
|
D | cjs_object.cpp | 18 ? pEngine->NewNumber(consts[i].number).As<v8::Value>() in DefineConsts()
|
D | cjs_global.cpp | 294 return CJS_Return(pRuntime->NewNumber(pData->dData)); in GetProperty() 375 pRuntime->NewNumber(pData->data.dData)); in UpdateGlobalPersistentVariables() 512 pRuntime->NewNumber(pObjData->dData)); in PutObjectProperty()
|
D | cjs_document.cpp | 147 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/ |
D | IceCfgNode.h | 39 void resetIndex(SizeT NewNumber) { Number = NewNumber; } in resetIndex() argument
|
/external/v8/src/runtime/ |
D | runtime-numbers.cc | 69 return *isolate->factory()->NewNumber(result); in RUNTIME_FUNCTION() 83 return *isolate->factory()->NewNumber(value); in RUNTIME_FUNCTION()
|
D | runtime-date.cc | 36 return *isolate->factory()->NewNumber(JSDate::CurrentTimeValue(isolate)); in RUNTIME_FUNCTION()
|
D | runtime-atomics.cc | 181 return *isolate->factory()->NewNumber(t); in ToObject() 186 return *isolate->factory()->NewNumber(t); in ToObject()
|
/external/v8/src/builtins/ |
D | builtins-dataview.cc | 70 isolate->factory()->NewNumber(buffer_byte_length - offset->Number()); in BUILTIN() 199 return isolate->factory()->NewNumber(v.data); in GetViewValue()
|
D | builtins-math.cc | 339 return *isolate->factory()->NewNumber(V8_INFINITY); in BUILTIN() 363 return *isolate->factory()->NewNumber(std::sqrt(sum) * max); in BUILTIN()
|
D | builtins-date.cc | 290 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/ |
D | ast-value-factory.cc | 225 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
|
D | ast-value-factory.h | 451 V8_EXPORT_PRIVATE const AstValue* NewNumber(double number,
|
/external/v8/src/ |
D | factory.h | 419 Handle<Object> NewNumber(double value, 434 return NewNumber(static_cast<double>(value), pretenure); 444 return NewNumber(static_cast<double>(value), pretenure);
|
D | json-parser.cc | 53 Handle<Object> index = isolate_->factory()->NewNumber(i); in InternalizeJsonProperty() 580 return factory()->NewNumber(number, pretenure_); in ParseJsonNumber()
|