Home
last modified time | relevance | path

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

/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
DZipResourceFile.java378 int currentOffset = 0; in addPatchFile() local
387 if (directoryMap.getInt(currentOffset) != kCDESignature) { in addPatchFile()
388 Log.w(LOG_TAG, "Missed a central dir sig (at " + currentOffset in addPatchFile()
395 .getShort(currentOffset + kCDENameLen) & 0xffff; in addPatchFile()
396 int extraLen = directoryMap.getShort(currentOffset + kCDEExtraLen) & 0xffff; in addPatchFile()
397 int commentLen = directoryMap.getShort(currentOffset in addPatchFile()
402 directoryMap.position(currentOffset + kCDELen); in addPatchFile()
413 ze.mMethod = directoryMap.getShort(currentOffset + kCDEMethod) & 0xffff; in addPatchFile()
414 ze.mWhenModified = directoryMap.getInt(currentOffset + kCDEModWhen) & 0xffffffffL; in addPatchFile()
415 ze.mCRC32 = directoryMap.getLong(currentOffset + kCDECRC) & 0xffffffffL; in addPatchFile()
[all …]
/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.c1020 uint32_t currentOffset; in _SCSUFromUnicodeWithOffsets() local
1048 currentOffset=scsu->fromUDynamicOffsets[dynamicWindow]; in _SCSUFromUnicodeWithOffsets()
1095 } else if((delta=c-currentOffset)<=0x7f) { in _SCSUFromUnicodeWithOffsets()
1133 if((delta=c-currentOffset)<=0x7f) { in _SCSUFromUnicodeWithOffsets()
1143 currentOffset=scsu->fromUDynamicOffsets[dynamicWindow]; in _SCSUFromUnicodeWithOffsets()
1145 c=((uint32_t)(SC0+dynamicWindow)<<8)|(c-currentOffset)|0x80; in _SCSUFromUnicodeWithOffsets()
1153 currentOffset=scsu->fromUDynamicOffsets[dynamicWindow]=offset; in _SCSUFromUnicodeWithOffsets()
1155 … c=((uint32_t)SDX<<24)|((uint32_t)dynamicWindow<<21)|((uint32_t)code<<8)|(c-currentOffset)|0x80; in _SCSUFromUnicodeWithOffsets()
1187 currentOffset=scsu->fromUDynamicOffsets[dynamicWindow]; in _SCSUFromUnicodeWithOffsets()
1189 c=((uint32_t)(SC0+dynamicWindow)<<8)|(c-currentOffset)|0x80; in _SCSUFromUnicodeWithOffsets()
[all …]
/external/skia/src/gpu/vk/
DGrVkUniformHandler.cpp44 uint32_t* currentOffset, in get_ubo_aligned_offset() argument
48 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_aligned_offset()
52 *uniformOffset = *currentOffset + offsetDiff; in get_ubo_aligned_offset()
57 *currentOffset = *uniformOffset + count * (uint32_t)GrSLTypeSize(type); in get_ubo_aligned_offset()
97 uint32_t* currentOffset = kVertex_GrShaderFlag == visibility ? &fCurrentVertexUBOOffset in internalAddUniformArray() local
99 get_ubo_aligned_offset(&uni.fUBOffset, currentOffset, type, arrayCount); in internalAddUniformArray()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneAliasTest.java270 int currentOffset = zone.getOffset(currentDate); in Zone() local
271 if (currentOffset != lastOffset) { // Binary Search in Zone()
272 if (currentOffset < minOffset) minOffset = currentOffset; in Zone()
273 if (currentOffset > maxOffset) maxOffset = currentOffset; in Zone()
275 if (currentOffset < minRecentOffset) minRecentOffset = currentOffset; in Zone()
276 if (currentOffset > maxRecentOffset) maxRecentOffset = currentOffset; in Zone()
292 lastOffset = currentOffset; in Zone()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneAliasTest.java266 int currentOffset = zone.getOffset(currentDate); in Zone() local
267 if (currentOffset != lastOffset) { // Binary Search in Zone()
268 if (currentOffset < minOffset) minOffset = currentOffset; in Zone()
269 if (currentOffset > maxOffset) maxOffset = currentOffset; in Zone()
271 if (currentOffset < minRecentOffset) minRecentOffset = currentOffset; in Zone()
272 if (currentOffset > maxRecentOffset) maxRecentOffset = currentOffset; in Zone()
288 lastOffset = currentOffset; in Zone()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetSCSU.java625 private int currentOffset; field in CharsetSCSU.CharsetEncoderSCSU
648 currentOffset = data.fromUDynamicOffsets[dynamicWindow]; in encodeLoop()
805 …} else if(((delta=(c-currentOffset))&UConverterConstants.UNSIGNED_INT_MASK)<=0x7f && !AfterGetTrai… in loop()
834 if(((delta=(c-currentOffset))&UConverterConstants.UNSIGNED_INT_MASK)<=0x7f){ in loop()
844 currentOffset = data.fromUDynamicOffsets[dynamicWindow]; in loop()
846 c = ((SC0+dynamicWindow)<<8 | (c-currentOffset)|0x80); in loop()
855 currentOffset = data.fromUDynamicOffsets[dynamicWindow]=offset; in loop()
858 (code<<8)| (c- currentOffset) |0x80); in loop()
896 currentOffset = data.fromUDynamicOffsets[dynamicWindow]; in loop()
898 c = ((SC0+window)<<8) | (c- currentOffset) | 0x80; in loop()
[all …]
DCharsetISO2022.java1494 int currentOffset = offsets.get(); in decodeLoopIBM() local
1496 if (currentOffset >= 0) { in decodeLoopIBM()
1497 offsets.put(currentOffset + delta); in decodeLoopIBM()
/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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/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.c437 U32 currentOffset; member
539 base = (const BYTE*)source - dictPtr->currentOffset; in LZ4_compress_generic()
543 base = (const BYTE*)source - dictPtr->currentOffset; in LZ4_compress_generic()
797 base = p - dict->currentOffset; in LZ4_loadDict()
800 dict->currentOffset += dict->dictSize; in LZ4_loadDict()
814 if ((LZ4_dict->currentOffset > 0x80000000) || in LZ4_renormDictT()
815 ((size_t)LZ4_dict->currentOffset > (size_t)src)) /* address space overflow */ in LZ4_renormDictT()
818 U32 delta = LZ4_dict->currentOffset - 64 KB; in LZ4_renormDictT()
826 LZ4_dict->currentOffset = 64 KB; in LZ4_renormDictT()
860 if ((streamPtr->dictSize < 64 KB) && (streamPtr->dictSize < streamPtr->currentOffset)) in LZ4_compress_continue_generic()
[all …]
/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/skia/src/core/
DSkStream.cpp373 const size_t currentOffset = fOffset; in peek() local
376 nonConstThis->fOffset = currentOffset; in peek()
740 size_t currentOffset = fCurrentOffset; in peek() local
744 SkTMin(current->written() - currentOffset, bytesLeftToPeek); in peek()
745 memcpy(buffer, current->start() + currentOffset, bytesFromCurrent); in peek()
749 currentOffset = 0; in peek()
/external/zlib/src/contrib/minizip/
Dmztools.c50 int currentOffset = offset; variable
168 WRITE_32(header + 42, currentOffset);
/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.cpp1390 int currentOffset = 0; in iterate() local
1395 currentOffset = deAlign32(currentOffset, minUniformBufferOffsetAlignment); in iterate()
1396 offsets[blockNdx] = currentOffset; in iterate()
1397 currentOffset += m_layout.blocks[blockNdx].size; in iterate()
1400 deUint32 totalSize = currentOffset; in iterate()
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceQueryTests.cpp2253 int currentOffset = 0; in getBufferMinimumDataSize() local
2261 …) ? (m_program->getShaders()[0]->getDefaultBlock().variables[ndx].layout.offset) : (currentOffset); in getBufferMinimumDataSize()
2262 currentOffset = thisOffset + 4; in getBufferMinimumDataSize()