/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | emitter.h | 78 /* Internal convenience function. Write to the emitter the given string. */ 81 emitter_printf(emitter_t *emitter, const char *format, ...) { in emitter_printf() argument 85 malloc_vcprintf(emitter->write_cb, emitter->cbopaque, format, ap); in emitter_printf() 117 emitter_print_value(emitter_t *emitter, emitter_justify_t justify, int width, in emitter_print_value() argument 132 emitter_printf(emitter, \ in emitter_print_value() 138 emitter_printf(emitter, in emitter_print_value() 162 emitter_printf(emitter, in emitter_print_value() 184 emitter_nest_inc(emitter_t *emitter) { in emitter_nest_inc() argument 185 emitter->nesting_depth++; in emitter_nest_inc() 186 emitter->item_at_depth = false; in emitter_nest_inc() [all …]
|
/freebsd/contrib/jemalloc/src/ |
H A D | stats.c | 7 #include "jemalloc/internal/emitter.h" 225 mutex_stats_emit(emitter_t *emitter, emitter_row_t *row, in mutex_stats_emit() argument 229 emitter_table_row(emitter, row); in mutex_stats_emit() 243 emitter_json_kv(emitter, #counter, EMITTER_TYPE_##type, \ in mutex_stats_emit() 270 stats_arena_bins_print(emitter_t *emitter, bool mutex, unsigned i, uint64_t uptime) { in stats_arena_bins_print() argument 333 emitter_table_printf(emitter, "bins:"); in stats_arena_bins_print() 334 emitter_table_row(emitter, &header_row); in stats_arena_bins_print() 335 emitter_json_array_kv_begin(emitter, "bins"); in stats_arena_bins_print() 352 emitter_table_printf(emitter, in stats_arena_bins_print() 385 emitter_json_object_begin(emitter); in stats_arena_bins_print() [all …]
|
H A D | prof.c | 10 #include "jemalloc/internal/emitter.h" 2581 prof_log_emit_threads(tsd_t *tsd, emitter_t *emitter) { in prof_log_emit_threads() argument 2582 emitter_json_array_kv_begin(emitter, "threads"); in prof_log_emit_threads() 2586 emitter_json_object_begin(emitter); in prof_log_emit_threads() 2588 emitter_json_kv(emitter, "thr_uid", emitter_type_uint64, in prof_log_emit_threads() 2593 emitter_json_kv(emitter, "thr_name", emitter_type_string, in prof_log_emit_threads() 2596 emitter_json_object_end(emitter); in prof_log_emit_threads() 2601 emitter_json_array_end(emitter); in prof_log_emit_threads() 2605 prof_log_emit_traces(tsd_t *tsd, emitter_t *emitter) { in prof_log_emit_traces() argument 2606 emitter_json_array_kv_begin(emitter, "stack_traces"); in prof_log_emit_traces() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Compiler.h | 31 template <class Emitter> class LocalScope; 32 template <class Emitter> class DestructorScope; 33 template <class Emitter> class VariableScope; 34 template <class Emitter> class DeclScope; 35 template <class Emitter> class InitLinkScope; 36 template <class Emitter> class InitStackScope; 37 template <class Emitter> class OptionScope; 38 template <class Emitter> class ArrayIndexScope; 39 template <class Emitter> class SourceLocScope; 40 template <class Emitter> class LoopScope; [all …]
|
H A D | Compiler.cpp | 28 template <class Emitter> class DeclScope final : public LocalScope<Emitter> { 30 DeclScope(Compiler<Emitter> *Ctx, const ValueDecl *VD) in DeclScope() 31 : LocalScope<Emitter>(Ctx, VD), Scope(Ctx->P, VD), in DeclScope() 56 template <class Emitter> class OptionScope final { 59 OptionScope(Compiler<Emitter> *Ctx, bool NewDiscardResult, in OptionScope() 74 Compiler<Emitter> *Ctx; 80 template <class Emitter> 81 bool InitLink::emit(Compiler<Emitter> *Ctx, const Expr *E) const { in emit() 99 template <class Emitter> class LabelScope { 104 LabelScope(Compiler<Emitter> *Ctx) : Ctx(Ctx) {} in LabelScope() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | TargetRegistry.cpp | 27 std::unique_ptr<MCObjectWriter> OW, std::unique_ptr<MCCodeEmitter> Emitter, in createMCObjectStreamer() argument 37 std::move(Emitter)); in createMCObjectStreamer() 42 std::move(Emitter)); in createMCObjectStreamer() 45 std::move(Emitter), false); in createMCObjectStreamer() 50 std::move(Emitter)); in createMCObjectStreamer() 53 std::move(Emitter)); in createMCObjectStreamer() 57 std::move(Emitter)); in createMCObjectStreamer() 61 std::move(Emitter)); in createMCObjectStreamer() 65 std::move(Emitter)); in createMCObjectStreamer() 69 std::move(Emitter)); in createMCObjectStreamer() [all …]
|
/freebsd/contrib/libucl/utils/ |
H A D | ucl-tool.c | 47 ucl_emitter_t emitter = UCL_EMIT_CONFIG; in main() local 85 emitter = UCL_EMIT_CONFIG; in main() 87 emitter = UCL_EMIT_JSON; in main() 89 emitter = UCL_EMIT_YAML; in main() 91 emitter = UCL_EMIT_JSON_COMPACT; in main() 93 emitter = UCL_EMIT_MSGPACK; in main() 154 if (emitter != UCL_EMIT_MSGPACK) { in main() 155 fprintf(out, "%s\n", ucl_object_emit(obj, emitter)); in main() 160 res = ucl_object_emit_len(obj, emitter, &len); in main()
|
/freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | TableGenBackendSkeleton.cpp | 16 #define DEBUG_TYPE "skeleton-emitter" 38 }; // emitter class 52 static TableGen::Emitter::OptClass<SkeletonEmitter> 57 // The emitter entry may be private scope. 59 // Instantiate the emitter class and invoke run(). in EmitSkeleton() 63 static TableGen::Emitter::Opt Y("gen-skeleton-entry", EmitSkeleton,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCXCOFFStreamer.cpp | 37 std::unique_ptr<MCCodeEmitter> Emitter) in PPCXCOFFStreamer() argument 39 std::move(Emitter)) {} in PPCXCOFFStreamer() 60 PPCMCCodeEmitter *Emitter = in emitInstruction() local 64 if (!Emitter->isPrefixedInstruction(Inst)) { in emitInstruction() 75 std::unique_ptr<MCCodeEmitter> Emitter) { in createPPCXCOFFStreamer() argument 77 std::move(Emitter)); in createPPCXCOFFStreamer()
|
H A D | PPCELFStreamer.cpp | 41 std::unique_ptr<MCCodeEmitter> Emitter) in PPCELFStreamer() argument 42 : MCELFStreamer(Context, std::move(MAB), std::move(OW), std::move(Emitter)), in PPCELFStreamer() 87 PPCMCCodeEmitter *Emitter = in emitInstruction() local 105 if (!Emitter->isPrefixedInstruction(Inst)) { in emitInstruction() 226 std::unique_ptr<MCCodeEmitter> Emitter) { in createPPCELFStreamer() argument 228 std::move(Emitter)); in createPPCELFStreamer()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 562 ConstantEmitter &Emitter; member in __anon9d6f04f10111::ConstStructBuilder 567 static llvm::Constant *BuildStruct(ConstantEmitter &Emitter, 570 static llvm::Constant *BuildStruct(ConstantEmitter &Emitter, 572 static bool UpdateStruct(ConstantEmitter &Emitter, 577 ConstStructBuilder(ConstantEmitter &Emitter, in ConstStructBuilder() argument 579 : CGM(Emitter.CGM), Emitter(Emitter), Builder(Builder), in ConstStructBuilder() 653 static bool EmitDesignatedInitUpdater(ConstantEmitter &Emitter, in EmitDesignatedInitUpdater() argument 658 return ConstStructBuilder::UpdateStruct(Emitter, Const, Offset, Updater); in EmitDesignatedInitUpdater() 660 auto CAT = Emitter.CGM.getContext().getAsConstantArrayType(Type); in EmitDesignatedInitUpdater() 664 CharUnits ElemSize = Emitter.CGM.getContext().getTypeSizeInChars(ElemType); in EmitDesignatedInitUpdater() [all …]
|
H A D | ConstantEmitter.h | 31 /// Whether non-abstract components of the emitter have been initialized. 34 /// Whether the emitter has been finalized. 133 // These are private helper routines of the constant emitter that 149 /// 'signal' value that is registered with the emitter later. 152 /// Register a 'signal' value with the emitter to inform it where to 158 /// the emitter, e.g. by being installed as the initializer of a global
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
H A D | AMDGPUELFStreamer.cpp | 24 std::unique_ptr<MCCodeEmitter> Emitter) in AMDGPUELFStreamer() argument 26 std::move(Emitter)) {} in AMDGPUELFStreamer() 35 std::unique_ptr<MCCodeEmitter> Emitter) { in createAMDGPUELFStreamer() argument 37 std::move(Emitter)); in createAMDGPUELFStreamer()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | DisassemblerEmitter.cpp | 24 /// X86 Disassembler Emitter 29 /// The X86 disassembler emitter is part of the X86 Disassembler, which is 32 /// The emitter produces the tables that the disassembler uses to translate 33 /// instructions. The emitter generates the following tables: 63 /// emitter reports a conflict and dies. 81 /// DisassemblerEmitter.cpp contains the implementation for the emitter, 136 static TableGen::Emitter::Opt X("gen-disassembler", EmitDisassembler,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/ |
H A D | AVRMCELFStreamer.h | 31 std::unique_ptr<MCCodeEmitter> Emitter) in AVRMCELFStreamer() argument 33 std::move(Emitter)), in AVRMCELFStreamer() 38 std::unique_ptr<MCCodeEmitter> Emitter, in AVRMCELFStreamer() argument 41 std::move(Emitter)), in AVRMCELFStreamer()
|
/freebsd/contrib/libucl/src/ |
H A D | ucl_emitter.c | 189 * @param ctx emitter context 218 * @param ctx emitter context 245 * @param ctx emitter context 291 * @param ctx emitter context 352 * @param ctx emitter context 459 if (ud->emitter) { in ucl_emitter_common_elt() 460 ud_out = ud->emitter (obj->value.ud); in ucl_emitter_common_elt() 485 * Specific standard implementations of the emitter functions 591 if (ud->emitter) { in UCL_EMIT_TYPE_IMPL() 592 ud_out = ud->emitter (obj->value.ud); in UCL_EMIT_TYPE_IMPL() [all …]
|
/freebsd/contrib/libucl/python/src/ |
H A D | uclmodule.c | 218 ucl_emitter_t emitter; in ucl_dump() local 221 emitter = UCL_EMIT_CONFIG; in ucl_dump() 223 if (!PyArg_ParseTuple(args, "O|i", &obj, &emitter)) { in ucl_dump() 228 if (emitter >= UCL_EMIT_MAX) { in ucl_dump() 229 PyErr_SetString(PyExc_TypeError, "Invalid emitter type"); in ucl_dump() 242 buf = (char *) ucl_object_emit (root, emitter); in ucl_dump()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | ScheduleDAGSDNodes.cpp | 738 ProcessSDDbgValues(SDNode *N, SelectionDAG *DAG, InstrEmitter &Emitter, in ProcessSDDbgValues() argument 757 MachineBasicBlock *BB = Emitter.getBlock(); in ProcessSDDbgValues() 758 MachineBasicBlock::iterator InsertPos = Emitter.getInsertPos(); in ProcessSDDbgValues() 772 MachineInstr *DbgMI = Emitter.EmitDbgValue(DV, VRBaseMap); in ProcessSDDbgValues() 784 ProcessSourceNode(SDNode *N, SelectionDAG *DAG, InstrEmitter &Emitter, in ProcessSourceNode() argument 792 ProcessSDDbgValues(N, DAG, Emitter, Orders, VRBaseMap, 0); in ProcessSourceNode() 807 ProcessSDDbgValues(N, DAG, Emitter, Orders, VRBaseMap, Order); in ProcessSourceNode() 850 /// not necessarily refer to returned BB. The emitter may split blocks. 853 InstrEmitter Emitter(DAG->getTarget(), BB, InsertPos); in EmitSchedule() local 870 return std::prev(Emitter.getInsertPos()); in EmitSchedule() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/ |
H A D | M68kMCCodeEmitter.h | 1 //===-- M68kMCCodeEmitter.h - M68k Code Emitter -----------------*- C++ -*-===// 10 /// This file contains the declarations for the code emitter which are useful 11 /// outside of the emitter itself.
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsELFStreamer.cpp | 28 std::unique_ptr<MCCodeEmitter> Emitter) in MipsELFStreamer() argument 30 std::move(Emitter)) { in MipsELFStreamer() 118 std::unique_ptr<MCCodeEmitter> Emitter) { in createMipsELFStreamer() argument 120 std::move(Emitter)); in createMipsELFStreamer()
|
H A D | MipsMCTargetDesc.cpp | 107 std::unique_ptr<MCCodeEmitter> &&Emitter) { in createMCStreamer() argument 111 std::move(Emitter)); in createMCStreamer() 114 std::move(Emitter)); in createMCStreamer() 205 // Register the MC Code Emitter in LLVMInitializeMipsTargetMC()
|
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
H A D | DWARFLinkerImpl.cpp | 1261 DwarfEmitterImpl Emitter(DWARFLinker::OutputFileType::Object, in emitAppleAcceleratorSections() local 1263 if (Error Err = Emitter.init(TargetTriple, "__DWARF")) { in emitAppleAcceleratorSections() 1269 Emitter.emitAppleNamespaces(AppleNamespaces); in emitAppleAcceleratorSections() 1270 Emitter.finish(); in emitAppleAcceleratorSections() 1282 DwarfEmitterImpl Emitter(DWARFLinker::OutputFileType::Object, in emitAppleAcceleratorSections() local 1284 if (Error Err = Emitter.init(TargetTriple, "__DWARF")) { in emitAppleAcceleratorSections() 1290 Emitter.emitAppleNames(AppleNames); in emitAppleAcceleratorSections() 1291 Emitter.finish(); in emitAppleAcceleratorSections() 1303 DwarfEmitterImpl Emitter(DWARFLinker::OutputFileType::Object, in emitAppleAcceleratorSections() local 1305 if (Error Err = Emitter.init(TargetTriple, "__DWARF")) { in emitAppleAcceleratorSections() [all …]
|
H A D | DWARFLinkerUnit.cpp | 100 DwarfEmitterImpl Emitter(DWARFLinker::OutputFileType::Object, OutSection.OS); in emitDebugInfo() local 101 if (Error Err = Emitter.init(TargetTriple, "__DWARF")) in emitDebugInfo() 105 Emitter.emitCompileUnitHeader(*this); in emitDebugInfo() 113 Emitter.emitDIE(*OutUnitDIE); in emitDebugInfo() 114 Emitter.finish(); in emitDebugInfo()
|
/freebsd/contrib/libucl/ |
H A D | ChangeLog.md | 5 - Streamline emitter has been added, so it is now possible to output partial `ucl` objects 6 - Emitter now is more flexible due to emitter_context structure 46 - Add msgpack support for parser and emitter
|
/freebsd/contrib/libucl/include/ |
H A D | ucl.h | 50 * - @ref emitter 142 UCL_EMIT_MAX /**< Unsupported emitter type */ 297 * @param emitter emitter for userdata 302 ucl_userdata_emitter emitter, void *ptr) UCL_WARN_UNUSED_RESULT; 1383 * @defgroup emitter Emitting functions 1391 * Structure using for emitter callbacks 1426 * Structure that defines emitter functions 1429 /** Name of emitter (e.g. json, compact_json) */ 1471 * @param emitter a set of emitter functions 1477 struct ucl_emitter_functions *emitter, [all …]
|