Home
last modified time | relevance | path

Searched refs:offsets (Results 1 – 25 of 599) sorted by relevance

12345678910>>...24

/external/icu/icu4c/source/common/
Ducnv_u7.c212 int32_t *offsets; in _UTF7ToUnicodeWithOffsets() local
236 offsets=pArgs->offsets; in _UTF7ToUnicodeWithOffsets()
278 if(offsets!=NULL) { in _UTF7ToUnicodeWithOffsets()
279 *offsets++=sourceIndex++; in _UTF7ToUnicodeWithOffsets()
373 if(offsets!=NULL) { in _UTF7ToUnicodeWithOffsets()
374 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
384 if(offsets!=NULL) { in _UTF7ToUnicodeWithOffsets()
385 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
395 if(offsets!=NULL) { in _UTF7ToUnicodeWithOffsets()
396 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
[all …]
Ducnvlat1.c37 int32_t *offsets; in _Latin1ToUnicodeWithOffsets() local
45 offsets=pArgs->offsets; in _Latin1ToUnicodeWithOffsets()
81 if(offsets!=NULL) { in _Latin1ToUnicodeWithOffsets()
83 offsets[0]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
84 offsets[1]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
85 offsets[2]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
86 offsets[3]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
87 offsets[4]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
88 offsets[5]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
89 offsets[6]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
[all …]
Ducnv_u16.c53 int32_t *offsets; in _UTF16BEFromUnicodeWithOffsets() local
74 &pArgs->offsets, -1, in _UTF16BEFromUnicodeWithOffsets()
86 offsets=pArgs->offsets; in _UTF16BEFromUnicodeWithOffsets()
101 if(offsets!=NULL) { in _UTF16BEFromUnicodeWithOffsets()
102 *offsets++=-1; in _UTF16BEFromUnicodeWithOffsets()
103 *offsets++=-1; in _UTF16BEFromUnicodeWithOffsets()
104 *offsets++=-1; in _UTF16BEFromUnicodeWithOffsets()
105 *offsets++=-1; in _UTF16BEFromUnicodeWithOffsets()
122 if(offsets==NULL) { in _UTF16BEFromUnicodeWithOffsets()
149 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
[all …]
Ducnv_cnv.c50 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()
Ducnvscsu.c237 int32_t *offsets; in _SCSUToUnicodeWithOffsets() local
254 offsets=pArgs->offsets; in _SCSUToUnicodeWithOffsets()
296 if(offsets!=NULL) { in _SCSUToUnicodeWithOffsets()
297 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
304 if(offsets!=NULL) { in _SCSUToUnicodeWithOffsets()
305 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
312 if(offsets!=NULL) { in _SCSUToUnicodeWithOffsets()
313 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
314 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
318 if(offsets!=NULL) { in _SCSUToUnicodeWithOffsets()
[all …]
/external/chromium_org/third_party/icu/source/common/
Ducnv_u7.c212 int32_t *offsets; in _UTF7ToUnicodeWithOffsets() local
236 offsets=pArgs->offsets; in _UTF7ToUnicodeWithOffsets()
278 if(offsets!=NULL) { in _UTF7ToUnicodeWithOffsets()
279 *offsets++=sourceIndex++; in _UTF7ToUnicodeWithOffsets()
373 if(offsets!=NULL) { in _UTF7ToUnicodeWithOffsets()
374 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
384 if(offsets!=NULL) { in _UTF7ToUnicodeWithOffsets()
385 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
395 if(offsets!=NULL) { in _UTF7ToUnicodeWithOffsets()
396 *offsets++=sourceIndex; in _UTF7ToUnicodeWithOffsets()
[all …]
Ducnvlat1.c37 int32_t *offsets; in _Latin1ToUnicodeWithOffsets() local
45 offsets=pArgs->offsets; in _Latin1ToUnicodeWithOffsets()
81 if(offsets!=NULL) { in _Latin1ToUnicodeWithOffsets()
83 offsets[0]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
84 offsets[1]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
85 offsets[2]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
86 offsets[3]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
87 offsets[4]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
88 offsets[5]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
89 offsets[6]=sourceIndex++; in _Latin1ToUnicodeWithOffsets()
[all …]
Ducnv_u16.c53 int32_t *offsets; in _UTF16BEFromUnicodeWithOffsets() local
74 &pArgs->offsets, -1, in _UTF16BEFromUnicodeWithOffsets()
86 offsets=pArgs->offsets; in _UTF16BEFromUnicodeWithOffsets()
101 if(offsets!=NULL) { in _UTF16BEFromUnicodeWithOffsets()
102 *offsets++=-1; in _UTF16BEFromUnicodeWithOffsets()
103 *offsets++=-1; in _UTF16BEFromUnicodeWithOffsets()
104 *offsets++=-1; in _UTF16BEFromUnicodeWithOffsets()
105 *offsets++=-1; in _UTF16BEFromUnicodeWithOffsets()
122 if(offsets==NULL) { in _UTF16BEFromUnicodeWithOffsets()
149 *offsets++=sourceIndex; in _UTF16BEFromUnicodeWithOffsets()
[all …]
Ducnv_cnv.c50 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()
Ducnvscsu.c237 int32_t *offsets; in _SCSUToUnicodeWithOffsets() local
254 offsets=pArgs->offsets; in _SCSUToUnicodeWithOffsets()
296 if(offsets!=NULL) { in _SCSUToUnicodeWithOffsets()
297 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
304 if(offsets!=NULL) { in _SCSUToUnicodeWithOffsets()
305 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
312 if(offsets!=NULL) { in _SCSUToUnicodeWithOffsets()
313 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
314 *offsets++=sourceIndex; in _SCSUToUnicodeWithOffsets()
318 if(offsets!=NULL) { in _SCSUToUnicodeWithOffsets()
[all …]
/external/chromium_org/base/strings/
Dutf_offset_string_conversions_unittest.cc39 std::vector<size_t> offsets; in TEST() local
40 offsets.push_back(offset); in TEST()
41 UTF8ToUTF16AndAdjustOffsets(utf8_to_utf16_cases[i].utf8, &offsets); in TEST()
42 EXPECT_EQ(utf8_to_utf16_cases[i].output_offset, offsets[0]); in TEST()
69 std::vector<size_t> offsets; in TEST() local
70 offsets.push_back(offset); in TEST()
71 UTF16ToUTF8AndAdjustOffsets(utf16_to_utf8_cases[i].utf16, &offsets); in TEST()
72 EXPECT_EQ(utf16_to_utf8_cases[i].output_offset, offsets[0]) << i; in TEST()
112 std::vector<size_t> offsets; in TEST() local
114 offsets.push_back(t); in TEST()
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DSampleAuxiliaryInformationOffsetsBox.java51 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/chromium_org/third_party/icu/source/i18n/
Dtitletrn.cpp69 Replaceable& text, UTransPosition& offsets, in handleTransliterate() argument
79 if (offsets.start >= offsets.limit) { in handleTransliterate()
96 for (start = offsets.start - 1; start >= offsets.contextStart; start -= U16_LENGTH(c)) { in handleTransliterate()
114 csc.start = offsets.contextStart; in handleTransliterate()
115 csc.limit = offsets.contextLimit; in handleTransliterate()
121 for(textPos=offsets.start; textPos<offsets.limit;) { in handleTransliterate()
138 offsets.start=csc.cpStart; in handleTransliterate()
157 csc.limit=offsets.contextLimit+=delta; in handleTransliterate()
158 offsets.limit+=delta; in handleTransliterate()
163 offsets.start=textPos; in handleTransliterate()
Duni2name.cpp70 void UnicodeNameTransliterator::handleTransliterate(Replaceable& text, UTransPosition& offsets, in handleTransliterate() argument
78 offsets.start = offsets.limit; in handleTransliterate()
85 offsets.start = offsets.limit; in handleTransliterate()
89 int32_t cursor = offsets.start; in handleTransliterate()
90 int32_t limit = offsets.limit; in handleTransliterate()
112 offsets.contextLimit += limit - offsets.limit; in handleTransliterate()
113 offsets.limit = limit; in handleTransliterate()
114 offsets.start = cursor; in handleTransliterate()
Dcasetrn.cpp136 UTransPosition& offsets, in handleTransliterate() argument
139 if (offsets.start >= offsets.limit) { in handleTransliterate()
146 csc.start = offsets.contextStart; in handleTransliterate()
147 csc.limit = offsets.contextLimit; in handleTransliterate()
154 for(textPos=offsets.start; textPos<offsets.limit;) { in handleTransliterate()
164 offsets.start=csc.cpStart; in handleTransliterate()
183 csc.limit=offsets.contextLimit+=delta; in handleTransliterate()
184 offsets.limit+=delta; in handleTransliterate()
188 offsets.start=textPos; in handleTransliterate()
Dname2uni.cpp108 void NameUnicodeTransliterator::handleTransliterate(Replaceable& text, UTransPosition& offsets, in handleTransliterate() argument
116 offsets.start = offsets.limit; in handleTransliterate()
124 offsets.start = offsets.limit; in handleTransliterate()
131 int32_t cursor = offsets.start; in handleTransliterate()
132 int32_t limit = offsets.limit; in handleTransliterate()
245 offsets.contextLimit += limit - offsets.limit; in handleTransliterate()
246 offsets.limit = limit; in handleTransliterate()
249 offsets.start = (isIncremental && openPos >= 0) ? openPos : cursor; in handleTransliterate()
/external/icu/icu4c/source/i18n/
Dtitletrn.cpp69 Replaceable& text, UTransPosition& offsets, in handleTransliterate() argument
79 if (offsets.start >= offsets.limit) { in handleTransliterate()
96 for (start = offsets.start - 1; start >= offsets.contextStart; start -= U16_LENGTH(c)) { in handleTransliterate()
114 csc.start = offsets.contextStart; in handleTransliterate()
115 csc.limit = offsets.contextLimit; in handleTransliterate()
121 for(textPos=offsets.start; textPos<offsets.limit;) { in handleTransliterate()
138 offsets.start=csc.cpStart; in handleTransliterate()
157 csc.limit=offsets.contextLimit+=delta; in handleTransliterate()
158 offsets.limit+=delta; in handleTransliterate()
163 offsets.start=textPos; in handleTransliterate()
Duni2name.cpp70 void UnicodeNameTransliterator::handleTransliterate(Replaceable& text, UTransPosition& offsets, in handleTransliterate() argument
78 offsets.start = offsets.limit; in handleTransliterate()
85 offsets.start = offsets.limit; in handleTransliterate()
89 int32_t cursor = offsets.start; in handleTransliterate()
90 int32_t limit = offsets.limit; in handleTransliterate()
112 offsets.contextLimit += limit - offsets.limit; in handleTransliterate()
113 offsets.limit = limit; in handleTransliterate()
114 offsets.start = cursor; in handleTransliterate()
Dcasetrn.cpp136 UTransPosition& offsets, in handleTransliterate() argument
139 if (offsets.start >= offsets.limit) { in handleTransliterate()
146 csc.start = offsets.contextStart; in handleTransliterate()
147 csc.limit = offsets.contextLimit; in handleTransliterate()
154 for(textPos=offsets.start; textPos<offsets.limit;) { in handleTransliterate()
164 offsets.start=csc.cpStart; in handleTransliterate()
183 csc.limit=offsets.contextLimit+=delta; in handleTransliterate()
184 offsets.limit+=delta; in handleTransliterate()
188 offsets.start=textPos; in handleTransliterate()
Dname2uni.cpp108 void NameUnicodeTransliterator::handleTransliterate(Replaceable& text, UTransPosition& offsets, in handleTransliterate() argument
116 offsets.start = offsets.limit; in handleTransliterate()
124 offsets.start = offsets.limit; in handleTransliterate()
131 int32_t cursor = offsets.start; in handleTransliterate()
132 int32_t limit = offsets.limit; in handleTransliterate()
245 offsets.contextLimit += limit - offsets.limit; in handleTransliterate()
246 offsets.limit = limit; in handleTransliterate()
249 offsets.start = (isIncremental && openPos >= 0) ? openPos : cursor; in handleTransliterate()
/external/icu/icu4c/source/test/intltest/
Dsimplepatternformattertest.cpp96 int32_t offsets[6]; in TestManyPlaceholders() local
106 offsets, in TestManyPlaceholders()
107 LENGTHOF(offsets), in TestManyPlaceholders()
111 if (expectedOffsets[i] != offsets[i]) { in TestManyPlaceholders()
112 errln("Expected %d, got %d", expectedOffsets[i], offsets[i]); in TestManyPlaceholders()
120 offsets, in TestManyPlaceholders()
121 LENGTHOF(offsets), in TestManyPlaceholders()
127 offsets[LENGTHOF(offsets) - 1] = 289; in TestManyPlaceholders()
133 offsets, in TestManyPlaceholders()
134 LENGTHOF(offsets) - 1, in TestManyPlaceholders()
[all …]
/external/skia/src/animator/
DSkDrawGradient.cpp19 SK_MEMBER_ARRAY(offsets, Float),
73 if (offsets.count() != 0) { in onEndElement()
74 if (offsets.count() != fDrawColors.count()) { in onEndElement()
78 if (offsets[0] != 0) { in onEndElement()
82 if (offsets[offsets.count()-1] != SK_Scalar1) { in onEndElement()
86 for (int i = 1; i < offsets.count(); i++) { in onEndElement()
87 if (offsets[i] <= offsets[i-1]) { in onEndElement()
91 if (offsets[i] > SK_Scalar1) { in onEndElement()
132 fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, in getShader()
167 radius, fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, in getShader()
/external/chromium_org/third_party/skia/src/animator/
DSkDrawGradient.cpp19 SK_MEMBER_ARRAY(offsets, Float),
73 if (offsets.count() != 0) { in onEndElement()
74 if (offsets.count() != fDrawColors.count()) { in onEndElement()
78 if (offsets[0] != 0) { in onEndElement()
82 if (offsets[offsets.count()-1] != SK_Scalar1) { in onEndElement()
86 for (int i = 1; i < offsets.count(); i++) { in onEndElement()
87 if (offsets[i] <= offsets[i-1]) { in onEndElement()
91 if (offsets[i] > SK_Scalar1) { in onEndElement()
132 fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, in getShader()
167 radius, fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, in getShader()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_median_filter.c77 struct vertex2f *offsets, in create_frag_shader() argument
122 if (!is_vec_zero(offsets[i])) { in create_frag_shader()
124 i_vtex, ureg_imm2f(shader, offsets[i].x, offsets[i].y)); in create_frag_shader()
131 struct ureg_src src = is_vec_zero(offsets[i]) ? i_vtex : ureg_src(t_array[i]); in create_frag_shader()
159 struct vertex2f **offsets, unsigned *num_offsets) in generate_offsets() argument
164 assert(offsets && num_offsets); in generate_offsets()
190 *offsets = MALLOC(sizeof(struct vertex2f) * *num_offsets); in generate_offsets()
191 if (!*offsets) in generate_offsets()
198 (*offsets)[i++] = v; in generate_offsets()
204 (*offsets)[i++] = v; in generate_offsets()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
Dvl_median_filter.c77 struct vertex2f *offsets, in create_frag_shader() argument
122 if (!is_vec_zero(offsets[i])) { in create_frag_shader()
124 i_vtex, ureg_imm2f(shader, offsets[i].x, offsets[i].y)); in create_frag_shader()
131 struct ureg_src src = is_vec_zero(offsets[i]) ? i_vtex : ureg_src(t_array[i]); in create_frag_shader()
159 struct vertex2f **offsets, unsigned *num_offsets) in generate_offsets() argument
164 assert(offsets && num_offsets); in generate_offsets()
190 *offsets = MALLOC(sizeof(struct vertex2f) * *num_offsets); in generate_offsets()
191 if (!*offsets) in generate_offsets()
198 (*offsets)[i++] = v; in generate_offsets()
204 (*offsets)[i++] = v; in generate_offsets()
[all …]

12345678910>>...24