Lines Matching refs:AddItem
143 dict.AddItem("bool").WriteBoolean(true); in TEST()
144 dict.AddItem("double").WriteDouble(0.0); in TEST()
145 dict.AddItem("int").WriteInt64(2014); in TEST()
146 dict.AddItem("string").WriteString("string"); in TEST()
147 dict.AddItem("truncated_string").WriteString("truncated_string", 9); in TEST()
148 dict.AddItem("ptr").WritePointer(reinterpret_cast<void*>(0x1234)); in TEST()
177 auto array = root_dict.AddItem("a1").WriteArray(); in TEST()
182 dict.AddItem("i2").WriteInt64(3); in TEST()
185 root_dict.AddItem("b0").WriteBoolean(true); in TEST()
186 root_dict.AddItem("d0").WriteDouble(0.0); in TEST()
188 auto dict1 = root_dict.AddItem("dict1").WriteDictionary(); in TEST()
190 auto dict2 = dict1.AddItem("dict2").WriteDictionary(); in TEST()
191 dict2.AddItem("b2").WriteBoolean(false); in TEST()
193 dict1.AddItem("i1").WriteInt64(2014); in TEST()
194 dict1.AddItem("s1").WriteString("foo"); in TEST()
196 root_dict.AddItem("i0").WriteInt64(2014); in TEST()
197 root_dict.AddItem("s0").WriteString("foo"); in TEST()
428 auto scope1 = dict.AddItem("key1"); in TEST()
429 auto scope2 = dict.AddItem("key2"); in TEST()