Home
last modified time | relevance | path

Searched refs:CJS_Util (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/fxjs/
Dcjs_util_unittest.cpp11 TEST(CJS_Util, ParseDataType) { in TEST() argument
14 const CJS_Util::DataType expected; in TEST()
20 {L"", CJS_Util::DataType::kInvalid}, in TEST()
21 {L"d", CJS_Util::DataType::kInvalid}, in TEST()
24 {L"%d", CJS_Util::DataType::kInt}, in TEST()
25 {L"%x", CJS_Util::DataType::kInt}, in TEST()
26 {L"%f", CJS_Util::DataType::kDouble}, in TEST()
27 {L"%s", CJS_Util::DataType::kString}, in TEST()
38 {L"%+d", CJS_Util::DataType::kInt}, in TEST()
39 {L"%+x", CJS_Util::DataType::kInt}, in TEST()
[all …]
Dcjs_util.h17 class CJS_Util final : public CJS_Object {
29 CJS_Util(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime);
30 ~CJS_Util() override;
45 JS_STATIC_METHOD(printd, CJS_Util)
46 JS_STATIC_METHOD(printf, CJS_Util)
47 JS_STATIC_METHOD(printx, CJS_Util)
48 JS_STATIC_METHOD(scand, CJS_Util)
49 JS_STATIC_METHOD(byteToChar, CJS_Util)
Dcjs_util.cpp73 const JSMethodSpec CJS_Util::MethodSpecs[] = {
80 uint32_t CJS_Util::ObjDefnID = 0;
81 const char CJS_Util::kName[] = "util";
84 uint32_t CJS_Util::GetObjDefnID() { in GetObjDefnID()
89 void CJS_Util::DefineJSObjects(CFXJS_Engine* pEngine) { in DefineJSObjects()
90 ObjDefnID = pEngine->DefineObj(CJS_Util::kName, FXJSOBJTYPE_STATIC, in DefineJSObjects()
91 JSConstructor<CJS_Util>, JSDestructor); in DefineJSObjects()
95 CJS_Util::CJS_Util(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime) in CJS_Util() function in CJS_Util
98 CJS_Util::~CJS_Util() = default;
100 CJS_Result CJS_Util::printf(CJS_Runtime* pRuntime, in printf()
[all …]
Dcjs_runtime.cpp117 CJS_Util::DefineJSObjects(this); in DefineJSObjects()
Dcjs_publicmethods.cpp1075 if (CJS_Util::StringPrintx(L"9999999999", wsSource).GetLength() >= 10) in AFSpecial_Format()
1085 pEvent->Value() = CJS_Util::StringPrintx(wsFormat, wsSource); in AFSpecial_Format()
/external/pdfium/testing/fuzzers/
Dpdf_cjs_util_fuzzer.cc13 CJS_Util::ParseDataType(&input); in LLVMFuzzerTestOneInput()
21 CJS_Util::StringPrintx(input1, input2); in LLVMFuzzerTestOneInput()