/external/guava/guava/src/com/google/common/collect/ |
D | Hashing.java | 60 int tableSize = Integer.highestOneBit(expectedEntries); in closedTableSize() local 62 if (expectedEntries > (int) (loadFactor * tableSize)) { in closedTableSize() 63 tableSize <<= 1; in closedTableSize() 64 return (tableSize > 0) ? tableSize : MAX_TABLE_SIZE; in closedTableSize() 66 return tableSize; in closedTableSize() 69 static boolean needsResizing(int size, int tableSize, double loadFactor) { in needsResizing() argument 70 return size > loadFactor * tableSize && tableSize < MAX_TABLE_SIZE; in needsResizing()
|
D | ImmutableSet.java | 189 int tableSize = chooseTableSize(n); in construct() local 190 Object[] table = new Object[tableSize]; in construct() 191 int mask = tableSize - 1; in construct() 217 } else if (tableSize != chooseTableSize(uniques)) { in construct() 251 int tableSize = Integer.highestOneBit(setSize - 1) << 1; in chooseTableSize() local 252 while (tableSize * DESIRED_LOAD_FACTOR < setSize) { in chooseTableSize() 253 tableSize <<= 1; in chooseTableSize() 255 return tableSize; in chooseTableSize()
|
D | RegularImmutableMap.java | 55 int tableSize = Hashing.closedTableSize(size, MAX_LOAD_FACTOR); in RegularImmutableMap() local 56 table = createEntryArray(tableSize); in RegularImmutableMap() 57 mask = tableSize - 1; in RegularImmutableMap() 80 int tableSize = Hashing.closedTableSize(size, MAX_LOAD_FACTOR); in RegularImmutableMap() local 81 table = createEntryArray(tableSize); in RegularImmutableMap() 82 mask = tableSize - 1; in RegularImmutableMap()
|
D | RegularImmutableBiMap.java | 56 int tableSize = Hashing.closedTableSize(n, MAX_LOAD_FACTOR); in RegularImmutableBiMap() local 57 this.mask = tableSize - 1; in RegularImmutableBiMap() 58 ImmutableMapEntry<K, V>[] keyTable = createEntryArray(tableSize); in RegularImmutableBiMap() 59 ImmutableMapEntry<K, V>[] valueTable = createEntryArray(tableSize); in RegularImmutableBiMap() 105 int tableSize = Hashing.closedTableSize(n, MAX_LOAD_FACTOR); in RegularImmutableBiMap() local 106 this.mask = tableSize - 1; in RegularImmutableBiMap() 107 ImmutableMapEntry<K, V>[] keyTable = createEntryArray(tableSize); in RegularImmutableBiMap() 108 ImmutableMapEntry<K, V>[] valueTable = createEntryArray(tableSize); in RegularImmutableBiMap()
|
D | HashBiMap.java | 112 int tableSize = Hashing.closedTableSize(expectedSize, LOAD_FACTOR); in init() local 113 this.hashTableKToV = createTable(tableSize); in init() 114 this.hashTableVToK = createTable(tableSize); in init() 115 this.mask = tableSize - 1; in init()
|
D | LinkedHashMultimap.java | 324 int tableSize = Hashing.closedTableSize(expectedValues, VALUE_SET_LOAD_FACTOR); in ValueSet() local 327 ValueEntry<K, V>[] hashTable = new ValueEntry[tableSize]; in ValueSet()
|
/external/opencv3/3rdparty/openexr/Half/ |
D | eLut.cpp | 88 const int tableSize = 1 << 9; in main() local 89 unsigned short eLut[tableSize]; in main() 99 for (int i = 0; i < tableSize; i++) in main() 107 if (i < tableSize - 1) in main()
|
/external/guava/guava/src/com/google/common/base/ |
D | SmallCharMatcher.java | 83 int tableSize = Integer.highestOneBit(setSize - 1) << 1; in chooseTableSize() local 84 while (tableSize * DESIRED_LOAD_FACTOR < setSize) { in chooseTableSize() 85 tableSize <<= 1; in chooseTableSize() 87 return tableSize; in chooseTableSize()
|
/external/aac/libMpegTPDec/include/ |
D | tp_data.h | 312 UINT sf_index, tableSize=sizeof(SamplingRateTable)/sizeof(UINT); in getSamplingRateIndex() local 314 for (sf_index=0; sf_index<tableSize; sf_index++) { in getSamplingRateIndex() 318 if (sf_index>tableSize-1) { in getSamplingRateIndex() 319 return tableSize-1; in getSamplingRateIndex()
|
/external/aac/libMpegTPEnc/include/ |
D | tp_data.h | 312 UINT sf_index, tableSize=sizeof(SamplingRateTable)/sizeof(UINT); in getSamplingRateIndex() local 314 for (sf_index=0; sf_index<tableSize; sf_index++) { in getSamplingRateIndex() 318 if (sf_index>tableSize-1) { in getSamplingRateIndex() 319 return tableSize-1; in getSamplingRateIndex()
|
/external/mesa3d/src/mesa/drivers/dri/common/ |
D | xmlconfig.c | 111 GLuint size = 1 << cache->tableSize, mask = size - 1; in findOption() 119 hash = (hash >> (16-cache->tableSize/2)) & mask; in findOption() 137 GLuint size = 1 << cache->tableSize; in countOptions() 704 info->tableSize = log2size; in driParseOptionInfo() 897 cache->tableSize = info->tableSize; in initOptionCache() 898 cache->values = MALLOC ((1<<info->tableSize) * sizeof (driOptionValue)); in initOptionCache() 904 (1<<info->tableSize) * sizeof (driOptionValue)); in initOptionCache() 999 GLuint i, size = 1 << info->tableSize; in driDestroyOptionInfo()
|
D | xmlconfig.h | 76 GLuint tableSize; member
|
/external/libpcap/msdos/ |
D | ndis2.h | 238 WORD tableSize; member 290 WORD tableSize; member 332 WORD tableSize; member
|
/external/gptfdisk/ |
D | gptcl.cc | 33 tableSize = GPT_SIZE; in GPTDataCL() 100 {"resize-table", 'S', POPT_ARG_INT, &tableSize, 'S', "resize partition table", "numparts"}, in DoOptions() 352 if (SetGPTSize(tableSize) == 0) in DoOptions()
|
D | gptcl.h | 37 uint32_t tableSize; variable
|
D | gpt.cc | 1329 int sum, tableSize, allOK = 1; in DestroyGPT() local 1345 tableSize = numParts * mainHeader.sizeOfPartitionEntries; in DestroyGPT() 1346 emptyTable = new uint8_t[tableSize]; in DestroyGPT() 1351 memset(emptyTable, 0, tableSize); in DestroyGPT() 1353 sum = myDisk.Write(emptyTable, tableSize); in DestroyGPT() 1354 if (sum != tableSize) { in DestroyGPT() 1362 sum = myDisk.Write(emptyTable, tableSize); in DestroyGPT() 1363 if (sum != tableSize) { in DestroyGPT()
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
D | CatchStructs.java | 200 int tableSize = table.size(); in writeTo() local 201 for (int i = 0; i < tableSize; i++) { in writeTo()
|
/external/icu/icu4c/source/common/ |
D | ucol_data.h | 77 uint32_t tableSize; member
|
D | ucol_swp.cpp | 668 header.tableSize= ds->readUInt32(inHeader->tableSize); in ucol_swapInverseUCA() 677 ds->swapArray32(ds, inBytes+header.table, header.tableSize*3*4, in ucol_swapInverseUCA()
|
/external/tpm2/ |
D | CpriHash.c | 136 UINT32 i, tableSize; in GetHashInfoPointer() local 138 tableSize = sizeof(g_hashData) / sizeof(g_hashData[0]); in GetHashInfoPointer() 139 for(i = 0; i < tableSize - 1; i++) in GetHashInfoPointer() 144 return &g_hashData[tableSize-1]; in GetHashInfoPointer()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ImmutableSetTest.java | 196 private void verifyTableSize(int inputSize, int setSize, int tableSize) { in verifyTableSize() argument 204 tableSize, ((RegularImmutableSet<Integer>) set).table.length); in verifyTableSize()
|
/external/llvm/utils/TableGen/ |
D | X86DisassemblerTables.cpp | 691 const unsigned int tableSize = 16384; in emitContextTable() local 693 "[" << tableSize << "] = {\n"; in emitContextTable() 696 for (unsigned index = 0; index < tableSize; ++index) { in emitContextTable() 798 if (index < tableSize - 1) in emitContextTable()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | LinkedHashMultimap.java | 320 int tableSize = Hashing.closedTableSize(expectedValues, VALUE_SET_LOAD_FACTOR); in ValueSet() local 323 ValueEntry<K, V>[] hashTable = new ValueEntry[tableSize]; in ValueSet()
|
/external/skia/src/ports/ |
D | SkFontHost_mac.cpp | 1711 size_t tableSize = this->getTableSize(tableTags[tableIndex]); in onOpenStream() local 1712 totalSize += (tableSize + 3) & ~3; in onOpenStream() 1713 *tableSizes.append() = tableSize; in onOpenStream() 1745 size_t tableSize = tableSizes[tableIndex]; in onOpenStream() local 1746 this->getTableData(tableTags[tableIndex], 0, tableSize, dataPtr); in onOpenStream() 1749 tableSize)); in onOpenStream() 1751 entry->logicalLength = SkEndian_SwapBE32(SkToU32(tableSize)); in onOpenStream() 1753 dataPtr += (tableSize + 3) & ~3; in onOpenStream()
|
/external/javassist/src/main/javassist/bytecode/ |
D | CodeIterator.java | 1486 int bytecodeSize = 5 + (3 - (orgPos & 3)) + tableSize(); in write() 1502 abstract int tableSize(); in tableSize() method in CodeIterator.Switcher 1545 int tableSize() { return 8 + 4 * offsets.length; } in tableSize() method in CodeIterator.Table 1569 int tableSize() { return 4 + 8 * matches.length; } in tableSize() method in CodeIterator.Lookup
|