/external/pdfium/fxjs/ |
D | cjs_field.cpp | 674 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 …]
|
D | cjs_publicmethods_embeddertest.cpp | 198 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()
|
D | cjs_event.cpp | 61 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()
|
D | cfx_v8.cpp | 22 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()
|
D | cjs_document.cpp | 285 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 …]
|
D | cjs_util.cpp | 157 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()
|
D | cfx_v8_unittest.cpp | 133 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()
|
D | cjs_app.cpp | 129 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()
|
D | cjs_publicmethods.cpp | 332 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 …]
|
D | cjs_annot.cpp | 85 pRuntime->NewString(pBAAnnot->GetAnnotName().AsStringView())); in get_name() 105 return CJS_Result::Success(pRuntime->NewString( in get_type()
|
D | cfx_v8.h | 31 v8::Local<v8::String> NewString(ByteStringView str); 32 v8::Local<v8::String> NewString(WideStringView str);
|
D | cjs_color.cpp | 59 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()
|
D | cfxjs_engine.cpp | 402 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()
|
D | cjs_icon.cpp | 33 return CJS_Result::Success(pRuntime->NewString(m_swIconName.AsStringView())); in get_name()
|
D | cjs_object.cpp | 20 : pEngine->NewString(item.pStr).As<v8::Value>()); in DefineConsts()
|
D | cjs_globalarrays.cpp | 15 array->Set(ctx, i, (rt)->NewString(values[i])).FromJust(); \
|
D | cjs_global.cpp | 257 return CJS_Result::Success(pRuntime->NewString( in GetProperty() 348 pRuntime->NewString( in UpdateGlobalPersistentVariables() 482 pRuntime->NewString( in PutObjectProperty()
|
/external/pdfium/fxjs/xfa/ |
D | cjx_desc.cpp | 33 return CJS_Result::Success(runtime->NewString("")); in metadata()
|
D | cjx_field.cpp | 118 runtime->NewString(value->ToUTF8().AsStringView())); in getSaveItem() 134 runtime->NewString(boundValue.ToUTF8().AsStringView())); in boundItem() 184 runtime->NewString(value->ToUTF8().AsStringView())); in getDisplayItem()
|
D | cjx_node.cpp | 200 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()
|
D | cjx_packet.cpp | 48 runtime->NewString(attributeValue.ToUTF8().AsStringView())); in getAttribute()
|
D | cjx_hostpseudomodel.cpp | 334 runtime->NewString(answer.ToUTF8().AsStringView())); in response()
|
/external/libchrome/base/android/ |
D | jni_string.cc | 16 jstring result = env->NewString(str.data(), str.length()); in ConvertUTF16ToJavaStringImpl()
|
/external/tensorflow/tensorflow/core/platform/default/ |
D | logging.h | 334 string* NewString(); 345 return comb.NewString(); in MakeCheckOpString()
|
D | logging.cc | 423 string* CheckOpMessageBuilder::NewString() { in NewString() function in tensorflow::internal::CheckOpMessageBuilder
|