Home
last modified time | relevance | path

Searched refs:dataCapacity (Results 1 – 18 of 18) sorted by relevance

/external/pdfium/fxbarcode/datamatrix/
DBC_SymbolInfo.cpp82 CBC_SymbolInfo::CBC_SymbolInfo(int32_t dataCapacity, in CBC_SymbolInfo() argument
87 : CBC_SymbolInfo(dataCapacity, in CBC_SymbolInfo()
92 dataCapacity, in CBC_SymbolInfo()
95 CBC_SymbolInfo::CBC_SymbolInfo(int32_t dataCapacity, in CBC_SymbolInfo() argument
103 m_dataCapacity(dataCapacity), in CBC_SymbolInfo()
121 if (dataCodewords <= symbol->dataCapacity()) in lookup()
DBC_SymbolInfo.h15 CBC_SymbolInfo(int32_t dataCapacity,
38 int32_t dataCapacity() const { return m_dataCapacity; } in dataCapacity() function
44 CBC_SymbolInfo(int32_t dataCapacity,
DBC_ErrorCorrection.cpp126 symbolInfo->dataCapacity()) { in encodeECC200()
152 for (int32_t d = block; d < symbolInfo->dataCapacity(); d += blockCount) { in encodeECC200()
161 sb.SetAt(symbolInfo->dataCapacity() + l, ecc[pos++]); in encodeECC200()
DBC_EdifactEncoder.cpp68 context->m_symbolInfo->dataCapacity() - context->getCodewordCount(); in HandleEOD()
88 context->m_symbolInfo->dataCapacity() - context->getCodewordCount(); in HandleEOD()
DBC_C40Encoder.cpp67 int32_t available = context.m_symbolInfo->dataCapacity() - curCodewordCount; in Encode()
115 int32_t available = context.m_symbolInfo->dataCapacity() - curCodewordCount; in handleEOD()
DBC_Base256Encoder.cpp61 bool mustPad = (context.m_symbolInfo->dataCapacity() - currentSize) > 0; in Encode()
DBC_X12Encoder.cpp68 context.m_symbolInfo->dataCapacity() - context.getCodewordCount(); in handleEOD()
DBC_EncoderContext.cpp95 if (!m_symbolInfo || len > m_symbolInfo->dataCapacity()) { in updateSymbolInfo()
DBC_HighLevelEncoder.cpp112 int32_t capacity = context.m_symbolInfo->dataCapacity(); in encodeHighLevel()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2Writable.java41 this.dataCapacity = UNEWTRIE2_INITIAL_DATA_LENGTH; in init()
215 if(newTop>dataCapacity) { in allocDataBlock()
220 if(dataCapacity<UNEWTRIE2_MEDIUM_DATA_LENGTH) { in allocDataBlock()
222 } else if(dataCapacity<UNEWTRIE2_MAX_DATA_LENGTH) { in allocDataBlock()
235 dataCapacity=capacity; in allocDataBlock()
334 this.dataCapacity = tempTrie.dataCapacity; in uncompact()
1195 private int dataCapacity; field in Trie2Writable
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2Writable.java39 this.dataCapacity = UNEWTRIE2_INITIAL_DATA_LENGTH; in init()
213 if(newTop>dataCapacity) { in allocDataBlock()
218 if(dataCapacity<UNEWTRIE2_MEDIUM_DATA_LENGTH) { in allocDataBlock()
220 } else if(dataCapacity<UNEWTRIE2_MAX_DATA_LENGTH) { in allocDataBlock()
233 dataCapacity=capacity; in allocDataBlock()
332 this.dataCapacity = tempTrie.dataCapacity; in uncompact()
1193 private int dataCapacity; field in Trie2Writable
/external/icu/icu4c/source/common/
Dutrie2_builder.cpp150 newTrie->dataCapacity=UNEWTRIE2_INITIAL_DATA_LENGTH; in utrie2_open()
257 trie->data=(uint32_t *)uprv_malloc(other->dataCapacity*4); in cloneBuilder()
270 trie->dataCapacity=other->dataCapacity; in cloneBuilder()
561 if(newTop>trie->dataCapacity) { in allocDataBlock()
566 if(trie->dataCapacity<UNEWTRIE2_MEDIUM_DATA_LENGTH) { in allocDataBlock()
568 } else if(trie->dataCapacity<UNEWTRIE2_MAX_DATA_LENGTH) { in allocDataBlock()
585 trie->dataCapacity=capacity; in allocDataBlock()
Dutrie2_impl.h151 int32_t index2Length, dataCapacity, dataLength; member
Dumutablecptrie.cpp106 int32_t dataCapacity = 0; member in __anon5a66f5c00111::MutableCodePointTrie
140 dataCapacity = INITIAL_DATA_LENGTH; in MutableCodePointTrie()
156 data = (uint32_t *)uprv_malloc(other.dataCapacity * 4); in MutableCodePointTrie()
162 dataCapacity = other.dataCapacity; in MutableCodePointTrie()
404 if (newTop > dataCapacity) { in allocDataBlock()
406 if (dataCapacity < MEDIUM_DATA_LENGTH) { in allocDataBlock()
408 } else if (dataCapacity < MAX_DATA_LENGTH) { in allocDataBlock()
423 dataCapacity = capacity; in allocDataBlock()
1545 dataCapacity = newDataCapacity; in compactTrie()
Dutrie.cpp109 trie->dataCapacity=maxDataLength; in utrie_open()
126 if(aliasData!=NULL && aliasDataCapacity>=other->dataCapacity) { in utrie_clone()
129 aliasDataCapacity=other->dataCapacity; in utrie_clone()
130 aliasData=(uint32_t *)uprv_malloc(other->dataCapacity*4); in utrie_clone()
181 if(newTop>trie->dataCapacity) { in utrie_allocDataBlock()
Dutrie.h562 int32_t indexLength, dataCapacity, dataLength; member
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowParcel.java182 return NATIVE_PTR_TO_PARCEL.get(nativePtr).dataCapacity(); in nativeDataCapacity()
740 public int dataCapacity() { in dataCapacity() method in ShadowParcel.ByteBuffer
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowParcelTest.java640 assertThat(parcel.dataCapacity()).isEqualTo(8); in testSetDataCapacity()