/dalvik/vm/ |
Hash.cpp | 56 pHashTable->tableSize = dexRoundUpPower2(initialSize); 60 (HashEntry*) calloc(pHashTable->tableSize, sizeof(HashEntry)); 78 for (i = 0; i < pHashTable->tableSize; i++, pEnt++) { 114 for (count = i = 0; i < pHashTable->tableSize; i++) { 144 for (i = 0; i < pHashTable->tableSize; i++) { 162 pHashTable->tableSize = newSize; 181 assert(pHashTable->tableSize > 0); 186 pEntry = &pHashTable->pEntries[itemHash & (pHashTable->tableSize-1)]; 187 pEnd = &pHashTable->pEntries[pHashTable->tableSize]; 200 if (pHashTable->tableSize == 1 [all...] |
Hash.h | 74 int tableSize; /* must be power of 2 */ 132 return sizeof(HashTable) + pHashTable->tableSize * sizeof(HashEntry); 189 int lim = pIter->pHashTable->tableSize; 203 return (pIter->idx >= pIter->pHashTable->tableSize); 206 assert(pIter->idx >= 0 && pIter->idx < pIter->pHashTable->tableSize);
|
/external/iproute2/netem/ |
normal.c | 14 #define TABLESIZE 16384 29 double table[TABLESIZE+1]; 32 i = rint(TABLESIZE * normal(x, 0.0, 1.0)); 38 for (i = n = 0; i < TABLESIZE; i += 4) {
|
paretonormal.c | 23 #define TABLESIZE 16384 54 double table[TABLESIZE+1]; 57 i = rint(TABLESIZE*normal(x, 0.0, 1.0)); 64 for (i = n = 0; i < TABLESIZE; i += 4) {
|
pareto.c | 14 #define TABLESIZE 16384
|
maketable.c | 78 #define TABLESIZE 16384/4 135 inverttable(int *table, int inversesize, int tablesize, int cumulative) 145 for (i=0; i < tablesize; ++i) { 228 inverse = inverttable(table, TABLESIZE, DISTTABLESIZE, total); 229 interpolatetable(inverse, TABLESIZE); 230 printtable(inverse, TABLESIZE);
|
README.distribution | 63 4. Invert the table: for each table entry F(x) = y, make the y*TABLESIZE 65 for the ("normalized") inverse of size TABLESIZE, covering its domain 0 66 to 1 with granularity 1/TABLESIZE. Note that even with the granularity
|
/bootable/recovery/minzip/ |
Hash.c | 61 pHashTable->tableSize = roundUpPower2(initialSize); 65 (HashEntry*) calloc((size_t)pHashTable->tableSize, sizeof(HashTable)); 83 for (i = 0; i < pHashTable->tableSize; i++, pEnt++) { 119 for (count = i = 0; i < pHashTable->tableSize; i++) { 149 for (i = 0; i < pHashTable->tableSize; i++) { 167 pHashTable->tableSize = newSize; 186 assert(pHashTable->tableSize > 0); 191 pEntry = &pHashTable->pEntries[itemHash & (pHashTable->tableSize-1)]; 192 pEnd = &pHashTable->pEntries[pHashTable->tableSize]; 205 if (pHashTable->tableSize == 1 [all...] |
Hash.h | 62 int tableSize; /* must be power of 2 */ 108 return sizeof(HashTable) + pHashTable->tableSize * sizeof(HashEntry); 154 int lim = pIter->pHashTable->tableSize; 168 return (pIter->idx >= pIter->pHashTable->tableSize); 171 assert(pIter->idx >= 0 && pIter->idx < pIter->pHashTable->tableSize);
|
/frameworks/base/core/jni/android/graphics/ |
HarfBuzzNGFaceSkia.cpp | 143 const size_t tableSize = SkFontHost::GetTableSize(uniqueID, tag); 144 if (!tableSize) 147 char* buffer = reinterpret_cast<char*>(malloc(tableSize)); 150 size_t actualSize = SkFontHost::GetTableData(uniqueID, tag, 0, tableSize, buffer); 151 if (tableSize != actualSize) { 156 return hb_blob_create(const_cast<char*>(buffer), tableSize,
|
/external/skia/legacy/src/ports/ |
SkHarfBuzzFont.cpp | 171 const size_t tableSize = SkFontHost::GetTableSize(uniqueID, tag); 172 if (!tableSize) { 177 *len = tableSize; 181 if (*len < tableSize) { 185 SkFontHost::GetTableData(uniqueID, tag, 0, tableSize, buffer);
|
/external/skia/src/ports/ |
SkHarfBuzzFont.cpp | 171 const size_t tableSize = SkFontHost::GetTableSize(uniqueID, tag); 172 if (!tableSize) { 177 *len = tableSize; 181 if (*len < tableSize) { 185 SkFontHost::GetTableData(uniqueID, tag, 0, tableSize, buffer);
|
/external/webkit/Source/JavaScriptCore/wtf/ |
BloomFilter.h | 42 static const size_t tableSize = 1 << keyBits; 79 uint8_t m_table[tableSize]; 110 memset(m_table, 0, tableSize); 117 for (size_t n = 0; n < tableSize; ++n) { 127 for (size_t n = 0; n < tableSize; ++n) {
|
/external/guava/guava/src/com/google/common/collect/ |
RegularImmutableMap.java | 52 int tableSize = chooseTableSize(size); 53 table = createEntryArray(tableSize); 54 mask = tableSize - 1; 81 int tableSize = Integer.highestOneBit(size) << 1; 82 checkArgument(tableSize > 0, "table too large: %s", size); 83 return tableSize;
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
SimpleFontDataATSUI.mm | 63 ByteCount tableSize; 64 OSStatus status = ATSFontGetTable(fontID, tables[i], 0, 0, 0, &tableSize);
|
SimpleFontDataMac.mm | 303 ByteCount tableSize; 304 if (ATSFontGetTable(atsFont, tableName, 0, 0, NULL, &tableSize) != noErr) 307 CFMutableDataRef data = CFDataCreateMutable(kCFAllocatorDefault, tableSize); 311 CFDataIncreaseLength(data, tableSize); 312 if (ATSFontGetTable(atsFont, tableName, 0, tableSize, CFDataGetMutableBytePtr(data), &tableSize) != noErr) {
|
/external/webkit/Source/WebCore/platform/graphics/android/fonts/ |
HarfbuzzSkia.cpp | 206 const size_t tableSize = SkFontHost::GetTableSize(font->uniqueID(), tag); 207 if (!tableSize) 211 *len = tableSize; 215 if (*len < tableSize) 217 SkFontHost::GetTableData(font->uniqueID(), tag, 0, tableSize, buffer);
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
HarfbuzzSkia.cpp | 223 const size_t tableSize = SkFontHost::GetTableSize(font->uniqueID(), tag); 224 if (!tableSize) 228 *len = tableSize; 232 if (*len < tableSize) 234 SkFontHost::GetTableData(font->uniqueID(), tag, 0, tableSize, buffer);
|
/external/iproute2/ |
README.distribution | 61 4. Invert the table: for each table entry F(x) = y, make the y*TABLESIZE 63 for the ("normalized") inverse of size TABLESIZE, covering its domain 0 64 to 1 with granularity 1/TABLESIZE. Note that even with the granularity
|
/external/webkit/Source/WebKit2/UIProcess/ |
VisitedLinkProvider.cpp | 97 unsigned tableSize = nextPowerOf2(keyCount * VisitedLinkTableMaxLoad); 101 if (tableSize < minimumTableSize) 104 return tableSize;
|
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/ |
SDL_macwm.c | 91 short tableSize, dataWidth; 96 tableSize = sizeof (GammaTbl) + pTableGammaIn->gFormulaSize + 98 pTableGammaOut = (GammaTblPtr) NewPtr (tableSize); /* allocate new table */ 100 BlockMove( (Ptr)pTableGammaIn, (Ptr)pTableGammaOut, tableSize); /* move everything */ 288 short tableSize, dataWidth; 291 tableSize = sizeof (GammaTbl) + (channels * entries * dataWidth); 292 pTableGammaOut = (GammaTblPtr) NewPtrClear (tableSize); /* allocate new tabel */
|
/bionic/libc/stdio/ |
vfprintf.c | 56 static int __grow_type_table(unsigned char **typetable, int *tablesize); 883 int tablesize; /* current size of type table */ local 893 ((nextarg >= tablesize) ? \ 894 __grow_type_table(&typetable, &tablesize) : 0, \ 935 tablesize = STATIC_ARG_TBL_SIZE; 1197 __grow_type_table(unsigned char **typetable, int *tablesize) 1200 int newsize = *tablesize * 2; 1202 if (*tablesize == STATIC_ARG_TBL_SIZE) { 1207 memcpy( *typetable, oldtable, *tablesize); 1212 memmove(new, *typetable, *tablesize); [all...] |
/external/llvm/utils/TableGen/ |
CodeGenMapTable.cpp | 222 void emitBinSearch(raw_ostream &OS, unsigned TableSize); 227 void emitMapFuncBody(raw_ostream &OS, unsigned TableSize); 369 unsigned TableSize = 0; 394 TableSize++; 398 if (!TableSize) { 403 return TableSize; 411 void MapTableEmitter::emitBinSearch(raw_ostream &OS, unsigned TableSize) { 414 OS << " unsigned end = " << TableSize << ";\n"; 434 unsigned TableSize) { 442 emitBinSearch(OS, TableSize); [all...] |
/external/aac/libMpegTPDec/include/ |
tp_data.h | 309 UINT sf_index, tableSize=sizeof(SamplingRateTable)/sizeof(UINT); 311 for (sf_index=0; sf_index<tableSize; sf_index++) { 315 if (sf_index>tableSize-1) { 316 return tableSize-1;
|
/external/aac/libMpegTPEnc/include/ |
tp_data.h | 309 UINT sf_index, tableSize=sizeof(SamplingRateTable)/sizeof(UINT); 311 for (sf_index=0; sf_index<tableSize; sf_index++) { 315 if (sf_index>tableSize-1) { 316 return tableSize-1;
|