Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

qcstring.cpp File Reference

#include "qstring.h"
#include "qregexp.h"
#include "qdatastream.h"
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <ctype.h>
#include <limits.h>
#include "../3rdparty/zlib/zlib.h"

Include dependency graph for qcstring.cpp:

Go to the source code of this file.

Defines

#define SET_BIT(x, b, v)   (x) |= (v) << (b)
#define REHASH(a)

Functions

static void createCRC16Table ()

Variables

static Q_UINT16 crc_tbl [16]
static bool crc_tbl_init = FALSE


Define Documentation

#define REHASH  ) 
 

Value:

if ( sl_minus_1 < sizeof(uint) * CHAR_BIT ) \
        hashHaystack -= (a) << sl_minus_1; \
    hashHaystack <<= 1

Definition at line 947 of file qcstring.cpp.

Referenced by QString::find(), QCString::find(), QString::findRev(), and QCString::findRev().

#define SET_BIT x,
b,
v   )     (x) |= (v) << (b)
 

Referenced by createCRC16Table().


Function Documentation

static void createCRC16Table  )  [static]
 

Definition at line 271 of file qcstring.cpp.

References crc_tbl, i, and SET_BIT.

Referenced by QMemArray< type >::qChecksum().


Variable Documentation

Q_UINT16 crc_tbl[16] [static]
 

Definition at line 268 of file qcstring.cpp.

Referenced by createCRC16Table(), and QMemArray< type >::qChecksum().

bool crc_tbl_init = FALSE [static]
 

Definition at line 269 of file qcstring.cpp.

Referenced by QMemArray< type >::qChecksum().


Generated on Sat Nov 5 17:24:38 2005 for OPIE by  doxygen 1.4.2