/external/icu/icu4c/source/common/ |
D | ucnv_u7.c | 215 int32_t *offsets; in _UTF7ToUnicodeWithOffsets() local 239 offsets=pArgs->offsets; in _UTF7ToUnicodeWithOffsets() 281 if(offsets!=NULL) { in _UTF7ToUnicodeWithOffsets() 282 *offsets++=sourceIndex++; in _UTF7ToUnicodeWithOffsets() 376 if(offsets!=NULL) { in _UTF7ToUnicodeWithOffsets() 377 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets() 387 if(offsets!=NULL) { in _UTF7ToUnicodeWithOffsets() 388 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets() 398 if(offsets!=NULL) { in _UTF7ToUnicodeWithOffsets() 399 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets() [all …]
|
D | ucnvlat1.c | 39 int32_t *offsets; in _Latin1ToUnicodeWithOffsets() local 47 offsets=pArgs->offsets; in _Latin1ToUnicodeWithOffsets() 83 if(offsets!=NULL) { in _Latin1ToUnicodeWithOffsets() 85 offsets[0]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 86 offsets[1]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 87 offsets[2]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 88 offsets[3]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 89 offsets[4]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 90 offsets[5]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 91 offsets[6]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() [all …]
|
D | ucnv_u16.c | 55 int32_t *offsets; in _UTF16BEFromUnicodeWithOffsets() local 76 &pArgs->offsets, -1, in _UTF16BEFromUnicodeWithOffsets() 88 offsets=pArgs->offsets; in _UTF16BEFromUnicodeWithOffsets() 103 if(offsets!=NULL) { in _UTF16BEFromUnicodeWithOffsets() 104 *offsets++=-1; in _UTF16BEFromUnicodeWithOffsets() 105 *offsets++=-1; in _UTF16BEFromUnicodeWithOffsets() 106 *offsets++=-1; in _UTF16BEFromUnicodeWithOffsets() 107 *offsets++=-1; in _UTF16BEFromUnicodeWithOffsets() 124 if(offsets==NULL) { in _UTF16BEFromUnicodeWithOffsets() 151 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets() [all …]
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetUTF7.java | 188 …protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean … in decodeLoop() argument 246 if (offsets!= null) { in decodeLoop() 247 offsets.put(sourceIndex++); in decodeLoop() 355 if (offsets != null) { in decodeLoop() 356 offsets.put(sourceIndex); in decodeLoop() 374 if (offsets != null) { in decodeLoop() 375 offsets.put(sourceIndex); in decodeLoop() 393 if (offsets != null) { in decodeLoop() 394 offsets.put(sourceIndex); in decodeLoop() 411 if (offsets != null) { in decodeLoop() [all …]
|
D | CharsetBOCU1.java | 390 …protected CoderResult encodeLoop(CharBuffer source, ByteBuffer target, IntBuffer offsets, boolean … in encodeLoop() argument 418 labelType = fastSingle(source, target, offsets); in encodeLoop() 421 labelType = getTrail(source, target, offsets); in encodeLoop() 424 labelType = regularLoop(source, target, offsets); in encodeLoop() 432 private int fastSingle(CharBuffer source, ByteBuffer target, IntBuffer offsets){ in fastSingle() argument 446 if(offsets!=null){ in fastSingle() 447 offsets.put(nextSourceIndex++); in fastSingle() 456 if(offsets!=null){ in fastSingle() 457 offsets.put(nextSourceIndex++); in fastSingle() 469 private int getTrail(CharBuffer source, ByteBuffer target, IntBuffer offsets){ in getTrail() argument [all …]
|
D | CharsetSCSU.java | 236 protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, in decodeLoop() argument 260 labelType = fastSingle(source, target, offsets, ByteMode); in decodeLoop() 264 labelType = singleByteMode(source, target, offsets, ByteMode); in decodeLoop() 267 endLoop(source, target, offsets); in decodeLoop() 274 labelType = fastSingle(source, target, offsets, UnicodeMode); in decodeLoop() 278 labelType = singleByteMode(source, target, offsets, UnicodeMode); in decodeLoop() 281 endLoop(source, target, offsets); in decodeLoop() 290 … private int fastSingle(ByteBuffer source, CharBuffer target, IntBuffer offsets, int modeType){ in fastSingle() argument 301 if(offsets != null){ in fastSingle() 302 offsets.put(sourceIndex); in fastSingle() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneOffsetLocalTest.java | 108 int[] offsets = new int[2]; in TestGetOffsetAroundTransition() local 175 TESTZONES[i].getOffset(MILLIS[m], true, offsets); in TestGetOffsetAroundTransition() 176 if (offsets[0] != OFFSETS2[m][0] || offsets[1] != OFFSETS2[m][1]) { in TestGetOffsetAroundTransition() 179 + offsets[0] + "/" + offsets[1] in TestGetOffsetAroundTransition() 189 …TZONES[i].getOffsetFromLocal(MILLIS[m], BasicTimeZone.LOCAL_STD, BasicTimeZone.LOCAL_STD, offsets); in TestGetOffsetAroundTransition() 190 if (offsets[0] != OFFSETS2[m][0] || offsets[1] != OFFSETS2[m][1]) { in TestGetOffsetAroundTransition() 193 + offsets[0] + "/" + offsets[1] in TestGetOffsetAroundTransition() 203 …TZONES[i].getOffsetFromLocal(MILLIS[m], BasicTimeZone.LOCAL_DST, BasicTimeZone.LOCAL_DST, offsets); in TestGetOffsetAroundTransition() 204 if (offsets[0] != OFFSETS3[m][0] || offsets[1] != OFFSETS3[m][1]) { in TestGetOffsetAroundTransition() 207 + offsets[0] + "/" + offsets[1] in TestGetOffsetAroundTransition() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneOffsetLocalTest.java | 107 int[] offsets = new int[2]; in TestGetOffsetAroundTransition() local 174 TESTZONES[i].getOffset(MILLIS[m], true, offsets); in TestGetOffsetAroundTransition() 175 if (offsets[0] != OFFSETS2[m][0] || offsets[1] != OFFSETS2[m][1]) { in TestGetOffsetAroundTransition() 178 + offsets[0] + "/" + offsets[1] in TestGetOffsetAroundTransition() 188 …TZONES[i].getOffsetFromLocal(MILLIS[m], BasicTimeZone.LOCAL_STD, BasicTimeZone.LOCAL_STD, offsets); in TestGetOffsetAroundTransition() 189 if (offsets[0] != OFFSETS2[m][0] || offsets[1] != OFFSETS2[m][1]) { in TestGetOffsetAroundTransition() 192 + offsets[0] + "/" + offsets[1] in TestGetOffsetAroundTransition() 202 …TZONES[i].getOffsetFromLocal(MILLIS[m], BasicTimeZone.LOCAL_DST, BasicTimeZone.LOCAL_DST, offsets); in TestGetOffsetAroundTransition() 203 if (offsets[0] != OFFSETS3[m][0] || offsets[1] != OFFSETS3[m][1]) { in TestGetOffsetAroundTransition() 206 + offsets[0] + "/" + offsets[1] in TestGetOffsetAroundTransition() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | SimpleFormatterTest.java | 48 int[] offsets = new int[1]; in TestWithNoArguments() local 52 fmt.formatAndAppend(new StringBuilder(), offsets).toString()); in TestWithNoArguments() 56 offsets[0]); in TestWithNoArguments() 144 int[] offsets = new int[6]; in TestWithArguments() local 150 offsets, in TestWithArguments() 154 verifyOffsets(expectedOffsets, offsets); in TestWithArguments() 173 int[] offsets = new int[4]; in TestFormatReplaceNoOptimization() local 180 offsets, in TestFormatReplaceNoOptimization() 184 verifyOffsets(expectedOffsets, offsets); in TestFormatReplaceNoOptimization() 191 int[] offsets = new int[4]; in TestFormatReplaceNoOptimizationLeadingText() local [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | SimpleFormatterTest.java | 49 int[] offsets = new int[1]; in TestWithNoArguments() local 53 fmt.formatAndAppend(new StringBuilder(), offsets).toString()); in TestWithNoArguments() 57 offsets[0]); in TestWithNoArguments() 145 int[] offsets = new int[6]; in TestWithArguments() local 151 offsets, in TestWithArguments() 155 verifyOffsets(expectedOffsets, offsets); in TestWithArguments() 174 int[] offsets = new int[4]; in TestFormatReplaceNoOptimization() local 181 offsets, in TestFormatReplaceNoOptimization() 185 verifyOffsets(expectedOffsets, offsets); in TestFormatReplaceNoOptimization() 192 int[] offsets = new int[4]; in TestFormatReplaceNoOptimizationLeadingText() local [all …]
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
D | SampleAuxiliaryInformationOffsetsBox.java | 51 private List<Long> offsets = new LinkedList<Long>(); field in SampleAuxiliaryInformationOffsetsBox 61 …return 8 + (getVersion() == 0 ? 4 * offsets.size() : 8 * offsets.size()) + ((getFlags() & 1) == 1 … in getContentSize() 72 IsoTypeWriter.writeUInt32(byteBuffer, offsets.size()); in getContent() 73 for (Long offset : offsets) { in getContent() 92 offsets.clear(); in _parseDetails() 96 offsets.add(IsoTypeReader.readUInt32(content)); in _parseDetails() 98 offsets.add(IsoTypeReader.readUInt64(content)); in _parseDetails() 121 return offsets; in getOffsets() 124 public void setOffsets(List<Long> offsets) { in setOffsets() argument 125 this.offsets = offsets; in setOffsets()
|
/external/icu/icu4c/source/i18n/ |
D | titletrn.cpp | 71 Replaceable& text, UTransPosition& offsets, in handleTransliterate() argument 81 if (offsets.start >= offsets.limit) { in handleTransliterate() 98 for (start = offsets.start - 1; start >= offsets.contextStart; start -= U16_LENGTH(c)) { in handleTransliterate() 116 csc.start = offsets.contextStart; in handleTransliterate() 117 csc.limit = offsets.contextLimit; in handleTransliterate() 123 for(textPos=offsets.start; textPos<offsets.limit;) { in handleTransliterate() 140 offsets.start=csc.cpStart; in handleTransliterate() 159 csc.limit=offsets.contextLimit+=delta; in handleTransliterate() 160 offsets.limit+=delta; in handleTransliterate() 165 offsets.start=textPos; in handleTransliterate()
|
D | uni2name.cpp | 72 void UnicodeNameTransliterator::handleTransliterate(Replaceable& text, UTransPosition& offsets, in handleTransliterate() argument 80 offsets.start = offsets.limit; in handleTransliterate() 87 offsets.start = offsets.limit; in handleTransliterate() 91 int32_t cursor = offsets.start; in handleTransliterate() 92 int32_t limit = offsets.limit; in handleTransliterate() 114 offsets.contextLimit += limit - offsets.limit; in handleTransliterate() 115 offsets.limit = limit; in handleTransliterate() 116 offsets.start = cursor; in handleTransliterate()
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
D | TitlecaseTransliterator.java | 66 Position offsets, boolean isIncremental) { in handleTransliterate() argument 74 if (offsets.start >= offsets.limit) { in handleTransliterate() 90 … for (start = offsets.start - 1; start >= offsets.contextStart; start -= UTF16.getCharCount(c)) { in handleTransliterate() 107 iter.setIndex(offsets.start); in handleTransliterate() 108 iter.setLimit(offsets.limit); in handleTransliterate() 109 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 130 offsets.start=iter.getCaseMapCPStart(); in handleTransliterate() 148 offsets.limit += delta; in handleTransliterate() 149 offsets.contextLimit += delta; in handleTransliterate() 153 offsets.start = offsets.limit; in handleTransliterate()
|
D | CaseFoldTransliterator.java | 61 Position offsets, boolean isIncremental) { in handleTransliterate() argument 66 if(offsets.start >= offsets.limit) { in handleTransliterate() 77 iter.setIndex(offsets.start); in handleTransliterate() 78 iter.setLimit(offsets.limit); in handleTransliterate() 79 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 86 offsets.start=iter.getCaseMapCPStart(); in handleTransliterate() 104 offsets.limit += delta; in handleTransliterate() 105 offsets.contextLimit += delta; in handleTransliterate() 108 offsets.start = offsets.limit; in handleTransliterate()
|
D | LowercaseTransliterator.java | 67 Position offsets, boolean isIncremental) { in handleTransliterate() argument 72 if(offsets.start >= offsets.limit) { in handleTransliterate() 83 iter.setIndex(offsets.start); in handleTransliterate() 84 iter.setLimit(offsets.limit); in handleTransliterate() 85 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 92 offsets.start=iter.getCaseMapCPStart(); in handleTransliterate() 110 offsets.limit += delta; in handleTransliterate() 111 offsets.contextLimit += delta; in handleTransliterate() 114 offsets.start = offsets.limit; in handleTransliterate()
|
D | UppercaseTransliterator.java | 63 Position offsets, boolean isIncremental) { in handleTransliterate() argument 68 if(offsets.start >= offsets.limit) { in handleTransliterate() 79 iter.setIndex(offsets.start); in handleTransliterate() 80 iter.setLimit(offsets.limit); in handleTransliterate() 81 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 88 offsets.start=iter.getCaseMapCPStart(); in handleTransliterate() 106 offsets.limit += delta; in handleTransliterate() 107 offsets.contextLimit += delta; in handleTransliterate() 110 offsets.start = offsets.limit; in handleTransliterate()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | TitlecaseTransliterator.java | 67 Position offsets, boolean isIncremental) { in handleTransliterate() argument 75 if (offsets.start >= offsets.limit) { in handleTransliterate() 91 … for (start = offsets.start - 1; start >= offsets.contextStart; start -= UTF16.getCharCount(c)) { in handleTransliterate() 108 iter.setIndex(offsets.start); in handleTransliterate() 109 iter.setLimit(offsets.limit); in handleTransliterate() 110 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 131 offsets.start=iter.getCaseMapCPStart(); in handleTransliterate() 149 offsets.limit += delta; in handleTransliterate() 150 offsets.contextLimit += delta; in handleTransliterate() 154 offsets.start = offsets.limit; in handleTransliterate()
|
D | CaseFoldTransliterator.java | 62 Position offsets, boolean isIncremental) { in handleTransliterate() argument 67 if(offsets.start >= offsets.limit) { in handleTransliterate() 78 iter.setIndex(offsets.start); in handleTransliterate() 79 iter.setLimit(offsets.limit); in handleTransliterate() 80 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 87 offsets.start=iter.getCaseMapCPStart(); in handleTransliterate() 105 offsets.limit += delta; in handleTransliterate() 106 offsets.contextLimit += delta; in handleTransliterate() 109 offsets.start = offsets.limit; in handleTransliterate()
|
D | UppercaseTransliterator.java | 64 Position offsets, boolean isIncremental) { in handleTransliterate() argument 69 if(offsets.start >= offsets.limit) { in handleTransliterate() 80 iter.setIndex(offsets.start); in handleTransliterate() 81 iter.setLimit(offsets.limit); in handleTransliterate() 82 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 89 offsets.start=iter.getCaseMapCPStart(); in handleTransliterate() 107 offsets.limit += delta; in handleTransliterate() 108 offsets.contextLimit += delta; in handleTransliterate() 111 offsets.start = offsets.limit; in handleTransliterate()
|
D | LowercaseTransliterator.java | 68 Position offsets, boolean isIncremental) { in handleTransliterate() argument 73 if(offsets.start >= offsets.limit) { in handleTransliterate() 84 iter.setIndex(offsets.start); in handleTransliterate() 85 iter.setLimit(offsets.limit); in handleTransliterate() 86 iter.setContextLimits(offsets.contextStart, offsets.contextLimit); in handleTransliterate() 93 offsets.start=iter.getCaseMapCPStart(); in handleTransliterate() 111 offsets.limit += delta; in handleTransliterate() 112 offsets.contextLimit += delta; in handleTransliterate() 115 offsets.start = offsets.limit; in handleTransliterate()
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_bicubic_filter.c | 151 unsigned video_height, struct vertex2f *offsets) in create_frag_shader() argument 212 vtex, ureg_imm2f(shader, offsets[i].x, offsets[i].y)); in create_frag_shader() 245 struct vertex2f offsets[16]; in vl_bicubic_filter_init() local 304 offsets[0].x = -1.0f; offsets[0].y = -1.0f; in vl_bicubic_filter_init() 305 offsets[1].x = 0.0f; offsets[1].y = -1.0f; in vl_bicubic_filter_init() 306 offsets[2].x = 1.0f; offsets[2].y = -1.0f; in vl_bicubic_filter_init() 307 offsets[3].x = 2.0f; offsets[3].y = -1.0f; in vl_bicubic_filter_init() 309 offsets[4].x = -1.0f; offsets[4].y = 0.0f; in vl_bicubic_filter_init() 310 offsets[5].x = 0.0f; offsets[5].y = 0.0f; in vl_bicubic_filter_init() 311 offsets[6].x = 1.0f; offsets[6].y = 0.0f; in vl_bicubic_filter_init() [all …]
|
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | YUVImage.java | 147 public YUVImage(byte[][] planes, int[] offsets, int width, int[] strides, in YUVImage() argument 149 setBuf(planes, offsets, width, strides, height, subsamp, false); in YUVImage() 211 public void setBuf(byte[][] planes, int[] offsets, int width, int strides[], in setBuf() argument 213 setBuf(planes, offsets, width, strides, height, subsamp, false); in setBuf() 216 private void setBuf(byte[][] planes, int[] offsets, int width, int strides[], in setBuf() argument 223 if (planes.length != nc || (offsets != null && offsets.length != nc) || in setBuf() 227 if (offsets == null) in setBuf() 228 offsets = new int[nc]; in setBuf() 244 if (planes[i] == null || offsets[i] < 0) in setBuf() 246 if (strides[i] < 0 && offsets[i] - planeSize + pw < 0) in setBuf() [all …]
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_parser_unittest.cpp | 91 const FX_FILESIZE offsets[] = {0, 15, 61, 154, 296, 374, 450}; in TEST() local 93 for (size_t i = 0; i < FX_ArraySize(offsets); ++i) in TEST() 94 EXPECT_EQ(offsets[i], parser.m_ObjectInfo[i].pos); in TEST() 126 const FX_FILESIZE offsets[] = {0, 17, 81, 0, 331, 409}; in TEST() local 128 for (size_t i = 0; i < FX_ArraySize(offsets); ++i) { in TEST() 129 EXPECT_EQ(offsets[i], parser.m_ObjectInfo[i].pos); in TEST() 151 const FX_FILESIZE offsets[] = {0, 0, 0, 25325, 0, 0, 0, in TEST() local 154 for (size_t i = 0; i < FX_ArraySize(offsets); ++i) { in TEST() 155 EXPECT_EQ(offsets[i], parser.m_ObjectInfo[i].pos); in TEST() 177 const FX_FILESIZE offsets[] = {0, 0, 0, 25325, 0, 0, 0, in TEST() local [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | simpleformattertest.cpp | 77 int32_t offsets[] = { 0 }; in TestNoArguments() local 81 fmt.formatAndAppend(NULL, 0, appendTo, offsets, 1, status)); in TestNoArguments() 82 assertEquals("formatAndAppend offsets[0]", -1, offsets[0]); in TestNoArguments() 163 int32_t offsets[6]; in TestManyArguments() local 173 offsets, in TestManyArguments() 174 UPRV_LENGTHOF(offsets), in TestManyArguments() 179 verifyOffsets(expectedOffsets, offsets, UPRV_LENGTHOF(expectedOffsets)); in TestManyArguments() 184 offsets[UPRV_LENGTHOF(offsets) - 1] = 289; in TestManyArguments() 190 offsets, in TestManyArguments() 191 UPRV_LENGTHOF(offsets) - 1, in TestManyArguments() [all …]
|