Home
last modified time | relevance | path

Searched refs:HashTable (Results 1 – 25 of 51) sorted by relevance

123

/external/giflib/
Dgif_hash.c39 GifHashTableType *HashTable; in _InitHashTable() local
41 if ((HashTable = (GifHashTableType *) malloc(sizeof(GifHashTableType))) in _InitHashTable()
45 _ClearHashTable(HashTable); in _InitHashTable()
47 return HashTable; in _InitHashTable()
54 void _ClearHashTable(GifHashTableType *HashTable) in _ClearHashTable() argument
56 memset(HashTable -> HTable, 0xFF, HT_SIZE * sizeof(uint32_t)); in _ClearHashTable()
63 void _InsertHashTable(GifHashTableType *HashTable, uint32_t Key, int Code) in _InsertHashTable() argument
66 uint32_t *HTable = HashTable -> HTable; in _InsertHashTable()
86 int _ExistsHashTable(GifHashTableType *HashTable, uint32_t Key) in _ExistsHashTable() argument
89 uint32_t *HTable = HashTable -> HTable, HTKey; in _ExistsHashTable()
Dgif_hash.h33 void _ClearHashTable(GifHashTableType *HashTable);
34 void _InsertHashTable(GifHashTableType *HashTable, uint32_t Key, int Code);
35 int _ExistsHashTable(GifHashTableType *HashTable, uint32_t Key);
Degif_lib.c109 if ((Private->HashTable = _InitHashTable()) == NULL) { in EGifOpenFileHandle()
166 Private->HashTable = _InitHashTable(); in EGifOpen()
167 if (Private->HashTable == NULL) { in EGifOpen()
795 if (Private->HashTable) { in EGifCloseFile()
796 free((char *) Private->HashTable); in EGifCloseFile()
865 _ClearHashTable(Private->HashTable); in EGifSetupCompress()
888 GifHashTableType *HashTable; in EGifCompressLine() local
891 HashTable = Private->HashTable; in EGifCompressLine()
904 if ((NewCode = _ExistsHashTable(HashTable, NewKey)) >= 0) { in EGifCompressLine()
932 _ClearHashTable(HashTable); in EGifCompressLine()
[all …]
Dgif_lib_private.h53 GifHashTableType *HashTable; member
/external/tensorflow/tensorflow/python/kernel_tests/
Dlookup_ops_test.py43 table = lookup_ops.HashTable(
61 table = lookup_ops.HashTable(
79 table = lookup_ops.HashTable(
97 table = lookup_ops.HashTable(
115 table1 = lookup_ops.HashTable(
117 table2 = lookup_ops.HashTable(
119 table3 = lookup_ops.HashTable(
142 table = lookup_ops.HashTable(
157 table = lookup_ops.HashTable(
180 table = lookup_ops.HashTable(
[all …]
/external/llvm/lib/Support/
DStringMap.cpp80 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1); in LookupBucketFor() local
91 HashTable[FirstTombstone] = FullHashValue; in LookupBucketFor()
95 HashTable[BucketNo] = FullHashValue; in LookupBucketFor()
102 } else if (LLVM_LIKELY(HashTable[BucketNo] == FullHashValue)) { in LookupBucketFor()
135 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1); in FindKey() local
146 } else if (LLVM_LIKELY(HashTable[BucketNo] == FullHashValue)) { in FindKey()
200 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1); in RehashTable() local
229 unsigned FullHash = HashTable[I]; in RehashTable()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DStringMap.cpp81 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1); in LookupBucketFor() local
92 HashTable[FirstTombstone] = FullHashValue; in LookupBucketFor()
96 HashTable[BucketNo] = FullHashValue; in LookupBucketFor()
103 } else if (LLVM_LIKELY(HashTable[BucketNo] == FullHashValue)) { in LookupBucketFor()
135 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1); in FindKey() local
146 } else if (LLVM_LIKELY(HashTable[BucketNo] == FullHashValue)) { in FindKey()
198 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1); in RehashTable() local
227 unsigned FullHash = HashTable[I]; in RehashTable()
/external/libchrome/base/
Did_map.h38 using HashTable = base::hash_map<KeyType, V>; variable
71 typename HashTable::iterator i = data_.find(id); in Remove()
89 typename HashTable::iterator i = data_.find(id); in Replace()
101 for (typename HashTable::iterator i = data_.begin(); in Clear()
114 typename HashTable::const_iterator i = data_.find(id); in Lookup()
201 typename HashTable::const_iterator iter_;
244 HashTable data_;
/external/tensorflow/tensorflow/contrib/lookup/
Dlookup_ops_test.py48 table = lookup.HashTable(
66 table = lookup.HashTable(
84 table = lookup.HashTable(
103 table = lookup.HashTable(
121 table1 = lookup.HashTable(
123 table2 = lookup.HashTable(
125 table3 = lookup.HashTable(
148 table = lookup.HashTable(
163 table = lookup.HashTable(
186 table = lookup.HashTable(
[all …]
/external/capstone/bindings/powershell/Capstone/
DCapstone.psm1394 $HashTable = @{ in Get-CapstoneDisassembly() variable
398 $Object = New-Object PSObject -Property $HashTable in Get-CapstoneDisassembly()
416 $HashTable = @{ in Get-CapstoneDisassembly() variable
425 $Object = New-Object PSObject -Property $HashTable in Get-CapstoneDisassembly()
/external/tensorflow/tensorflow/core/kernels/
Dgenerate_vocab_remapping_op.cc63 lookup::HashTable<int64, string>* new_vocab_table = in Compute()
64 new lookup::HashTable<int64, string>(context, this); in Compute()
94 lookup::HashTable<string, int64>* old_vocab_table = in Compute()
95 new lookup::HashTable<string, int64>(context, this); in Compute()
Dlookup_table_op.h165 class HashTable : public InitializableLookupTable {
167 HashTable(OpKernelContext* ctx, OpKernel* kernel) {} in HashTable() function
/external/clang/include/clang/Basic/
DIdentifierTable.h450 HashTableTy HashTable; variable
471 return HashTable.getAllocator(); in getAllocator()
477 auto &Entry = *HashTable.insert(std::make_pair(Name, nullptr)).first; in get()
514 auto &Entry = *HashTable.insert(std::make_pair(Name, nullptr)).first; in getOwn()
538 iterator begin() const { return HashTable.begin(); } in begin()
539 iterator end() const { return HashTable.end(); } in end()
540 unsigned size() const { return HashTable.size(); } in size()
/external/libdrm/
Dxf86drmHash.h38 typedef struct HashTable { struct
47 } HashTable, *HashTablePtr; argument
/external/clang/lib/Basic/
DIdentifierTable.cpp77 : HashTable(8192), // Start with space for 8K identifiers. in IdentifierTable()
313 unsigned NumBuckets = HashTable.getNumBuckets(); in PrintStats()
314 unsigned NumIdentifiers = HashTable.getNumItems(); in PrintStats()
321 I = HashTable.begin(), E = HashTable.end(); I != E; ++I) { in PrintStats()
338 HashTable.getAllocator().PrintStats(); in PrintStats()
/external/llvm/include/llvm/ProfileData/
DInstrProfReader.h329 std::unique_ptr<HashTableImpl> HashTable;
344 return RecordIterator == HashTable->data_end(); in atEnd()
347 HashTable->getInfoObj().setValueProfDataEndianness(Endianness); in setValueProfDataEndianness()
355 Symtab.create(HashTable->keys()); in populateSymtab()
/external/tensorflow/tensorflow/python/ops/
Dlookup_ops.py242 class HashTable(InitializableLookupTableBase): class
285 super(HashTable, self).__init__(table_ref, default_value, initializer)
1008 table = HashTable(
1108 table = HashTable(
1219 return HashTable(init, default_value, shared_name=shared_name, name=scope)
1281 return HashTable(init, default_value, shared_name=shared_name, name=scope)
/external/clang/lib/Serialization/
DMultiOnDiskHashTable.h47 typedef llvm::OnDiskIterableChainedHashTable<Info> HashTable; typedef
50 HashTable Table;
202 OnDiskTable::HashTable::readNumBucketsAndEntries(Buckets);
/external/v8/src/heap/
Dobject-stats.h160 template <class HashTable>
161 void RecordHashTableHelper(HeapObject* parent, HashTable* array, int subtype);
Dobject-stats.cc374 template <class HashTable>
376 HashTable* array, in RecordHashTableHelper()
378 int used = array->NumberOfElements() * HashTable::kEntrySize * kPointerSize; in RecordHashTableHelper()
381 HashTable::kElementsStartIndex * kPointerSize - in RecordHashTableHelper()
/external/tensorflow/tensorflow/core/api_def/python_api/
Dapi_def_HashTable.pbtxt2 graph_op_name: "HashTable"
/external/protobuf/php/ext/google/protobuf/
Dprotobuf.h43 HashTable upb_def_to_php_obj_map;
67 HashTable* pending_list;
/external/llvm/lib/ProfileData/
DInstrProfReader.cpp529 auto Iter = HashTable->find(FuncName); in getRecords()
530 if (Iter == HashTable->end()) in getRecords()
560 HashTable.reset(HashTableImpl::Create( in InstrProfReaderIndex()
563 RecordIterator = HashTable->data_begin(); in InstrProfReaderIndex()
/external/tensorflow/tensorflow/contrib/text/python/ops/
Dskip_gram_ops_test.py317 dummy_table = lookup.HashTable(
338 vocab_freq_table = lookup.HashTable(
395 vocab_freq_table = lookup.HashTable(
/external/lz4/lib/
Dlz4hc.c138 U32* const HashTable = hc4->hashTable; in LZ4HC_InsertAndFindBestMatch() local
149 matchIndex = HashTable[LZ4HC_hashPtr(ip)]; in LZ4HC_InsertAndFindBestMatch()
191 U32* const HashTable = hc4->hashTable; in LZ4HC_InsertAndGetWiderMatch() local
204 matchIndex = HashTable[LZ4HC_hashPtr(ip)]; in LZ4HC_InsertAndGetWiderMatch()

123