Lines Matching refs:value

69     char value[PROP_VALUE_MAX];  in hierarchical_test_callback()  local
71 __system_property_read(pi, name, value); in hierarchical_test_callback()
76 ASSERT_EQ(3, sscanf(value, "value_%d.%d.%d", &value_i, &value_j, &value_k)); in hierarchical_test_callback()
236 char value[PROP_VALUE_MAX]; in TEST() local
237 EXPECT_EQ(6, system_properties.Read(system_properties.FindNth(0), name, value)); in TEST()
239 EXPECT_STREQ("value1", value); in TEST()
240 EXPECT_EQ(6, system_properties.Read(system_properties.FindNth(1), name, value)); in TEST()
242 EXPECT_STREQ("value2", value); in TEST()
243 EXPECT_EQ(6, system_properties.Read(system_properties.FindNth(2), name, value)); in TEST()
245 EXPECT_STREQ("value3", value); in TEST()
405 char value[PROP_VALUE_MAX]; in TEST() local
406 ASSERT_EQ(6, system_properties.Get("property", value)); in TEST()
407 ASSERT_STREQ("value2", value); in TEST()
462 const std::string& value = property.second; in TEST() local
463 ASSERT_EQ(0, system_properties.Add(name.c_str(), name.size(), value.c_str(), value.size())); in TEST()
468 const std::string& value = property.second; in TEST() local
469 ASSERT_EQ(0, system_properties.Add(name.c_str(), name.size(), value.c_str(), value.size())); in TEST()
474 char value[PROP_VALUE_MAX]; in TEST() local
475 EXPECT_EQ(static_cast<int>(expected_value.size()), system_properties.Get(name.c_str(), value)) in TEST()
477 EXPECT_EQ(expected_value, value) << name; in TEST()
484 std::string value; in TEST() local
486 [](void* cookie, const char*, const char* value, uint32_t) { in TEST() argument
488 *out_value = value; in TEST()
490 &value); in TEST()
491 EXPECT_EQ(expected_value, value) << name; in TEST()
496 const std::string& value = property.second; in TEST() local
497 check_with_legacy_read(name, value); in TEST()
498 check_with_read_callback(name, value); in TEST()
505 const std::string& value = property.second; in TEST() local
507 check_with_read_callback(name, value); in TEST()
522 auto value = std::string(128 * 1024 + 1, 'x'); in TEST() local
523 ASSERT_NE(0, system_properties.Add(name.c_str(), name.size(), value.c_str(), value.size())); in TEST()