/external/icu4c/common/ |
D | ucnv_u7.c | 212 int32_t *offsets; in _UTF7ToUnicodeWithOffsets() local 236 offsets=pArgs->offsets; in _UTF7ToUnicodeWithOffsets() 278 if(offsets!=NULL) { in _UTF7ToUnicodeWithOffsets() 279 *offsets++=sourceIndex++; in _UTF7ToUnicodeWithOffsets() 334 if(offsets!=NULL) { in _UTF7ToUnicodeWithOffsets() 335 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets() 345 if(offsets!=NULL) { in _UTF7ToUnicodeWithOffsets() 346 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets() 356 if(offsets!=NULL) { in _UTF7ToUnicodeWithOffsets() 357 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets() [all …]
|
D | ucnvlat1.c | 36 int32_t *offsets; in _Latin1ToUnicodeWithOffsets() local 44 offsets=pArgs->offsets; in _Latin1ToUnicodeWithOffsets() 80 if(offsets!=NULL) { in _Latin1ToUnicodeWithOffsets() 82 offsets[0]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 83 offsets[1]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 84 offsets[2]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 85 offsets[3]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 86 offsets[4]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 87 offsets[5]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() 88 offsets[6]=sourceIndex++; in _Latin1ToUnicodeWithOffsets() [all …]
|
D | ucnv_u16.c | 45 int32_t *offsets; in _UTF16BEFromUnicodeWithOffsets() local 66 &pArgs->offsets, -1, in _UTF16BEFromUnicodeWithOffsets() 78 offsets=pArgs->offsets; in _UTF16BEFromUnicodeWithOffsets() 93 if(offsets!=NULL) { in _UTF16BEFromUnicodeWithOffsets() 94 *offsets++=-1; in _UTF16BEFromUnicodeWithOffsets() 95 *offsets++=-1; in _UTF16BEFromUnicodeWithOffsets() 96 *offsets++=-1; in _UTF16BEFromUnicodeWithOffsets() 97 *offsets++=-1; in _UTF16BEFromUnicodeWithOffsets() 114 if(offsets==NULL) { in _UTF16BEFromUnicodeWithOffsets() 141 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets() [all …]
|
D | ucnv_cnv.c | 50 int32_t **offsets, in ucnv_fromUWriteBytes() argument 57 if(offsets==NULL || (o=*offsets)==NULL) { in ucnv_fromUWriteBytes() 69 *offsets=o; in ucnv_fromUWriteBytes() 90 int32_t **offsets, in ucnv_toUWriteUChars() argument 97 if(offsets==NULL || (o=*offsets)==NULL) { in ucnv_toUWriteUChars() 109 *offsets=o; in ucnv_toUWriteUChars() 130 int32_t **offsets, in ucnv_toUWriteCodePoint() argument 152 if(offsets!=NULL && (o=*offsets)!=NULL) { in ucnv_toUWriteCodePoint() 157 *offsets=o; in ucnv_toUWriteCodePoint()
|
D | ucnvscsu.c | 234 int32_t *offsets; in _SCSUToUnicodeWithOffsets() local 251 offsets=pArgs->offsets; in _SCSUToUnicodeWithOffsets() 293 if(offsets!=NULL) { in _SCSUToUnicodeWithOffsets() 294 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets() 301 if(offsets!=NULL) { in _SCSUToUnicodeWithOffsets() 302 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets() 309 if(offsets!=NULL) { in _SCSUToUnicodeWithOffsets() 310 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets() 311 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets() 315 if(offsets!=NULL) { in _SCSUToUnicodeWithOffsets() [all …]
|
D | ucnvmbcs.c | 892 int32_t **offsets, int32_t sourceIndex, in _extFromU() argument 904 offsets, sourceIndex, in _extFromU() 938 offsets, sourceIndex, pErrorCode); in _extFromU() 959 int32_t **offsets, int32_t sourceIndex, in _extToU() argument 969 offsets, sourceIndex, in _extToU() 993 … ucnv_toUWriteCodePoint(cnv, linear, target, targetLimit, offsets, sourceIndex, pErrorCode); in _extToU() 1788 int32_t *offsets; in ucnv_MBCSSingleToUnicodeWithOffsets() local 1804 offsets=pArgs->offsets; in ucnv_MBCSSingleToUnicodeWithOffsets() 1838 if(offsets!=NULL) { in ucnv_MBCSSingleToUnicodeWithOffsets() 1839 *offsets++=sourceIndex; in ucnv_MBCSSingleToUnicodeWithOffsets() [all …]
|
D | ucnvbocu.c | 391 int32_t *offsets; in _Bocu1FromUnicodeWithOffsets() local 405 offsets=pArgs->offsets; in _Bocu1FromUnicodeWithOffsets() 436 *offsets++=nextSourceIndex++; in _Bocu1FromUnicodeWithOffsets() 444 *offsets++=nextSourceIndex++; in _Bocu1FromUnicodeWithOffsets() 472 *offsets++=sourceIndex; in _Bocu1FromUnicodeWithOffsets() 509 *offsets++=sourceIndex; in _Bocu1FromUnicodeWithOffsets() 531 *offsets++=sourceIndex; in _Bocu1FromUnicodeWithOffsets() 532 *offsets++=sourceIndex; in _Bocu1FromUnicodeWithOffsets() 548 *offsets++=sourceIndex; in _Bocu1FromUnicodeWithOffsets() 551 *offsets++=sourceIndex; in _Bocu1FromUnicodeWithOffsets() [all …]
|
D | ucnv.c | 752 _updateOffsets(int32_t *offsets, int32_t length, in _updateOffsets() argument 772 limit=offsets+length; in _updateOffsets() 777 while(offsets<limit) { in _updateOffsets() 778 offset=*offsets; in _updateOffsets() 780 *offsets=offset+delta; in _updateOffsets() 782 ++offsets; in _updateOffsets() 790 while(offsets<limit) { in _updateOffsets() 791 *offsets++=-1; in _updateOffsets() 826 int32_t *offsets; in _fromUnicodeWithCallback() local 840 offsets=pArgs->offsets; in _fromUnicodeWithCallback() [all …]
|
D | unisetspan.cpp | 640 OffsetList offsets; in span() local 643 offsets.setMaxLength(maxLength16); in span() 673 … if(!offsets.containsOffset(inc) && matches16CPB(s, pos-overlap, length, s16, length16)) { in span() 677 offsets.addOffset(inc); in span() 744 if(offsets.isEmpty()) { in span() 750 if(offsets.isEmpty()) { in span() 776 offsets.shift(spanLength); in span() 783 int32_t minOffset=offsets.popMinimum(); in span() 801 OffsetList offsets; in spanBack() local 804 offsets.setMaxLength(maxLength16); in spanBack() [all …]
|
D | ucnvhz.c | 41 …if(args->offsets!=NULL){ … 42 …*(offsets++) = sourceIndex-1; … 167 if(args->offsets) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 168 … args->offsets[myTarget - args->target]=(int32_t)(mySource - args->source - 2); in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 226 if(args->offsets) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 227 …args->offsets[myTarget - args->target]=(int32_t)(mySource - args->source - 1-(myData->isStateDBCS)… in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 267 int32_t* offsets = args->offsets; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() local 341 if(offsets){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() 342 *(offsets++) = mySourceIndex-1; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() 346 if(offsets){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() [all …]
|
D | ucnv2022.c | 406 int32_t **offsets, in fromUWriteUInt8() argument 412 offsets, sourceIndex, pErrorCode); in fromUWriteUInt8() 1178 args->offsets, in T_UConverter_toUnicode_ISO_2022_OFFSETS_LOGIC() 1206 … (args->offsets != NULL && (args->target != myTargetStart || args->source != sourceStart) || in T_UConverter_toUnicode_ISO_2022_OFFSETS_LOGIC() 1235 if (U_FAILURE(*err) || (args->source != sourceStart && args->offsets != NULL)) { in T_UConverter_toUnicode_ISO_2022_OFFSETS_LOGIC() 1553 int32_t* offsets = args->offsets; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local 1866 if(offsets) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1867 *offsets++ = (int32_t)(source - args->source - 1); /* -1: known to be ASCII */ in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1872 if(offsets) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1874 *offsets++ = sourceIndex; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() [all …]
|
D | ucnv_io.c | 1129 uint32_t offsets[offsetsCount]; /* 16-bit-addressed offsets from inTable/outTable */ in ucnv_swapAliases() local 1183 uprv_memset(offsets, 0, sizeof(offsets)); in ucnv_swapAliases() 1184 offsets[converterListIndex]=2*(1+tocLength); /* count two 16-bit units per toc entry */ in ucnv_swapAliases() 1186 offsets[i]=offsets[i-1]+toc[i-1]; in ucnv_swapAliases() 1190 topOffset=offsets[i-1]+toc[i-1]; in ucnv_swapAliases() 1211 …ds->swapInvChars(ds, inTable+offsets[stringTableIndex], 2*(int32_t)(toc[stringTableIndex]+toc[norm… in ucnv_swapAliases() 1212 outTable+offsets[stringTableIndex], pErrorCode); in ucnv_swapAliases() 1221 inTable+offsets[converterListIndex], in ucnv_swapAliases() 1222 2*(int32_t)(offsets[stringTableIndex]-offsets[converterListIndex]), in ucnv_swapAliases() 1223 outTable+offsets[converterListIndex], in ucnv_swapAliases() [all …]
|
D | ucnv_u32.c | 128 int32_t *myOffsets = args->offsets; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC() 206 args->offsets = myOffsets; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC() 232 &args->offsets, -1, in T_UConverter_fromUnicode_UTF32_BE() 335 &args->offsets, -1, in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() 341 myOffsets = args->offsets; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() 414 args->offsets = myOffsets; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() 596 int32_t *myOffsets = args->offsets; in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC() 684 args->offsets = myOffsets; in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC() 710 &args->offsets, -1, in T_UConverter_fromUnicode_UTF32_LE() 821 &args->offsets, -1, in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC() [all …]
|
/external/icu4c/i18n/ |
D | titletrn.cpp | 68 Replaceable& text, UTransPosition& offsets, in handleTransliterate() argument 78 if (offsets.start >= offsets.limit) { in handleTransliterate() 95 for (start = offsets.start - 1; start >= offsets.contextStart; start -= U16_LENGTH(c)) { in handleTransliterate() 113 csc.start = offsets.contextStart; in handleTransliterate() 114 csc.limit = offsets.contextLimit; in handleTransliterate() 120 for(textPos=offsets.start; textPos<offsets.limit;) { in handleTransliterate() 137 offsets.start=csc.cpStart; in handleTransliterate() 156 csc.limit=offsets.contextLimit+=delta; in handleTransliterate() 157 offsets.limit+=delta; in handleTransliterate() 162 offsets.start=textPos; in handleTransliterate()
|
D | uni2name.cpp | 69 void UnicodeNameTransliterator::handleTransliterate(Replaceable& text, UTransPosition& offsets, in handleTransliterate() argument 77 offsets.start = offsets.limit; in handleTransliterate() 84 offsets.start = offsets.limit; in handleTransliterate() 88 int32_t cursor = offsets.start; in handleTransliterate() 89 int32_t limit = offsets.limit; in handleTransliterate() 111 offsets.contextLimit += limit - offsets.limit; in handleTransliterate() 112 offsets.limit = limit; in handleTransliterate() 113 offsets.start = cursor; in handleTransliterate()
|
D | casetrn.cpp | 137 UTransPosition& offsets, in handleTransliterate() argument 140 if (offsets.start >= offsets.limit) { in handleTransliterate() 147 csc.start = offsets.contextStart; in handleTransliterate() 148 csc.limit = offsets.contextLimit; in handleTransliterate() 155 for(textPos=offsets.start; textPos<offsets.limit;) { in handleTransliterate() 165 offsets.start=csc.cpStart; in handleTransliterate() 184 csc.limit=offsets.contextLimit+=delta; in handleTransliterate() 185 offsets.limit+=delta; in handleTransliterate() 189 offsets.start=textPos; in handleTransliterate()
|
D | name2uni.cpp | 105 void NameUnicodeTransliterator::handleTransliterate(Replaceable& text, UTransPosition& offsets, in handleTransliterate() argument 113 offsets.start = offsets.limit; in handleTransliterate() 121 offsets.start = offsets.limit; in handleTransliterate() 128 int32_t cursor = offsets.start; in handleTransliterate() 129 int32_t limit = offsets.limit; in handleTransliterate() 242 offsets.contextLimit += limit - offsets.limit; in handleTransliterate() 243 offsets.limit = limit; in handleTransliterate() 246 offsets.start = (isIncremental && openPos >= 0) ? openPos : cursor; in handleTransliterate()
|
D | ucol_cnt.cpp | 72 tbl->offsets = NULL; in uprv_cnttab_open() 138 if(table->offsets != NULL) { in uprv_cnttab_constructTable() 139 uprv_free(table->offsets); in uprv_cnttab_constructTable() 141 table->offsets = (int32_t *)uprv_malloc(table->size*sizeof(int32_t)); in uprv_cnttab_constructTable() 142 if(table->offsets == NULL) { in uprv_cnttab_constructTable() 150 table->offsets[i] = table->position+mainOffset; in uprv_cnttab_constructTable() 161 uprv_free(table->offsets); in uprv_cnttab_constructTable() 162 table->offsets = NULL; in uprv_cnttab_constructTable() 173 uprv_free(table->offsets); in uprv_cnttab_constructTable() 174 table->offsets = NULL; in uprv_cnttab_constructTable() [all …]
|
D | nortrans.cpp | 102 void NormalizationTransliterator::handleTransliterate(Replaceable& text, UTransPosition& offsets, in handleTransliterate() argument 105 int32_t start = offsets.start; in handleTransliterate() 106 int32_t limit = offsets.limit; in handleTransliterate() 217 …limit = offsets.limit += delta; // set the iteration limit to the adjusted end of the input ra… in handleTransliterate() 218 offsets.contextLimit += delta; in handleTransliterate() 222 limit = offsets.limit; in handleTransliterate() 226 offsets.start = start; in handleTransliterate()
|
D | nultrans.cpp | 29 void NullTransliterator::handleTransliterate(Replaceable& /*text*/, UTransPosition& offsets, in handleTransliterate() argument 31 offsets.start = offsets.limit; in handleTransliterate()
|
/external/skia/src/svg/ |
D | SkSVGGradient.cpp | 43 SkString offsets("["); in translate() local 50 offsets.append("0,"); in translate() 55 offsets.remove(offsets.size() - 2, 2); in translate() 56 offsets.append(".999,"); in translate() 61 offsets.append(*thisOffset); in translate() 64 offsets.append(",1"); in translate() 68 offsets.appendUnichar(','); in translate() 72 offsets.appendUnichar(']'); in translate() 73 parser._addAttribute("offsets", offsets); in translate()
|
/external/qemu/ |
D | block-cloop.c | 32 uint64_t* offsets; member 78 if(!(s->offsets=(uint64_t*)malloc(offsets_size))) in cloop_open() 80 if(read(s->fd,s->offsets,offsets_size)<offsets_size) in cloop_open() 83 s->offsets[i]=be64_to_cpu(s->offsets[i]); in cloop_open() 85 uint32_t size=s->offsets[i]-s->offsets[i-1]; in cloop_open() 109 uint32_t bytes = s->offsets[block_num+1]-s->offsets[block_num]; in cloop_read_block() 111 lseek(s->fd, s->offsets[block_num], SEEK_SET); in cloop_read_block() 153 free(s->offsets); in cloop_close()
|
/external/skia/src/animator/ |
D | SkDrawGradient.cpp | 79 SK_MEMBER_ARRAY(offsets, Float), 134 if (offsets.count() != 0) { in onEndElement() 135 if (offsets.count() != fDrawColors.count()) { in onEndElement() 139 if (offsets[0] != 0) { in onEndElement() 143 if (offsets[offsets.count()-1] != SK_Scalar1) { in onEndElement() 147 for (int i = 1; i < offsets.count(); i++) { in onEndElement() 148 if (offsets[i] <= offsets[i-1]) { in onEndElement() 152 if (offsets[i] > SK_Scalar1) { in onEndElement() 195 … fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, fUnitMapper); in getShader() 230 …radius, fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, fUnitMap… in getShader()
|
/external/icu4c/test/cintltst/ |
D | ncnvtst.c | 163 int32_t offsets[] = {0x00, 0x00, 0x01, 0x01, 0x03, 0x03 }; in TestSurrogateBehaviour() local 170 expected, sizeof(expected), "ibm-1363", offsets , TRUE, U_ZERO_ERROR)) in TestSurrogateBehaviour() 177 expected, sizeof(expected), "ibm-1363", offsets, TRUE, U_ZERO_ERROR)) in TestSurrogateBehaviour() 189 int32_t offsets[] = {0,0,0,0,0,1,1,2,2,2,2,3,5 }; in TestSurrogateBehaviour() local 196 expected, sizeof(expected), "iso-2022-jp", offsets , TRUE, U_ZERO_ERROR)) in TestSurrogateBehaviour() 214 static const int32_t offsets[] = { in TestSurrogateBehaviour() local 226 expected, sizeof(expected), "iso-2022-cn", offsets , TRUE, U_ZERO_ERROR)) in TestSurrogateBehaviour() 242 static const int32_t offsets[] = {-1, -1, -1, -1, in TestSurrogateBehaviour() local 256 expected, sizeof(expected), "iso-2022-kr", offsets , TRUE, U_ZERO_ERROR)) in TestSurrogateBehaviour() 272 static const int32_t offsets[] = {0,0,0,0, in TestSurrogateBehaviour() local [all …]
|
/external/webkit/WebCore/platform/text/ |
D | RegularExpression.cpp | 107 int offsets[maxOffsets]; in match() local 108 …int result = jsRegExpExecute(d->regexp(), str.characters(), str.length(), startFrom, offsets, maxO… in match() 117 d->lastMatchLength = offsets[1] - offsets[0]; in match() 120 return offsets[0]; in match()
|