Home
last modified time | relevance | path

Searched refs:prevOffset (Results 1 – 20 of 20) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
DTimeArrayTimeZoneRule.java95 public Date getNextStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) { in getNextStart() argument
98 long time = getUTC(startTimes[i], prevOffset, prevDSTSavings); in getNextStart()
106 return new Date(getUTC(startTimes[i + 1], prevOffset, prevDSTSavings)); in getNextStart()
113 public Date getPreviousStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) { in getPreviousStart() argument
116 long time = getUTC(startTimes[i], prevOffset, prevDSTSavings); in getPreviousStart()
DCalendar.java3204 int prevOffset = 0; in add() local
3207 prevOffset = get(DST_OFFSET) + get(ZONE_OFFSET); in add()
3221 if (newOffset != prevOffset) { in add()
3226 long adjAmount = (prevOffset - newOffset) % ONE_DAY; in add()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DTimeArrayTimeZoneRule.java101 public Date getNextStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) { in getNextStart() argument
104 long time = getUTC(startTimes[i], prevOffset, prevDSTSavings); in getNextStart()
112 return new Date(getUTC(startTimes[i + 1], prevOffset, prevDSTSavings)); in getNextStart()
120 public Date getPreviousStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) { in getPreviousStart() argument
123 long time = getUTC(startTimes[i], prevOffset, prevDSTSavings); in getPreviousStart()
DCalendar.java3302 int prevOffset = 0; in add() local
3305 prevOffset = get(DST_OFFSET) + get(ZONE_OFFSET); in add()
3319 if (newOffset != prevOffset) { in add()
3324 long adjAmount = (prevOffset - newOffset) % ONE_DAY; in add()
/external/zstd/lib/decompress/
Dzstd_decompress_block.c674 size_t prevOffset[ZSTD_REP_NUM]; member
972 seqState->prevOffset[2] = seqState->prevOffset[1]; in ZSTD_decodeSequence()
973 seqState->prevOffset[1] = seqState->prevOffset[0]; in ZSTD_decodeSequence()
974 seqState->prevOffset[0] = offset; in ZSTD_decodeSequence()
979 offset = seqState->prevOffset[0]; in ZSTD_decodeSequence()
981 offset = seqState->prevOffset[1]; in ZSTD_decodeSequence()
982 seqState->prevOffset[1] = seqState->prevOffset[0]; in ZSTD_decodeSequence()
983 seqState->prevOffset[0] = offset; in ZSTD_decodeSequence()
987 … { size_t temp = (offset==3) ? seqState->prevOffset[0] - 1 : seqState->prevOffset[offset]; in ZSTD_decodeSequence()
989 if (offset != 1) seqState->prevOffset[2] = seqState->prevOffset[1]; in ZSTD_decodeSequence()
[all …]
/external/zstd/programs/
Ddatagen.c102 U32 prevOffset = 1; in RDG_genBlock() local
131 U32 const offset = repeatOffset ? prevOffset : (U32) MIN(randOffset , pos); in RDG_genBlock()
134 prevOffset = offset; in RDG_genBlock()
/external/perfetto/ui/src/frontend/
Dlogs_panel.ts46 const prevOffset = this.visibleRowOffset; constant
51 if (this.visibleRowOffset !== prevOffset ||
/external/zstd/lib/legacy/
Dzstd_v06.c3284 size_t prevOffset[ZSTDv06_REP_INIT]; member
3331 size_t temp = seqState->prevOffset[offset]; in ZSTDv06_decodeSequence()
3333 seqState->prevOffset[2] = seqState->prevOffset[1]; in ZSTDv06_decodeSequence()
3335 seqState->prevOffset[1] = seqState->prevOffset[0]; in ZSTDv06_decodeSequence()
3336 seqState->prevOffset[0] = offset = temp; in ZSTDv06_decodeSequence()
3339 offset = seqState->prevOffset[0]; in ZSTDv06_decodeSequence()
3343 seqState->prevOffset[2] = seqState->prevOffset[1]; in ZSTDv06_decodeSequence()
3344 seqState->prevOffset[1] = seqState->prevOffset[0]; in ZSTDv06_decodeSequence()
3345 seqState->prevOffset[0] = offset; in ZSTDv06_decodeSequence()
3475 { U32 i; for (i=0; i<ZSTDv06_REP_INIT; i++) seqState.prevOffset[i] = REPCODE_STARTVALUE; } in ZSTDv06_decompressSequences()
Dzstd_v07.c3514 size_t prevOffset[ZSTDv07_REP_INIT]; member
3560 size_t const temp = seqState->prevOffset[offset]; in ZSTDv07_decodeSequence()
3561 if (offset != 1) seqState->prevOffset[2] = seqState->prevOffset[1]; in ZSTDv07_decodeSequence()
3562 seqState->prevOffset[1] = seqState->prevOffset[0]; in ZSTDv07_decodeSequence()
3563 seqState->prevOffset[0] = offset = temp; in ZSTDv07_decodeSequence()
3565 offset = seqState->prevOffset[0]; in ZSTDv07_decodeSequence()
3568 seqState->prevOffset[2] = seqState->prevOffset[1]; in ZSTDv07_decodeSequence()
3569 seqState->prevOffset[1] = seqState->prevOffset[0]; in ZSTDv07_decodeSequence()
3570 seqState->prevOffset[0] = offset; in ZSTDv07_decodeSequence()
3698 { U32 i; for (i=0; i<ZSTDv07_REP_INIT; i++) seqState.prevOffset[i] = dctx->rep[i]; } in ZSTDv07_decompressSequences()
[all …]
Dzstd_v01.c1688 size_t prevOffset; member
1697 size_t prevOffset; in ZSTD_decodeSequence() local
1705 prevOffset = litLength ? seq->offset : seqState->prevOffset; in ZSTD_decodeSequence()
1706 seqState->prevOffset = seq->offset; in ZSTD_decodeSequence()
1730 if (offsetCode==0) offset = prevOffset; in ZSTD_decodeSequence()
1887 seqState.prevOffset = 1; in ZSTD_decompressSequences()
Dzstd_v03.c2678 size_t prevOffset; member
2687 size_t prevOffset; in ZSTD_decodeSequence() local
2695 prevOffset = litLength ? seq->offset : seqState->prevOffset; in ZSTD_decodeSequence()
2696 seqState->prevOffset = seq->offset; in ZSTD_decodeSequence()
2722 if (offsetCode==0) offset = prevOffset; /* cmove */ in ZSTD_decodeSequence()
2853 seqState.prevOffset = sequence.offset = 4; in ZSTD_decompressSequences()
Dzstd_v04.c2804 size_t prevOffset; member
2813 size_t prevOffset; in ZSTD_decodeSequence() local
2821 prevOffset = litLength ? seq->offset : seqState->prevOffset; in ZSTD_decodeSequence()
2844 if (offsetCode==0) offset = prevOffset; /* cmove */ in ZSTD_decodeSequence()
2845 if (offsetCode | !litLength) seqState->prevOffset = seq->offset; /* cmove */ in ZSTD_decodeSequence()
2992 seqState.prevOffset = 4; in ZSTD_decompressSequences()
Dzstd_v02.c3037 size_t prevOffset; member
3046 size_t prevOffset; in ZSTD_decodeSequence() local
3054 prevOffset = litLength ? seq->offset : seqState->prevOffset; in ZSTD_decodeSequence()
3055 seqState->prevOffset = seq->offset; in ZSTD_decodeSequence()
3081 if (offsetCode==0) offset = prevOffset; /* cmove */ in ZSTD_decodeSequence()
3212 seqState.prevOffset = 1; in ZSTD_decompressSequences()
Dzstd_v05.c3138 size_t prevOffset; member
3148 size_t prevOffset; in ZSTDv05_decodeSequence() local
3156 prevOffset = litLength ? seq->offset : seqState->prevOffset; in ZSTDv05_decodeSequence()
3183 if (offsetCode==0) offset = prevOffset; /* repcode, cmove */ in ZSTDv05_decodeSequence()
3184 if (offsetCode | !litLength) seqState->prevOffset = seq->offset; /* cmove */ in ZSTDv05_decodeSequence()
3344 seqState.prevOffset = REPCODE_STARTVALUE; in ZSTDv05_decompressSequences()
/external/skqp/src/core/
DSkPictureRecord.cpp310 int32_t prevOffset = fRestoreOffsetStack.top(); in recordRestoreOffsetPlaceholder() local
321 prevOffset = 0; in recordRestoreOffsetPlaceholder()
325 this->addInt(prevOffset); in recordRestoreOffsetPlaceholder()
DSkAAClip.cpp211 int32_t prevOffset = -1; in validate() local
216 SkASSERT(prevOffset < (int32_t)yoff->fOffset); in validate()
217 prevOffset = yoff->fOffset; in validate()
/external/skia/src/core/
DSkPictureRecord.cpp314 int32_t prevOffset = fRestoreOffsetStack.top(); in recordRestoreOffsetPlaceholder() local
325 prevOffset = 0; in recordRestoreOffsetPlaceholder()
329 this->addInt(prevOffset); in recordRestoreOffsetPlaceholder()
DSkAAClip.cpp210 int32_t prevOffset = -1; in validate() local
215 SkASSERT(prevOffset < (int32_t)yoff->fOffset); in validate()
216 prevOffset = yoff->fOffset; in validate()
/external/icu/icu4c/source/i18n/
Dcalendar.cpp2228 int32_t prevOffset = 0; in add() local
2231 prevOffset = get(UCAL_DST_OFFSET, status) + get(UCAL_ZONE_OFFSET, status); in add()
2245 if (newOffset != prevOffset) { in add()
2250 int32_t adjAmount = prevOffset - newOffset; in add()
/external/angle/third_party/vulkan_memory_allocator/src/
DTests.cpp2969 VkDeviceSize prevOffset = 0; in TestLinearAllocator() local
2983 TEST(i == 0 || allocInfo.offset > prevOffset); in TestLinearAllocator()
2985 prevOffset = allocInfo.offset; in TestLinearAllocator()
3016 TEST(i == 0 || allocInfo.offset > prevOffset); in TestLinearAllocator()
3018 prevOffset = allocInfo.offset; in TestLinearAllocator()
3037 TEST(i == 0 || allocInfo.offset > prevOffset); in TestLinearAllocator()
3039 prevOffset = allocInfo.offset; in TestLinearAllocator()
3061 TEST(i == 0 || allocInfo.offset > prevOffset); in TestLinearAllocator()
3063 prevOffset = allocInfo.offset; in TestLinearAllocator()