Home
last modified time | relevance | path

Searched refs:GetInt (Results 1 – 25 of 48) sorted by relevance

12

/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
H A Dvaluetest.cpp105 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()
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()
453 EXPECT_EQ(1234, x.GetInt()); in TEST()
[all …]
H A Dpointertest.cpp742 EXPECT_EQ(123, d["foo"][0].GetInt()); in TEST()
745 EXPECT_EQ(456, d["foo"][2].GetInt()); in TEST()
801 EXPECT_EQ(123, d["foo"][0].GetInt()); in TEST()
804 EXPECT_EQ(456, d["foo"][2].GetInt()); in TEST()
1167 EXPECT_EQ(123, d["foo"][0].GetInt()); in TEST()
1224 EXPECT_EQ(123, d["foo"][0].GetInt()); in TEST()
1280 EXPECT_EQ(123, d["foo"][0].GetInt()); in TEST()
1336 EXPECT_EQ(123, d["foo"][0].GetInt()); in TEST()
1445 EXPECT_EQ(123, Pointer("/0/0").Get(d)->GetInt()); in TEST()
1447 EXPECT_EQ(456, Pointer("/0/a").Get(d)->GetInt()); in TEST()
[all …]
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/example/tutorial/
H A Dtutorial.cpp61 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()
/aosp12/system/bt/gd/storage/
H A Dconfig_cache_helper_test.cc106 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()
H A Dconfig_cache_helper.cc90 std::optional<int> ConfigCacheHelper::GetInt(const std::string& section, const std::string& propert… in GetInt() function in bluetooth::storage::ConfigCacheHelper
H A Dconfig_cache_helper.h54 virtual std::optional<int> GetInt(const std::string& section, const std::string& property) const;
/aosp12/art/compiler/optimizing/
H A Dintrinsics.cc98 return field->GetInt(cache_class); in GetIntegerCacheField()
141 if (value_field->GetInt(boot_image_object) != low + i) { in CheckIntegerCache()
208 CHECK_EQ(value_field->GetInt(current_object), low + i); in ComputeIntegerValueOfLocations()
245 int32_t low = value_field->GetInt(low_integer); in ComputeIntegerValueOfLocations()
338 info.low = value_field->GetInt(low_integer); in ComputeIntegerValueOfInfo()
/aosp12/art/test/1912-get-set-local-primitive/
H A Dexpected-stdout.txt1 Running public static void art.Test1912.IntMethod(java.lang.Runnable) with "GetInt" on remote threa…
2 "GetInt" on public static void art.Test1912.IntMethod(java.lang.Runnable) got value: 42
34 Running public static void art.Test1912.LongMethod(java.lang.Runnable) with "GetInt" on remote thre…
35 "GetInt" on public static void art.Test1912.LongMethod(java.lang.Runnable) failed due to JVMTI_ERRO…
67 Running public static void art.Test1912.FloatMethod(java.lang.Runnable) with "GetInt" on remote thr…
68 "GetInt" on public static void art.Test1912.FloatMethod(java.lang.Runnable) failed due to JVMTI_ERR…
100 Running public static void art.Test1912.DoubleMethod(java.lang.Runnable) with "GetInt" on remote th…
101 "GetInt" on public static void art.Test1912.DoubleMethod(java.lang.Runnable) failed due to JVMTI_ER…
133 Running public static void art.Test1912.ObjectMethod(java.lang.Runnable) with "GetInt" on remote th…
134 "GetInt" on public static void art.Test1912.ObjectMethod(java.lang.Runnable) failed due to JVMTI_ER…
[all …]
/aosp12/system/bt/btif/test/
H A Dbtif_config_cache_test.cc178 EXPECT_THAT(test_btif_config_cache.GetInt(kBtAddr1, "Property_Int"), in TEST()
211 EXPECT_THAT(test_btif_config_cache.GetInt(kBtAddr1, "Property_Int"), in TEST()
264 EXPECT_THAT(test_btif_config_cache.GetInt(kBtAddr1, "Property_Int"), in TEST()
269 EXPECT_THAT(test_btif_config_cache.GetInt(kBtAddr1, "Property_Int"), in TEST()
293 EXPECT_THAT(test_btif_config_cache.GetInt(kBtAddr1, "Property_Int"), in TEST()
/aosp12/art/dexlayout/
H A Ddex_verify.cc603 if (orig->GetInt() != output->GetInt()) { in VerifyEncodedValue()
606 orig->GetInt(), in VerifyEncodedValue()
607 output->GetInt()); in VerifyEncodedValue()
623 if (orig->GetInt() != output->GetInt()) { in VerifyEncodedValue()
627 orig->GetInt(), in VerifyEncodedValue()
628 output->GetInt()); in VerifyEncodedValue()
/aosp12/system/bt/main/shim/
H A Dconfig.cc45 bool BtifConfigInterface::GetInt(const std::string& section, in GetInt() function in bluetooth::shim::BtifConfigInterface
49 .GetInt(section, property); in GetInt()
H A Dconfig.h33 static bool GetInt(const std::string& section, const std::string& key,
/aosp12/art/test/1965-get-set-local-primitive-no-tables/
H A Dexpected-stdout.txt1 …tMethod(java.util.function.IntConsumer,java.util.function.Consumer) with "GetInt" on remote thread.
2 "GetInt" on public static void art_test.TestCases1965.IntMethod(java.util.function.IntConsumer,java…
34 …gMethod(java.util.function.IntConsumer,java.util.function.Consumer) with "GetInt" on remote thread.
35 "GetInt" on public static void art_test.TestCases1965.LongMethod(java.util.function.IntConsumer,jav…
67 …tMethod(java.util.function.IntConsumer,java.util.function.Consumer) with "GetInt" on remote thread.
68 "GetInt" on public static void art_test.TestCases1965.FloatMethod(java.util.function.IntConsumer,ja…
100 …eMethod(java.util.function.IntConsumer,java.util.function.Consumer) with "GetInt" on remote thread.
101 "GetInt" on public static void art_test.TestCases1965.DoubleMethod(java.util.function.IntConsumer,j…
133 …tMethod(java.util.function.IntConsumer,java.util.function.Consumer) with "GetInt" on remote thread.
166 …tMethod(java.util.function.IntConsumer,java.util.function.Consumer) with "GetInt" on remote thread.
[all …]
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/example/simpledom/
H A Dsimpledom.cpp19 s.SetInt(s.GetInt() + 1); in main()
/aosp12/system/update_engine/
H A Dtest_http_server.cc517 inline int GetInt(const off_t index) const { return atoi(GetCStr(index)); } in GetInt() function in chromeos_update_engine::UrlTerms
544 terms.GetInt(3), in HandleConnection()
545 terms.GetInt(4)); in HandleConnection()
553 HandleErrorIfOffset(fd, request, terms.GetSizeT(1), terms.GetInt(2)); in HandleConnection()
/aosp12/packages/apps/Test/connectivity/sl4n/facades/bluetooth/
H A Dbt_binder_facade.cpp344 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()
/aosp12/system/bt/btif/include/
H A Dbtif_config_cache.h48 std::optional<int> GetInt(const std::string& section_name,
/aosp12/system/bt/test/mock/
H A Dmock_main_shim_BtifConfigInterface.cc29 bool bluetooth::shim::BtifConfigInterface::GetInt(const std::string& section, in GetInt() function in bluetooth::shim::BtifConfigInterface
/aosp12/art/runtime/
H A Dreflection.cc313 DO_FIRST_ARG("Ljava/lang/Integer;", GetInt, Append) in BuildArgArrayFromObjectArray()
321 DO_ARG("Ljava/lang/Integer;", GetInt, AppendWide) in BuildArgArrayFromObjectArray()
330 DO_ARG("Ljava/lang/Integer;", GetInt, AppendFloat) in BuildArgArrayFromObjectArray()
340 DO_ARG("Ljava/lang/Integer;", GetInt, AppendDouble) in BuildArgArrayFromObjectArray()
973 boxed_value.SetI(primitive_field->GetInt(o)); in UnboxPrimitive()
H A Dtransaction_test.cc207 ASSERT_EQ(intField->GetInt(h_klass.Get()), 0); in TEST_F()
256 EXPECT_EQ(intField->GetInt(h_klass.Get()), 0); in TEST_F()
307 ASSERT_EQ(intField->GetInt(h_instance.Get()), 0); in TEST_F()
356 EXPECT_EQ(intField->GetInt(h_instance.Get()), 0); in TEST_F()
H A Dcommon_dex_operations.h137 result->SetI(field->GetInt(obj)); in DoFieldGetCommon()
/aosp12/build/soong/ui/build/
H A Denvironment.go63 func (e *Environment) GetInt(key string) (int, bool) { func
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
H A Dtutorial.md87 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()`
H A Dpointer.md48 stars->SetInt(stars->GetInt() + 1);
89 stars->SetInt(stars->GetInt() + 1);
/aosp12/packages/modules/StatsD/statsd/src/logd/
H A DLogEvent.h105 int GetInt(size_t key, status_t* err) const;

12