Searched refs:str_value (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | arkts-builder.md | 229 str_value: string = 'Hello'; 237 Text(`str_value: ${param.str_value}`) 254 overBuilder({str_value: this.objParam.str_value, num_value: this.objParam.num_value, 280 str_value: string = 'Hello'; 291 Text(`wrapBuilder str_value: ${this.objParam.str_value}`) 306 this.objParam.str_value = 'str_value Hello World'; 569 str_value: string = 'Hello'; 574 Text(`str_value: ${param.str_value}`) 589 overBuilder({str_value: this.objParam.str_value}, this.num) 614 Text(`str_value: ${param.str_value}`) [all …]
|
/ohos5.0/docs/en/application-dev/quick-start/ |
H A D | arkts-builder.md | 407 str_value: string = 'Hello'; 415 Text(`str_value: ${param.str_value}`) 432 overBuilder({str_value: this.objParam.str_value, num_value: this.objParam.num_value, 458 str_value: string = 'Hello'; 469 Text(`wrapBuilder str_value: ${this.objParam.str_value}`) 484 this.objParam.str_value = 'str_value Hello World'; 745 str_value: string = 'Hello'; 750 Text(`str_value: ${param.str_value}`) 765 overBuilder({str_value: this.objParam.str_value}, this.num) 790 Text(`str_value: ${param.str_value}`) [all …]
|
/ohos5.0/commonlibrary/c_utils/base/test/unittest/rust/ |
H A D | rust_utils_file_test.rs | 440 let str_value = "abc".to_string(); in test_string_exists_in_file_001() localVariable 442 assert!(!file_ex::ffi::RustStringExistsInFile(&filename, &str_value, true)); in test_string_exists_in_file_001() 443 assert!(!str_value.is_empty()); in test_string_exists_in_file_001() 448 let str_value = NULL_STR.to_string(); in test_string_exists_in_file_002() localVariable 452 assert!(!file_ex::ffi::RustStringExistsInFile(&filename, &str_value, true)); in test_string_exists_in_file_002() 458 let str_value = "world".to_string(); in test_string_exists_in_file_003() localVariable 462 assert!(file_ex::ffi::RustStringExistsInFile(&filename, &str_value, true)); in test_string_exists_in_file_003() 480 let str_value = "woRld".to_string(); in test_string_exists_in_file_005() localVariable 484 assert!(file_ex::ffi::RustStringExistsInFile(&filename, &str_value, false)); in test_string_exists_in_file_005() 485 assert!(!file_ex::ffi::RustStringExistsInFile(&filename, &str_value, true)); in test_string_exists_in_file_005()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/ |
H A D | napi_common_ability_wrap_utils.cpp | 316 asyncCallbackInfo->native_data.str_value = abilityContext->GetFilesDir(); in GetFilesDirExecuteCallback() 318 asyncCallbackInfo->native_data.str_value.c_str()); in GetFilesDirExecuteCallback() 415 asyncCallbackInfo->native_data.str_value = abilityContext->GetDistributedFilesDir(); in GetOrCreateDistributedDirExecuteCallback() 417 asyncCallbackInfo->native_data.str_value.c_str()); in GetOrCreateDistributedDirExecuteCallback() 457 asyncCallbackInfo->native_data.str_value = abilityContext->GetCacheDir(); in GetCacheDirExecuteCallback() 459 asyncCallbackInfo->native_data.str_value.c_str()); in GetCacheDirExecuteCallback() 493 asyncCallbackInfo->native_data.str_value = asyncCallbackInfo->ability->GetExternalCacheDir(); in GetExternalCacheDirExecuteCallback() 495 asyncCallbackInfo->native_data.str_value.c_str()); in GetExternalCacheDirExecuteCallback()
|
H A D | napi_context.cpp | 1249 asyncCallbackInfo->native_data.str_value = asyncCallbackInfo->ability->GetBundleName(); in GetBundleNameExecuteCallback() 1251 asyncCallbackInfo->native_data.str_value.c_str()); in GetBundleNameExecuteCallback()
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/plugincomponent/ |
H A D | js_plugin_data.h | 50 std::string str_value = {};
|
H A D | js_plugin_util.cpp | 886 data->str_value = ""; in AceClearThreadReturnData() 986 …NAPI_CALL_BASE(env, napi_create_string_utf8(env, data->str_value.c_str(), NAPI_AUTO_LENGTH, value)… in AceWrapThreadReturnData()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/ |
H A D | napi_common_data.h | 89 std::string str_value; member
|
H A D | napi_common_util.cpp | 851 data->str_value = ""; in ClearThreadReturnData() 950 …NAPI_CALL_BASE(env, napi_create_string_utf8(env, data->str_value.c_str(), NAPI_AUTO_LENGTH, value)… in WrapThreadReturnData()
|