/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/cldr/tools/java/org/unicode/cldr/util/ |
D | ZoneInflections.java | 111 int currentOffset = zone.getOffset(currentDate); in ZoneInflections() local 112 if (currentOffset != lastOffset) { // Binary Search in ZoneInflections() 113 if (currentOffset < minOffset) in ZoneInflections() 114 minOffset = currentOffset; in ZoneInflections() 115 if (currentOffset > maxOffset) in ZoneInflections() 116 maxOffset = currentOffset; in ZoneInflections() 118 int lowOffset = currentOffset; in ZoneInflections() 137 lastOffset = currentOffset; in ZoneInflections()
|
D | Dictionary.java | 500 int currentOffset = matcher.getOffset(); in growToOffset() local 509 setOffsets(length + 1, 1, currentOffset + 1); in growToOffset() 510 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 | 118 int currentOffset = tableOffset; in buildHuffmanTable() local 122 currentOffset += tableSize; in buildHuffmanTable() 128 (tableBits + rootBits) << 16 | (currentOffset - tableOffset - low); in buildHuffmanTable() 130 replicateValue(tableGroup, currentOffset + (key >> rootBits), step, tableSize, in buildHuffmanTable()
|
/external/skia/src/gpu/vk/ |
D | GrVkUniformHandler.cpp | 191 static uint32_t get_aligned_offset(uint32_t* currentOffset, in get_aligned_offset() argument 200 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_aligned_offset() 204 int32_t uniformOffset = *currentOffset + offsetDiff; in get_aligned_offset() 210 *currentOffset = uniformOffset + elementSize * arrayCount; in get_aligned_offset() 212 *currentOffset = uniformOffset + grsltype_to_vk_size(type, layout); in get_aligned_offset() 387 uint32_t currentOffset = fCurrentOffsets[layout]; in getRTHeightOffset() local 388 return get_aligned_offset(¤tOffset, kFloat_GrSLType, 0, layout); in getRTHeightOffset()
|
D | GrVkPipelineStateBuilder.cpp | 329 SkASSERT(!SkToBool(fUniformHandler.currentOffset() & 0x3)); in finalize() 330 pushConstantRange.size = fUniformHandler.currentOffset(); in finalize() 380 fUniformHandler.currentOffset(), in finalize()
|
/external/python/cryptography/docs/development/custom-vectors/arc4/ |
D | verify_arc4.go | 48 var currentOffset uint64 = 0 50 for currentOffset <= offset { 52 currentOffset += uint64(len(plaintext))
|
/external/skia/src/gpu/ |
D | GrSPIRVUniformHandler.cpp | 187 uint32_t get_ubo_offset(uint32_t* currentOffset, GrSLType type, int arrayCount) { in get_ubo_offset() argument 193 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_offset() 197 uint32_t uniformOffset = *currentOffset + offsetDiff; in get_ubo_offset() 202 *currentOffset = uniformOffset + elementSize * arrayCount; in get_ubo_offset() 204 *currentOffset = uniformOffset + grsltype_to_size(type); in get_ubo_offset()
|
D | GrStagingBufferManager.cpp | 21 size_t currentOffset = fBuffers[i].fOffset; in allocateStagingBufferSlice() local 22 offset = ((currentOffset + requiredAlignment - 1)/requiredAlignment)*requiredAlignment; in allocateStagingBufferSlice()
|
/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/angle/src/libANGLE/renderer/metal/ |
D | mtl_occlusion_query_pool.mm | 49 uint32_t currentOffset = 59 else if (currentOffset + kOcclusionQueryResultSize > mRenderPassResultsPool->size()) 76 query->setFirstAllocatedVisibilityOffset(currentOffset); 81 ASSERT(currentOffset == 88 if (currentOffset == 0)
|
/external/ImageMagick/coders/ |
D | palm.c | 698 currentOffset, in WritePALMImage() local 762 currentOffset=0; in WritePALMImage() 993 offset=SeekBlob(image,currentOffset+6,SEEK_SET); in WritePALMImage() 995 offset=SeekBlob(image,currentOffset+12,SEEK_SET); in WritePALMImage() 1000 offset=SeekBlob(image,currentOffset+20,SEEK_SET); in WritePALMImage() 1011 offset=SeekBlob(image,currentOffset+offset,SEEK_SET); in WritePALMImage() 1013 currentOffset-offset)); in WritePALMImage() 1025 offset=SeekBlob(image,currentOffset+10,SEEK_SET); in WritePALMImage() 1026 nextDepthOffset=(size_t) ((GetBlobSize(image)-currentOffset)/4); in WritePALMImage() 1028 currentOffset=(MagickOffsetType) GetBlobSize(image); in WritePALMImage() [all …]
|
/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/lz4/lib/ |
D | lz4.c | 758 || ((tableType == byU16) && cctx->currentOffset + (unsigned)inputSize >= 0xFFFFU) in LZ4_prepareTable() 759 || ((tableType == byU32) && cctx->currentOffset > 1 GB) in LZ4_prepareTable() 765 cctx->currentOffset = 0; in LZ4_prepareTable() 776 if (cctx->currentOffset != 0 && tableType == byU32) { in LZ4_prepareTable() 778 cctx->currentOffset += 64 KB; in LZ4_prepareTable() 805 U32 const startIndex = cctx->currentOffset; in LZ4_compress_generic() 814 …const U32 dictDelta = (dictDirective == usingDictCtx) ? startIndex - dictCtx->currentOffset : 0; … in LZ4_compress_generic() 827 dictionary + dictSize - dictCtx->currentOffset : in LZ4_compress_generic() 856 cctx->currentOffset += (U32)inputSize; in LZ4_compress_generic() 1220 if (ctx->currentOffset) { in LZ4_compress_fast_extState_fastReset() [all …]
|
/external/skia/src/gpu/mtl/ |
D | GrMtlUniformHandler.mm | 188 // the new uniform, and currentOffset is updated to be the offset to the end of the new uniform. 189 static uint32_t get_ubo_aligned_offset(uint32_t* currentOffset, 197 uint32_t offsetDiff = *currentOffset & alignmentMask; 201 uint32_t uniformOffset = *currentOffset + offsetDiff; 204 *currentOffset = uniformOffset + grsltype_to_mtl_size(type) * arrayCount; 206 *currentOffset = uniformOffset + grsltype_to_mtl_size(type);
|
/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/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/skia/src/core/ |
D | SkStream.cpp | 351 const size_t currentOffset = fOffset; in peek() local 354 nonConstThis->fOffset = currentOffset; in peek() 797 size_t currentOffset = fCurrentOffset; in peek() local 800 size_t bytesFromCurrent = std::min(current->written() - currentOffset, bytesLeftToPeek); in peek() 801 memcpy(buffer, current->start() + currentOffset, bytesFromCurrent); in peek() 805 currentOffset = 0; in peek()
|