Lines Matching refs:ANTLR3_UINT32
60 static ANTLR3_UINT32 antlr3HashSize (pANTLR3_HASH_TABLE table);
77 static ANTLR3_UINT32 antlr3ListSize (pANTLR3_LIST list);
85 static ANTLR3_UINT32 antlr3StackSize (pANTLR3_STACK stack);
91 static void antlr3VectorDel (pANTLR3_VECTOR vector, ANTLR3_UINT32 entry);
92 static void * antlr3VectorGet (pANTLR3_VECTOR vector, ANTLR3_UINT32 entry);
93 static void * antrl3VectorRemove (pANTLR3_VECTOR vector, ANTLR3_UINT32 entry);
95 static ANTLR3_UINT32 antlr3VectorAdd (pANTLR3_VECTOR vector, void * element, void (ANTLR3_CDECL *freeptr)(void *));
96 static ANTLR3_UINT32 antlr3VectorSet (pANTLR3_VECTOR vector, ANTLR3_UINT32 entry, void * element, void (ANTLR3_CDECL *freeptr)(void *), ANTLR3_BOOLEAN freeExisting);
97 static ANTLR3_UINT32 antlr3VectorSize (pANTLR3_VECTOR vector);
98 static ANTLR3_BOOLEAN antlr3VectorSwap (pANTLR3_VECTOR vector, ANTLR3_UINT32 entry1, ANTLR3_UINT32 entry2);
110 static ANTLR3_BOOLEAN intTrieAdd (pANTLR3_INT_TRIE trie, ANTLR3_INTKEY key, ANTLR3_UINT32 type, ANTLR3_INTKEY intType, void * data, void (ANTLR3_CDECL *freeptr)(void *));
116 static void addEdge (pANTLR3_TOPO topo, ANTLR3_UINT32 edge, ANTLR3_UINT32 dependency);
126 antlr3HashTableNew(ANTLR3_UINT32 sizeHint)
133 ANTLR3_UINT32 bucket; // Used to traverse the buckets
197 ANTLR3_UINT32 bucket; /* Used to traverse the buckets */
266 static ANTLR3_UINT32 antlr3HashSize (pANTLR3_HASH_TABLE table)
276 ANTLR3_UINT32 hash;
283 hash = (ANTLR3_UINT32)(key % (ANTLR3_INTKEY)(table->modulo));
333 ANTLR3_UINT32 hash;
340 hash = antlr3Hash(key, (ANTLR3_UINT32)strlen((const char *)key));
446 ANTLR3_UINT32 hash;
452 hash = (ANTLR3_UINT32)(key % (ANTLR3_INTKEY)(table->modulo));
485 ANTLR3_UINT32 hash;
492 hash = antlr3Hash(key, (ANTLR3_UINT32)strlen((const char *)key));
525 ANTLR3_UINT32 hash;
532 hash = (ANTLR3_UINT32)(key % (ANTLR3_INTKEY)(table->modulo));
596 ANTLR3_UINT32 hash;
603 hash = antlr3Hash(key, (ANTLR3_UINT32)strlen((const char *)key));
833 ANTLR3_API ANTLR3_UINT32
834 antlr3Hash(void * key, ANTLR3_UINT32 keylen)
838 ANTLR3_UINT32 hash;
840 ANTLR3_UINT32 i1;
863 antlr3ListNew (ANTLR3_UINT32 sizeHint)
898 static ANTLR3_UINT32 antlr3ListSize (pANTLR3_LIST list)
964 antlr3StackNew (ANTLR3_UINT32 sizeHint)
999 static ANTLR3_UINT32 antlr3StackSize (pANTLR3_STACK stack)
1037 return stack->vector->get(stack->vector, (ANTLR3_UINT32)key);
1054 antlr3VectorNew (ANTLR3_UINT32 sizeHint)
1078 antlr3SetVectorApi (pANTLR3_VECTOR vector, ANTLR3_UINT32 sizeHint)
1080 ANTLR3_UINT32 initialSize;
1138 ANTLR3_UINT32 entry;
1163 ANTLR3_UINT32 entry;
1195 static void antlr3VectorDel (pANTLR3_VECTOR vector, ANTLR3_UINT32 entry)
1231 static void * antlr3VectorGet (pANTLR3_VECTOR vector, ANTLR3_UINT32 entry)
1250 static void * antrl3VectorRemove (pANTLR3_VECTOR vector, ANTLR3_UINT32 entry)
1289 antlr3VectorResize (pANTLR3_VECTOR vector, ANTLR3_UINT32 hint)
1291 ANTLR3_UINT32 newSize;
1332 static ANTLR3_UINT32 antlr3VectorAdd (pANTLR3_VECTOR vector, void * element, void (ANTLR3_CDECL *freeptr)(void *))
1348 return (ANTLR3_UINT32)(vector->count);
1355 static ANTLR3_UINT32
1356 antlr3VectorSet (pANTLR3_VECTOR vector, ANTLR3_UINT32 entry, void * element, void (ANTLR3_CDECL *freeptr)(void *), ANTLR3_BOOLEAN freeExisting)
1385 return (ANTLR3_UINT32)(entry); // Indicates the replacement was successful
1393 antlr3VectorSwap (pANTLR3_VECTOR vector, ANTLR3_UINT32 entry1, ANTLR3_UINT32 entry2)
1423 static ANTLR3_UINT32 antlr3VectorSize (pANTLR3_VECTOR vector)
1435 antlr3VectorFactoryNew (ANTLR3_UINT32 sizeHint)
1505 (ANTLR3_UINT32)((factory->thisPool + 1) * sizeof(pANTLR3_VECTOR *)) /* Memory for new pool pointers */
1529 ANTLR3_UINT32 limit;
1530 ANTLR3_UINT32 vector;
1768 antlr3IntTrieNew(ANTLR3_UINT32 depth)
1913 intTrieAdd (pANTLR3_INT_TRIE trie, ANTLR3_INTKEY key, ANTLR3_UINT32 type, ANTLR3_INTKEY intVal, void * data, void (ANTLR3_CDECL *freeptr)(void *))
1918 ANTLR3_UINT32 depth;
2316 addEdge (pANTLR3_TOPO topo, ANTLR3_UINT32 edge, ANTLR3_UINT32 dependency)
2318 ANTLR3_UINT32 i;
2319 ANTLR3_UINT32 maxEdge;
2415 DFS(pANTLR3_TOPO topo, ANTLR3_UINT32 node)
2431 ANTLR3_UINT32 i;
2441 ANTLR3_UINT32 l;
2481 ANTLR3_UINT32 numBits; // How many bits are in the set
2482 ANTLR3_UINT32 i;
2483 ANTLR3_UINT32 range;
2525 ANTLR3_UINT32 v;
2526 ANTLR3_UINT32 oldLimit;
2538 topo->sorted = ANTLR3_MALLOC(topo->limit * sizeof(ANTLR3_UINT32));
2539 topo->cycle = ANTLR3_MALLOC(topo->limit * sizeof(ANTLR3_UINT32));
2603 ANTLR3_UINT32 i;
2642 vIndex = ANTLR3_MALLOC(topo->limit * sizeof(ANTLR3_UINT32));
2658 ANTLR3_UINT32 ind;
2694 ANTLR3_UINT32 i;