Home
last modified time | relevance | path

Searched refs:ToInt32 (Results 1 – 25 of 51) sorted by relevance

123

/external/pdfium/fxjs/
Dfxjs_v8_embeddertest.cpp85 EXPECT_EQ(0, engine()->ToInt32(empty)); in TEST_F()
99 EXPECT_EQ(0, engine()->ToInt32(nullz)); in TEST_F()
113 EXPECT_EQ(0, engine()->ToInt32(undef)); in TEST_F()
127 EXPECT_EQ(1, engine()->ToInt32(boolz)); in TEST_F()
141 EXPECT_EQ(42, engine()->ToInt32(num)); in TEST_F()
155 EXPECT_EQ(123, engine()->ToInt32(str)); in TEST_F()
169 EXPECT_EQ(1111111111, engine()->ToInt32(date)); in TEST_F()
195 EXPECT_EQ(0, engine()->ToInt32(array)); in TEST_F()
222 EXPECT_EQ(0, engine()->ToInt32(object)); in TEST_F()
Dcjs_publicmethods.cpp882 int iDec = abs(pRuntime->ToInt32(params[0])); in AFNumber_Format()
883 int iSepStyle = ValidStyleOrZero(pRuntime->ToInt32(params[1])); in AFNumber_Format()
884 int iNegStyle = ValidStyleOrZero(pRuntime->ToInt32(params[2])); in AFNumber_Format()
1018 int iSepStyle = ValidStyleOrZero(pRuntime->ToInt32(params[1])); in AFNumber_Keystroke()
1077 int iDec = abs(pRuntime->ToInt32(params[0])); in AFPercent_Format()
1078 int iSepStyle = ValidStyleOrZero(pRuntime->ToInt32(params[1])); in AFPercent_Format()
1275 WithinBoundsOrZero(pRuntime->ToInt32(params[0]), FX_ArraySize(cFormats)); in AFDate_Format()
1304 WithinBoundsOrZero(pRuntime->ToInt32(params[0]), FX_ArraySize(cFormats)); in AFDate_Keystroke()
1321 WithinBoundsOrZero(pRuntime->ToInt32(params[0]), FX_ArraySize(cFormats)); in AFTime_Format()
1337 WithinBoundsOrZero(pRuntime->ToInt32(params[0]), FX_ArraySize(cFormats)); in AFTime_Keystroke()
[all …]
Dcjs_app.cpp248 iIcon = pRuntime->ToInt32(newParams[1]); in alert()
252 iType = pRuntime->ToInt32(newParams[2]); in alert()
273 pRuntime->GetFormFillEnv()->JS_appBeep(pRuntime->ToInt32(params[0])); in beep()
307 uint32_t dwInterval = params.size() > 1 ? pRuntime->ToInt32(params[1]) : 1000; in setInterval()
334 uint32_t dwTimeOut = params.size() > 1 ? pRuntime->ToInt32(params[1]) : 1000; in setTimeOut()
Dcjs_field.cpp809 array.push_back(pRuntime->ToInt32(vp)); in set_current_value_indices()
814 pRuntime->ToInt32(pRuntime->GetArrayElement(SelArray, i))); in set_current_value_indices()
981 AddDelay_Int(FP_DISPLAY, pRuntime->ToInt32(vp)); in set_display()
984 pRuntime->ToInt32(vp)); in set_display()
1284 AddDelay_Int(FP_LINEWIDTH, pRuntime->ToInt32(vp)); in set_line_width()
1287 pRuntime->ToInt32(vp)); in set_line_width()
1609 pRuntime->ToInt32(pRuntime->GetArrayElement(rcArray, 0))); in set_rect()
1611 pRuntime->ToInt32(pRuntime->GetArrayElement(rcArray, 1))); in set_rect()
1613 pRuntime->ToInt32(pRuntime->GetArrayElement(rcArray, 2))); in set_rect()
1615 pRuntime->ToInt32(pRuntime->GetArrayElement(rcArray, 3))); in set_rect()
[all …]
Dcjs_util.cpp121 pRuntime->ToInt32(params[iIndex])); in printf()
168 switch (pRuntime->ToInt32(params[0])) { in printd()
383 int arg = pRuntime->ToInt32(params[0]); in byteToChar()
Dcjs_document.cpp195 int iPageNum = pRuntime->ToInt32(vp); in set_page_num()
276 int nIndex = pRuntime->ToInt32(params[0]); in getNthFieldName()
386 nStart = pRuntime->ToInt32(params[1]); in print()
388 nEnd = pRuntime->ToInt32(params[2]); in print()
1001 int nPageNo = pRuntime->ToInt32(params[0]); in getAnnot()
1233 int nPageNo = params.size() > 0 ? pRuntime->ToInt32(params[0]) : 0; in getPageNthWord()
1234 int nWordNo = params.size() > 1 ? pRuntime->ToInt32(params[1]) : 0; in getPageNthWord()
1288 int nPageNo = params.size() > 0 ? pRuntime->ToInt32(params[0]) : 0; in getPageNumWords()
Dcjs_event.cpp194 pEvent->SetSelEnd(pRuntime->ToInt32(vp)); in set_sel_end()
216 pEvent->SetSelStart(pRuntime->ToInt32(vp)); in set_sel_start()
Dcjs_v8.cpp143 int CJS_V8::ToInt32(v8::Local<v8::Value> pValue) { in ToInt32() function in CJS_V8
147 v8::MaybeLocal<v8::Int32> maybe_int32 = pValue->ToInt32(context); in ToInt32()
Dcjs_v8.h45 int ToInt32(v8::Local<v8::Value> pValue);
/external/pdfium/fxjs/xfa/
Dcjx_instancemanager.cpp141 int32_t iFrom = runtime->ToInt32(params[0]); in moveInstance()
142 int32_t iTo = runtime->ToInt32(params[1]); in moveInstance()
168 int32_t iIndex = runtime->ToInt32(params[0]); in removeInstance()
208 SetInstances(runtime->ToInt32(params[0])); in setInstances()
259 int32_t iIndex = runtime->ToInt32(params[0]); in insertInstance()
Dcjx_field.cpp89 bool bValue = pWidgetAcc->DeleteItem(runtime->ToInt32(params[0]), true, true); in deleteItem()
99 int32_t iIndex = runtime->ToInt32(params[0]); in getSaveItem()
139 int32_t state = pWidgetAcc->GetItemState(runtime->ToInt32(params[0])); in getItemState()
163 int32_t iIndex = runtime->ToInt32(params[0]); in getDisplayItem()
188 int32_t iIndex = runtime->ToInt32(params[0]); in setItemState()
189 if (runtime->ToInt32(params[1]) != 0) { in setItemState()
Dcjx_hostpseudomodel.cpp342 mark = runtime->ToInt32(params[3]) != 0; in response()
420 dwType = runtime->ToInt32(params[0]); in beep()
510 messageType = runtime->ToInt32(params[2]); in messageBox()
517 buttonType = runtime->ToInt32(params[3]); in messageBox()
560 int32_t nStartPage = runtime->ToInt32(params[1]); in print()
561 int32_t nEndPage = runtime->ToInt32(params[2]); in print()
Dcjx_list.cpp79 int32_t index = runtime->ToInt32(params[0]); in item()
Dcjx_form.cpp89 if (!pNotify || runtime->ToInt32(params[0]) != 0) in recalculate()
Dcjx_layoutpseudomodel.cpp88 int32_t iIndex = params.size() >= 3 ? runtime->ToInt32(params[2]) : 0; in HWXY()
354 iIndex = runtime->ToInt32(params[0]); in pageContent()
/external/zlib/src/contrib/dotzlib/DotZLib/
DChecksumImpl.cs140 … _current = crc32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count); in Update()
191 … _current = adler32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count); in Update()
DGZipStream.cs166 result = gzread(_gzFile, h.AddrOfPinnedObject().ToInt32() + offset, count); in Read()
210 int result = gzwrite(_gzFile, h.AddrOfPinnedObject().ToInt32() + offset, count); in Write()
/external/v8/src/runtime/
Druntime-utils.h75 CHECK(args[index]->ToInt32(&__tmp_##name)); \
84 CHECK(args[index]->ToInt32(&name));
/external/flatbuffers/tests/FlatBuffers.Test/
DFuzzTestData.cs31 public static readonly int Int32Value = BitConverter.ToInt32(_overflowInt32, 0);
/external/protobuf/src/google/protobuf/util/internal/
Dobject_writer.cc45 ow->RenderInt32(name, data.ToInt32().ValueOrDie()); in RenderDataPieceTo()
Ddatapiece.cc115 StatusOr<int32> DataPiece::ToInt32() const { in ToInt32() function in google::protobuf::util::converter::DataPiece
278 StatusOr<int32> value = ToInt32(); in ToEnum()
Ddatapiece.h117 util::StatusOr<int32> ToInt32() const;
Dproto_writer.cc115 StatusOr<int32> i32 = data.ToInt32(); in WriteInt32()
125 StatusOr<int32> i32 = data.ToInt32(); in WriteSFixed32()
135 StatusOr<int32> i32 = data.ToInt32(); in WriteSInt32()
/external/v8/src/compiler/
Dcode-generator.cc1158 Smi* smi = reinterpret_cast<Smi*>(constant.ToInt32()); in AddTranslationForOperand()
1162 if (constant.ToInt32() == 0) { in AddTranslationForOperand()
1166 DCHECK_EQ(1, constant.ToInt32()); in AddTranslationForOperand()
1175 constant.ToInt32() == FrameStateDescriptor::kImpossibleValue); in AddTranslationForOperand()
1178 static_cast<uint32_t>(constant.ToInt32())); in AddTranslationForOperand()
1180 literal = DeoptimizationLiteral(constant.ToInt32()); in AddTranslationForOperand()
/external/v8/src/builtins/
Dbuiltins-sharedarraybuffer.cc139 Object::ToInt32(isolate, value)); in BUILTIN()

123