/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
D | lpc_analysis.c | 212 int k, n, j, pos1, pos2; in WebRtcIsac_GetLpcCoefLb() local 247 for (pos1 = 0; pos1 < QLOOKAHEAD; pos1++) in WebRtcIsac_GetLpcCoefLb() 248 maskdata->DataBufferLo[pos1 + WINLEN - QLOOKAHEAD] = inLo[pos1]; in WebRtcIsac_GetLpcCoefLb() 253 for (pos1 = 0; pos1 < WINLEN - UPDATE/2; pos1++) { in WebRtcIsac_GetLpcCoefLb() 254 maskdata->DataBufferLo[pos1] = maskdata->DataBufferLo[pos1 + UPDATE/2]; in WebRtcIsac_GetLpcCoefLb() 255 maskdata->DataBufferHi[pos1] = maskdata->DataBufferHi[pos1 + UPDATE/2]; in WebRtcIsac_GetLpcCoefLb() 256 DataLo[pos1] = maskdata->DataBufferLo[pos1] * kLpcCorrWindow[pos1]; in WebRtcIsac_GetLpcCoefLb() 257 DataHi[pos1] = maskdata->DataBufferHi[pos1] * kLpcCorrWindow[pos1]; in WebRtcIsac_GetLpcCoefLb() 260 for (n = 0; n < UPDATE/2; n++, pos1++) { in WebRtcIsac_GetLpcCoefLb() 261 maskdata->DataBufferLo[pos1] = inLo[QLOOKAHEAD + pos2]; in WebRtcIsac_GetLpcCoefLb() [all …]
|
/external/v8/test/mjsunit/ |
D | debug-liveedit-diff.js | 36 var pos1 = 0; 44 var similar_length = diff_array[i] - pos1; 45 assertEquals(s1.substring(pos1, pos1 + similar_length), 48 print(s1.substring(pos1, pos1 + similar_length)); 49 pos1 += similar_length; 51 print("<<< " + pos1 + " " + diff_array[i + 1]); 52 print(s1.substring(pos1, diff_array[i + 1])); 56 pos1 = diff_array[i + 1]; 61 var similar_length = s1.length - pos1; 63 assertEquals(s1.substring(pos1, pos1 + similar_length), [all …]
|
/external/google-breakpad/src/common/linux/ |
D | linux_libc_support.cc | 199 size_t pos1 = 0; in my_strlcpy() local 203 if (pos1 + 1 < len) { in my_strlcpy() 204 s1[pos1] = s2[pos2]; in my_strlcpy() 205 pos1++; in my_strlcpy() 210 s1[pos1] = '\0'; in my_strlcpy() 216 size_t pos1 = 0; in my_strlcat() local 218 while (pos1 < len && s1[pos1] != '\0') in my_strlcat() 219 pos1++; in my_strlcat() 221 if (pos1 == len) in my_strlcat() 222 return pos1; in my_strlcat() [all …]
|
/external/v8/test/cctest/ |
D | test-liveedit.cc | 65 : pos1(pos1_param), pos2(pos2_param), in DiffChunkStruct() 67 int pos1; member in __anon8fc936890111::DiffChunkStruct 82 void AddChunk(int pos1, int pos2, int len1, int len2) { in AddChunk() argument 83 current_chunk_ = new(zone_) DiffChunkStruct(pos1, pos2, len1, len2); in AddChunk() 108 int pos1 = 0; in CompareStringsOneWay() local 116 int diff_pos1 = chunk->pos1; in CompareStringsOneWay() 117 int similar_part_length = diff_pos1 - pos1; in CompareStringsOneWay() 123 CHECK(pos1 + j < len1); in CompareStringsOneWay() 125 CHECK_EQ(s1[pos1 + j], s2[pos2 + j]); in CompareStringsOneWay() 128 pos1 = diff_pos1 + chunk->len1; in CompareStringsOneWay() [all …]
|
/external/bison/examples/calc++/ |
D | position.hh | 139 operator== (const position& pos1, const position& pos2) in operator ==() argument 141 return (pos1.line == pos2.line in operator ==() 142 && pos1.column == pos2.column in operator ==() 143 && (pos1.filename == pos2.filename in operator ==() 144 || (pos1.filename && pos2.filename in operator ==() 145 && *pos1.filename == *pos2.filename))); in operator ==() 150 operator!= (const position& pos1, const position& pos2) in operator !=() argument 152 return !(pos1 == pos2); in operator !=()
|
/external/icu/icu4c/source/samples/uciter8/ |
D | uciter8.c | 45 int32_t i, pos1, pos2, middle, length; in compareIterators() local 59 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators() 60 if(pos1!=middle) { in compareIterators() 61 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators() 100 pos1=iter1->move(iter1, 0, UITER_START); in compareIterators() 101 if(pos1<0) { in compareIterators() 139 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators() 140 if(pos1!=middle) { in compareIterators() 141 … log_err("%s->move(from end to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators() 152 pos1=iter1->move(iter1, 1, UITER_ZERO); in compareIterators() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | lpc_masking_model.c | 539 int pos1, pos2; in WebRtcIsacfix_GetLpcCoef() local 606 for (pos1 = 0; pos1 < QLOOKAHEAD; pos1++) { in WebRtcIsacfix_GetLpcCoef() 607 maskdata->DataBufferLoQ0[pos1 + WINLEN - QLOOKAHEAD] = inLoQ0[pos1]; in WebRtcIsacfix_GetLpcCoef() 613 for (pos1 = 0; pos1 < WINLEN - UPDATE/2; pos1++) { in WebRtcIsacfix_GetLpcCoef() 614 maskdata->DataBufferLoQ0[pos1] = maskdata->DataBufferLoQ0[pos1 + UPDATE/2]; in WebRtcIsacfix_GetLpcCoef() 615 maskdata->DataBufferHiQ0[pos1] = maskdata->DataBufferHiQ0[pos1 + UPDATE/2]; in WebRtcIsacfix_GetLpcCoef() 616 DataLoQ6[pos1] = (int16_t)(maskdata->DataBufferLoQ0[pos1] * in WebRtcIsacfix_GetLpcCoef() 617 kWindowAutocorr[pos1] >> 15); // Q0*Q21>>15 = Q6 in WebRtcIsacfix_GetLpcCoef() 618 DataHiQ6[pos1] = (int16_t)(maskdata->DataBufferHiQ0[pos1] * in WebRtcIsacfix_GetLpcCoef() 619 kWindowAutocorr[pos1] >> 15); // Q0*Q21>>15 = Q6 in WebRtcIsacfix_GetLpcCoef() [all …]
|
/external/freetype/src/truetype/ |
D | ttpload.c | 177 FT_ULong pos1, pos2; in tt_face_get_location() local 182 pos1 = pos2 = 0; in tt_face_get_location() 191 pos1 = FT_NEXT_ULONG( p ); in tt_face_get_location() 192 pos2 = pos1; in tt_face_get_location() 202 pos1 = FT_NEXT_USHORT( p ); in tt_face_get_location() 203 pos2 = pos1; in tt_face_get_location() 208 pos1 <<= 1; in tt_face_get_location() 214 if ( pos1 > face->glyf_len ) in tt_face_get_location() 219 pos1, gindex, face->glyf_len )); in tt_face_get_location() 241 if ( pos2 >= pos1 ) in tt_face_get_location() [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_wide_line.c | 73 float *pos1 = v1->data[pos]; in wideline_line() local 95 pos1[1] = pos1[1] + half_width - bias; in wideline_line() 102 pos1[0] -= 0.5f; in wideline_line() 109 pos1[0] += 0.5f; in wideline_line() 118 pos1[0] = pos1[0] + half_width + bias; in wideline_line() 125 pos1[1] -= 0.5f; in wideline_line() 132 pos1[1] += 0.5f; in wideline_line()
|
D | draw_pipe_stipple.c | 127 const float *pos1 = v1->data[pos]; in stipple_line() local 132 float x1 = pos1[0]; in stipple_line() 134 float y1 = pos1[1]; in stipple_line()
|
D | draw_pipe_wide_point.c | 138 float *pos1 = v1->data[pos]; in widepoint_point() local 159 pos1[0] += left_adj; in widepoint_point() 160 pos1[1] += bot_adj; in widepoint_point()
|
/external/pdfium/third_party/freetype/src/truetype/ |
D | ttpload.c | 185 FT_ULong pos1, pos2; in tt_face_get_location() local 190 pos1 = pos2 = 0; in tt_face_get_location() 199 pos1 = FT_NEXT_ULONG( p ); in tt_face_get_location() 200 pos2 = pos1; in tt_face_get_location() 210 pos1 = FT_NEXT_USHORT( p ); in tt_face_get_location() 211 pos2 = pos1; in tt_face_get_location() 216 pos1 <<= 1; in tt_face_get_location() 222 if ( pos1 > face->glyf_len ) in tt_face_get_location() 227 pos1, gindex, face->glyf_len )); in tt_face_get_location() 249 if ( pos2 >= pos1 ) in tt_face_get_location() [all …]
|
/external/bison/data/ |
D | location.cc | 119 operator== (const position& pos1, const position& pos2) 121 return (pos1.line == pos2.line 122 && pos1.column == pos2.column 123 && (pos1.filename == pos2.filename 124 || (pos1.filename && pos2.filename 125 && *pos1.filename == *pos2.filename))); 130 operator!= (const position& pos1, const position& pos2) 132 return !(pos1 == pos2);
|
/external/libcxx/test/std/experimental/string.view/string.view.ops/ |
D | compare.size_size_sv.pass.cpp | 23 void test1 ( std::experimental::basic_string_view<CharT> sv1, size_t pos1, size_t n1, in test1() argument 28 assert ( sign( sv1.compare(pos1, n1, sv2)) == sign(expected)); in test1() 29 assert(pos1 <= sv1.size()); in test1() 31 catch (const std::out_of_range&) { assert(pos1 > sv1.size()); } in test1() 36 void test ( const CharT *s1, size_t pos1, size_t n1, const CharT *s2, int expected ) { in test() argument 41 test1(sv1, pos1, n1, sv2, expected); in test()
|
D | compare.pointer_size.pass.cpp | 23 size_t pos1, size_t n1, const CharT *s, int expected ) { in test1() argument 25 assert(sign(sv1.compare(pos1, n1, s)) == sign(expected)); in test1() 26 assert(pos1 <= sv1.size()); in test1() 28 catch (const std::out_of_range&) { assert(pos1 > sv1.size()); } in test1() 33 test( const CharT *s1, size_t pos1, size_t n1, const CharT *s2, int expected) in test() argument 37 test1 ( sv1, pos1, n1, s2, expected ); in test()
|
/external/v8/src/debug/ |
D | liveedit.js | 454 function DiffChunk(pos1, pos2, len1, len2) { argument 455 this.pos1 = pos1; 481 if (array.length == 0 || pos < array[0].pos1) { 489 if (pos < array[middle_index + 1].pos1) { 496 if (pos >= chunk.pos1 + chunk.len1) { 497 return pos + chunk.pos2 + chunk.len2 - chunk.pos1 - chunk.len1; 514 return pos - diff_chunk.pos1 + diff_chunk.pos2; 600 pos_diff = chunk.pos2 + chunk.len2 - (chunk.pos1 + chunk.len1); 618 chunk_it.current().pos1 < info_node.info.end_position) { 622 if (child.info.end_position <= chunk_it.current().pos1) { [all …]
|
D | liveedit.cc | 66 int pos1 = 0; in SaveResult() local 69 if (pos1 < len1_) { in SaveResult() 71 Direction dir = get_direction(pos1, pos2); in SaveResult() 75 pos1++; in SaveResult() 80 pos1++; in SaveResult() 91 writer.skip1(len1_ - pos1); in SaveResult() 121 int CompareUpToTail(int pos1, int pos2) { in CompareUpToTail() argument 122 if (pos1 < len1_) { in CompareUpToTail() 124 int cached_res = get_value4(pos1, pos2); in CompareUpToTail() 128 if (input_->Equals(pos1, pos2)) { in CompareUpToTail() [all …]
|
/external/skia/gm/ |
D | pictureimagegenerator.cpp | 68 const SkScalar pos1[] = { 0, 0.75f }; in draw_vector_logo() local 70 SkASSERT(SK_ARRAY_COUNT(pos1) == SK_ARRAY_COUNT(colors1)); in draw_vector_logo() 71 SkAutoTUnref<SkShader> gradient1(SkGradientShader::CreateLinear(pts1, colors1, pos1, in draw_vector_logo() 72 SK_ARRAY_COUNT(pos1), in draw_vector_logo()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cnumtst.c | 161 UFieldPosition pos1; in TestNumberFormat() local 258 pos1.field = UNUM_INTEGER_FIELD; in TestNumberFormat() 259 resultlengthneeded=unum_format(cur_def, l, NULL, resultlength, &pos1, &status); in TestNumberFormat() 267 unum_format(cur_def, l, result, resultlength, &pos1, &status); in TestNumberFormat() 279 if(pos1.beginIndex == 1 && pos1.endIndex == 12) in TestNumberFormat() 283 pos1.beginIndex, pos1.endIndex); in TestNumberFormat() 317 pos1.beginIndex, pos1.endIndex); in TestNumberFormat() 369 pos1.beginIndex, pos1.endIndex); in TestNumberFormat() 439 resultlengthneeded=unum_format(per_fr, l, NULL, resultlength, &pos1, &status); in TestNumberFormat() 447 unum_format(per_fr, l, result, resultlength, &pos1, &status); in TestNumberFormat() [all …]
|
D | custrtst.c | 1189 int32_t i, pos1, pos2, middle, length; in compareIterators() local 1203 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators() 1204 if(pos1!=middle) { in compareIterators() 1205 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators() 1244 pos1=iter1->move(iter1, 0, UITER_START); in compareIterators() 1245 if(pos1<0) { in compareIterators() 1283 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators() 1284 if(pos1!=middle) { in compareIterators() 1285 … log_err("%s->move(from end to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators() 1296 pos1=iter1->move(iter1, 1, UITER_ZERO); in compareIterators() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.ops/string_compare/ |
D | size_size_pointer.pass.cpp | 31 test(const S& s, typename S::size_type pos1, typename S::size_type n1, in test() argument 36 assert(sign(s.compare(pos1, n1, str)) == sign(x)); in test() 37 assert(pos1 <= s.size()); in test() 41 assert(pos1 > s.size()); in test()
|
/external/libvpx/libvpx/vp8/common/mips/msa/ |
D | postproc_msa.c | 820 v16u8 pos0, ref0, pos1, ref1; in vp8_plane_add_noise_msa() local 825 pos1 = LD_UB(pos1_ptr); in vp8_plane_add_noise_msa() 831 temp01 = (pos1 < black_clamp); in vp8_plane_add_noise_msa() 832 pos1 = __msa_bmnz_v(pos1, black_clamp, temp01); in vp8_plane_add_noise_msa() 833 XORI_B2_128_UB(pos0, pos1); in vp8_plane_add_noise_msa() 838 temp01 = (temp01_s < pos1); in vp8_plane_add_noise_msa() 839 pos1 = (v16u8)__msa_bmnz_v((v16u8)pos1, (v16u8)temp01_s, temp01); in vp8_plane_add_noise_msa() 840 XORI_B2_128_UB(pos0, pos1); in vp8_plane_add_noise_msa() 843 pos1 += ref1; in vp8_plane_add_noise_msa() 844 ST_UB(pos1, pos1_ptr); in vp8_plane_add_noise_msa()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | IntlTestSimpleDateFormatAPI.java | 79 FieldPosition pos1 = new FieldPosition(0); in TestAPI() local 82 res1 = def.format(d, res1, pos1); in TestAPI()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | IntlTestSimpleDateFormatAPI.java | 83 FieldPosition pos1 = new FieldPosition(0); in TestAPI() local 86 res1 = def.format(d, res1, pos1); in TestAPI()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
D | util_test.py | 78 def fn(pos1, pos2=1, kwonly=1): argument 79 return [pos1, pos2, kwonly] 91 def meth(self, pos1, kwonly=1): argument 92 return [pos1, kwonly]
|