/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/libaom/libaom/aom_dsp/mips/ |
D | add_noise_msa.c | 30 v16u8 pos0, ref0, pos1, ref1; in aom_plane_add_noise_msa() local 35 pos1 = LD_UB(pos1_ptr); in aom_plane_add_noise_msa() 41 temp01 = (pos1 < black_clamp); in aom_plane_add_noise_msa() 42 pos1 = __msa_bmnz_v(pos1, black_clamp, temp01); in aom_plane_add_noise_msa() 43 XORI_B2_128_UB(pos0, pos1); in aom_plane_add_noise_msa() 48 temp01 = (temp01_s < pos1); in aom_plane_add_noise_msa() 49 pos1 = (v16u8)__msa_bmnz_v((v16u8)pos1, (v16u8)temp01_s, temp01); in aom_plane_add_noise_msa() 50 XORI_B2_128_UB(pos0, pos1); in aom_plane_add_noise_msa() 53 pos1 += ref1; in aom_plane_add_noise_msa() 54 ST_UB(pos1, pos1_ptr); in aom_plane_add_noise_msa()
|
/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/libvpx/libvpx/vpx_dsp/mips/ |
D | add_noise_msa.c | 18 v16u8 pos0, pos1, ref0, ref1; in vpx_plane_add_noise_msa() local 34 pos1 = LD_UB(pos1_ptr); in vpx_plane_add_noise_msa() 37 pos1 = __msa_subsus_u_b(pos1, black_clamp); in vpx_plane_add_noise_msa() 39 pos1 = __msa_subsus_u_b(pos1, both_clamp); in vpx_plane_add_noise_msa() 41 pos1 = __msa_subsus_u_b(pos1, white_clamp); in vpx_plane_add_noise_msa() 44 pos1 += ref1; in vpx_plane_add_noise_msa() 45 ST_UB(pos1, pos1_ptr); in vpx_plane_add_noise_msa()
|
/external/icu/icu4c/source/samples/uciter8/ |
D | uciter8.c | 55 int32_t i, pos1, pos2, middle, length; in compareIterators() local 69 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators() 70 if(pos1!=middle) { in compareIterators() 71 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators() 110 pos1=iter1->move(iter1, 0, UITER_START); in compareIterators() 111 if(pos1<0) { in compareIterators() 149 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators() 150 if(pos1!=middle) { in compareIterators() 151 … log_err("%s->move(from end to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators() 162 pos1=iter1->move(iter1, 1, UITER_ZERO); in compareIterators() [all …]
|
/external/freetype/src/truetype/ |
D | ttpload.c | 201 FT_ULong pos1, pos2; in tt_face_get_location() local 206 pos1 = pos2 = 0; in tt_face_get_location() 215 pos1 = FT_NEXT_ULONG( p ); in tt_face_get_location() 216 pos2 = pos1; in tt_face_get_location() 226 pos1 = FT_NEXT_USHORT( p ); in tt_face_get_location() 227 pos2 = pos1; in tt_face_get_location() 232 pos1 <<= 1; in tt_face_get_location() 238 if ( pos1 > face->glyf_len ) in tt_face_get_location() 244 pos1, gindex, face->glyf_len )); in tt_face_get_location() 258 pos2 - pos1, gindex, face->glyf_len - pos1 )); in tt_face_get_location() [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/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_wide_line.c | 62 float *pos1 = v1->data[pos]; in wideline_line() local 84 pos1[1] = pos1[1] + half_width - bias; in wideline_line() 91 pos1[0] -= 0.5f; in wideline_line() 98 pos1[0] += 0.5f; in wideline_line() 107 pos1[0] = pos1[0] + half_width + bias; in wideline_line() 114 pos1[1] -= 0.5f; in wideline_line() 121 pos1[1] += 0.5f; in wideline_line()
|
/external/aac/libAACdec/src/ |
D | usacdec_ace_d4t64.cpp | 153 SHORT pos1; in D_ACELP_decode_1p_N1() local 160 pos1 = (SHORT)((index & mask) + offset); in D_ACELP_decode_1p_N1() 163 pos1 += 16; in D_ACELP_decode_1p_N1() 165 pos[0] = pos1; in D_ACELP_decode_1p_N1() 185 SHORT pos1, pos2; in D_ACELP_decode_2p_2N1() local 191 pos1 = (SHORT)(((index >> N) & mask) + offset); in D_ACELP_decode_2p_2N1() 194 if ((pos2 - pos1) < 0) { in D_ACELP_decode_2p_2N1() 196 pos1 += 16; in D_ACELP_decode_2p_2N1() 202 pos1 += 16; in D_ACELP_decode_2p_2N1() 206 pos[0] = pos1; in D_ACELP_decode_2p_2N1()
|
/external/u-boot/board/siemens/common/ |
D | board.c | 192 unsigned char i, idx, pos1, pos2, ccount; in set_env_gpios() local 206 pos1 = 0; in set_env_gpios() 212 pos1 = idx; in set_env_gpios() 218 if (pos2 <= pos1 || ccount > 2) in set_env_gpios() 223 strncpy(str_tmp, ptr_env, pos1*sizeof(char)); in set_env_gpios() 235 strncpy(str_tmp, ptr_env+pos1+1, in set_env_gpios() 236 (pos2-pos1-1)*sizeof(char)); in set_env_gpios()
|
/external/u-boot/lib/efi_selftest/ |
D | efi_selftest_util.c | 14 const u8 *pos1 = buf1; in efi_st_memcmp() local 18 if (*pos1 != *pos2) in efi_st_memcmp() 19 return *pos1 - *pos2; in efi_st_memcmp() 20 ++pos1; in efi_st_memcmp()
|
/external/libcxx/test/std/strings/string.view/string.view.ops/ |
D | compare.size_size_sv.pass.cpp | 24 void test1 ( std::basic_string_view<CharT> sv1, size_t pos1, size_t n1, in test1() argument 27 if (pos1 <= sv1.size()) in test1() 28 assert(sign( sv1.compare(pos1, n1, sv2)) == sign(expected)); in test1() 31 assert(sign( sv1.compare(pos1, n1, sv2)) == sign(expected)); in test1() 32 assert(pos1 <= sv1.size()); in test1() 35 assert(pos1 > sv1.size()); in test1() 42 void test ( const CharT *s1, size_t pos1, size_t n1, const CharT *s2, int expected ) { in test() argument 46 test1(sv1, pos1, n1, sv2, expected); in test()
|
D | compare.pointer_size.pass.cpp | 25 size_t pos1, size_t n1, const CharT *s, int expected ) { in test1() argument 27 if (pos1 <= sv1.size()) in test1() 28 assert(sign(sv1.compare(pos1, n1, s)) == sign(expected)); in test1() 31 assert(sign(sv1.compare(pos1, n1, s)) == sign(expected)); in test1() 32 assert(pos1 <= sv1.size()); in test1() 35 assert(pos1 > sv1.size()); in test1() 42 test( const CharT *s1, size_t pos1, size_t n1, const CharT *s2, int expected) in test() argument 46 test1 ( sv1, pos1, n1, s2, expected ); in test()
|
D | compare.size_size_sv_pointer_size.pass.cpp | 25 void test1 ( std::basic_string_view<CharT> sv1, size_t pos1, size_t n1, in test1() argument 28 if (pos1 <= sv1.size()) in test1() 29 assert(sign(sv1.compare(pos1, n1, s2, n2)) == sign(expected)); in test1() 32 assert(sign(sv1.compare(pos1, n1, s2, n2)) == sign(expected)); in test1() 33 assert(pos1 <= sv1.size()); in test1() 36 assert(pos1 > sv1.size()); in test1() 43 void test ( const CharT *s1, size_t pos1, size_t n1, in test() argument 48 test1 (sv1, pos1, n1, s2, n2, expected); in test()
|
/external/u-boot/lib/efi_loader/ |
D | helloworld.c | 22 const u8 *pos1 = buf1; in hw_memcmp() local 26 if (*pos1 != *pos2) in hw_memcmp() 27 return *pos1 - *pos2; in hw_memcmp() 28 ++pos1; in hw_memcmp()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | CircularBuffer.java | 81 final int pos1 = writeIndex - distance; in copy() local 82 final int pos2 = pos1 + length; in copy() 83 for (int i = pos1; i < pos2; i++) { in copy()
|
/external/v8/src/debug/ |
D | liveedit.cc | 49 virtual void AddChunk(int pos1, int pos2, int len1, int len2) = 0; 89 int pos1 = 0; in SaveResult() local 92 if (pos1 < len1_) { in SaveResult() 94 Direction dir = get_direction(pos1, pos2); in SaveResult() 98 pos1++; in SaveResult() 103 pos1++; in SaveResult() 114 writer.skip1(len1_ - pos1); in SaveResult() 144 int CompareUpToTail(int pos1, int pos2) { in CompareUpToTail() argument 145 if (pos1 < len1_) { in CompareUpToTail() 147 int cached_res = get_value4(pos1, pos2); in CompareUpToTail() [all …]
|
/external/syzkaller/pkg/report/ |
D | gvisor.go | 54 pos1 := bytes.IndexByte(report[pos:], '\n') 55 if pos1 == -1 { 58 pos += pos1 + 1
|
/external/apache-commons-bcel/src/examples/ |
D | ClassDumper.java | 329 long pos1 = file.getStreamPosition(); in processFieldOrMethod() local 332 if ((pos2 - pos1) != (attribute_length + 6)) { in processFieldOrMethod() 334 attribute_length, pos2-pos1-6, pos1, pos1, pos2, pos2); in processFieldOrMethod()
|
/external/swiftshader/src/Shader/ |
D | VertexPipeline.cpp | 110 Vector4f pos1; in transformBlend() local 113 pos1 = transform(src, matrix, index1, homogeneous); in transformBlend() 115 dst.x = pos0.x * weight0 + pos1.x * weight1; // FIXME: Vector4f operators in transformBlend() 116 dst.y = pos0.y * weight0 + pos1.y * weight1; in transformBlend() 117 dst.z = pos0.z * weight0 + pos1.z * weight1; in transformBlend() 118 dst.w = pos0.w * weight0 + pos1.w * weight1; in transformBlend() 125 Vector4f pos1; in transformBlend() local 129 pos1 = transform(src, matrix, index1, homogeneous); in transformBlend() 132 dst.x = pos0.x * weight0 + pos1.x * weight1 + pos2.x * weight2; in transformBlend() 133 dst.y = pos0.y * weight0 + pos1.y * weight1 + pos2.y * weight2; in transformBlend() [all …]
|
/external/python/apitools/apitools/base/protorpclite/ |
D | util_test.py | 62 def fn(pos1, pos2=1, kwonly=1): argument 63 return [pos1, pos2, kwonly] 76 def meth(self, pos1, kwonly=1): argument 77 return [pos1, kwonly]
|
/external/skia/gm/ |
D | pictureimagegenerator.cpp | 73 const SkScalar pos1[] = { 0, 0.75f }; in draw_vector_logo() local 75 SkASSERT(SK_ARRAY_COUNT(pos1) == SK_ARRAY_COUNT(colors1)); in draw_vector_logo() 76 paint.setShader(SkGradientShader::MakeLinear(pts1, colors1, pos1, SK_ARRAY_COUNT(pos1), in draw_vector_logo()
|
/external/skqp/gm/ |
D | pictureimagegenerator.cpp | 73 const SkScalar pos1[] = { 0, 0.75f }; in draw_vector_logo() local 75 SkASSERT(SK_ARRAY_COUNT(pos1) == SK_ARRAY_COUNT(colors1)); in draw_vector_logo() 76 paint.setShader(SkGradientShader::MakeLinear(pts1, colors1, pos1, SK_ARRAY_COUNT(pos1), in draw_vector_logo()
|
/external/libcxx/test/std/strings/basic.string/string.ops/string_compare/ |
D | size_size_pointer.pass.cpp | 33 test(const S& s, typename S::size_type pos1, typename S::size_type n1, in test() argument 36 if (pos1 <= s.size()) in test() 37 assert(sign(s.compare(pos1, n1, str)) == sign(x)); in test() 43 TEST_IGNORE_NODISCARD s.compare(pos1, n1, str); in test() 48 assert(pos1 > s.size()); in test()
|
/external/icu/icu4c/source/test/cintltst/ |
D | custrtst.c | 1191 int32_t i, pos1, pos2, middle, length; in compareIterators() local 1205 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators() 1206 if(pos1!=middle) { in compareIterators() 1207 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators() 1246 pos1=iter1->move(iter1, 0, UITER_START); in compareIterators() 1247 if(pos1<0) { in compareIterators() 1285 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators() 1286 if(pos1!=middle) { in compareIterators() 1287 … log_err("%s->move(from end to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators() 1298 pos1=iter1->move(iter1, 1, UITER_ZERO); in compareIterators() [all …]
|