Lines Matching refs:buffer
315 unsigned char *buffer, recnum, dataset, key[ 16 ]; in PHP_FUNCTION() local
324 buffer = (unsigned char *)str; in PHP_FUNCTION()
327 if ((buffer[inx] == 0x1c) && ((buffer[inx+1] == 0x01) || (buffer[inx+1] == 0x02))){ in PHP_FUNCTION()
335 if (buffer[ inx++ ] != 0x1c) { in PHP_FUNCTION()
342 dataset = buffer[ inx++ ]; in PHP_FUNCTION()
343 recnum = buffer[ inx++ ]; in PHP_FUNCTION()
345 if (buffer[ inx ] & (unsigned char) 0x80) { /* long tag */ in PHP_FUNCTION()
349 len = (((long) buffer[ inx + 2 ]) << 24) + (((long) buffer[ inx + 3 ]) << 16) + in PHP_FUNCTION()
350 (((long) buffer[ inx + 4 ]) << 8) + (((long) buffer[ inx + 5 ])); in PHP_FUNCTION()
353 len = (((unsigned short) buffer[ inx ])<<8) | (unsigned short)buffer[ inx+1 ]; in PHP_FUNCTION()
374 add_next_index_stringl(*element, buffer+inx, len, 1); in PHP_FUNCTION()