Home
last modified time | relevance | path

Searched refs:pos1 (Results 1 – 20 of 20) sorted by relevance

/external/icu4c/samples/uciter8/
Duciter8.c47 int32_t i, pos1, pos2, middle, length; in compareIterators() local
61 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators()
62 if(pos1!=middle) { in compareIterators()
63 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators()
102 pos1=iter1->move(iter1, 0, UITER_START); in compareIterators()
103 if(pos1<0) { in compareIterators()
141 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators()
142 if(pos1!=middle) { in compareIterators()
143 … log_err("%s->move(from end to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators()
154 pos1=iter1->move(iter1, 1, UITER_ZERO); in compareIterators()
[all …]
/external/opencore/codecs_v2/audio/gsm_amr/amr_wb/dec/src/
Ddec_alg_codebook.cpp120 int16 pos1; in dec_1p_N1() local
127 pos1 = ((index & mask) + offset); in dec_1p_N1()
133 pos1 += NB_POS; in dec_1p_N1()
135 pos[0] = pos1; in dec_1p_N1()
147 int16 pos1, pos2, tmp; in dec_2p_2N1() local
155 pos1 = (int16)(add_int32((shr_int32(index, N) & mask), (int32)(offset))); in dec_2p_2N1()
160 if (pos2 < pos1) /* ((pos2 - pos1) < 0) */ in dec_2p_2N1()
164 pos1 += NB_POS; /* pos1 += NB_POS; */ in dec_2p_2N1()
175 pos1 += NB_POS; /* pos1 += NB_POS; */ in dec_2p_2N1()
180 pos[0] = pos1; in dec_2p_2N1()
/external/freetype/src/truetype/
Dttpload.c171 FT_ULong pos1, pos2; in tt_face_get_location() local
176 pos1 = pos2 = 0; in tt_face_get_location()
185 pos1 = FT_NEXT_ULONG( p ); in tt_face_get_location()
186 pos2 = pos1; in tt_face_get_location()
196 pos1 = FT_NEXT_USHORT( p ); in tt_face_get_location()
197 pos2 = pos1; in tt_face_get_location()
202 pos1 <<= 1; in tt_face_get_location()
216 if ( pos2 >= pos1 ) in tt_face_get_location()
217 *asize = (FT_UInt)( pos2 - pos1 ); in tt_face_get_location()
219 *asize = (FT_UInt)( face->glyf_len - pos1 ); in tt_face_get_location()
[all …]
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/dec/src/
Dd1035pf.cpp212 register Word16 i, j, pos1, pos2; in dec_10i40_35bits() local
231 pos1 = i + j; /* position of pulse "j" */ in dec_10i40_35bits()
244 *(cod + pos1) = sign; in dec_10i40_35bits()
255 if (pos2 < pos1) in dec_10i40_35bits()
Dd8_31pf.cpp566 Word16 pos1; in dec_8i40_31bits() local
589 pos1 = (linear_codewords[j] << 2) + j; in dec_8i40_31bits()
601 if (pos1 < L_SUBFR) in dec_8i40_31bits()
603 cod[pos1] = sign; /* avoid buffer overflow */ in dec_8i40_31bits()
612 if (pos2 < pos1) in dec_8i40_31bits()
/external/icu4c/test/cintltst/
Dcnumtst.c107 UFieldPosition pos1; in TestNumberFormat() local
204 pos1.field = 0; /* Integer Section */ in TestNumberFormat()
205 resultlengthneeded=unum_format(cur_def, l, NULL, resultlength, &pos1, &status); in TestNumberFormat()
213 unum_format(cur_def, l, result, resultlength, &pos1, &status); in TestNumberFormat()
225 if(pos1.beginIndex == 1 && pos1.endIndex == 12) in TestNumberFormat()
229 pos1.beginIndex, pos1.endIndex); in TestNumberFormat()
261 pos1.beginIndex, pos1.endIndex); in TestNumberFormat()
315 pos1.beginIndex, pos1.endIndex); in TestNumberFormat()
378 resultlengthneeded=unum_format(per_fr, l, NULL, resultlength, &pos1, &status); in TestNumberFormat()
386 unum_format(per_fr, l, result, resultlength, &pos1, &status); in TestNumberFormat()
[all …]
Dcustrtst.c1194 int32_t i, pos1, pos2, middle, length; in compareIterators() local
1208 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators()
1209 if(pos1!=middle) { in compareIterators()
1210 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators()
1249 pos1=iter1->move(iter1, 0, UITER_START); in compareIterators()
1250 if(pos1<0) { in compareIterators()
1288 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators()
1289 if(pos1!=middle) { in compareIterators()
1290 … log_err("%s->move(from end to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators()
1301 pos1=iter1->move(iter1, 1, UITER_ZERO); in compareIterators()
[all …]
/external/opencore/codecs_v2/utilities/colorconvert/src/
Dcpvvideoblend.cpp294 OSCL_EXPORT_REF int32 CPVVideoBlend :: BlendOutput(PVBlendFrame *pFromDecode, PVCoordinate *pos1, in BlendOutput() argument
336 … DecoderOutput->Convert(yuvBufDec, rgbBuf + (pos1->y * pDisplayOutput->width + pos1->x)*2); in BlendOutput()
346 … DecoderOutput->Convert(yuvBufDec, rgbBuf + (pos1->y * pDisplayOutput->width + pos1->x)*2); in BlendOutput()
/external/opencore/protocols/rtp_payload_parser/util/src/
Dlatmpayloadparser.cpp35 static uint32 BufferShowBits(uint8 *inbuf, uint32 pos1, uint32 pos2);
36 static uint32 BufferReadBits(uint8 *inbuf, uint32 *pos1, int32 len);
1287 uint32 BufferShowBits(uint8 *inbuf, uint32 pos1, uint32 pos2) in BufferShowBits() argument
1289 uint32 ptr1 = pos1 % 8, ptr2 = pos2 % 8, Ptr1 = pos1 >> 3, Ptr2 = pos2 >> 3; in BufferShowBits()
1312 uint32 BufferReadBits(uint8 *inbuf, uint32 *pos1, int32 len) in BufferReadBits() argument
1314 uint32 rval = BufferShowBits(inbuf, *pos1, (*pos1) + len - 1); in BufferReadBits()
1315 *pos1 += len; in BufferReadBits()
/external/icu4c/test/intltest/
Dsdtfmtts.cpp121 FieldPosition pos1(0), pos2(0); in testAPI() local
123 res1 = def.format(d, res1, pos1); in testAPI()
Ddtfmapts.cpp135 FieldPosition pos1(0), pos2(0); in testAPI() local
138 res1 = fr->format(d, res1, pos1, status); in testAPI()
Dnmfmapts.cpp123 FieldPosition pos1(0), pos2(0), pos3(0), pos4(0); in testAPI() local
131 res3 = cur_fr->format(d, res3, pos1); in testAPI()
Ddcfmapts.cpp125 FieldPosition pos1(0), pos2(0), pos3(0), pos4(0); in testAPI() local
127 res1 = def.format(d, res1, pos1); in testAPI()
Ditrbnf.cpp231 FieldPosition pos1, pos2; in TestAPI() local
239 intFormatResult = formatter->format(intFormatNum, ruleSetName, intFormatResult, pos1, status); in TestAPI()
263 intFormatResult = formatter->format(intFormatNum, "BLABLA", intFormatResult, pos1, status); in TestAPI()
Dnumrgts.cpp1465 ParsePosition pos1(0), pos2(0); in Test4106662() local
1470 df->parse(text, num, pos1); in Test4106662()
1471 if (pos1 == ParsePosition(0)/*num != null*/) { in Test4106662()
/external/opencore/codecs_v2/utilities/colorconvert/include/
Dpvvideoblend.h209 OSCL_IMPORT_REF int32 BlendOutput(PVBlendFrame *pFromDecode, PVCoordinate *pos1,
/external/bluetooth/glib/tests/
Dsequence-test.c1048 int pos1 = queue_link_index (seq, link1); in run_random_tests() local
1053 g_assert (pos1 == pos2); in run_random_tests()
1057 g_assert (pos1 < pos2); in run_random_tests()
1061 g_assert (pos1 > pos2); in run_random_tests()
/external/grub/netboot/
Dsk_g16.c1111 pos1 = inb(SK_POS1), in SK_print_pos() local
1119 SK_NAME, text, pos0, pos1, pos2, (pos3<<14), pos4); in SK_print_pos()
/external/freetype/src/autofit/
Daflatin.c853 FT_Pos pos1 = seg1->pos; in af_latin_hints_link_segments() local
855 FT_Pos dist = pos2 - pos1; in af_latin_hints_link_segments()
Daflatin2.c908 FT_Pos pos1 = seg1->pos; in af_latin2_hints_link_segments() local
910 FT_Pos dist = pos2 - pos1; in af_latin2_hints_link_segments()