Lines Matching refs:buffer
307 unsigned char *buffer, recnum, dataset; in PHP_FUNCTION() local
316 buffer = (unsigned char *)str; in PHP_FUNCTION()
319 if ((buffer[inx] == 0x1c) && ((buffer[inx+1] == 0x01) || (buffer[inx+1] == 0x02))){ in PHP_FUNCTION()
327 if (buffer[ inx++ ] != 0x1c) { in PHP_FUNCTION()
334 dataset = buffer[ inx++ ]; in PHP_FUNCTION()
335 recnum = buffer[ inx++ ]; in PHP_FUNCTION()
337 if (buffer[ inx ] & (unsigned char) 0x80) { /* long tag */ in PHP_FUNCTION()
341 len = (((zend_long) buffer[ inx + 2 ]) << 24) + (((zend_long) buffer[ inx + 3 ]) << 16) + in PHP_FUNCTION()
342 (((zend_long) buffer[ inx + 4 ]) << 8) + (((zend_long) buffer[ inx + 5 ])); in PHP_FUNCTION()
345 len = (((unsigned short) buffer[ inx ])<<8) | (unsigned short)buffer[ inx+1 ]; in PHP_FUNCTION()
365 add_next_index_stringl(element, (char *) buffer+inx, len); in PHP_FUNCTION()