Home
last modified time | relevance | path

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

12

/external/pdfium/fxjs/
Dcfx_v8_unittest.cpp47 EXPECT_EQ(0, cfx_v8()->ToInt32(empty)); in TEST_F()
75 EXPECT_EQ(0, cfx_v8()->ToInt32(nullz)); in TEST_F()
90 EXPECT_EQ(0, cfx_v8()->ToInt32(undef)); in TEST_F()
105 EXPECT_EQ(1, cfx_v8()->ToInt32(boolz)); in TEST_F()
114 EXPECT_EQ(0, cfx_v8()->ToInt32(boolz)); in TEST_F()
129 EXPECT_EQ(42, cfx_v8()->ToInt32(num)); in TEST_F()
144 EXPECT_EQ(123, cfx_v8()->ToInt32(str)); in TEST_F()
153 EXPECT_EQ(123, cfx_v8()->ToInt32(str2)); in TEST_F()
168 EXPECT_EQ(1111111111, cfx_v8()->ToInt32(date)); in TEST_F()
195 EXPECT_EQ(0, cfx_v8()->ToInt32(array)); in TEST_F()
[all …]
Dcjs_publicmethods.cpp609 int iDec = abs(pRuntime->ToInt32(params[0])); in AFNumber_Format()
610 int iSepStyle = ValidStyleOrZero(pRuntime->ToInt32(params[1])); in AFNumber_Format()
611 int iNegStyle = ValidStyleOrZero(pRuntime->ToInt32(params[2])); in AFNumber_Format()
745 int iSepStyle = ValidStyleOrZero(pRuntime->ToInt32(params[1])); in AFNumber_Keystroke()
801 int iDec = pRuntime->ToInt32(params[0]); in AFPercent_Format()
802 int iSepStyle = pRuntime->ToInt32(params[1]); in AFPercent_Format()
995 WithinBoundsOrZero(pRuntime->ToInt32(params[0]), std::size(kDateFormats)); in AFDate_Format()
1009 WithinBoundsOrZero(pRuntime->ToInt32(params[0]), std::size(kDateFormats)); in AFDate_Keystroke()
1023 WithinBoundsOrZero(pRuntime->ToInt32(params[0]), std::size(kTimeFormats)); in AFTime_Format()
1036 WithinBoundsOrZero(pRuntime->ToInt32(params[0]), std::size(kTimeFormats)); in AFTime_Keystroke()
[all …]
Dcjs_app.cpp249 iIcon = pRuntime->ToInt32(newParams[1]); in alert()
253 iType = pRuntime->ToInt32(newParams[2]); in alert()
277 type = pRuntime->ToInt32(params[0]); in beep()
313 uint32_t dwInterval = params.size() > 1 ? pRuntime->ToInt32(params[1]) : 1000; in setInterval()
341 uint32_t dwTimeOut = params.size() > 1 ? pRuntime->ToInt32(params[1]) : 1000; in setTimeOut()
Dcjs_field.cpp1048 array.push_back(pRuntime->ToInt32(vp)); in set_current_value_indices()
1053 pRuntime->ToInt32(pRuntime->GetArrayElement(SelArray, i))); in set_current_value_indices()
1187 AddDelay_Int(FP_DISPLAY, pRuntime->ToInt32(vp)); in set_display()
1190 pRuntime->ToInt32(vp)); in set_display()
1422 AddDelay_Int(FP_LINEWIDTH, pRuntime->ToInt32(vp)); in set_line_width()
1425 pRuntime->ToInt32(vp)); in set_line_width()
1711 pRuntime->ToInt32(pRuntime->GetArrayElement(rcArray, 0))); in set_rect()
1713 pRuntime->ToInt32(pRuntime->GetArrayElement(rcArray, 1))); in set_rect()
1715 pRuntime->ToInt32(pRuntime->GetArrayElement(rcArray, 2))); in set_rect()
1717 pRuntime->ToInt32(pRuntime->GetArrayElement(rcArray, 3))); in set_rect()
[all …]
Dcjs_util.cpp139 segment = WideString::Format(fmt.c_str(), pRuntime->ToInt32(params[i])); in printf()
186 switch (pRuntime->ToInt32(params[0])) { in printd()
394 int arg = pRuntime->ToInt32(params[0]); in byteToChar()
Dcjs_document.cpp199 int iPageNum = pRuntime->ToInt32(vp); in set_page_num()
282 int nIndex = pRuntime->ToInt32(params[0]); in getNthFieldName()
420 nStart = pRuntime->ToInt32(newParams[1]); in print()
424 nEnd = pRuntime->ToInt32(newParams[2]); in print()
1008 int nPageNo = pRuntime->ToInt32(params[0]); in getAnnot()
1236 int nPageNo = params.size() > 0 ? pRuntime->ToInt32(params[0]) : 0; in getPageNthWord()
1237 int nWordNo = params.size() > 1 ? pRuntime->ToInt32(params[1]) : 0; in getPageNthWord()
1295 int nPageNo = params.size() > 0 ? pRuntime->ToInt32(params[0]) : 0; in getPageNumWords()
Dcfx_v8.h37 int ToInt32(v8::Local<v8::Value> pValue);
Dcjs_event.cpp184 pEvent->SetSelEnd(pRuntime->ToInt32(vp)); in set_sel_end()
201 pEvent->SetSelStart(pRuntime->ToInt32(vp)); in set_sel_start()
Dcfx_v8.cpp102 int CFX_V8::ToInt32(v8::Local<v8::Value> pValue) { in ToInt32() function in CFX_V8
/external/pdfium/fxjs/xfa/
Dcjx_instancemanager.cpp147 int32_t iFrom = runtime->ToInt32(params[0]); in moveInstance()
148 int32_t iTo = runtime->ToInt32(params[1]); in moveInstance()
177 int32_t iIndex = runtime->ToInt32(params[0]); in removeInstance()
216 SetInstances(runtime->GetIsolate(), runtime->ToInt32(params[0])); in setInstances()
267 int32_t iIndex = runtime->ToInt32(params[0]); in insertInstance()
Dcjx_field.cpp97 bool bValue = node->DeleteItem(runtime->ToInt32(params[0]), true, true); in deleteItem()
107 int32_t iIndex = runtime->ToInt32(params[0]); in getSaveItem()
149 int32_t state = node->GetItemState(runtime->ToInt32(params[0])); in getItemState()
173 int32_t iIndex = runtime->ToInt32(params[0]); in getDisplayItem()
199 int32_t iIndex = runtime->ToInt32(params[0]); in setItemState()
200 if (runtime->ToInt32(params[1]) != 0) { in setItemState()
Dcjx_hostpseudomodel.cpp340 mark = runtime->ToInt32(params[3]) != 0; in response()
417 dwType = runtime->ToInt32(params[0]); in beep()
503 messageType = runtime->ToInt32(params[2]); in messageBox()
510 buttonType = runtime->ToInt32(params[3]); in messageBox()
553 int32_t nStartPage = runtime->ToInt32(params[1]); in print()
554 int32_t nEndPage = runtime->ToInt32(params[2]); in print()
Dcjx_list.cpp90 int32_t index = runtime->ToInt32(params[0]); in item()
Dcjx_form.cpp95 if (!pNotify || runtime->ToInt32(params[0]) != 0) in recalculate()
/external/rust/crates/libz-sys/src/zlib/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/flatbuffers/tests/FlatBuffers.Test/
DFuzzTestData.cs31 public static readonly int Int32Value = BitConverter.ToInt32(_overflowInt32, 0);
/external/cronet/third_party/protobuf/src/google/protobuf/util/internal/
Ddatapiece.cc112 util::StatusOr<int32_t> DataPiece::ToInt32() const { in ToInt32() function in google::protobuf::util::converter::DataPiece
287 util::StatusOr<int32_t> int_value = ToInt32(); in ToEnum()
325 return ToInt32(); in ToEnum()
Dobject_writer.cc45 ow->RenderInt32(name, data.ToInt32().value()); in RenderDataPieceTo()
Ddatapiece.h130 util::StatusOr<int32_t> ToInt32() const;
Dproto_writer.cc126 util::StatusOr<int32_t> i32 = data.ToInt32(); in WriteInt32()
136 util::StatusOr<int32_t> i32 = data.ToInt32(); in WriteSFixed32()
146 util::StatusOr<int32_t> i32 = data.ToInt32(); in WriteSInt32()
/external/protobuf/src/google/protobuf/util/internal/
Ddatapiece.cc130 util::StatusOr<int32_t> DataPiece::ToInt32() const { in ToInt32() function in google::protobuf::util::converter::DataPiece
305 util::StatusOr<int32_t> int_value = ToInt32(); in ToEnum()
343 return ToInt32(); in ToEnum()
Dobject_writer.cc45 ow->RenderInt32(name, data.ToInt32().value()); in RenderDataPieceTo()
Ddatapiece.h130 util::StatusOr<int32_t> ToInt32() const;
Dproto_writer.cc126 util::StatusOr<int32_t> i32 = data.ToInt32(); in WriteInt32()
136 util::StatusOr<int32_t> i32 = data.ToInt32(); in WriteSFixed32()
146 util::StatusOr<int32_t> i32 = data.ToInt32(); in WriteSInt32()

12