/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | valuetest.cpp | 105 EXPECT_EQ(1234, y.GetInt()); in TEST() 109 EXPECT_EQ(5678, y.GetInt()); in TEST() 234 EXPECT_EQ(v1.GetInt(), v2.GetInt()); in TestCopyFrom() 274 EXPECT_EQ(1234, v2.GetInt()); in TEST() 361 EXPECT_EQ(1234, x.GetInt()); in TEST() 387 EXPECT_EQ(-1234, nx.GetInt()); in TEST() 398 EXPECT_EQ(0, y.GetInt()); in TEST() 403 EXPECT_EQ(1234, z.GetInt()); in TEST() 407 EXPECT_EQ(5678, z.GetInt()); in TEST() 414 EXPECT_EQ(1234, x.GetInt()); in TEST() [all …]
|
D | pointertest.cpp | 647 EXPECT_EQ(-1, Pointer("/foo/int").GetWithDefault(d, -1, a).GetInt()); in TEST() 648 EXPECT_EQ(-1, Pointer("/foo/int").GetWithDefault(d, -2, a).GetInt()); in TEST() 699 EXPECT_EQ(-1, Pointer("/foo/int").GetWithDefault(d, -1).GetInt()); in TEST() 700 EXPECT_EQ(-1, Pointer("/foo/int").GetWithDefault(d, -2).GetInt()); in TEST() 742 EXPECT_EQ(123, d["foo"][0].GetInt()); in TEST() 745 EXPECT_EQ(456, d["foo"][2].GetInt()); in TEST() 757 EXPECT_EQ(-1, GetValueByPointer(d, "/foo/int")->GetInt()); in TEST() 801 EXPECT_EQ(123, d["foo"][0].GetInt()); in TEST() 804 EXPECT_EQ(456, d["foo"][2].GetInt()); in TEST() 816 EXPECT_EQ(-1, GetValueByPointer(d, "/foo/int")->GetInt()); in TEST() [all …]
|
D | documenttest.cpp | 54 EXPECT_EQ(123, i.GetInt()); in ParseCheck()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/tutorial/ |
D | tutorial.cpp | 61 printf("i = %d\n", document["i"].GetInt()); // Alternative (int)document["i"] in main() 71 printf("a[%d] = %d\n", i, a[i].GetInt()); in main() 73 int y = a[0].GetInt(); in main() 79 printf("%d ", itr->GetInt()); in main()
|
/packages/modules/Bluetooth/system/gd/storage/ |
D | config_cache_helper_test.cc | 106 ASSERT_THAT(ConfigCacheHelper(config).GetInt("A", "B"), Optional(Eq(int(123)))); in TEST() 110 ASSERT_THAT(ConfigCacheHelper(config).GetInt("A", "B"), Optional(Eq(int(-123)))); in TEST() 114 ASSERT_THAT(ConfigCacheHelper(config).GetInt("A", "B"), Optional(Eq(int(0)))); in TEST() 119 ASSERT_FALSE(ConfigCacheHelper(config).GetInt("A", "B")); in TEST()
|
D | config_cache_helper.cc | 90 std::optional<int> ConfigCacheHelper::GetInt(const std::string& section, const std::string& propert… in GetInt() function in bluetooth::storage::ConfigCacheHelper
|
D | config_cache_helper.h | 54 virtual std::optional<int> GetInt(const std::string& section, const std::string& property) const;
|
/packages/modules/Bluetooth/system/btif/test/ |
D | btif_config_cache_test.cc | 180 EXPECT_THAT(test_btif_config_cache.GetInt(kBtAddr1, "Property_Int"), in TEST() 213 EXPECT_THAT(test_btif_config_cache.GetInt(kBtAddr1, "Property_Int"), in TEST() 266 EXPECT_THAT(test_btif_config_cache.GetInt(kBtAddr1, "Property_Int"), in TEST() 271 EXPECT_THAT(test_btif_config_cache.GetInt(kBtAddr1, "Property_Int"), in TEST() 295 EXPECT_THAT(test_btif_config_cache.GetInt(kBtAddr1, "Property_Int"), in TEST()
|
/packages/modules/Bluetooth/system/main/shim/ |
D | config.cc | 45 bool BtifConfigInterface::GetInt(const std::string& section, in GetInt() function in bluetooth::shim::BtifConfigInterface 49 .GetInt(section, property); in GetInt()
|
D | config.h | 33 static bool GetInt(const std::string& section, const std::string& key,
|
/packages/apps/Test/connectivity/sl4n/facades/bluetooth/ |
D | bt_binder_facade.cpp | 344 mode = doc[sl4n::kParamsStr][0].GetInt(); in bt_binder_set_adv_settings_wrapper() 352 timeout_seconds = doc[sl4n::kParamsStr][1].GetInt(); in bt_binder_set_adv_settings_wrapper() 360 tx_power_level = doc[sl4n::kParamsStr][2].GetInt(); in bt_binder_set_adv_settings_wrapper()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simpledom/ |
D | simpledom.cpp | 19 s.SetInt(s.GetInt() + 1); in main()
|
/packages/modules/Bluetooth/system/btif/include/ |
D | btif_config_cache.h | 48 std::optional<int> GetInt(const std::string& section_name,
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_main_shim_BtifConfigInterface.cc | 29 bool bluetooth::shim::BtifConfigInterface::GetInt(const std::string& section, in GetInt() function in bluetooth::shim::BtifConfigInterface
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | tutorial.md | 87 printf("i = %d\n", document["i"].GetInt()); 106 printf("a[%d] = %d\n", i, a[i].GetInt()); 116 …alues between JSON types. If a value is a string, it is invalid to call `GetInt()`, for example. I… 129 printf("%d ", itr->GetInt()); 194 `bool IsInt()` | `int GetInt()`
|
D | pointer.md | 48 stars->SetInt(stars->GetInt() + 1); 89 stars->SetInt(stars->GetInt() + 1);
|
D | faq.md | 187 …When using `GetInt()`, `GetUint()`, ... conversion may occur. For integer-to-integer conversion, i…
|
/packages/modules/StatsD/statsd/src/logd/ |
D | LogEvent.h | 136 int GetInt(size_t key, status_t* err) const;
|
D | LogEvent.cpp | 512 int LogEvent::GetInt(size_t key, status_t* err) const { in GetInt() function in android::os::statsd::LogEvent
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_config.cc | 223 return bluetooth::shim::BtifConfigInterface::GetInt(section, key, value); in btif_config_get_int()
|
D | btif_config_cache.cc | 249 std::optional<int> BtifConfigCache::GetInt(const std::string& section_name, in GetInt() function in BtifConfigCache
|
/packages/apps/Test/connectivity/sl4n/facades/test/ |
D | test_facade.cpp | 200 int_test = doc[sl4n::kParamsStr][0][0][int_member.c_str()].GetInt(); in test_specific_param_naming_wrapper()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/ |
D | readme.md | 110 s.SetInt(s.GetInt() + 1);
|
/packages/modules/StatsD/statsd/src/ |
D | StatsLogProcessor.cpp | 310 int32_t rollbackType = int32_t(event->GetInt(1 /*rollback type field id*/, &err)); in onWatchdogRollbackOccurredLocked()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | document.h | 1448 int GetInt() const { RAPIDJSON_ASSERT(flags_ & kIntFlag); return data_.n.i.i; }
|