Home
last modified time | relevance | path

Searched refs:NewString (Results 1 – 25 of 28) sorted by relevance

12

/external/pdfium/fxjs/
Dcjs_field.cpp674 return CJS_Result::Success(pRuntime->NewString("left")); in get_alignment()
676 return CJS_Result::Success(pRuntime->NewString("center")); in get_alignment()
678 return CJS_Result::Success(pRuntime->NewString("right")); in get_alignment()
680 return CJS_Result::Success(pRuntime->NewString("")); in get_alignment()
706 return CJS_Result::Success(pRuntime->NewString("solid")); in get_border_style()
708 return CJS_Result::Success(pRuntime->NewString("dashed")); in get_border_style()
710 return CJS_Result::Success(pRuntime->NewString("beveled")); in get_border_style()
712 return CJS_Result::Success(pRuntime->NewString("inset")); in get_border_style()
714 return CJS_Result::Success(pRuntime->NewString("underline")); in get_border_style()
716 return CJS_Result::Success(pRuntime->NewString("")); in get_border_style()
[all …]
Dcjs_publicmethods_embeddertest.cpp198 runtime.PutArrayElement(ary, 0, runtime.NewString("Calc1_A")); in TEST_F()
199 runtime.PutArrayElement(ary, 1, runtime.NewString("Calc1_B")); in TEST_F()
202 params.push_back(runtime.NewString("SUM")); in TEST_F()
244 params.push_back(runtime.NewString("-10")); in TEST_F()
245 params.push_back(runtime.NewString("")); in TEST_F()
Dcjs_event.cpp61 pRuntime->NewString(pEvent->Change().AsStringView())); in get_change()
80 pRuntime->NewString(pEvent->ChangeEx().AsStringView())); in get_change_ex()
138 return CJS_Result::Success(pRuntime->NewString(pEvent->Name())); in get_name()
262 pRuntime->NewString(pEvent->TargetName().AsStringView())); in get_target_name()
273 return CJS_Result::Success(pRuntime->NewString(pEvent->Type())); in get_type()
290 pRuntime->NewString(pEvent->Value().AsStringView())); in get_value()
Dcfx_v8.cpp22 if (!pObj->Get(m_pIsolate->GetCurrentContext(), NewString(bsUTF8PropertyName)) in GetObjectProperty()
53 v8::Local<v8::String> name = NewString(bsUTF8PropertyName); in PutObjectProperty()
111 v8::Local<v8::String> CFX_V8::NewString(ByteStringView str) { in NewString() function in CFX_V8
118 v8::Local<v8::String> CFX_V8::NewString(WideStringView str) { in NewString() function in CFX_V8
122 return NewString(FX_UTF8Encode(str).AsStringView()); in NewString()
Dcjs_document.cpp285 pRuntime->NewString(pField->GetFullName().AsStringView())); in getNthFieldName()
669 pRuntime->NewString(cwAuthor.AsStringView())); in get_info()
671 pRuntime->NewString(cwTitle.AsStringView())); in get_info()
673 pRuntime->NewString(cwSubject.AsStringView())); in get_info()
675 pRuntime->NewString(cwKeywords.AsStringView())); in get_info()
677 pRuntime->NewString(cwCreator.AsStringView())); in get_info()
679 pRuntime->NewString(cwProducer.AsStringView())); in get_info()
681 pObj, "CreationDate", pRuntime->NewString(cwCreationDate.AsStringView())); in get_info()
683 pRuntime->NewString(cwModDate.AsStringView())); in get_info()
685 pRuntime->NewString(cwTrapped.AsStringView())); in get_info()
[all …]
Dcjs_util.cpp157 pRuntime->NewString(result_view.Last(result_view.GetLength() - 1))); in printf()
200 return CJS_Result::Success(pRuntime->NewString(swResult.AsStringView())); in printd()
263 return CJS_Result::Success(pRuntime->NewString(cFormat.c_str())); in printd()
272 pRuntime->NewString(StringPrintx(pRuntime->ToWideString(params[0]), in printx()
394 return CJS_Result::Success(pRuntime->NewString(wStr.AsStringView())); in byteToChar()
Dcfx_v8_unittest.cpp133 TEST_F(FXV8UnitTest, NewString) { in TEST_F() argument
138 auto str = cfx_v8()->NewString("123"); in TEST_F()
147 auto str2 = cfx_v8()->NewString(L"123"); in TEST_F()
234 v8::Local<v8::String> name = cfx_v8()->NewString("clams"); in TEST_F()
256 v8::Local<v8::String> name = cfx_v8()->NewString("clams"); in TEST_F()
Dcjs_app.cpp129 return CJS_Result::Success(pRuntime->NewString(JS_STR_VIEWERTYPE)); in get_viewer_type()
138 return CJS_Result::Success(pRuntime->NewString(JS_STR_VIEWERVARIATION)); in get_viewer_variation()
165 return CJS_Result::Success(pRuntime->NewString(platform.AsStringView())); in get_platform()
167 return CJS_Result::Success(pRuntime->NewString(JS_STR_PLATFORM)); in get_platform()
180 return CJS_Result::Success(pRuntime->NewString(language.AsStringView())); in get_language()
182 return CJS_Result::Success(pRuntime->NewString(JS_STR_LANGUAGE)); in get_language()
553 return CJS_Result::Success(pRuntime->NewString( in response()
Dcjs_publicmethods.cpp332 pRuntime->NewString(StrTrim(ByteString(p)).AsStringView())); in AF_MakeArrayFromList()
338 pRuntime->NewString(StrTrim(ByteString(p, pTemp - p)).AsStringView())); in AF_MakeArrayFromList()
658 pRuntime->PutArrayElement(arColor, 0, pRuntime->NewString("RGB")); in AFNumber_Format()
669 pRuntime->PutArrayElement(arColor, 0, pRuntime->NewString("RGB")); in AFNumber_Format()
989 newParams.push_back(pRuntime->NewString(kDateFormats[iIndex])); in AFDate_Format()
1003 newParams.push_back(pRuntime->NewString(kDateFormats[iIndex])); in AFDate_Keystroke()
1017 newParams.push_back(pRuntime->NewString(kTimeFormats[iIndex])); in AFTime_Format()
1030 newParams.push_back(pRuntime->NewString(kTimeFormats[iIndex])); in AFTime_Keystroke()
1196 params2.push_back(pRuntime->NewString(cFormat)); in AFSpecial_Keystroke()
1214 return CJS_Result::Success(pRuntime->NewString(swValue.AsStringView())); in AFMergeChange()
[all …]
Dcjs_annot.cpp85 pRuntime->NewString(pBAAnnot->GetAnnotName().AsStringView())); in get_name()
105 return CJS_Result::Success(pRuntime->NewString( in get_type()
Dcfx_v8.h31 v8::Local<v8::String> NewString(ByteStringView str);
32 v8::Local<v8::String> NewString(WideStringView str);
Dcjs_color.cpp59 pRuntime->PutArrayElement(array, 0, pRuntime->NewString("T")); in ConvertPWLColorToArray()
63 pRuntime->PutArrayElement(array, 0, pRuntime->NewString("G")); in ConvertPWLColorToArray()
68 pRuntime->PutArrayElement(array, 0, pRuntime->NewString("RGB")); in ConvertPWLColorToArray()
75 pRuntime->PutArrayElement(array, 0, pRuntime->NewString("CMYK")); in ConvertPWLColorToArray()
Dcfxjs_engine.cpp402 pObjDef->DefineMethod(NewString(sMethodName), pMethodCall); in DefineObjMethod()
413 pObjDef->DefineProperty(NewString(sPropName), pPropGet, pPropPut); in DefineObjProperty()
447 ->Set(NewString(sMethodName), fun, v8::ReadOnly); in DefineGlobalMethod()
458 ->SetAccessorProperty(NewString(sConstName), fun); in DefineGlobalConst()
506 v8::Local<v8::String> pObjName = NewString(pObjDef->m_ObjName); in InitializeEngine()
560 if (!v8::Script::Compile(context, NewString(script.AsStringView())) in Execute()
622 GetIsolate()->ThrowException(NewString(message.AsStringView())); in Error()
Dcjs_icon.cpp33 return CJS_Result::Success(pRuntime->NewString(m_swIconName.AsStringView())); in get_name()
Dcjs_object.cpp20 : pEngine->NewString(item.pStr).As<v8::Value>()); in DefineConsts()
Dcjs_globalarrays.cpp15 array->Set(ctx, i, (rt)->NewString(values[i])).FromJust(); \
Dcjs_global.cpp257 return CJS_Result::Success(pRuntime->NewString( in GetProperty()
348 pRuntime->NewString( in UpdateGlobalPersistentVariables()
482 pRuntime->NewString( in PutObjectProperty()
/external/pdfium/fxjs/xfa/
Dcjx_desc.cpp33 return CJS_Result::Success(runtime->NewString("")); in metadata()
Dcjx_field.cpp118 runtime->NewString(value->ToUTF8().AsStringView())); in getSaveItem()
134 runtime->NewString(boundValue.ToUTF8().AsStringView())); in boundItem()
184 runtime->NewString(value->ToUTF8().AsStringView())); in getDisplayItem()
Dcjx_node.cpp200 return CJS_Result::Success(runtime->NewString( in getAttribute()
396 return CJS_Result::Success(runtime->NewString("")); in saveXML()
404 runtime->NewString(bsXMLHeader.AsStringView())); in saveXML()
419 return CJS_Result::Success(runtime->NewString( in saveXML()
Dcjx_packet.cpp48 runtime->NewString(attributeValue.ToUTF8().AsStringView())); in getAttribute()
Dcjx_hostpseudomodel.cpp334 runtime->NewString(answer.ToUTF8().AsStringView())); in response()
/external/libchrome/base/android/
Djni_string.cc16 jstring result = env->NewString(str.data(), str.length()); in ConvertUTF16ToJavaStringImpl()
/external/tensorflow/tensorflow/core/platform/default/
Dlogging.h334 string* NewString();
345 return comb.NewString(); in MakeCheckOpString()
Dlogging.cc423 string* CheckOpMessageBuilder::NewString() { in NewString() function in tensorflow::internal::CheckOpMessageBuilder

12