Defines | Functions | Variables

BitsReaderTest.cpp File Reference

#include "check.h"
#include "BitsReader.h"
#include <cstdio>
#include <iostream>
#include <cassert>
#include "GnashSystemIOHeaders.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
#include <sstream>
#include <boost/scoped_array.hpp>
Include dependency graph for BitsReaderTest.cpp:

Defines

#define CHUNK_SIZE   4

Functions

int main (int, char **)

Variables

TestState runtest

Define Documentation

#define CHUNK_SIZE   4

Function Documentation

int main ( int  ,
char **   
)

bits: 10101010 (0xAA)

bits: 10101010 (0xAA)

bits: 10101010 (0xAA)

bits: 10101010 (0xAA)

bits: 10101010 (0xAA)

bits: 10101010 (0xAA)

bits: 10101010 (0xAA)

bits: 10101010 (0xAA)

bits: 10101010 (0xAA)

bits: 10101010 (0xAA)

bits: 10101010 (0xAA)

bits: 10101010 (0xAA)

bits: 10101010 (0xAA)

bits: 10101 01010 10101 0 (0xAAAA)

bits: 101010 101 0101010 (0xAAAA)

bits: 1010101010101010 (0xAAAA)

bits: 101010 10101010101010 1010 (0xAAAAAA)

bits: 101010101010101010101010 (0xAAAAAA)

bits: 1010101010101010 (0xAAAA)

bits: 10011001 (0x99)

bits: 10011001 10011001 (0x999999)

bits: 10011001 10011001 10011001 10011001 (0x99999999)

  • ------- -------- -- --------

bits: 10011001 10011001 10011001 10011001 (0x99999999)

  • ------- -------- ----------

bits: 10011001 10011001 10011001 10011001 (0x99999999)

  • ------- -------- --- ----- ----- ---

References gnash::SWFStream::align(), check_equals, gnash::SWFStream::read_bit(), gnash::SWFStream::read_s16(), gnash::SWFStream::read_s32(), gnash::SWFStream::read_u16(), gnash::SWFStream::read_u32(), gnash::SWFStream::read_uint(), and s.


Variable Documentation

TestState runtest