Lines Matching refs:current

235     uchar *current = m_current;  in GetByte()  local
238 if( current >= m_end ) in GetByte()
241 current = m_current; in GetByte()
244 val = *((uchar*)current); in GetByte()
245 m_current = current + 1; in GetByte()
286 uchar *current = m_current; in GetWord() local
289 if( current+1 < m_end ) in GetWord()
291 val = current[0] + (current[1] << 8); in GetWord()
292 m_current = current + 2; in GetWord()
305 uchar *current = m_current; in GetDWord() local
308 if( current+3 < m_end ) in GetDWord()
310 val = current[0] + (current[1] << 8) + in GetDWord()
311 (current[2] << 16) + (current[3] << 24); in GetDWord()
312 m_current = current + 4; in GetDWord()
327 uchar *current = m_current; in GetWord() local
330 if( current+1 < m_end ) in GetWord()
332 val = (current[0] << 8) + current[1]; in GetWord()
333 m_current = current + 2; in GetWord()
346 uchar *current = m_current; in GetDWord() local
349 if( current+3 < m_end ) in GetDWord()
351 val = (current[0] << 24) + (current[1] << 16) + in GetDWord()
352 (current[2] << 8) + current[3]; in GetDWord()
353 m_current = current + 4; in GetDWord()
401 ulong* current = (ulong*)m_current; in Get() local
405 if( (m_current = (uchar*)(current - mask)) >= m_end ) in Get()
408 current = ((ulong*)m_current) + mask; in Get()
411 return ((current[0] >> bit_idx) | in Get()
412 ((current[1] <<-bit_idx) & mask)) & bs_bit_mask[bits]; in Get()
420 ulong* current = (ulong*)m_current; in Show() local
424 if( (uchar*)(current - mask) >= m_end ) in Show()
427 current = ((ulong*)m_current) + mask; in Show()
428 m_current = (uchar*)current; in Show()
430 return ((current[0] >> bit_idx) | in Show()
431 ((current[1] <<-bit_idx) & mask)) & bs_bit_mask[bits]; in Show()
510 ulong* current = ((ulong*)m_current) - mask; in Get() local
514 if( (m_current = (uchar*)current) >= m_end ) in Get()
517 current = (ulong*)m_current; in Get()
520 return (((current[-1] << -bit_idx) & mask)| in Get()
521 (current[0] >> bit_idx)) & bs_bit_mask[bits]; in Get()
529 ulong* current = ((ulong*)m_current) - mask; in Show() local
533 if( ((uchar*)current) >= m_end ) in Show()
535 m_current = (uchar*)current; in Show()
537 current = (ulong*)m_current; in Show()
540 return (((current[-1]<<-bit_idx) & mask)| in Show()
541 (current[0] >> bit_idx)) & bs_bit_mask[bits]; in Show()
859 uchar *current = m_current; in PutWord() local
861 if( current+1 < m_end ) in PutWord()
863 current[0] = (uchar)val; in PutWord()
864 current[1] = (uchar)(val >> 8); in PutWord()
865 m_current = current + 2; in PutWord()
879 uchar *current = m_current; in PutDWord() local
881 if( current+3 < m_end ) in PutDWord()
883 current[0] = (uchar)val; in PutDWord()
884 current[1] = (uchar)(val >> 8); in PutDWord()
885 current[2] = (uchar)(val >> 16); in PutDWord()
886 current[3] = (uchar)(val >> 24); in PutDWord()
887 m_current = current + 4; in PutDWord()
910 uchar *current = m_current; in PutWord() local
912 if( current+1 < m_end ) in PutWord()
914 current[0] = (uchar)(val >> 8); in PutWord()
915 current[1] = (uchar)val; in PutWord()
916 m_current = current + 2; in PutWord()
930 uchar *current = m_current; in PutDWord() local
932 if( current+3 < m_end ) in PutDWord()
934 current[0] = (uchar)(val >> 24); in PutDWord()
935 current[1] = (uchar)(val >> 16); in PutDWord()
936 current[2] = (uchar)(val >> 8); in PutDWord()
937 current[3] = (uchar)val; in PutDWord()
938 m_current = current + 4; in PutDWord()