type1
struct ntlm_type1 type1;
ret = heim_ntlm_decode_type1(&data, &type1);
if ((type1.flags & NTLM_NEG_UNICODE) == 0) {
heim_ntlm_free_type1(&type1);
if (type1.flags & NTLM_NEG_SIGN)
if (type1.flags & NTLM_NEG_SIGN)
type1.flags,
type1.hostname,
type1.domain,
heim_ntlm_free_type1(&type1);
struct ntlm_type1 type1;
memset(&type1, 0, sizeof(type1));
type1.flags = flags;
type1.domain = name->domain;
type1.hostname = NULL;
type1.os[0] = 0;
type1.os[1] = 0;
ret = heim_ntlm_encode_type1(&type1, &data);
struct ntlm_type1 type1;
memset(&type1, 0, sizeof(type1));
type1.flags = NTLM_NEG_UNICODE|NTLM_NEG_NTLM|flags;
type1.domain = strdup(domain);
type1.hostname = NULL;
type1.os[0] = 0;
type1.os[1] = 0;
ret = heim_ntlm_encode_type1(&type1, &data);
struct ntlm_type1 type1;
memset(&type1, 0, sizeof(type1));
type1.flags = NTLM_NEG_UNICODE|NTLM_NEG_TARGET|NTLM_NEG_NTLM|flags;
type1.domain = strdup(domain);
type1.hostname = NULL;
type1.os[0] = 0;
type1.os[1] = 0;
ret = heim_ntlm_encode_type1(&type1, &data);
heim_ntlm_encode_type1(const struct ntlm_type1 *type1, struct ntlm_buf *data)
flags = type1->flags;
if (type1->domain) {
if (type1->hostname) {
if (type1->os[0])
if (type1->domain) {
domain.length = len_string(0, type1->domain);
if (type1->hostname) {
hostname.length = len_string(0, type1->hostname);
CHECK(krb5_store_uint32(out, type1->os[0]), 0);
CHECK(krb5_store_uint32(out, type1->os[1]), 0);
if (type1->domain)
CHECK(put_string(out, 0, type1->domain), 0);
if (type1->hostname)
CHECK(put_string(out, 0, type1->hostname), 0);
struct ntlm_type1 type1;
memset(&type1, 0, sizeof(type1));
type1.flags = NTLM_NEG_UNICODE|NTLM_NEG_TARGET|NTLM_NEG_NTLM;
type1.domain = rk_UNCONST(domain);
type1.hostname = NULL;
type1.os[0] = 0;
type1.os[1] = 0;
ret = heim_ntlm_encode_type1(&type1, &data);
memset(&type1, 0, sizeof(type1));
ret = heim_ntlm_decode_type1(&data, &type1);
heim_ntlm_free_type1(&type1);
#define IMPLEMENT_OBJ_BSEARCH_CMP_FN(type1, type2, nm) \
type1 const *a = a_; \
static type2 *OBJ_bsearch_##nm(type1 *key, type2 const *base, int num) \
#define IMPLEMENT_OBJ_BSEARCH_GLOBAL_CMP_FN(type1, type2, nm) \
type1 const *a = a_; \
type2 *OBJ_bsearch_##nm(type1 *key, type2 const *base, int num) \
#define OBJ_bsearch(type1, key, type2, base, num, cmp) \
((type2 *)OBJ_bsearch_(CHECKED_PTR_OF(type1, key), CHECKED_PTR_OF(type2, base), \
((void)CHECKED_PTR_OF(type1, cmp##_type_1), \
#define OBJ_bsearch_ex(type1, key, type2, base, num, cmp, flags) \
((type2 *)OBJ_bsearch_ex_(CHECKED_PTR_OF(type1, key), CHECKED_PTR_OF(type2, base), \
((void)CHECKED_PTR_OF(type1, cmp##_type_1), \
#define _DECLARE_OBJ_BSEARCH_CMP_FN(scope, type1, type2, nm) \
static int nm##_cmp(type1 const *, type2 const *); \
scope type2 *OBJ_bsearch_##nm(type1 *key, type2 const *base, int num)
#define DECLARE_OBJ_BSEARCH_CMP_FN(type1, type2, cmp) \
_DECLARE_OBJ_BSEARCH_CMP_FN(static, type1, type2, cmp)
#define DECLARE_OBJ_BSEARCH_GLOBAL_CMP_FN(type1, type2, nm) \
type2 *OBJ_bsearch_##nm(type1 *key, type2 const *base, int num)
#define __ssp_bos_icheck2_restrict(fun, type1, type2) \
static __inline type1 __ ## fun ## _ichk(type1, type2); \
static __inline __attribute__((__always_inline__)) type1 \
__ ## fun ## _ichk(type1 __restrict dst, type2 __restrict src) { \
#define __ssp_bos_icheck3_restrict(fun, type1, type2) \
static __inline type1 __ ## fun ## _ichk(type1 __restrict, type2 __restrict, size_t); \
static __inline __attribute__((__always_inline__)) type1 \
__ ## fun ## _ichk(type1 __restrict dst, type2 __restrict src, size_t len) { \
#define __ssp_bos_icheck3(fun, type1, type2) \
static __inline type1 __ ## fun ## _ichk(type1, type2, size_t); \
static __inline __attribute__((__always_inline__)) type1 \
__ ## fun ## _ichk(type1 dst, type2 src, size_t len) { \
int type1, vector1;
type1 = info1 & VM_INTINFO_TYPE;
if (type1 == VM_INTINFO_HWEXCEPTION && vector1 == IDT_DF) {
} type1;
#define DTRACE_PROBE2(name, type0, arg0, type1, arg1)
#define DTRACE_PROBE3(name, type0, arg0, type1, arg1, type2, arg2)
#define DTRACE_PROBE4(name, type0, arg0, type1, arg1, type2, arg2, type3, arg3)
#define DTRACE_PROBE5(name, type0, arg0, type1, arg1, type2, arg2, type3, arg3,\
#define DTRACE_PROBE2(name, type0, arg0, type1, arg1) \
SDT_PROBE_ARGTYPE(sdt, , , name, 1, #type1, NULL); \
#define DTRACE_PROBE3(name, type0, arg0, type1, arg1, type2, arg2) \
SDT_PROBE_ARGTYPE(sdt, , , name, 1, #type1, NULL); \
#define DTRACE_PROBE4(name, type0, arg0, type1, arg1, type2, arg2, type3, arg3) \
SDT_PROBE_ARGTYPE(sdt, , , name, 1, #type1, NULL); \
#define DTRACE_PROBE5(name, type0, arg0, type1, arg1, type2, arg2, type3, arg3, \
SDT_PROBE_ARGTYPE(sdt, , , name, 1, #type1, NULL); \
return (type1(msgvec, 1, 1));
return (type1(msgvec, 0, 1));
return (type1(msgvec, 1, 0));
return (type1(msgvec, 0, 0));
int type1(int *, int, int);
struct smbios_table_type1 *type1;
type1 = (struct smbios_table_type1 *)curaddr;
uuid_enc_le(&type1->uuid, &uuid);
memcpy(&type1->uuid, digest, sizeof (digest));