Lines Matching refs:thing

34 	void testString(string &out, const string &thing) override  in testString()  argument
36 printf("testString(\"%s\")\n", thing.c_str()); in testString()
37 out = thing; in testString()
40 bool testBool(const bool thing) override in testBool() argument
42 printf("testBool(%s)\n", thing ? "true" : "false"); in testBool()
43 return thing; in testBool()
46 int8_t testByte(const int8_t thing) override in testByte() argument
48 printf("testByte(%d)\n", (int)thing); in testByte()
49 return thing; in testByte()
52 int32_t testI32(const int32_t thing) override in testI32() argument
54 printf("testI32(%d)\n", thing); in testI32()
55 return thing; in testI32()
58 int64_t testI64(const int64_t thing) override in testI64() argument
60 printf("testI64(%" PRId64 ")\n", thing); in testI64()
61 return thing; in testI64()
64 double testDouble(const double thing) override in testDouble() argument
66 printf("testDouble(%f)\n", thing); in testDouble()
67 return thing; in testDouble()
70 void testBinary(std::string &_return, const std::string &thing) override in testBinary() argument
74 hexstr << std::hex << thing; in testBinary()
75 printf("testBinary(%lu: %s)\n", safe_numeric_cast<unsigned long>(thing.size()), in testBinary()
77 _return = thing; in testBinary()
80 void testStruct(Xtruct &out, const Xtruct &thing) override in testStruct() argument
82 printf("testStruct({\"%s\", %d, %d, %" PRId64 "})\n", thing.string_thing.c_str(), in testStruct()
83 (int)thing.byte_thing, thing.i32_thing, thing.i64_thing); in testStruct()
84 out = thing; in testStruct()
89 const Xtruct &thing = nest.struct_thing; in testNest() local
92 thing.string_thing.c_str(), (int)thing.byte_thing, thing.i32_thing, in testNest()
93 thing.i64_thing, nest.i32_thing); in testNest()
97 void testMap(map<int32_t, int32_t> &out, const map<int32_t, int32_t> &thing) override in testMap() argument
103 for (m_iter = thing.begin(); m_iter != thing.end(); ++m_iter) { in testMap()
114 out = thing; in testMap()
118 const map<std::string, std::string> &thing) override in testStringMap() argument
124 for (m_iter = thing.begin(); m_iter != thing.end(); ++m_iter) { in testStringMap()
134 out = thing; in testStringMap()
137 void testSet(set<int32_t> &out, const set<int32_t> &thing) override in testSet() argument
143 for (s_iter = thing.begin(); s_iter != thing.end(); ++s_iter) { in testSet()
154 out = thing; in testSet()
157 void testList(vector<int32_t> &out, const vector<int32_t> &thing) override in testList() argument
163 for (l_iter = thing.begin(); l_iter != thing.end(); ++l_iter) { in testList()
173 out = thing; in testList()
176 Numberz::type testEnum(const Numberz::type thing) override in testEnum() argument
178 printf("testEnum(%d)\n", thing); in testEnum()
179 return thing; in testEnum()
182 UserId testTypedef(const UserId thing) override in testTypedef() argument
184 printf("testTypedef(%" PRId64 ")\n", thing); in testTypedef()
185 return thing; in testTypedef()
321 void secondtestString(std::string &result, const std::string &thing) override in secondtestString() argument
323 result = "testString(\"" + thing + "\")"; in secondtestString()