/freebsd/contrib/libxo/libxo/ |
H A D | libxo.c | 406 xo_transition (xo_handle_t *xop, xo_xof_flags_t flags, const char *name, 410 xo_set_options_simple (xo_handle_t *xop, const char *input); 416 xo_buf_append_div (xo_handle_t *xop, const char *class, xo_xff_flags_t flags, 423 xo_anchor_clear (xo_handle_t *xop); 434 xo_style (xo_handle_t *xop UNUSED) in xo_style() 439 return xop->xo_style; in xo_style() 529 xo_depth_check (xo_handle_t *xop, int depth) in xo_depth_check() argument 533 if (depth >= xop->xo_stack_size) { in xo_depth_check() 536 xsp = xo_realloc(xop->xo_stack, sizeof(xop->xo_stack[0]) * depth); in xo_depth_check() 538 xo_failure(xop, "xo_depth_check: out of memory (%d)", depth); in xo_depth_check() [all …]
|
H A D | xo.h | 158 xo_destroy (xo_handle_t *xop); 161 xo_set_writer (xo_handle_t *xop, void *opaque, xo_write_func_t write_func, 168 xo_set_style (xo_handle_t *xop, xo_style_t style); 171 xo_get_style (xo_handle_t *xop); 174 xo_set_style_name (xo_handle_t *xop, const char *style); 177 xo_set_options (xo_handle_t *xop, const char *input); 180 xo_get_flags (xo_handle_t *xop); 183 xo_set_flags (xo_handle_t *xop, xo_xof_flags_t flags); 186 xo_clear_flags (xo_handle_t *xop, xo_xof_flags_t flags); 189 xo_set_file_h (xo_handle_t *xop, FILE *fp); [all …]
|
H A D | xo_encoder.c | 316 xo_encoder_init (xo_handle_t *xop, const char *name) in xo_encoder_init() argument 350 xo_failure(xop, "invalid encoder name: %s", name); in xo_encoder_init() 363 xo_failure(xop, "encoder not founde: %s", name); in xo_encoder_init() 368 xo_set_encoder(xop, xep->xe_handler); in xo_encoder_init() 370 int rc = xo_encoder_handle(xop, XO_OP_CREATE, name, NULL, 0); in xo_encoder_init() 376 rc = xo_encoder_handle(xop, op, name, opts, 0); in xo_encoder_init() 390 xo_handle_t *xop; in xo_encoder_create() local 392 xop = xo_create(XO_STYLE_ENCODER, flags); in xo_encoder_create() 393 if (xop) { in xo_encoder_create() 394 if (xo_encoder_init(xop, name)) { in xo_encoder_create() [all …]
|
H A D | xo_encoder.h | 96 xo_handle_t *xop __attribute__ ((__unused__)), \ 134 xo_get_private (xo_handle_t *xop); 140 xo_set_private (xo_handle_t *xop, void *opaque); 143 xo_get_encoder (xo_handle_t *xop); 146 xo_set_encoder (xo_handle_t *xop, xo_encoder_func_t encoder); 149 xo_encoder_init (xo_handle_t *xop, const char *name); 155 xo_encoder_handle (xo_handle_t *xop, xo_encoder_op_t op, 168 xo_failure (xo_handle_t *xop, const char *fmt, ...);
|
H A D | xo_syslog.c | 528 xo_handle_t *xop = xo_create(XO_STYLE_SDPARAMS, 0); in xo_vsyslog() local 529 if (xop == NULL) { in xo_vsyslog() 539 xo_set_writer(xop, &xb, xo_syslog_handle_write, xo_syslog_handle_close, in xo_vsyslog() 656 xo_emit_hv(xop, fmt, ap); in xo_vsyslog() 657 xo_flush_h(xop); in xo_vsyslog() 679 xo_set_style(xop, XO_STYLE_TEXT); in xo_vsyslog() 680 xo_set_flags(xop, XOF_UTF8); in xo_vsyslog() 683 xo_emit_hv(xop, fmt, ap); in xo_vsyslog() 684 xo_flush_h(xop); in xo_vsyslog() 690 if (xo_get_flags(xop) & XOF_LOG_SYSLOG) in xo_vsyslog() [all …]
|
H A D | xo_explicit.h | 58 xo_explicit_transition (xo_handle_t *xop, xo_state_t new_state,
|
/freebsd/contrib/libxo/encoder/cbor/ |
H A D | enc_cbor.c | 167 cbor_append (xo_handle_t *xop, cbor_private_t *cbor, xo_buffer_t *xbp, in cbor_append() argument 180 if (xo_get_flags(xop) & XOF_PRETTY) in cbor_append() 187 cbor_create (xo_handle_t *xop) in cbor_create() argument 196 xo_set_private(xop, cbor); in cbor_create() 198 cbor_append(xop, cbor, &cbor->c_data, CBOR_MAP | CBOR_INDEF, 0, NULL); in cbor_create() 204 cbor_content (xo_handle_t *xop, cbor_private_t *cbor, xo_buffer_t *xbp, in cbor_content() argument 212 cbor_append(xop, cbor, &cbor->c_data, CBOR_TRUE, 0, NULL); in cbor_content() 214 cbor_append(xop, cbor, &cbor->c_data, CBOR_FALSE, 0, NULL); in cbor_content() 226 cbor_append(xop, cbor, xbp, CBOR_STRING, strlen(value), value); in cbor_content() 235 if (xo_get_flags(xop) & XOF_PRETTY) in cbor_content() [all …]
|
/freebsd/contrib/libxo/encoder/csv/ |
H A D | enc_csv.c | 164 csv_dbg (xo_handle_t *xop UNUSED, csv_private_t *csv UNUSED, in csv_dbg() 182 csv_create (xo_handle_t *xop) in csv_create() argument 196 xo_set_private(xop, csv); in csv_create() 205 csv_destroy (xo_handle_t *xop UNUSED, csv_private_t *csv) in csv_destroy() 271 csv_quote_flags (xo_handle_t *xop UNUSED, csv_private_t *csv UNUSED, in csv_quote_flags() 293 csv_dbg(xop, csv, "csv: quote flags [%s] -> %x (%zu/%zu)\n", in csv_quote_flags() 337 csv_emit_record (xo_handle_t *xop, csv_private_t *csv) in csv_emit_record() argument 339 csv_dbg(xop, csv, "csv: emit: ...\n"); in csv_emit_record() 375 quote_flags = csv_quote_flags(xop, csv, value); in csv_emit_record() 395 if (xo_get_flags(xop) & (XOF_FLUSH | XOF_FLUSH_LINE)) in csv_emit_record() [all …]
|
/freebsd/usr.bin/wc/ |
H A D | wc.c | 179 xo_handle_t *xop; in show_cnt() local 182 xop = NULL; in show_cnt() 184 xop = stderr_handle; in show_cnt() 189 xo_emit_h(xop, " {:lines/%7ju/%ju}", linect); in show_cnt() 191 xo_emit_h(xop, " {:words/%7ju/%ju}", wordct); in show_cnt() 193 xo_emit_h(xop, " {:characters/%7ju/%ju}", charct); in show_cnt() 195 xo_emit_h(xop, " {:long-lines/%7ju/%ju}", llct); in show_cnt() 197 xo_emit_h(xop, " {:filename/%s}\n", file); in show_cnt() 199 xo_emit_h(xop, "\n"); in show_cnt()
|
/freebsd/contrib/libxo/doc/ |
H A D | api.rst | 66 xo_handle_t *xop = xo_create(XO_STYLE_JSON, XOF_WARN | XOF_PRETTY); 68 xo_emit_h(xop, "testing\n"); 105 void xo_set_writer (xo_handle_t *xop, void *opaque, \ 117 :param xop: Handle to modify (or NULL for default handle) 118 :type xop: xo_handle_t * 131 .. c:function:: xo_style_t xo_get_style(xo_handle_t *xop) 136 :param xop: Handle to interrogate (or NULL for default handle) 137 :type xop: xo_handle_t * 175 .. c:function:: void xo_set_style(xo_handle_t *xop, xo_style_t style) 181 :param xop: Handle to modify [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/Disassembler/ |
H A D | X86DisassemblerDecoder.h | 69 #define rFromXOP2of3(xop) invertedBitFromOffset7(xop) argument 70 #define xFromXOP2of3(xop) invertedBitFromOffset6(xop) argument 71 #define bFromXOP2of3(xop) invertedBitFromOffset5(xop) argument 72 #define mmmmmFromXOP2of3(xop) fiveBitsFromOffset0(xop) argument 73 #define wFromXOP3of3(xop) bitFromOffset7(xop) argument 74 #define vvvvFromXOP3of3(xop) invertedFourBitsFromOffset3(xop) argument 75 #define lFromXOP3of3(xop) bitFromOffset2(xop) argument 76 #define ppFromXOP3of3(xop) twoBitsFromOffset0(xop) argument
|
/freebsd/sys/modules/blake2/ |
H A D | Makefile | 27 SRCS += blake2s-load-xop.h 35 SRCS_IN += blake2b-xop.c 40 SRCS_IN += blake2s-xop.c 56 CFLAGS.blake2b-xop.c += -DSUFFIX=_xop -msse2 -mssse3 -msse4.1 -mavx -mxop 57 CFLAGS.blake2s-xop.c += -DSUFFIX=_xop -msse2 -mssse3 -msse4.1 -mavx -mxop
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | BuiltinsX86.def | 716 TARGET_BUILTIN(__builtin_ia32_vpmacssww, "V8sV8sV8sV8s", "ncV:128:", "xop") 717 TARGET_BUILTIN(__builtin_ia32_vpmacsww, "V8sV8sV8sV8s", "ncV:128:", "xop") 718 TARGET_BUILTIN(__builtin_ia32_vpmacsswd, "V4iV8sV8sV4i", "ncV:128:", "xop") 719 TARGET_BUILTIN(__builtin_ia32_vpmacswd, "V4iV8sV8sV4i", "ncV:128:", "xop") 720 TARGET_BUILTIN(__builtin_ia32_vpmacssdd, "V4iV4iV4iV4i", "ncV:128:", "xop") 721 TARGET_BUILTIN(__builtin_ia32_vpmacsdd, "V4iV4iV4iV4i", "ncV:128:", "xop") 722 TARGET_BUILTIN(__builtin_ia32_vpmacssdql, "V2OiV4iV4iV2Oi", "ncV:128:", "xop") 723 TARGET_BUILTIN(__builtin_ia32_vpmacsdql, "V2OiV4iV4iV2Oi", "ncV:128:", "xop") 724 TARGET_BUILTIN(__builtin_ia32_vpmacssdqh, "V2OiV4iV4iV2Oi", "ncV:128:", "xop") 725 TARGET_BUILTIN(__builtin_ia32_vpmacsdqh, "V2OiV4iV4iV2Oi", "ncV:128:", "xop") [all …]
|
H A D | AttrDocs.td | 2529 "avx", "xop" and largely correspond to the machine specific options handled by 2608 "avx", "xop" and largely correspond to the machine specific options handled by
|
/freebsd/share/mk/ |
H A D | bsd.cpu.mk | 148 MACHINE_CPU = xop avx2 avx sse42 sse41 ssse3 sse4a sse3 sse2 sse mmx k6 k5 i586 f16c 150 MACHINE_CPU = xop avx sse42 sse41 ssse3 sse4a sse3 sse2 sse mmx k6 k5 i586 f16c 152 MACHINE_CPU = xop avx sse42 sse41 ssse3 sse4a sse3 sse2 sse mmx k6 k5 i586 234 MACHINE_CPU = xop avx2 avx sse42 sse41 ssse3 sse4a sse3 f16c 236 MACHINE_CPU = xop avx sse42 sse41 ssse3 sse4a sse3 f16c 238 MACHINE_CPU = xop avx sse42 sse41 ssse3 sse4a sse3
|
/freebsd/contrib/libxo/xo/ |
H A D | xo.c | 81 checkpoint (xo_handle_t *xop UNUSED, va_list vap UNUSED, int restore) in checkpoint() 95 formatter (xo_handle_t *xop, char *buf, xo_ssize_t bufsiz, in formatter() argument 127 xo_error_h(xop, "unsupported format: '%s'", fmt); in formatter()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/ |
H A D | X86TargetParser.def | 154 X86_FEATURE_COMPAT(XOP, "xop", 15)
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86.td | 197 def FeatureXOP : SubtargetFeature<"xop", "HasXOP", "true",
|
/freebsd/contrib/llvm-project/clang/include/clang/Driver/ |
H A D | Options.td | 6358 def mno_xop : Flag<["-"], "mno-xop">, Group<m_x86_Features_Group>;
|