| /packages/modules/Bluetooth/system/btif/test/ |
| D | btif_config_cache_test.cc | 63 test_btif_config_cache.SetString(kBtInfo, "FileSource", ""); in TEST() 64 test_btif_config_cache.SetString(kBtInfo, "TimeCreated", in TEST() 67 test_btif_config_cache.SetString(kBtMetrics, "Salt256Bit", in TEST() 70 test_btif_config_cache.SetString(kBtAdapter, "Address", kBtLocalAddr); in TEST() 74 test_btif_config_cache.SetString(kBtAddr1, "Name", "Headset_1"); in TEST() 81 test_btif_config_cache.SetString(kBtAddr2, "Name", "Headset_2"); in TEST() 85 test_btif_config_cache.SetString(kBtAddr3, "Name", "Headset_3"); in TEST() 89 test_btif_config_cache.SetString(kBtAddr4, "Name", "Headset_4"); in TEST() 107 test_btif_config_cache.SetString(kBtAddrInvalid1, "Name", "Headset_1"); in TEST() 111 test_btif_config_cache.SetString(kBtAddrInvalid1, "LinkKey", in TEST() [all …]
|
| /packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
| D | valuetest.cpp | 236 v1.SetString("foo"); in TestCopyFrom() 242 v1.SetString("bar", a); // copy string in TestCopyFrom() 254 v1.PushBack(Value().SetString("foo", a), a); // push string copy in TestCopyFrom() 625 x.SetString("World", 5); in TEST() 637 z.SetString("Hello"); in TEST() 639 z.SetString("Hello", 5); in TEST() 644 z.SetString("Hello"); in TEST() 650 z.SetString(StringRef(mstr)); in TEST() 654 z.SetString(cstr); in TEST() 665 w.SetString(s, (SizeType)strlen(s), allocator); in TEST() [all …]
|
| /packages/modules/Bluetooth/system/btif/src/ |
| D | btif_config_cache.cc | 172 void BtifConfigCache::SetString(std::string section_name, std::string key, in SetString() function in BtifConfigCache 246 SetString(std::move(section_name), std::move(key), std::to_string(value)); in SetInt() 272 SetString(std::move(section_name), std::move(key), std::to_string(value)); in SetUint64() 293 SetString(std::move(section_name), std::move(key), value ? "true" : "false"); in SetBool()
|
| /packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
| D | tutorial.md | 353 Therefore, when we assign a copy-string, we call this overloaded `SetString()` with allocator: 360 author.SetString(buffer, len, document.GetAllocator()); 367 Besides, the above `SetString()` requires length. This can handle null characters within a string. … 369 …literal or string with safe life-cycle can use const-string version of `SetString()`, which lacks … 373 s.SetString("rapidjson"); // can contain null character, length derived at compile time 383 // s.SetString(cstr); // will not compile 384 s.SetString(StringRef(cstr)); // ok, assume safe lifetime, null-terminated 386 s.SetString(StringRef(cstr,cstr_len)); // faster, can contain null character 446 The name parameter with `StringRefType` is similar to the interface of `SetString` function for str…
|
| /packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
| D | document.h | 1488 … GenericValue& SetString(const Ch* s, SizeType length) { return SetString(StringRef(s, length)); } 1495 … GenericValue& SetString(StringRefType s) { this->~GenericValue(); SetStringRaw(s); return *this; } 1505 …GenericValue& SetString(const Ch* s, SizeType length, Allocator& allocator) { this->~GenericValue(… 1513 …GenericValue& SetString(const Ch* s, Allocator& allocator) { return SetString(s, internal::StrLen(… 1523 …GenericValue& SetString(const std::basic_string<Ch>& s, Allocator& allocator) { return SetString(s…
|
| D | pointer.h | 514 return alreadyExist ? v : v.SetString(defaultValue, allocator); in GetWithDefault() 522 return alreadyExist ? v : v.SetString(defaultValue, allocator); in GetWithDefault()
|
| /packages/apps/Test/connectivity/sl4n/facades/test/ |
| D | test_facade.cpp | 129 tmp.SetString(result.c_str(), doc.GetAllocator()); in test_string_empty_return_wrapper() 157 tmp.SetString(result.c_str(), doc.GetAllocator()); in test_string_max_return_wrapper()
|
| /packages/modules/Bluetooth/system/btif/include/ |
| D | btif_config_cache.h | 44 void SetString(std::string section_name, std::string key, std::string value);
|
| /packages/apps/Test/connectivity/sl4n/rapidjson/example/tutorial/ |
| D | tutorial.cpp | 127 author.SetString(buffer, static_cast<size_t>(len), document.GetAllocator()); in main()
|
| /packages/apps/Test/connectivity/sl4n/facades/bluetooth/ |
| D | bt_binder_facade.cpp | 222 tmp.SetString(name.c_str(), doc.GetAllocator()); in bt_binder_get_local_name_wrapper() 286 tmp.SetString(address.c_str(), doc.GetAllocator()); in bt_binder_get_local_address_wrapper()
|