Searched refs:LEN (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/cmd/isns/isnsd/
H A Disns_pdu.h37 #define NEXT_TLV(OP, LEN) { \
38 if ((LEN) >= (8 + (OP)->attr_len)) { \
40 (LEN) -= (8 + (OP)->attr_len); \
44 (LEN) = 0; \
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dlexstates.h107 #undef LEN macro
109 static int NXT, LEN; variable
115 # define LEN 1 macro
119 #define STATE(s,c) (mbwide()?(c=fcmbstate(s,&NXT,&LEN),NXT):s[c=fcget()])
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dport-sockets.h40 #define SOCKET_WRITEV(FD, SG, LEN, TMP) \
41 (WSASend((FD), (SG), (LEN), &(TMP), 0, 0, 0) ? -1 : (TMP))
157 #define SOCKET_WRITEV(FD, SG, LEN, TMP) \
158 ((TMP) = writev((FD), (SG), (LEN)), (TMP))
/illumos-gate/usr/src/uts/common/zmod/
H A Dinflate.h41 LEN, /* i: waiting for length/lit code */ enumerator in enum:__anon9342
67 TYPE -> STORED or TABLE or LEN or CHECK
69 TABLE -> LENLENS -> CODELENS -> LEN
71 LEN -> LENEXT or LIT or TYPE
72 LENEXT -> DIST -> DISTEXT -> MATCH -> LEN
73 LIT -> LEN
H A Dinflate.c811 state->mode = LEN; /* decode codes */
969 state->mode = LEN;
971 case LEN:
1094 if (state->length == 0) state->mode = LEN;
1100 state->mode = LEN;
/illumos-gate/usr/src/boot/lib/libz/
H A Dinflate.h40 LEN_, /* i: same as LEN below, but only first time in */
41 LEN, /* i: waiting for length/lit/eob code */ enumerator in enum:__anon108
71 LEN_ -> LEN
73 LEN -> LENEXT or LIT or TYPE
74 LENEXT -> DIST -> DISTEXT -> MATCH -> LEN
75 LIT -> LEN
H A Dinfback.c312 state->mode = LEN; /* decode codes */
479 state->mode = LEN;
481 case LEN:
519 state->mode = LEN;
H A Dinflate.c1020 state->mode = LEN;
1021 case LEN:
1144 if (state->length == 0) state->mode = LEN;
1166 if (state->length == 0) state->mode = LEN;
1172 state->mode = LEN;
/illumos-gate/usr/src/lib/libpkg/common/
H A Dsrchcfile.c75 * LEN - (int) - [RO]
79 #define COPYPATH(DEST, SRC, LEN) \
82 if ((LEN) > sizeof ((DEST))) { \
83 (LEN) = sizeof ((DEST))-1; \
86 (void) memcpy((DEST), (SRC), (LEN)); \
87 (DEST)[(LEN)] = '\0'; \
H A Dpkglib.h189 #define vfpGets(VFP, PTR, LEN) \
192 size_t XXlXX = (LEN); \
285 #define vfpPutBytes(VFP, PTR, LEN) \
289 if (xxLen > (LEN)) { \
290 xxLen = (LEN); \
/illumos-gate/usr/src/common/net/patricia/
H A Dradix.c165 * To make the assumption more explicit, we use the LEN() macro to access
167 * to LEN() as the argument is evaluated only once.
169 #define LEN(x) (*(const uchar_t *)(x)) macro
224 caddr_t lim = n + LEN(n), lim2 = lim;
225 int longer = LEN(n++) - (int)LEN(m++);
286 int length = min(LEN(cp), LEN(cp2));
291 length = min(length, LEN(cp3));
323 int off = t->rn_offset, vlen = LEN(c
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_util.c323 MBC_ATTACH_BUF(struct mbuf_chain *MBC, unsigned char *BUF, int LEN) argument
330 (MBC)->chain->m_len = (LEN);
331 (MBC)->chain->m_ext.ext_size = (LEN);
333 (MBC)->max_bytes = (LEN);
/illumos-gate/usr/src/cmd/diff/
H A Ddiffh.c45 #define LEN 255 macro
92 t = text[f][nt] = (char *)malloc(LEN+1);
99 t = fgets(t, LEN, file[f]);
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dndr.h220 #define NDS_MALLOC(NDS, LEN, REF) \
221 (*(NDS)->ndo->ndo_malloc)(NDS, LEN, REF)
H A Dsmb_ktypes.h533 void MBC_ATTACH_BUF(struct mbuf_chain *MBC, unsigned char *BUF, int LEN);
535 int OFF, int LEN);
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dlex.c322 LEN=1;
678 lp->lexd.first = fcseek(0)-LEN;
680 lp->lexd.docend = fcseek(0)-LEN;
/illumos-gate/usr/src/uts/common/smbsrv/ndl/
H A Dsamrpc.ndl333 #define SAMR_HOURS_SET_LEN(LEN) ((LEN) / 8)
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_isns.c121 #define VALID_NAME(NAME, LEN) \
122 ((LEN) > 0 && (NAME)[0] != 0 && (NAME)[(LEN) - 1] == 0)
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.c4087 START, /* x: set up for LEN */
4088 LEN, /* i: get length/literal/eob next */ enumerator in enum:inflate_codes_state::__anon139
4105 } code; /* if LEN or DIST, where in tree */
4166 case START: /* x: set up for LEN */
4182 c->mode = LEN;
4183 case LEN: /* i: get length/literal/eob next */
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.c5268 START, /* x: set up for LEN */
5269 LEN, /* i: get length/literal/eob next */ enumerator in enum:inflate_codes_state::__anon6457
5286 } code; /* if LEN or DIST, where in tree */
5352 case START: /* x: set up for LEN */
5369 c->mode = LEN;
5371 case LEN: /* i: get length/literal/eob next */

Completed in 197 milliseconds