Home
last modified time | relevance | path

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

123456

/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_core_dumper_unittest.cc43 const LinuxCoreDumper dumper(getpid(), "core", "/tmp", "/mnt/root"); in TEST() local
47 dumper.GetMappingAbsolutePath(mapping, path); in TEST()
55 LinuxCoreDumper dumper(getpid(), "core_file", procfs_path); in TEST() local
61 EXPECT_TRUE(dumper.BuildProcPath(maps_path, pid, "maps")); in TEST()
64 EXPECT_FALSE(dumper.BuildProcPath(NULL, pid, "maps")); in TEST()
65 EXPECT_FALSE(dumper.BuildProcPath(maps_path, pid, "")); in TEST()
66 EXPECT_FALSE(dumper.BuildProcPath(maps_path, pid, NULL)); in TEST()
72 EXPECT_FALSE(dumper.BuildProcPath(maps_path, pid, long_node)); in TEST()
102 LinuxCoreDumper dumper(child_pid, core_file.c_str(), procfs_path.c_str()); in TEST() local
104 EXPECT_TRUE(dumper.Init()); in TEST()
[all …]
Dlinux_ptrace_dumper_unittest.cc186 LinuxPtraceDumper dumper(getppid()); in TEST_F() local
190 LinuxPtraceDumper dumper(getppid()); in TEST_F() local
191 ASSERT_TRUE(dumper.Init()); in TEST_F()
193 ASSERT_TRUE(dumper.FindMapping(reinterpret_cast<void*>(getpid))); in TEST_F()
194 ASSERT_TRUE(dumper.FindMapping(reinterpret_cast<void*>(printf))); in TEST_F()
195 ASSERT_FALSE(dumper.FindMapping(NULL)); in TEST_F()
199 LinuxPtraceDumper dumper(getppid()); in TEST_F() local
200 ASSERT_TRUE(dumper.Init()); in TEST_F()
202 ASSERT_GE(dumper.threads().size(), (size_t)1); in TEST_F()
204 for (size_t i = 0; i < dumper.threads().size(); ++i) { in TEST_F()
[all …]
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeTrackOutput.java166 public void dump(Dumper dumper) { in dump() argument
167 dumper.add("total output bytes", sampleData.length); in dump()
168 dumper.add("sample count", sampleInfos.size()); in dump()
170 new DumpableFormat(lastFormat, 0).dump(dumper); in dump()
173 dumpables.get(i).dump(dumper); in dump()
223 public void dump(Dumper dumper) { in dump() argument
224 dumper in dump()
230 dumper.add("crypto mode", cryptoData.cryptoMode); in dump()
231 dumper.add("encryption key", cryptoData.encryptionKey); in dump()
233 dumper.endBlock(); in dump()
[all …]
DFakeExtractorOutput.java160 public void dump(Dumper dumper) { in dump() argument
162 dumper in dump()
168 dumper.add("getPosition(1)", seekMap.getSeekPoints(1)); in dump()
173 dumper.add("getPosition(" + midPointUs + ")", seekMap.getSeekPoints(midPointUs)); in dump()
174 dumper.add("getPosition(" + durationUs + ")", seekMap.getSeekPoints(durationUs)); in dump()
177 dumper.endBlock(); in dump()
179 dumper.add("numberOfTracks", numberOfTracks); in dump()
181 dumper.startBlock("track " + trackOutputs.keyAt(i)) in dump()
185 dumper.add("tracksEnded", tracksEnded); in dump()
DCapturingAudioSink.java138 public void dump(Dumper dumper) { in dump() argument
140 interceptedData.get(i).dump(dumper); in dump()
157 public void dump(Dumper dumper) { in dump() argument
159 dumper in dump()
184 public void dump(Dumper dumper) { in dump() argument
185 dumper in dump()
196 public void dump(Dumper dumper) { in dump() argument
197 dumper.startBlock("discontinuity").endBlock(); in dump()
/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/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()
/external/adhd/cras/src/server/
Dcras_expr.h87 void cras_expr_env_dump(struct dumper *d, const struct cras_expr_env *env);
98 void cras_expr_expression_dump(struct dumper *d,
101 void cras_expr_value_dump(struct dumper *d,
/external/tensorflow/tensorflow/core/util/
Ddump_graph.cc74 bool IsSet() const { return dumper != nullptr; } in IsSet()
78 dumper = nullptr; member
188 dumper, in SetGraphDumper()
192 dumper_config.config.dumper = dumper; in SetGraphDumper()
253 status = config.dumper(graph, flib_def, file.get()); in DumpGraphToFile()
/external/pigweed/pw_hex_dump/
Dhex_dump_test.cc385 FormattedHexDumper dumper(std::span<char>(buffer, 0)); in TEST()
386 EXPECT_EQ(dumper.BeginDump(source_data), Status::FailedPrecondition()); in TEST()
387 EXPECT_EQ(dumper.DumpLine(), Status::FailedPrecondition()); in TEST()
392 FormattedHexDumper dumper; in TEST() local
393 EXPECT_EQ(dumper.SetLineBuffer(std::span<char>()), Status::InvalidArgument()); in TEST()
394 EXPECT_EQ(dumper.BeginDump(source_data), Status::FailedPrecondition()); in TEST()
395 EXPECT_EQ(dumper.DumpLine(), Status::FailedPrecondition()); in TEST()
400 FormattedHexDumper dumper(buffer); in TEST() local
401 EXPECT_EQ(dumper.BeginDump(ByteSpan(nullptr, 64)), Status::InvalidArgument()); in TEST()
/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/google-breakpad/src/tools/linux/core2md/
Dcore2md.cc51 LinuxCoreDumper dumper(0, core_path, procfs_override); in WriteMinidumpFromCore() local
53 &dumper); in WriteMinidumpFromCore()
/external/llvm-project/llvm/test/ThinLTO/X86/
Ddot-dumper.ll2 ; RUN: opt -module-summary %p/Inputs/dot-dumper.ll -o %t2.bc -module-summary-dot-file=%t2.dot
36 ; COMBINED-NEXT: // Module: {{.*}}dot-dumper{{.*}}1.bc
40 ; COMBINED-NEXT: label = "dot-dumper{{.*}}1.bc";
47 ; COMBINED-NEXT: // Module: {{.*}}dot-dumper{{.*}}2.bc
51 ; COMBINED-NEXT: label = "dot-dumper{{.*}}2.bc";
/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/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/yapf/yapf/yapflib/
Dpytree_visitor.py103 dumper = PyTreeDumper(target_stream)
104 dumper.Visit(tree)
/external/llvm-project/llvm/tools/llvm-readobj/
DELFDumper.cpp801 const ELFDumper<ELFT> &dumper() const { return Dumper; } in dumper() function in __anonb7e302f30111::DumpStyle
958 this->dumper().reportUniqueWarning(std::move(Err)); in reportUniqueWarning()
963 this->dumper().reportUniqueWarning(Msg); in reportUniqueWarning()
3694 this->dumper().getRelocationTarget(R, SymTab); in printReloc()
3905 Sections, this->dumper().WarningHandler)) in printSectionHeaders()
3983 Symbol, SymIndex, this->dumper().getShndxTable()); in getSymbolSectionNdx()
4044 this->dumper().getFullSymbolName(Symbol, SymIndex, StrTable, IsDynamic); in printSymbol()
4076 this->dumper().getFullSymbolName(*Symbol, SymIndex, StrTable, true); in printHashedSymbol()
4088 this->dumper().printSymbolsHelper(true); in printSymbols()
4090 this->dumper().printSymbolsHelper(false); in printSymbols()
[all …]

123456