Home
last modified time | relevance | path

Searched refs:LoadFromString (Results 1 – 4 of 4) sorted by relevance

/external/libbrillo/brillo/
Dkey_value_store_unittest.cc61 EXPECT_TRUE(store_.LoadFromString( in TEST_F()
67 EXPECT_TRUE(store_.LoadFromString("")); in TEST_F()
72 EXPECT_TRUE(store_.LoadFromString( in TEST_F()
90 ASSERT_TRUE(new_store.LoadFromString(store_.SaveToString())); in TEST_F()
113 EXPECT_TRUE(store_.LoadFromString(blob)); in TEST_F()
130 EXPECT_TRUE(store_.LoadFromString(" a=1\nb =2\n c =3\n")); in TEST_F()
147 EXPECT_TRUE(store_.LoadFromString("a=1\n \t \nb=2")); in TEST_F()
154 EXPECT_FALSE(store_.LoadFromString("=1")); in TEST_F()
155 EXPECT_FALSE(store_.LoadFromString(" =2")); in TEST_F()
163 EXPECT_FALSE(store_.LoadFromString("a=1\nbogus\nb=2")); in TEST_F()
[all …]
Dkey_value_store.cc44 return LoadFromString(file_data); in Load()
47 bool KeyValueStore::LoadFromString(const std::string& data) { in LoadFromString() function in brillo::KeyValueStore
Dkey_value_store.h38 bool LoadFromString(const std::string& data);
/external/skia/tools/
Djsondiff.py81 json_dict = gm_json.LoadFromString(contents)
126 json_dict = gm_json.LoadFromString(contents)