Lines Matching refs:limit
138 unsigned char *limit; member
160 buf->limit = buf->out + initsize; in mb_convert_buf_init()
165 #define MB_CONVERT_BUF_ENSURE(buf, out, limit, needed) \ argument
166 ZEND_ASSERT(out <= limit); \
167 if ((size_t)(limit - out) < (needed)) { \
168 size_t oldsize = limit - (unsigned char*)ZSTR_VAL((buf)->str); \
172 limit = (unsigned char*)ZSTR_VAL(newstr) + newsize; \
176 #define MB_CONVERT_BUF_STORE(buf, _out, _limit) (buf)->out = _out; (buf)->limit = _limit
178 #define MB_CONVERT_BUF_LOAD(buf, _out, _limit) _out = (buf)->out; _limit = (buf)->limit
180 #define MB_CONVERT_ERROR(buf, out, limit, bad_cp, conv_fn) \ argument
181 MB_CONVERT_BUF_STORE(buf, out, limit); \
183 MB_CONVERT_BUF_LOAD(buf, out, limit)
233 ZEND_ASSERT(buf->out <= buf->limit); in mb_convert_buf_result_raw()
285 ZEND_ASSERT(buf->out <= buf->limit); in mb_convert_buf_reset()