Home | History | Annotate | Download | only in common

Lines Matching refs:nlen

23 #define	BINC_GOTO(sp, type, lp, llen, nlen) {				\
26 if ((size_t)(nlen) > llen) { \
27 if ((L__bincp = binc(sp, lp, &(llen), nlen)) == NULL) \
36 #define BINC_GOTOC(sp, lp, llen, nlen) \
37 BINC_GOTO(sp, char, lp, llen, nlen)
38 #define BINC_GOTOW(sp, lp, llen, nlen) \
39 BINC_GOTO(sp, CHAR_T, lp, llen, (nlen) * sizeof(CHAR_T))
40 #define BINC_RET(sp, type, lp, llen, nlen) { \
43 if ((size_t)(nlen) > llen) { \
44 if ((L__bincp = binc(sp, lp, &(llen), nlen)) == NULL) \
53 #define BINC_RETC(sp, lp, llen, nlen) \
54 BINC_RET(sp, char, lp, llen, nlen)
55 #define BINC_RETW(sp, lp, llen, nlen) \
56 BINC_RET(sp, CHAR_T, lp, llen, (nlen) * sizeof(CHAR_T))
63 #define GET_SPACE_GOTO(sp, type, bp, blen, nlen) { \
69 BINC_GOTO(sp, type, bp, blen, nlen); \
71 BINC_GOTOC(sp, L__wp->tmp_bp, L__wp->tmp_blen, nlen); \
77 #define GET_SPACE_GOTOC(sp, bp, blen, nlen) \
78 GET_SPACE_GOTO(sp, char, bp, blen, nlen)
79 #define GET_SPACE_GOTOW(sp, bp, blen, nlen) \
80 GET_SPACE_GOTO(sp, CHAR_T, bp, blen, (nlen) * sizeof(CHAR_T))
81 #define GET_SPACE_RET(sp, type, bp, blen, nlen) { \
87 BINC_RET(sp, type, bp, blen, nlen); \
89 BINC_RETC(sp, L__wp->tmp_bp, L__wp->tmp_blen, nlen); \
95 #define GET_SPACE_RETC(sp, bp, blen, nlen) \
96 GET_SPACE_RET(sp, char, bp, blen, nlen)
97 #define GET_SPACE_RETW(sp, bp, blen, nlen) \
98 GET_SPACE_RET(sp, CHAR_T, bp, blen, (nlen) * sizeof(CHAR_T))
104 #define ADD_SPACE_GOTO(sp, type, bp, blen, nlen) { \
109 BINC_GOTOC(sp, L__wp->tmp_bp, L__wp->tmp_blen, nlen); \
114 BINC_GOTO(sp, type, bp, blen, nlen); \
116 #define ADD_SPACE_GOTOW(sp, bp, blen, nlen) \
117 ADD_SPACE_GOTO(sp, CHAR_T, bp, blen, (nlen) * sizeof(CHAR_T))
118 #define ADD_SPACE_RET(sp, type, bp, blen, nlen) { \
123 BINC_RETC(sp, L__wp->tmp_bp, L__wp->tmp_blen, nlen); \
128 BINC_RET(sp, type, bp, blen, nlen); \
130 #define ADD_SPACE_RETW(sp, bp, blen, nlen) \
131 ADD_SPACE_RET(sp, CHAR_T, bp, blen, (nlen) * sizeof(CHAR_T))