Home
last modified time | relevance | path

Searched refs:currentOffset (Results 1 – 24 of 24) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DConversationDialogActivity.java97 int currentOffset = 0; in formatPages() local
107 int fittingChars = paint.breakText(text, currentOffset, textLength, true, maxWidth, null); in formatPages()
109 if (currentOffset + fittingChars < textLength) { in formatPages()
112 int lastSpace = TextUtils.lastIndexOf(text, ' ', currentOffset + fittingChars - 1); in formatPages()
115 lastSpace = currentOffset + fittingChars - 1; in formatPages()
119 currentOffset = lastSpace + 1; in formatPages()
122 currentOffset = textLength; in formatPages()
125 if (lineCount >= maxLinesPerPage || currentOffset >= textLength) { in formatPages()
129 currentPage.text = spannedText.subSequence(lastPageStart, currentOffset); in formatPages()
134 newPage.text = spannedText.subSequence(lastPageStart, currentOffset); in formatPages()
[all …]
/external/icu/icu4c/source/common/
Ducnvscsu.cpp1022 uint32_t currentOffset; in _SCSUFromUnicodeWithOffsets() local
1050 currentOffset=scsu->fromUDynamicOffsets[dynamicWindow]; in _SCSUFromUnicodeWithOffsets()
1097 } else if((delta=c-currentOffset)<=0x7f) { in _SCSUFromUnicodeWithOffsets()
1135 if((delta=c-currentOffset)<=0x7f) { in _SCSUFromUnicodeWithOffsets()
1145 currentOffset=scsu->fromUDynamicOffsets[dynamicWindow]; in _SCSUFromUnicodeWithOffsets()
1147 c=((uint32_t)(SC0+dynamicWindow)<<8)|(c-currentOffset)|0x80; in _SCSUFromUnicodeWithOffsets()
1155 currentOffset=scsu->fromUDynamicOffsets[dynamicWindow]=offset; in _SCSUFromUnicodeWithOffsets()
1157 … c=((uint32_t)SDX<<24)|((uint32_t)dynamicWindow<<21)|((uint32_t)code<<8)|(c-currentOffset)|0x80; in _SCSUFromUnicodeWithOffsets()
1189 currentOffset=scsu->fromUDynamicOffsets[dynamicWindow]; in _SCSUFromUnicodeWithOffsets()
1191 c=((uint32_t)(SC0+dynamicWindow)<<8)|(c-currentOffset)|0x80; in _SCSUFromUnicodeWithOffsets()
[all …]
/external/skqp/src/gpu/vk/
DGrVkUniformHandler.cpp156 uint32_t* currentOffset, in get_ubo_aligned_offset() argument
164 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_aligned_offset()
168 *uniformOffset = *currentOffset + offsetDiff; in get_ubo_aligned_offset()
173 *currentOffset = *uniformOffset + elementSize * arrayCount; in get_ubo_aligned_offset()
175 *currentOffset = *uniformOffset + grsltype_to_vk_size(type); in get_ubo_aligned_offset()
217 uint32_t* currentOffset; in internalAddUniformArray() local
220 currentOffset = &fCurrentGeometryUBOOffset; in internalAddUniformArray()
223 currentOffset = &fCurrentFragmentUBOOffset; in internalAddUniformArray()
225 get_ubo_aligned_offset(&uni.fUBOffset, currentOffset, type, arrayCount); in internalAddUniformArray()
/external/skia/src/gpu/vk/
DGrVkUniformHandler.cpp154 uint32_t* currentOffset, in get_ubo_aligned_offset() argument
162 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_aligned_offset()
166 *uniformOffset = *currentOffset + offsetDiff; in get_ubo_aligned_offset()
171 *currentOffset = *uniformOffset + elementSize * arrayCount; in get_ubo_aligned_offset()
173 *currentOffset = *uniformOffset + grsltype_to_vk_size(type); in get_ubo_aligned_offset()
215 uint32_t* currentOffset; in internalAddUniformArray() local
218 currentOffset = &fCurrentGeometryUBOOffset; in internalAddUniformArray()
221 currentOffset = &fCurrentFragmentUBOOffset; in internalAddUniformArray()
223 get_ubo_aligned_offset(&uni.fUBOffset, currentOffset, type, arrayCount); in internalAddUniformArray()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneAliasTest.java278 int currentOffset = zone.getOffset(currentDate); in Zone() local
279 if (currentOffset != lastOffset) { // Binary Search in Zone()
280 if (currentOffset < minOffset) minOffset = currentOffset; in Zone()
281 if (currentOffset > maxOffset) maxOffset = currentOffset; in Zone()
283 if (currentOffset < minRecentOffset) minRecentOffset = currentOffset; in Zone()
284 if (currentOffset > maxRecentOffset) maxRecentOffset = currentOffset; in Zone()
300 lastOffset = currentOffset; in Zone()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneAliasTest.java275 int currentOffset = zone.getOffset(currentDate); in Zone() local
276 if (currentOffset != lastOffset) { // Binary Search in Zone()
277 if (currentOffset < minOffset) minOffset = currentOffset; in Zone()
278 if (currentOffset > maxOffset) maxOffset = currentOffset; in Zone()
280 if (currentOffset < minRecentOffset) minRecentOffset = currentOffset; in Zone()
281 if (currentOffset > maxRecentOffset) maxRecentOffset = currentOffset; in Zone()
297 lastOffset = currentOffset; in Zone()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetSCSU.java628 private int currentOffset; field in CharsetSCSU.CharsetEncoderSCSU
652 currentOffset = data.fromUDynamicOffsets[dynamicWindow]; in encodeLoop()
809 …} else if(((delta=(c-currentOffset))&UConverterConstants.UNSIGNED_INT_MASK)<=0x7f && !AfterGetTrai… in loop()
838 if(((delta=(c-currentOffset))&UConverterConstants.UNSIGNED_INT_MASK)<=0x7f){ in loop()
848 currentOffset = data.fromUDynamicOffsets[dynamicWindow]; in loop()
850 c = ((SC0+dynamicWindow)<<8 | (c-currentOffset)|0x80); in loop()
859 currentOffset = data.fromUDynamicOffsets[dynamicWindow]=offset; in loop()
862 (code<<8)| (c- currentOffset) |0x80); in loop()
900 currentOffset = data.fromUDynamicOffsets[dynamicWindow]; in loop()
902 c = ((SC0+window)<<8) | (c- currentOffset) | 0x80; in loop()
[all …]
DCharsetISO2022.java1499 int currentOffset = offsets.get(); in decodeLoopIBM() local
1501 if (currentOffset >= 0) { in decodeLoopIBM()
1502 offsets.put(currentOffset + delta); in decodeLoopIBM()
/external/brotli/csharp/org/brotli/dec/
DHuffman.cs129 int currentOffset = tableOffset; in BuildHuffmanTable()
136 currentOffset += tableSize; in BuildHuffmanTable()
141 … rootTable[tableOffset + low] = (tableBits + rootBits) << 16 | (currentOffset - tableOffset - low); in BuildHuffmanTable()
143 …ReplicateValue(rootTable, currentOffset + (key >> rootBits), step, tableSize, (len - rootBits) << … in BuildHuffmanTable()
/external/brotli/java/org/brotli/dec/
DHuffman.java114 int currentOffset = tableOffset; in buildHuffmanTable() local
118 currentOffset += tableSize; in buildHuffmanTable()
124 (tableBits + rootBits) << 16 | (currentOffset - tableOffset - low); in buildHuffmanTable()
126 replicateValue(rootTable, currentOffset + (key >> rootBits), step, tableSize, in buildHuffmanTable()
/external/ImageMagick/coders/
Dpalm.c673 currentOffset, in WritePALMImage() local
737 currentOffset=0; in WritePALMImage()
955 offset=SeekBlob(image,currentOffset+6,SEEK_SET); in WritePALMImage()
957 offset=SeekBlob(image,currentOffset+12,SEEK_SET); in WritePALMImage()
962 offset=SeekBlob(image,currentOffset+20,SEEK_SET); in WritePALMImage()
970 offset=SeekBlob(image,currentOffset+offset,SEEK_SET); in WritePALMImage()
972 currentOffset-offset)); in WritePALMImage()
984 offset=SeekBlob(image,currentOffset+10,SEEK_SET); in WritePALMImage()
985 nextDepthOffset=(size_t) ((GetBlobSize(image)-currentOffset)/4); in WritePALMImage()
987 currentOffset=(MagickOffsetType) GetBlobSize(image); in WritePALMImage()
[all …]
/external/freetype/src/gxvalid/
Dgxvmort1.c149 FT_Short currentOffset; in gxv_mort_subtable_type1_entry_validate() local
162 currentOffset = (FT_Short)( glyphOffset_p->ul ); in gxv_mort_subtable_type1_entry_validate()
175 gxv_mort_subtable_type1_offset_to_subst_validate( currentOffset, in gxv_mort_subtable_type1_entry_validate()
/external/lz4/lib/
Dlz4.c498 base = (const BYTE*)source - cctx->currentOffset; in LZ4_compress_generic()
502 base = (const BYTE*)source - cctx->currentOffset; in LZ4_compress_generic()
943 …if ((dict->initCheck) || (dict->currentOffset > 1 GB)) /* Uninitialized structure, or reuse overf… in LZ4_loadDict()
953 dict->currentOffset += 64 KB; in LZ4_loadDict()
954 base = p - dict->currentOffset; in LZ4_loadDict()
957 dict->currentOffset += dict->dictSize; in LZ4_loadDict()
970 if ((LZ4_dict->currentOffset > 0x80000000) || in LZ4_renormDictT()
971 ((uptrval)LZ4_dict->currentOffset > (uptrval)src)) { /* address space overflow */ in LZ4_renormDictT()
973 U32 const delta = LZ4_dict->currentOffset - 64 KB; in LZ4_renormDictT()
980 LZ4_dict->currentOffset = 64 KB; in LZ4_renormDictT()
[all …]
Dlz4.h337 uint32_t currentOffset; member
355 unsigned int currentOffset; member
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
DSampleList.java140 long currentOffset = 0; in initIsoFile() local
146 long contentOffset = currentOffset + ((MediaDataBox) b).getHeader().limit(); in initIsoFile()
154 currentOffset += currentSize; in initIsoFile()
/external/skqp/src/core/
DSkStream.cpp327 const size_t currentOffset = fOffset; in peek() local
330 nonConstThis->fOffset = currentOffset; in peek()
714 size_t currentOffset = fCurrentOffset; in peek() local
717 size_t bytesFromCurrent = SkTMin(current->written() - currentOffset, bytesLeftToPeek); in peek()
718 memcpy(buffer, current->start() + currentOffset, bytesFromCurrent); in peek()
722 currentOffset = 0; in peek()
/external/skia/src/core/
DSkStream.cpp345 const size_t currentOffset = fOffset; in peek() local
348 nonConstThis->fOffset = currentOffset; in peek()
732 size_t currentOffset = fCurrentOffset; in peek() local
735 size_t bytesFromCurrent = SkTMin(current->written() - currentOffset, bytesLeftToPeek); in peek()
736 memcpy(buffer, current->start() + currentOffset, bytesFromCurrent); in peek()
740 currentOffset = 0; in peek()
/external/zlib/src/contrib/minizip/
Dmztools.c50 int currentOffset = offset; variable
168 WRITE_32(header + 42, currentOffset);
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DParse.java234 int currentOffset; field in Parse.StateItem
289 currentOffset = 0; in clear()
350 currentOffset = other.currentOffset; in copyFrom()
494 sb.append(currentOffset); in toString()
1751 item.currentOffset,
1849 next.currentOffset = newOffset;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DParse.java232 int currentOffset; field in Parse.StateItem
287 currentOffset = 0; in clear()
348 currentOffset = other.currentOffset; in copyFrom()
492 sb.append(currentOffset); in toString()
1749 item.currentOffset,
1847 next.currentOffset = newOffset;
/external/dng_sdk/source/
Ddng_image_writer.cpp6753 uint32 currentOffset = 8; in WriteDNG() local
6755 currentOffset += mainIFD.Size (); in WriteDNG()
6762 subFileData [subFileIndex++] = currentOffset; in WriteDNG()
6764 currentOffset += rawIFD.Size (); in WriteDNG()
6771 subFileData [subFileIndex++] = currentOffset; in WriteDNG()
6773 currentOffset += maskIFD->Size (); in WriteDNG()
6783 subFileData [subFileIndex++] = currentOffset; in WriteDNG()
6785 currentOffset += previewIFD [j]->Size (); in WriteDNG()
6791 exifSet.Locate (currentOffset); in WriteDNG()
6793 currentOffset += exifSet.Size (); in WriteDNG()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp1650 int currentOffset = 0; in iterate() local
1655 currentOffset = deAlign32(currentOffset, minUniformBufferOffsetAlignment); in iterate()
1656 offsets[blockNdx] = currentOffset; in iterate()
1657 currentOffset += m_layout.blocks[blockNdx].size; in iterate()
1660 deUint32 totalSize = currentOffset; in iterate()
/external/brotli/js/
Ddecode.js1216 var /** !number */ currentOffset = tableOffset;
1220 currentOffset += tableSize;
1225 … rootTable[tableOffset + low] = (tableBits + rootBits) << 16 | (currentOffset - tableOffset - low);
1227 …replicateValue(rootTable, currentOffset + (key >> rootBits), step, tableSize, (len - rootBits) << …
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceQueryTests.cpp2264 int currentOffset = 0; in getBufferMinimumDataSize() local
2272 …) ? (m_program->getShaders()[0]->getDefaultBlock().variables[ndx].layout.offset) : (currentOffset); in getBufferMinimumDataSize()
2273 currentOffset = thisOffset + 4; in getBufferMinimumDataSize()