Lines Matching defs:func
149 void printTypeCode(uint32_t typeCode, debugPrintFunc func, void* cookie)
154 func ? (*func)(cookie, buffer) : defaultPrintFunc(cookie, buffer);
160 debugPrintFunc func, void* cookie)
167 if (func == NULL) func = defaultPrintFunc;
174 if (singleLineBytesCutoff < 0) func(cookie, "\n");
175 func(cookie, "(NULL)");
180 if (singleLineBytesCutoff < 0) func(cookie, "\n");
181 func(cookie, "(empty)");
186 if (singleLineBytesCutoff < 0) func(cookie, "\n");
189 func(cookie, buf);
202 func(cookie, "{\n");
205 func(cookie, "\n");
283 if (newLine && indent) func(cookie, stringForIndent(indent));
285 func(cookie, buffer);
293 if (indent > 0) func(cookie, stringForIndent(indent-1));
294 func(cookie, "};");