/external/icu/icu4c/source/common/ |
D | ucnv_u7.cpp | 217 int32_t *offsets; in _UTF7ToUnicodeWithOffsets() local 241 offsets=pArgs->offsets; in _UTF7ToUnicodeWithOffsets() 283 if(offsets!=NULL) { in _UTF7ToUnicodeWithOffsets() 284 *offsets++=sourceIndex++; in _UTF7ToUnicodeWithOffsets() 378 if(offsets!=NULL) { in _UTF7ToUnicodeWithOffsets() 379 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets() 389 if(offsets!=NULL) { in _UTF7ToUnicodeWithOffsets() 390 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets() 400 if(offsets!=NULL) { in _UTF7ToUnicodeWithOffsets() 401 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets() [all …]
|
D | ucnvlat1.cpp | 41 int32_t *offsets; in _Latin1ToUnicodeWithOffsets() local 49 offsets=pArgs->offsets; in _Latin1ToUnicodeWithOffsets() 85 if(offsets!=NULL) { in _Latin1ToUnicodeWithOffsets() 87 offsets[0]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 88 offsets[1]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 89 offsets[2]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 90 offsets[3]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 91 offsets[4]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 92 offsets[5]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 93 offsets[6]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() [all …]
|
D | ucnv_u16.cpp | 57 int32_t *offsets; in _UTF16BEFromUnicodeWithOffsets() local 78 &pArgs->offsets, -1, in _UTF16BEFromUnicodeWithOffsets() 90 offsets=pArgs->offsets; in _UTF16BEFromUnicodeWithOffsets() 105 if(offsets!=NULL) { in _UTF16BEFromUnicodeWithOffsets() 106 *offsets++=-1; in _UTF16BEFromUnicodeWithOffsets() 107 *offsets++=-1; in _UTF16BEFromUnicodeWithOffsets() 108 *offsets++=-1; in _UTF16BEFromUnicodeWithOffsets() 109 *offsets++=-1; in _UTF16BEFromUnicodeWithOffsets() 126 if(offsets==NULL) { in _UTF16BEFromUnicodeWithOffsets() 153 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets() [all …]
|
/external/u-boot/ |
D | Kbuild | 4 # 1) Generate generic-asm-offsets.h 5 # 2) Generate asm-offsets.h 34 # 1) Generate generic-asm-offsets.h 36 generic-offsets-file := include/generated/generic-asm-offsets.h 38 always := $(generic-offsets-file) 39 targets := lib/asm-offsets.s 42 lib/asm-offsets.s: lib/asm-offsets.c FORCE 46 $(obj)/$(generic-offsets-file): lib/asm-offsets.s FORCE 47 $(call filechk,offsets,__GENERIC_ASM_OFFSETS_H__) 50 # 2) Generate asm-offsets.h [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/libaom/libaom/av1/encoder/x86/ |
D | encodetxb_sse2.c | 22 const ptrdiff_t *const offsets, in load_levels_4x4x5_sse2() argument 26 level[2] = load_8bit_4x4_to_1_reg_sse2(src + offsets[0], stride); in load_levels_4x4x5_sse2() 27 level[3] = load_8bit_4x4_to_1_reg_sse2(src + offsets[1], stride); in load_levels_4x4x5_sse2() 28 level[4] = load_8bit_4x4_to_1_reg_sse2(src + offsets[2], stride); in load_levels_4x4x5_sse2() 33 const ptrdiff_t *const offsets, in load_levels_8x2x5_sse2() argument 37 level[2] = load_8bit_8x2_to_1_reg_sse2(src + offsets[0], stride); in load_levels_8x2x5_sse2() 38 level[3] = load_8bit_8x2_to_1_reg_sse2(src + offsets[1], stride); in load_levels_8x2x5_sse2() 39 level[4] = load_8bit_8x2_to_1_reg_sse2(src + offsets[2], stride); in load_levels_8x2x5_sse2() 44 const ptrdiff_t *const offsets, in load_levels_16x1x5_sse2() argument 48 level[2] = _mm_loadu_si128((__m128i *)(src + offsets[0])); in load_levels_16x1x5_sse2() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-subset-cff2.cc | 51 const CFF2SubTableOffsets &offsets) const in serialize() 58 return_trace (FontDict::serialize_offset4_op(c, opstr.op, offsets.varStoreOffset)); in serialize() 61 return_trace (CFFTopDict_OpSerializer<>::serialize (c, opstr, offsets)); in serialize() 282 offsets.topDictInfo.size = TopDict::calculate_serialized_size (acc.topDict, topSzr); in create() 283 final_size += offsets.topDictInfo.size; in create() 295 offsets.globalSubrsInfo.size = CFF2Subrs::calculate_serialized_size (1, 0, 0); in create() 312 offsets.globalSubrsInfo.offSize = calcOffSize (dataSize); in create() 313 …offsets.globalSubrsInfo.size = CFF2Subrs::calculate_serialized_size (offsets.globalSubrsInfo.offSi… in create() 316 if (!offsets.localSubrsInfos.resize (orig_fdcount)) in create() 323 offsets.localSubrsInfos[fd].init (); in create() [all …]
|
D | hb-subset-cff1.cc | 117 : offsets (offsets_), in TopDictModifiers() 121 const CFF1SubTableOffsets &offsets; member 137 return_trace (FontDict::serialize_offset4_op(c, op, mod.offsets.charsetInfo.offset)); in serialize() 140 return_trace (FontDict::serialize_offset4_op(c, op, mod.offsets.encodingOffset)); in serialize() 144 if (unlikely (!UnsizedByteStr::serialize_int2 (c, mod.offsets.privateDictInfo.size))) in serialize() 146 if (unlikely (!UnsizedByteStr::serialize_int4 (c, mod.offsets.privateDictInfo.offset))) in serialize() 180 return_trace (CFFTopDict_OpSerializer<CFF1TopDictVal>::serialize (c, opstr, mod.offsets)); in serialize() 422 offsets (), in cff_subset_plan() 619 offsets.nameIndexOffset = final_size; in create() 635 offsets.topDictInfo.offset = final_size; in create() [all …]
|
/external/libxcam/xcore/ |
D | xcam_buffer.cpp | 53 info->offsets [0] = 0; in xcam_video_buffer_info_reset() 61 info->offsets [0] = 0; in xcam_video_buffer_info_reset() 62 info->offsets [1] = info->offsets [0] + info->strides [0] * aligned_height; in xcam_video_buffer_info_reset() 69 info->offsets [0] = 0; in xcam_video_buffer_info_reset() 76 info->offsets [0] = 0; in xcam_video_buffer_info_reset() 83 info->offsets [0] = 0; in xcam_video_buffer_info_reset() 99 info->offsets [0] = 0; in xcam_video_buffer_info_reset() 106 info->offsets [0] = 0; in xcam_video_buffer_info_reset() 113 info->offsets [0] = 0; in xcam_video_buffer_info_reset() 124 info->offsets [0] = 0; in xcam_video_buffer_info_reset() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneOffsetLocalTest.java | 110 int[] offsets = new int[2]; in TestGetOffsetAroundTransition() local 177 TESTZONES[i].getOffset(MILLIS[m], true, offsets); in TestGetOffsetAroundTransition() 178 if (offsets[0] != OFFSETS2[m][0] || offsets[1] != OFFSETS2[m][1]) { in TestGetOffsetAroundTransition() 181 + offsets[0] + "/" + offsets[1] in TestGetOffsetAroundTransition() 191 …TZONES[i].getOffsetFromLocal(MILLIS[m], BasicTimeZone.LOCAL_STD, BasicTimeZone.LOCAL_STD, offsets); in TestGetOffsetAroundTransition() 192 if (offsets[0] != OFFSETS2[m][0] || offsets[1] != OFFSETS2[m][1]) { in TestGetOffsetAroundTransition() 195 + offsets[0] + "/" + offsets[1] in TestGetOffsetAroundTransition() 205 …TZONES[i].getOffsetFromLocal(MILLIS[m], BasicTimeZone.LOCAL_DST, BasicTimeZone.LOCAL_DST, offsets); in TestGetOffsetAroundTransition() 206 if (offsets[0] != OFFSETS3[m][0] || offsets[1] != OFFSETS3[m][1]) { in TestGetOffsetAroundTransition() 209 + offsets[0] + "/" + offsets[1] in TestGetOffsetAroundTransition() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneOffsetLocalTest.java | 113 int[] offsets = new int[2]; in TestGetOffsetAroundTransition() local 180 TESTZONES[i].getOffset(MILLIS[m], true, offsets); in TestGetOffsetAroundTransition() 181 if (offsets[0] != OFFSETS2[m][0] || offsets[1] != OFFSETS2[m][1]) { in TestGetOffsetAroundTransition() 184 + offsets[0] + "/" + offsets[1] in TestGetOffsetAroundTransition() 194 …TZONES[i].getOffsetFromLocal(MILLIS[m], BasicTimeZone.LOCAL_STD, BasicTimeZone.LOCAL_STD, offsets); in TestGetOffsetAroundTransition() 195 if (offsets[0] != OFFSETS2[m][0] || offsets[1] != OFFSETS2[m][1]) { in TestGetOffsetAroundTransition() 198 + offsets[0] + "/" + offsets[1] in TestGetOffsetAroundTransition() 208 …TZONES[i].getOffsetFromLocal(MILLIS[m], BasicTimeZone.LOCAL_DST, BasicTimeZone.LOCAL_DST, offsets); in TestGetOffsetAroundTransition() 209 if (offsets[0] != OFFSETS3[m][0] || offsets[1] != OFFSETS3[m][1]) { in TestGetOffsetAroundTransition() 212 + offsets[0] + "/" + offsets[1] in TestGetOffsetAroundTransition() [all …]
|
/external/deqp-deps/glslang/Test/ |
D | spv.textureGatherBiasLod.frag | 25 const ivec2 offsets[4] = { ivec2(0, 0), ivec2(0, 1), ivec2(1, 0), ivec2(1, 1) }; 32 texel += textureGatherOffset(s2D, c2, offsets[0], 0, bias); 33 texel += textureGatherOffset(s2DArray, c3, offsets[1], 1, bias); 35 texel += textureGatherOffsets(s2D, c2, offsets, 0, bias); 36 texel += textureGatherOffsets(s2DArray, c3, offsets, 1, bias); 47 sparseTextureGatherOffsetARB(s2D, c2, offsets[0], result, 0, bias); 49 sparseTextureGatherOffsetARB(s2DArray, c3, offsets[1], result, 1, bias); 52 sparseTextureGatherOffsetsARB(s2D, c2, offsets, result, 0, bias); 54 sparseTextureGatherOffsetsARB(s2DArray, c3, offsets, result, 1, bias); 62 texel += textureGatherLodOffsetAMD(s2D, c2, lod, offsets[0]); [all …]
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_bicubic_filter.c | 152 unsigned video_height, struct vertex2f *offsets) in create_frag_shader() argument 218 vtex, ureg_imm2f(shader, offsets[i].x, offsets[i].y)); in create_frag_shader() 251 struct vertex2f offsets[16]; in vl_bicubic_filter_init() local 310 offsets[0].x = -1.0f; offsets[0].y = -1.0f; in vl_bicubic_filter_init() 311 offsets[1].x = 0.0f; offsets[1].y = -1.0f; in vl_bicubic_filter_init() 312 offsets[2].x = 1.0f; offsets[2].y = -1.0f; in vl_bicubic_filter_init() 313 offsets[3].x = 2.0f; offsets[3].y = -1.0f; in vl_bicubic_filter_init() 315 offsets[4].x = -1.0f; offsets[4].y = 0.0f; in vl_bicubic_filter_init() 316 offsets[5].x = 0.0f; offsets[5].y = 0.0f; in vl_bicubic_filter_init() 317 offsets[6].x = 1.0f; offsets[6].y = 0.0f; in vl_bicubic_filter_init() [all …]
|
/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()
|
/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()
|
/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()
|
/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 224 (offsets != null && offsets.length != nc) || in setBuf() 230 if (offsets == null) in setBuf() 231 offsets = new int[nc]; in setBuf() 247 if (planes[i] == null || offsets[i] < 0) in setBuf() 249 if (strides[i] < 0 && offsets[i] - planeSize + pw < 0) in setBuf() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | SimpleFormatterTest.java | 51 int[] offsets = new int[1]; in TestWithNoArguments() local 55 fmt.formatAndAppend(new StringBuilder(), offsets).toString()); in TestWithNoArguments() 59 offsets[0]); in TestWithNoArguments() 147 int[] offsets = new int[6]; in TestWithArguments() local 153 offsets, in TestWithArguments() 157 verifyOffsets(expectedOffsets, offsets); in TestWithArguments() 176 int[] offsets = new int[4]; in TestFormatReplaceNoOptimization() local 183 offsets, in TestFormatReplaceNoOptimization() 187 verifyOffsets(expectedOffsets, offsets); in TestFormatReplaceNoOptimization() 194 int[] offsets = new int[4]; in TestFormatReplaceNoOptimizationLeadingText() local [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | SimpleFormatterTest.java | 54 int[] offsets = new int[1]; in TestWithNoArguments() local 58 fmt.formatAndAppend(new StringBuilder(), offsets).toString()); in TestWithNoArguments() 62 offsets[0]); in TestWithNoArguments() 150 int[] offsets = new int[6]; in TestWithArguments() local 156 offsets, in TestWithArguments() 160 verifyOffsets(expectedOffsets, offsets); in TestWithArguments() 179 int[] offsets = new int[4]; in TestFormatReplaceNoOptimization() local 186 offsets, in TestFormatReplaceNoOptimization() 190 verifyOffsets(expectedOffsets, offsets); in TestFormatReplaceNoOptimization() 197 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/tensorflow/tensorflow/core/kernels/ |
D | eigen_attention_test.cc | 38 std::vector<IndexPair<float>> offsets; in TEST() local 39 offsets.resize(batch); in TEST() 41 offsets[i].first = (-5 + i) / 10.0f; in TEST() 42 offsets[i].second = (5 - i) / 10.0f; in TEST() 46 result = ExtractGlimpses(input, glimpse_rows, glimpse_cols, offsets); in TEST() 51 c + ((1.0f + offsets[b].second) * cols - glimpse_cols) / 2; in TEST() 54 r + ((1.0f + offsets[b].first) * rows - glimpse_rows) / 2; in TEST() 74 std::vector<IndexPair<float>> offsets; in TEST() local 75 offsets.resize(batch); in TEST() 77 offsets[i].first = (-5 + i) / 2.0f; in TEST() [all …]
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _g_v_a_r.py | 61 offsets = [] 63 offsets.append(offset) 65 offsets.append(offset) 66 compiledOffsets, tableFormat = self.compileOffsets_(offsets) 100 …offsets = self.decompileOffsets_(data[GVAR_HEADER_SIZE:], tableFormat=(self.flags & 1), glyphCount… 109 gvarData = data[offsetToData + offsets[i] : offsetToData + offsets[i + 1]] 117 offsets = array.array("H") 121 offsets = array.array("I") 123 offsets.fromstring(data[0 : offsetsSize]) 124 if sys.byteorder != "big": offsets.byteswap() [all …]
|