/external/replicaisland/src/com/replica/replicaisland/ |
D | ConversationDialogActivity.java | 97 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/ |
D | ucnvscsu.cpp | 1022 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/ |
D | GrVkUniformHandler.cpp | 180 uint32_t* currentOffset, in get_ubo_aligned_offset() argument 188 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_aligned_offset() 192 *uniformOffset = *currentOffset + offsetDiff; in get_ubo_aligned_offset() 197 *currentOffset = *uniformOffset + elementSize * arrayCount; in get_ubo_aligned_offset() 199 *currentOffset = *uniformOffset + grsltype_to_vk_size(type); in get_ubo_aligned_offset() 241 uint32_t* currentOffset; in internalAddUniformArray() local 244 currentOffset = &fCurrentGeometryUBOOffset; in internalAddUniformArray() 247 currentOffset = &fCurrentFragmentUBOOffset; in internalAddUniformArray() 249 get_ubo_aligned_offset(&uni.fUBOffset, currentOffset, type, arrayCount); in internalAddUniformArray()
|
/external/skia/src/gpu/vk/ |
D | GrVkUniformHandler.cpp | 180 uint32_t* currentOffset, in get_ubo_aligned_offset() argument 188 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_aligned_offset() 192 *uniformOffset = *currentOffset + offsetDiff; in get_ubo_aligned_offset() 197 *currentOffset = *uniformOffset + elementSize * arrayCount; in get_ubo_aligned_offset() 199 *currentOffset = *uniformOffset + grsltype_to_vk_size(type); in get_ubo_aligned_offset() 238 uint32_t* currentOffset; in internalAddUniformArray() local 241 currentOffset = &fCurrentGeometryUBOOffset; in internalAddUniformArray() 244 currentOffset = &fCurrentFragmentUBOOffset; in internalAddUniformArray() 246 get_ubo_aligned_offset(&uni.fUBOffset, currentOffset, type, arrayCount); in internalAddUniformArray()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | ZoneInflections.java | 110 int currentOffset = zone.getOffset(currentDate); in ZoneInflections() local 111 if (currentOffset != lastOffset) { // Binary Search in ZoneInflections() 112 if (currentOffset < minOffset) in ZoneInflections() 113 minOffset = currentOffset; in ZoneInflections() 114 if (currentOffset > maxOffset) in ZoneInflections() 115 maxOffset = currentOffset; in ZoneInflections() 117 int lowOffset = currentOffset; in ZoneInflections() 136 lastOffset = currentOffset; in ZoneInflections()
|
D | Dictionary.java | 496 int currentOffset = matcher.getOffset(); in growToOffset() local 505 setOffsets(length + 1, 1, currentOffset + 1); in growToOffset() 506 buffer.append(source.charAt(currentOffset)); in growToOffset()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneAliasTest.java | 278 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/ |
D | TimeZoneAliasTest.java | 275 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/ |
D | CharsetSCSU.java | 628 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 …]
|
/external/brotli/csharp/org/brotli/dec/ |
D | Huffman.cs | 129 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/ |
D | Huffman.java | 114 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/skia/src/gpu/mtl/ |
D | GrMtlUniformHandler.mm | 174 // the new uniform, and currentOffset is updated to be the offset to the end of the new uniform. 176 uint32_t* currentOffset, 184 uint32_t offsetDiff = *currentOffset & alignmentMask; 188 *uniformOffset = *currentOffset + offsetDiff; 193 *currentOffset = *uniformOffset + elementSize * arrayCount; 195 *currentOffset = *uniformOffset + grsltype_to_mtl_size(type); 234 uint32_t* currentOffset; 238 currentOffset = &fCurrentGeometryUBOOffset; 242 currentOffset = &fCurrentFragmentUBOOffset; 245 get_ubo_aligned_offset(&uni.fUBOffset, currentOffset, maxAlignment, type, arrayCount);
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlUniformHandler.mm | 174 // the new uniform, and currentOffset is updated to be the offset to the end of the new uniform. 176 uint32_t* currentOffset, 180 uint32_t offsetDiff = *currentOffset & alignmentMask; 184 *uniformOffset = *currentOffset + offsetDiff; 189 *currentOffset = *uniformOffset + elementSize * arrayCount; 191 *currentOffset = *uniformOffset + grsltype_to_mtl_size(type); 233 uint32_t* currentOffset; 236 currentOffset = &fCurrentGeometryUBOOffset; 239 currentOffset = &fCurrentFragmentUBOOffset; 241 get_ubo_aligned_offset(&uni.fUBOffset, currentOffset, type, arrayCount);
|
/external/ImageMagick/coders/ |
D | palm.c | 695 currentOffset, in WritePALMImage() local 760 currentOffset=0; in WritePALMImage() 991 offset=SeekBlob(image,currentOffset+6,SEEK_SET); in WritePALMImage() 993 offset=SeekBlob(image,currentOffset+12,SEEK_SET); in WritePALMImage() 998 offset=SeekBlob(image,currentOffset+20,SEEK_SET); in WritePALMImage() 1009 offset=SeekBlob(image,currentOffset+offset,SEEK_SET); in WritePALMImage() 1011 currentOffset-offset)); in WritePALMImage() 1023 offset=SeekBlob(image,currentOffset+10,SEEK_SET); in WritePALMImage() 1024 nextDepthOffset=(size_t) ((GetBlobSize(image)-currentOffset)/4); in WritePALMImage() 1026 currentOffset=(MagickOffsetType) GetBlobSize(image); in WritePALMImage() [all …]
|
/external/lz4/lib/ |
D | lz4.c | 618 || (tableType == byU16 && cctx->currentOffset + inputSize >= 0xFFFFU) in LZ4_prepareTable() 619 || (tableType == byU32 && cctx->currentOffset > 1 GB) in LZ4_prepareTable() 625 cctx->currentOffset = 0; in LZ4_prepareTable() 636 if (cctx->currentOffset != 0 && tableType == byU32) { in LZ4_prepareTable() 638 cctx->currentOffset += 64 KB; in LZ4_prepareTable() 664 U32 const startIndex = cctx->currentOffset; in LZ4_compress_generic() 673 …const U32 dictDelta = (dictDirective == usingDictCtx) ? startIndex - dictCtx->currentOffset : 0; … in LZ4_compress_generic() 686 dictionary + dictSize - dictCtx->currentOffset : in LZ4_compress_generic() 714 cctx->currentOffset += (U32)inputSize; in LZ4_compress_generic() 1050 if (ctx->currentOffset) { in LZ4_compress_fast_extState_fastReset() [all …]
|
D | lz4.h | 499 uint32_t currentOffset; member 519 unsigned int currentOffset; member
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | CompositeReadableBuffer.java | 92 int currentOffset = destOffset; in readBytes() 95 buffer.readBytes(dest, currentOffset, length); in readBytes() 96 currentOffset += length; in readBytes()
|
/external/freetype/src/gxvalid/ |
D | gxvmort1.c | 149 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/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
D | SampleList.java | 140 long currentOffset = 0; in initIsoFile() local 146 long contentOffset = currentOffset + ((MediaDataBox) b).getHeader().limit(); in initIsoFile() 154 currentOffset += currentSize; in initIsoFile()
|
/external/skia/src/core/ |
D | SkStream.cpp | 340 const size_t currentOffset = fOffset; in peek() local 343 nonConstThis->fOffset = currentOffset; in peek() 786 size_t currentOffset = fCurrentOffset; in peek() local 789 size_t bytesFromCurrent = SkTMin(current->written() - currentOffset, bytesLeftToPeek); in peek() 790 memcpy(buffer, current->start() + currentOffset, bytesFromCurrent); in peek() 794 currentOffset = 0; in peek()
|
/external/skqp/src/core/ |
D | SkStream.cpp | 340 const size_t currentOffset = fOffset; in peek() local 343 nonConstThis->fOffset = currentOffset; in peek() 786 size_t currentOffset = fCurrentOffset; in peek() local 789 size_t bytesFromCurrent = SkTMin(current->written() - currentOffset, bytesLeftToPeek); in peek() 790 memcpy(buffer, current->start() + currentOffset, bytesFromCurrent); in peek() 794 currentOffset = 0; in peek()
|
/external/zlib/src/contrib/minizip/ |
D | mztools.c | 50 int currentOffset = offset; variable 168 WRITE_32(header + 42, currentOffset);
|
/external/skqp/src/sksl/ |
D | SkSLMetalCodeGenerator.cpp | 877 int currentOffset = 0; in writeFields() local 882 if (currentOffset > fieldOffset) { in writeFields() 885 to_string((int) currentOffset)); in writeFields() 886 } else if (currentOffset < fieldOffset) { in writeFields() 890 this->write(to_string(fieldOffset - currentOffset)); in writeFields() 892 currentOffset = fieldOffset; in writeFields() 916 currentOffset += memoryLayout.size(*fieldType); in writeFields()
|
/external/skia/src/sksl/ |
D | SkSLMetalCodeGenerator.cpp | 1021 int currentOffset = 0; in writeFields() local 1026 if (currentOffset > fieldOffset) { in writeFields() 1029 to_string((int) currentOffset)); in writeFields() 1030 } else if (currentOffset < fieldOffset) { in writeFields() 1034 this->write(to_string(fieldOffset - currentOffset)); in writeFields() 1036 currentOffset = fieldOffset; in writeFields() 1060 currentOffset += memoryLayout.size(*fieldType); in writeFields()
|
/external/dng_sdk/source/ |
D | dng_image_writer.cpp | 6753 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 …]
|