Lines Matching refs:buffer
301 unsigned char *buffer, recnum, dataset, key[ 16 ]; in PHP_FUNCTION() local
310 buffer = (unsigned char *)str; in PHP_FUNCTION()
313 if ((buffer[inx] == 0x1c) && ((buffer[inx+1] == 0x01) || (buffer[inx+1] == 0x02))){ in PHP_FUNCTION()
321 if (buffer[ inx++ ] != 0x1c) { in PHP_FUNCTION()
328 dataset = buffer[ inx++ ]; in PHP_FUNCTION()
329 recnum = buffer[ inx++ ]; in PHP_FUNCTION()
331 if (buffer[ inx ] & (unsigned char) 0x80) { /* long tag */ in PHP_FUNCTION()
335 len = (((long) buffer[ inx + 2 ]) << 24) + (((long) buffer[ inx + 3 ]) << 16) + in PHP_FUNCTION()
336 (((long) buffer[ inx + 4 ]) << 8) + (((long) buffer[ inx + 5 ])); in PHP_FUNCTION()
339 len = (((unsigned short) buffer[ inx ])<<8) | (unsigned short)buffer[ inx+1 ]; in PHP_FUNCTION()
360 add_next_index_stringl(*element, buffer+inx, len, 1); in PHP_FUNCTION()