Home
last modified time | relevance | path

Searched refs:otype (Results 1 – 25 of 37) sorted by relevance

12

/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_value.c69 bhnd_nvram_type otype);
72 bhnd_nvram_type otype);
75 bhnd_nvram_type otype);
78 bhnd_nvram_type otype);
81 bhnd_nvram_type otype);
278 bhnd_nvram_type otype; in bhnd_nvram_val_init_common() local
293 otype = fmt->native_type; in bhnd_nvram_val_init_common()
296 otype = itype; in bhnd_nvram_val_init_common()
303 if (otype == itype) { in bhnd_nvram_val_init_common()
312 error = bhnd_nvram_value_coerce(inp, ilen, itype, NULL, &olen, otype); in bhnd_nvram_val_init_common()
[all …]
H A Dbhnd_nvram_value_fmts.c67 bhnd_nvram_type otype);
75 bhnd_nvram_type otype);
84 void *outp, size_t *olen, bhnd_nvram_type otype);
89 bhnd_nvram_type otype);
93 bhnd_nvram_type otype);
101 bhnd_nvram_type otype);
104 void *outp, size_t *olen, bhnd_nvram_type otype);
264 bhnd_nvram_type otype) in bhnd_nvram_val_bcm_int_encode() argument
268 if (otype == BHND_NVRAM_TYPE_STRING) in bhnd_nvram_val_bcm_int_encode()
271 return (bhnd_nvram_val_generic_encode(value, outp, olen, otype)); in bhnd_nvram_val_bcm_int_encode()
[all …]
H A Dbhnd_nvram_valuevar.h37 void *outp, size_t *olen, bhnd_nvram_type otype);
40 bhnd_nvram_type otype);
68 size_t *olen, bhnd_nvram_type otype);
73 bhnd_nvram_type otype);
H A Dbhnd_nvram_plist.c627 void *outp, size_t olen, bhnd_nvram_type otype) in bhnd_nvram_plist_get_encoded() argument
634 return (bhnd_nvram_prop_encode(prop, outp, &olen, otype)); in bhnd_nvram_plist_get_encoded()
942 bhnd_nvram_type *otype) in bhnd_nvram_prop_bytes() argument
946 bytes = bhnd_nvram_val_bytes(prop->val, olen, otype); in bhnd_nvram_prop_bytes()
947 BHND_NV_ASSERT(*otype == bhnd_nvram_prop_type(prop), ("type mismatch")); in bhnd_nvram_prop_bytes()
974 bhnd_nvram_type otype) in bhnd_nvram_prop_encode() argument
976 return (bhnd_nvram_val_encode(prop->val, outp, olen, otype)); in bhnd_nvram_prop_encode()
H A Dbhnd_nvram_subr.c709 size_t *nbytes, void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_parse_int() argument
719 if (!bhnd_nvram_is_int_type(otype)) in bhnd_nvram_parse_int()
799 switch (otype) { in bhnd_nvram_parse_int()
851 BHND_NV_LOG("unsupported integer type: %d\n", otype); in bhnd_nvram_parse_int()
910 *olen = bhnd_nvram_type_width(otype); in bhnd_nvram_parse_int()
917 switch (otype) { in bhnd_nvram_parse_int()
946 BHND_NV_PANIC("unhandled type %d\n", otype); in bhnd_nvram_parse_int()
H A Dbhnd_nvram_plist.h92 bhnd_nvram_type otype);
125 size_t *olen, bhnd_nvram_type *otype);
127 void *outp, size_t *olen, bhnd_nvram_type otype);
H A Dbhnd_nvram_value.h80 bhnd_nvram_type otype);
85 bhnd_nvram_type otype);
95 size_t *olen, bhnd_nvram_type *otype);
H A Dbhnd_nvram_datavar.h49 void *outp, size_t *olen, bhnd_nvram_type otype);
60 void *outp, size_t *olen, bhnd_nvram_type otype);
H A Dbhnd_nvram_data_bcmvar.h71 const char *name, void *outp, size_t *olen, bhnd_nvram_type otype,
H A Dbhnd_nvram_value_subr.c530 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_value_coerce() argument
542 error = bhnd_nvram_val_encode(&val, outp, olen, otype); in bhnd_nvram_value_coerce()
H A Dbhnd_nvram_store.h82 void *outp, size_t *olen, bhnd_nvram_type otype);
H A Dbhnd_nvram_data.c587 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_data_generic_rp_getvar() argument
611 error = bhnd_nvram_val_encode(&val, outp, olen, otype); in bhnd_nvram_data_generic_rp_getvar()
H A Dbhnd_nvram_data_bcm.c164 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_bcm_getvar_direct() argument
166 return (bhnd_nvram_bcm_getvar_direct_common(io, name, outp, olen, otype, in bhnd_nvram_bcm_getvar_direct()
175 void *outp, size_t *olen, bhnd_nvram_type otype, bool have_header) in bhnd_nvram_bcm_getvar_direct_common() argument
359 BHND_NVRAM_TYPE_STRING, outp, olen, otype)); in bhnd_nvram_bcm_getvar_direct_common()
H A Dbhnd_nvram_private.h217 bhnd_nvram_type otype);
251 bhnd_nvram_type otype);
H A Dbhnd_nvram_store.c1100 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_store_getvar() argument
1129 error = bhnd_nvram_prop_encode(prop, outp, olen, otype); in bhnd_nvram_store_getvar()
1139 otype); in bhnd_nvram_store_getvar()
/freebsd/contrib/less/
H A Doption.c87 if (!(pendopt->otype & O_UNSUPPORTED)) in scan_option()
89 switch (pendopt->otype & OTYPE) in scan_option()
212 (o->otype & OTYPE) != O_STRING && in scan_option()
213 (o->otype & OTYPE) != O_NUMBER) in scan_option()
241 switch (o->otype & OTYPE) in scan_option()
244 if (o->otype & O_UNSUPPORTED) in scan_option()
255 if (o->otype & O_UNSUPPORTED) in scan_option()
296 if (o->otype & O_UNSUPPORTED) in scan_option()
304 if (o->ofunc != NULL && !(o->otype & O_UNSUPPORTED)) in scan_option()
334 if (how_toggle == OPT_TOGGLE && (o->otype in toggle_option()
[all...]
H A Dline.c148 unsigned int otype; /* OSC type number */ member
680 pansi->otype = 0; in ansi_start()
700 static lbool valid_osc_type(int otype, lbool content) in valid_osc_type() argument
705 if (otype == 8) in valid_osc_type()
708 if (osc_ansi_allow[i] == otype) in valid_osc_type()
755 if (ckd_mul(&pansi->otype, pansi->otype, 10) || in ansi_step2()
756 ckd_add(&pansi->otype, pansi->otype, ch - '0')) in ansi_step2()
761 return osc_return(pansi, (pansi->otype in ansi_step2()
[all...]
H A Dopttbl.c805 if (o->otype & O_INIT_HANDLER)
821 if ((o->otype & O_TRIPLE) && ASCII_TO_UPPER(o->oletter) == c)
904 if (!(o->otype & O_TRIPLE)) in findopt_name()
938 if (o->otype & O_NO_TOGGLE) in findopts_name()
952 if (!(o->otype & O_TRIPLE)) in findopts_name()
H A Doption.h61 int otype; /* Type of the option */ member
/freebsd/tests/sys/cddl/zfs/tests/zinject/
H A Dzinject_001_pos.ksh78 typeset otype="file"
79 [[ -d $object ]] && otype="dir"
84 trigger_inject $etype $object $otype
H A Dzinject_002_pos.ksh79 typeset otype="file"
80 [[ -d $object ]] && otype="dir"
85 trigger_inject $etype $object $otype
H A Dzinject_003_pos.ksh74 typeset otype="file"
75 [[ -d $object ]] && otype="dir"
/freebsd/sys/net/route/
H A Droute_ifaddrs.c135 ifa_maintain_loopback_route(int cmd, const char *otype, struct ifaddr *ifa, in ifa_maintain_loopback_route() argument
170 __func__, otype, if_name(ifp), error); in ifa_maintain_loopback_route()
/freebsd/contrib/tcpdump/
H A Dprint-pim.c756 uint16_t otype, olen; in pimv2_print() local
760 otype = GET_BE_U_2(bp); in pimv2_print()
763 tok2str(pimv2_hello_option_values, "Unknown", otype), in pimv2_print()
764 otype, in pimv2_print()
772 switch (otype) { in pimv2_print()
/freebsd/cddl/contrib/opensolaris/common/ctf/
H A Dctf_types.c289 ctf_id_t prev = type, otype = type; in ctf_type_resolve() local
302 if (ctype == type || ctype == otype || ctype == prev) { in ctf_type_resolve()
303 ctf_dprintf("type %ld cycle detected\n", otype); in ctf_type_resolve()
976 ctf_id_t otype = type; in ctf_type_rvisit() local
988 if ((rc = func(name, otype, offset, depth, arg)) != 0) in ctf_type_rvisit()

12