Home
last modified time | relevance | path

Searched refs:dumper (Results 1 – 25 of 111) sorted by relevance

12345

/external/adhd/cras/src/common/
Ddumper.c13 void dumpf(struct dumper *dumper, const char *format, ...) in dumpf() argument
17 dumper->vprintf(dumper, format, ap); in dumpf()
25 struct dumper *mem_dumper;
28 static void syslog_vprintf(struct dumper *dumper, const char *fmt, va_list ap) in syslog_vprintf() argument
32 struct syslog_data *data = (struct syslog_data *)dumper->data; in syslog_vprintf()
33 struct dumper *mem_dumper = data->mem_dumper; in syslog_vprintf()
54 struct dumper *syslog_dumper_create(int priority) in syslog_dumper_create()
56 struct dumper *dumper = calloc(1, sizeof(struct dumper)); in syslog_dumper_create() local
60 dumper->data = data; in syslog_dumper_create()
61 dumper->vprintf = &syslog_vprintf; in syslog_dumper_create()
[all …]
Ddumper.h16 struct dumper { struct
17 void (*vprintf)(struct dumper *dumper, const char *format, va_list ap); argument
22 void dumpf(struct dumper *dumper, const char *format, ...);
27 struct dumper *syslog_dumper_create(int priority);
28 void syslog_dumper_free(struct dumper *dumper);
33 struct dumper *mem_dumper_create();
34 void mem_dumper_free(struct dumper *dumper);
37 void mem_dumper_get(struct dumper *dumper, char **buf, int *size);
40 void mem_dumper_clear(struct dumper *dumper);
43 void mem_dumper_consume(struct dumper *dumper, int n);
/external/adhd/cras/src/tests/
Ddumper_unittest.cc13 struct dumper *dumper = syslog_dumper_create(LOG_ERR); in TEST() local
14 dumpf(dumper, "hello %d", 1); in TEST()
15 dumpf(dumper, "world %d\n123", 2); in TEST()
16 dumpf(dumper, "456\n"); in TEST()
20 syslog_dumper_free(dumper); in TEST()
24 struct dumper *dumper = mem_dumper_create(); in TEST() local
28 mem_dumper_get(dumper, &buf, &size); in TEST()
31 dumpf(dumper, "hello %d\n", 1); in TEST()
32 mem_dumper_get(dumper, &buf, &size); in TEST()
36 dumpf(dumper, "world %d", 2); in TEST()
[all …]
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_ptrace_dumper_unittest.cc122 LinuxPtraceDumper dumper(getppid()); in TEST_F() local
126 LinuxPtraceDumper dumper(getppid()); in TEST_F() local
127 ASSERT_TRUE(dumper.Init()); in TEST_F()
129 ASSERT_TRUE(dumper.FindMapping(reinterpret_cast<void*>(getpid))); in TEST_F()
130 ASSERT_TRUE(dumper.FindMapping(reinterpret_cast<void*>(printf))); in TEST_F()
131 ASSERT_FALSE(dumper.FindMapping(NULL)); in TEST_F()
135 LinuxPtraceDumper dumper(getppid()); in TEST_F() local
136 ASSERT_TRUE(dumper.Init()); in TEST_F()
138 ASSERT_GE(dumper.threads().size(), (size_t)1); in TEST_F()
140 for (size_t i = 0; i < dumper.threads().size(); ++i) { in TEST_F()
[all …]
Dlinux_core_dumper_unittest.cc45 LinuxCoreDumper dumper(getpid(), "core_file", procfs_path); in TEST() local
51 EXPECT_TRUE(dumper.BuildProcPath(maps_path, pid, "maps")); in TEST()
54 EXPECT_FALSE(dumper.BuildProcPath(NULL, pid, "maps")); in TEST()
55 EXPECT_FALSE(dumper.BuildProcPath(maps_path, pid, "")); in TEST()
56 EXPECT_FALSE(dumper.BuildProcPath(maps_path, pid, NULL)); in TEST()
62 EXPECT_FALSE(dumper.BuildProcPath(maps_path, pid, long_node)); in TEST()
92 LinuxCoreDumper dumper(child_pid, core_file.c_str(), procfs_path.c_str()); in TEST() local
94 EXPECT_TRUE(dumper.Init()); in TEST()
96 EXPECT_TRUE(dumper.IsPostMortem()); in TEST()
99 EXPECT_TRUE(dumper.ThreadsSuspend()); in TEST()
[all …]
Dminidump_writer.cc131 LinuxDumper* dumper) in MinidumpWriter() argument
138 dumper_(dumper), in MinidumpWriter()
1274 LinuxPtraceDumper dumper(crashing_process); in WriteMinidumpImpl() local
1280 dumper.set_crash_address( in WriteMinidumpImpl()
1282 dumper.set_crash_signal(context->siginfo.si_signo); in WriteMinidumpImpl()
1283 dumper.set_crash_thread(context->tid); in WriteMinidumpImpl()
1286 appmem, &dumper); in WriteMinidumpImpl()
1314 LinuxPtraceDumper dumper(process); in WriteMinidump() local
1316 dumper.set_crash_signal(MD_EXCEPTION_CODE_LIN_DUMP_REQUESTED); in WriteMinidump()
1317 dumper.set_crash_thread(process_blamed_thread); in WriteMinidump()
[all …]
/external/mesa3d/src/gallium/tools/trace/
Ddiff_state.py189 self.dumper = Dumper(stream)
201 self.dumper.enter_object()
213 self.dumper.enter_member(name)
215 self.dumper.leave_member(i == len(names) - 1)
217 self.dumper.leave_object()
223 self.dumper.enter_array()
234 self.dumper._indent()
236 self.dumper.visit(ae)
240 self.dumper._write(',')
241 self.dumper._newline()
[all …]
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/
DClassFileDumperTest.java45 final ClassFileDumper dumper = new ClassFileDumper(location.toString()); in testDumpClassWithPackage() local
46 dumper.dump("org/jacoco/examples/Foo$Inner", contents); in testDumpClassWithPackage()
54 final ClassFileDumper dumper = new ClassFileDumper(location.toString()); in testDumpClassInDefaultPackage() local
55 dumper.dump("Main", contents); in testDumpClassInDefaultPackage()
61 final ClassFileDumper dumper = new ClassFileDumper(null); in testNoDumps() local
62 dumper.dump("Main", contents); in testNoDumps()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/stress/
DStressEmitterTest.java40 Yaml dumper = new Yaml(); in testPerformance() local
42 dumper.dumpAsMap(invoice); in testPerformance()
52 dumper.dump(invoice); in testPerformance()
67 dumper = new Yaml(); in testPerformance()
68 dumper.dumpAsMap(invoice); in testPerformance()
/external/snakeyaml/src/test/java/examples/jodatime/
DJodaTimeFlowStylesTest.java49 Yaml dumper = new Yaml(new JodaTimeRepresenter(), options); in testLoadBeanWithBlockFlow() local
51 Node node1 = dumper.represent(bean); in testLoadBeanWithBlockFlow()
58 List<Event> events1 = dumper.serialize(node1); in testLoadBeanWithBlockFlow()
73 String doc1 = dumper.dump(bean); in testLoadBeanWithBlockFlow()
124 Yaml dumper = new Yaml(new JodaTimeRepresenter(), options); in testLoadBeanWithAutoFlow() local
125 String doc = dumper.dump(bean); in testLoadBeanWithAutoFlow()
/external/icu/icu4c/source/tools/tzcode/
Dicuzdump.cpp348 ICUZDump dumper; in main() local
349 dumper.setLowYear(low); in main()
350 dumper.setHighYear(high); in main()
353 dumper.setLineSeparator((const char*)linesep); in main()
380 dumper.setTimeZone(tz); in main()
397 dumper.dump(*fout); in main()
411 dumper.setTimeZone(tz); in main()
419 dumper.dump(cout); in main()
/external/google-breakpad/src/client/linux/microdump_writer/
Dmicrodump_writer.cc63 LinuxDumper* dumper) in MicrodumpWriter() argument
68 dumper_(dumper), in MicrodumpWriter()
380 LinuxPtraceDumper dumper(crashing_process); in WriteMicrodump() local
386 dumper.set_crash_address( in WriteMicrodump()
388 dumper.set_crash_signal(context->siginfo.si_signo); in WriteMicrodump()
389 dumper.set_crash_thread(context->tid); in WriteMicrodump()
391 MicrodumpWriter writer(context, mappings, &dumper); in WriteMicrodump()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/generics/
DObjectValuesTest.java47 Yaml dumper = new Yaml(); in testObjectValues() local
48 String dumpedStr = dumper.dumpAsMap(ov); in testObjectValues()
77 Yaml dumper = new Yaml(); in testObjectValuesWithParam() local
78 String dumpedStr = dumper.dumpAsMap(ov); in testObjectValuesWithParam()
DGenericArrayTypeTest.java77 Yaml dumper = new Yaml(); in testJavaBean() local
78 String doc = dumper.dumpAsMap(bean); in testJavaBean()
/external/adhd/cras/src/server/
Dcras_expr.h83 void cras_expr_env_dump(struct dumper *d, const struct cras_expr_env *env);
94 void cras_expr_expression_dump(struct dumper *d,
97 void cras_expr_value_dump(struct dumper *d,
/external/google-breakpad/src/tools/solaris/dump_syms/
Ddump_syms.cc47 DumpSymbols dumper; in main() local
48 if (!dumper.WriteSymbolFile(binary, fileno(stdout))) { in main()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DELFDumper.cpp343 const ELFDumper<ELFT> *dumper() const { return Dumper; } in dumper() function in __anon4a3f16960111::DumpStyle
2650 Obj->getSection(Sym, SymTab, this->dumper()->getShndxTable())); in printRelocation()
2985 Symbol, FirstSym, this->dumper()->getShndxTable())); in getSymbolSectionNdx()
3046 Name = this->dumper()->getFullSymbolName(Symbol, StrTable, IsDynamic); in printSymbol()
3090 Name = this->dumper()->getFullSymbolName(Symbol, StrTable, true); in printHashedSymbol()
3108 this->dumper()->printSymbolsHelper(true); in printSymbols()
3109 this->dumper()->printSymbolsHelper(false); in printSymbols()
3114 if (this->dumper()->getDynamicStringTable().empty()) in printDynamicSymbols()
3116 auto StringTable = this->dumper()->getDynamicStringTable(); in printDynamicSymbols()
3117 auto DynSyms = this->dumper()->dynamic_symbols(); in printDynamicSymbols()
[all …]
/external/google-breakpad/src/tools/linux/core2md/
Dcore2md.cc51 LinuxCoreDumper dumper(0, core_path, procfs_override); in WriteMinidumpFromCore() local
53 &dumper); in WriteMinidumpFromCore()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/
DICUZDump.java350 ICUZDump dumper = new ICUZDump(); in dumpZone() local
357 dumper.setTimeZone(tzimpl); in dumpZone()
358 dumper.setLowYear(low); in dumpZone()
359 dumper.setHighYear(high); in dumpZone()
360 dumper.setLineSeparator(lineSep); in dumpZone()
361 dumper.dump(w); in dumpZone()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue50/
DSnakeyamlTest.java68 Yaml dumper = new Yaml(); in testIntrospector() local
69 String output = dumper.dump(someBean); in testIntrospector()
/external/boringssl/src/ssl/test/runner/
Drecordingconn.go102 dumper := hex.Dumper(w)
103 dumper.Write(flow.data)
104 dumper.Close()
/external/yapf/yapf/yapflib/
Dpytree_visitor.py103 dumper = PyTreeDumper(target_stream)
104 dumper.Visit(tree)
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DOpenTypeTableWriter.java124 OpenTypeTableDumper dumper = new OpenTypeTableDumper(data, outputIndex); in dumpTable() local
126 dumper.dumpTable(output, valuesPerLine); in dumpTable()
/external/grpc-grpc/tools/buildgen/
Dbuild-cleaner.py34 def repr_ordered_dict(dumper, odict): argument
35 return dumper.represent_mapping(u'tag:yaml.org,2002:map', odict.items())
/external/tensorflow/tensorflow/compiler/xla/tools/
Ddumped_computation_to_operation_list.cc93 OperationDumper dumper(arg); in RealMain() local
95 TF_CHECK_OK(computation->Accept(&dumper)); in RealMain()

12345