Lines Matching refs:value
12 scoped_refptr<TracedValue> value = new TracedValue();
13 value->SetInteger("int", 2014);
14 value->SetDouble("double", 0.0);
15 value->SetBoolean("bool", true);
16 value->SetString("string", "string");
18 value->AppendAsTraceFormat(&json);
24 scoped_refptr<TracedValue> value = new TracedValue();
25 value->SetInteger("i0", 2014);
26 value->BeginDictionary("dict1");
27 value->SetInteger("i1", 2014);
28 value->BeginDictionary("dict2");
29 value->SetBoolean("b2", false);
30 value->EndDictionary();
31 value->SetString("s1", "foo");
32 value->EndDictionary();
33 value->SetDouble("d0", 0.0);
34 value->SetBoolean("b0", true);
35 value->BeginArray("a1");
36 value->AppendInteger(1);
37 value->AppendBoolean(true);
38 value->BeginDictionary();
39 value->SetInteger("i2", 3);
40 value->EndDictionary();
41 value->EndArray();
42 value->SetString("s0", "foo");
44 value->AppendAsTraceFormat(&json);