#include <stdio.h>
#include "../../basext.h"
Go to the source code of this file.
Data Structures | |
struct | _hashe |
struct | _hash |
struct | _myOBJECT |
Defines | |
#define | PRIME 211 |
#define | HASH_ERROR_INVALID_HASH_HANDLE 0x00080001 |
#define | HASH_ERROR_NO_CURRENT_ELEMENT 0x00080002 |
#define | HASH_ERROR_INVALID_VALUE 0x00080003 |
#define | HASH_ERROR_INTERNAL001 0x00080004 |
#define | HASH_ERROR_INTERNAL002 0x00080005 |
#define | MASK 0xf0000000l |
#define | GET_HASH_HANDLE |
Typedefs | |
typedef _hashe | tHashE |
typedef _hashe * | ptHashE |
typedef _hash | tHash |
typedef _hash * | ptHash |
typedef _myOBJECT | myOBJECT |
typedef _myOBJECT * | pmyOBJECT |
Functions | |
static int | varcmp (VARIABLE a, VARIABLE b) |
static int | hashpjw (char *s, long len) |
static int | varhashpjw (VARIABLE a) |
besVERSION_NEGOTIATE | return (int) |
besEND | besFUNCTION (newh) |
if (Argument) | |
if (pE==NULL) | |
if (pH->FirstElement==NULL) | |
besEND | besFUNCTION (gethv) |
if (besRETURNVALUE==NULL) | |
besDEREFERENCE (Argument) | |
besEND | besFUNCTION (delhk) |
if ((*ppE)->Value) besRELEASE((*ppE)->Value) = (*ppE)->prev | |
if (pE->small_son) | |
besFREE (pE) | |
besEND | besFUNCTION (starth) |
besEND | besFUNCTION (pervhk) |
besEND | besFUNCTION (thishk) |
besEND | besFUNCTION (thishv) |
besFREE (pH) | |
besLEFTVALUE (Argument, Lval) | |
if (Lval) | |
Variables | |
else | vValue = NULL |
ppE = pH->Table+varhashpjw(vKey) | |
else | vKey = NULL |
* | ppE = pE = besALLOC(sizeof(tHashE)) |
else pH | LastElement = pE |
else pE | prev = pH->LastElement |
pH | LastElement = pE |
pH | ThisElement = *ppE |
if ppE return | COMMAND_ERROR_SUCCESS |
besRETURNVALUE = besNEWMORTALREF | |
Argument = besARGUMENT(2) | |
vKey = Argument | |
ppE = pH->Table+varhashpjw(vKey) | |
besALLOC_RETURN_LONG | |
if ppE return | COMMAND_ERROR_SUCCESS |
pH | ThisElement = NULL |
pE = *ppE | |
ppE = pE->big_son | |
Argument = besARGUMENT(1) |
|
Value: Argument = besARGUMENT(1);\ besDEREFERENCE(Argument);\ Argument = besCONVERT2LONG(Argument);\ pH = besHandleGetPointer(p->HandleArray,LONGVALUE(Argument)); Referenced by besFUNCTION(). |
|
Definition at line 45 of file interface.c. Referenced by if(). |
|
Definition at line 46 of file interface.c. Referenced by besFUNCTION(). |
|
Definition at line 42 of file interface.c. |
|
Definition at line 44 of file interface.c. Referenced by if(). |
|
Definition at line 43 of file interface.c. |
|
Definition at line 106 of file interface.c. Referenced by hashpjw(). |
|
Definition at line 23 of file interface.c. Referenced by sym_FreeSymbolTable(), sym_NewSymbolTable(), and sym_TraverseSymbolTable(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 597 of file interface.c. References besFREE(), besRELEASE(), _mymysqlHANDLE::next, and pH. |
|
Definition at line 565 of file interface.c. References besALLOC_RETURN_LONG, besALLOC_RETURN_STRING(), besRETURNVALUE, HASH_ERROR_INTERNAL002, LONGVALUE(), memcpy(), pH, STRINGVALUE(), and STRLEN(). |
|
Definition at line 532 of file interface.c. References besALLOC_RETURN_LONG, besALLOC_RETURN_STRING(), besRETURNVALUE, HASH_ERROR_INTERNAL002, LONGVALUE(), memcpy(), pH, STRINGVALUE(), and STRLEN(). |
|
Definition at line 467 of file interface.c. References besALLOC_RETURN_LONG, besALLOC_RETURN_STRING(), besRETURNVALUE, HASH_ERROR_INTERNAL002, LONGVALUE(), memcpy(), pH, STRINGVALUE(), and STRLEN(). |
|
Definition at line 383 of file interface.c. |
|
Definition at line 292 of file interface.c. References varcmp(). |
|
Definition at line 158 of file interface.c. References GET_HASH_HANDLE. |
|
|
|
Definition at line 107 of file interface.c. References MASK. Referenced by sym_DeleteSymbol(), sym_LookupSymbol(), and varhashpjw(). |
|
Definition at line 645 of file interface.c. References besRELEASE(), and Lval. |
|
Definition at line 443 of file interface.c. References HASH_ERROR_INTERNAL001, pE, ppE, STRLEN(), and varcmp(). |
|
|
|
Definition at line 326 of file interface.c. References besALLOC_RETURN_LONG, besRETURNVALUE, LONGVALUE(), and pH. |
|
Definition at line 281 of file interface.c. |
|
Definition at line 270 of file interface.c. References _mymysqlHANDLE::next, pE, and pH. |
|
Definition at line 246 of file interface.c. References besDEREFERENCE(), HASH_ERROR_INVALID_VALUE, LONGVALUE(), memcpy(), STRINGVALUE(), and STRLEN(). |
|
Definition at line 132 of file interface.c. |
|
Definition at line 61 of file interface.c. References LONGVALUE(), NULL, STRINGVALUE(), and STRLEN(). Referenced by besFUNCTION(), and if(). |
|
Definition at line 119 of file interface.c. References hashpjw(), LONGVALUE(), NULL, STRINGVALUE(), and STRLEN(). |
|
Definition at line 643 of file interface.c. |
|
Definition at line 358 of file interface.c. |
|
Definition at line 364 of file interface.c. |
|
Definition at line 325 of file interface.c. |
|
Definition at line 418 of file interface.c. |
|
Definition at line 322 of file interface.c. |
|
Definition at line 288 of file interface.c. |
|
Definition at line 279 of file interface.c. |
|
Definition at line 439 of file interface.c. Referenced by if(). |
|
Definition at line 441 of file interface.c. |
|
Definition at line 363 of file interface.c. |
|
Definition at line 269 of file interface.c. |
|
Definition at line 226 of file interface.c. Referenced by if(). |
|
Definition at line 286 of file interface.c. Referenced by BuildSubTree(), and reader_LoadPreprocessors(). |
|
Definition at line 436 of file interface.c. |
|
Definition at line 319 of file interface.c. |
|
Definition at line 360 of file interface.c. |
|
Definition at line 267 of file interface.c. |
|
Definition at line 223 of file interface.c. |