Searched defs:sourceIndex (Results 1 - 12 of 12) sorted by relevance

/external/icu4c/common/
H A Ducnv_cnv.c51 int32_t sourceIndex,
66 *o++=sourceIndex;
91 int32_t sourceIndex,
106 *o++=sourceIndex;
131 int32_t sourceIndex,
153 *o++=sourceIndex;
155 *o++=sourceIndex;
47 ucnv_fromUWriteBytes(UConverter *cnv, const char *bytes, int32_t length, char **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
87 ucnv_toUWriteUChars(UConverter *cnv, const UChar *uchars, int32_t length, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
127 ucnv_toUWriteCodePoint(UConverter *cnv, UChar32 c, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
H A Ducnv_u16.c55 uint32_t targetCapacity, length, sourceIndex; local
87 sourceIndex=0;
107 sourceIndex=1;
149 *offsets++=sourceIndex;
150 *offsets++=sourceIndex++;
159 *offsets++=sourceIndex;
160 *offsets++=sourceIndex;
161 *offsets++=sourceIndex;
162 *offsets++=sourceIndex;
163 sourceIndex
259 uint32_t targetCapacity, length, count, sourceIndex; local
657 uint32_t targetCapacity, length, sourceIndex; local
861 uint32_t targetCapacity, length, count, sourceIndex; local
[all...]
H A Ducnv_u7.c225 int32_t sourceIndex, nextSourceIndex; local
246 /* sourceIndex=-1 if the current character began in the previous buffer */
247 sourceIndex=byteIndex==0 ? 0 : -1;
258 * In Direct Mode, only the sourceIndex is used.
278 *offsets++=sourceIndex++;
282 nextSourceIndex=++sourceIndex;
302 * In Unicode Mode, the sourceIndex has the index to the start of the current
334 *offsets++=sourceIndex;
335 sourceIndex=nextSourceIndex-1;
345 *offsets++=sourceIndex;
451 int32_t length, targetCapacity, sourceIndex; local
882 int32_t sourceIndex, nextSourceIndex; local
1137 int32_t length, targetCapacity, sourceIndex; local
[all...]
H A Ducnvlat1.c38 int32_t sourceIndex; local
46 sourceIndex=0;
82 offsets[0]=sourceIndex++;
83 offsets[1]=sourceIndex++;
84 offsets[2]=sourceIndex++;
85 offsets[3]=sourceIndex++;
86 offsets[4]=sourceIndex++;
87 offsets[5]=sourceIndex++;
88 offsets[6]=sourceIndex++;
89 offsets[7]=sourceIndex
143 int32_t sourceIndex; local
477 int32_t sourceIndex; local
[all...]
H A Ducnvbocu.c395 int32_t sourceIndex, nextSourceIndex; local
414 /* sourceIndex=-1 if the current character began in the previous buffer */
415 sourceIndex= c==0 ? 0 : -1;
454 sourceIndex=nextSourceIndex; /* wrong if offsets==NULL but does not matter */
472 *offsets++=sourceIndex;
475 sourceIndex=nextSourceIndex;
509 *offsets++=sourceIndex;
511 sourceIndex=nextSourceIndex;
531 *offsets++=sourceIndex;
532 *offsets++=sourceIndex;
947 int32_t sourceIndex, nextSourceIndex; local
[all...]
H A Ducnvhz.c38 #define CONCAT_ESCAPE_MACRO( args, targetIndex,targetLength,strToAppend, err, len,sourceIndex){ \
43 *(offsets++) = sourceIndex-1; \
59 int32_t sourceIndex; member in struct:__anon1303
122 ((UConverterDataHZ*)cnv->extraInfo)->sourceIndex = 0;
H A Ducnv_lmb.c790 int sourceIndex = 0; local
955 *(args->offsets)++ = sourceIndex;
958 sourceIndex++;
H A Ducnvscsu.c241 int32_t sourceIndex, nextSourceIndex; local
262 /* sourceIndex=-1 if the current character began in the previous buffer */
263 sourceIndex=state==readCommand ? 0 : -1;
296 *offsets++=sourceIndex;
304 *offsets++=sourceIndex;
312 *offsets++=sourceIndex;
313 *offsets++=sourceIndex;
318 *offsets++=sourceIndex;
327 sourceIndex=nextSourceIndex;
349 *offsets++=sourceIndex;
1023 int32_t sourceIndex, nextSourceIndex; local
[all...]
H A Ducnv.c754 int32_t sourceIndex, int32_t errorInputLength) {
758 if(sourceIndex>=0) {
760 * adjust each offset by adding the previous sourceIndex
764 delta=sourceIndex-errorInputLength;
828 int32_t sourceIndex; local
844 sourceIndex=0;
853 sourceIndex=-1;
874 realSourceIndex=sourceIndex;
880 sourceIndex=-1;
921 /* no sourceIndex adjustmen
753 _updateOffsets(int32_t *offsets, int32_t length, int32_t sourceIndex, int32_t errorInputLength) argument
1273 int32_t sourceIndex; local
[all...]
H A Ducnv2022.c409 int32_t sourceIndex,
414 offsets, sourceIndex, pErrorCode);
1947 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar)); local
1948 *offsets++ = sourceIndex;
1949 *offsets++ = sourceIndex;
1984 int32_t sourceIndex; local
2003 * of sourceIndex/prevSourceIndex like in ucnvmbcs.c
2008 sourceIndex=(int32_t)(source-args->source);
2009 if(sourceIndex>0) {
2010 --sourceIndex;
405 fromUWriteUInt8(UConverter *cnv, const char *bytes, int32_t length, uint8_t **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
2489 int32_t sourceIndex; local
3140 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar)); local
3177 int32_t sourceIndex; local
[all...]
H A Ducnvmbcs.c892 int32_t **offsets, int32_t sourceIndex,
904 offsets, sourceIndex,
938 offsets, sourceIndex, pErrorCode);
959 int32_t **offsets, int32_t sourceIndex,
969 offsets, sourceIndex,
993 ucnv_toUWriteCodePoint(cnv, linear, target, targetLimit, offsets, sourceIndex, pErrorCode);
1814 int32_t sourceIndex; local
1834 /* sourceIndex=-1 if the current character began in the previous buffer */
1835 sourceIndex=0;
1861 *offsets++=sourceIndex;
888 _extFromU(UConverter *cnv, const UConverterSharedData *sharedData, UChar32 cp, const UChar **source, const UChar *sourceLimit, uint8_t **target, const uint8_t *targetLimit, int32_t **offsets, int32_t sourceIndex, UBool flush, UErrorCode *pErrorCode) argument
955 _extToU(UConverter *cnv, const UConverterSharedData *sharedData, int8_t length, const uint8_t **source, const uint8_t *sourceLimit, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UBool flush, UErrorCode *pErrorCode) argument
1966 int32_t sourceIndex; local
2252 int32_t sourceIndex, nextSourceIndex; local
3191 int32_t sourceIndex, nextSourceIndex; local
3422 int32_t sourceIndex, nextSourceIndex; local
3598 int32_t sourceIndex; local
3857 int32_t prevSourceIndex, sourceIndex, nextSourceIndex; local
[all...]
/external/icu4c/i18n/
H A Ducol.cpp6687 int32_t sourceIndex = 0; local
6690 sourceIndex++;
6691 if(source[sourceIndex] == UCOL_LEVELTERMINATOR) {
6695 && (source[sourceIndex] != 0 || sourceIndex < sourceLength));
6697 if((source[sourceIndex] == 0 || sourceIndex == sourceLength)
6707 if(result != NULL && resultLength >= sourceIndex+boundType) {
6708 uprv_memcpy(result, source, sourceIndex);
6715 result[sourceIndex
[all...]

Completed in 108 milliseconds