/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | dsp_helper_unittest.cc | 20 static const int kLen = 100; in TEST() local 21 int16_t input[kLen]; in TEST() 22 int16_t output[kLen]; in TEST() 24 for (int i = 0; i < kLen; ++i) { in TEST() 30 int increment = (16384 << 6) / kLen; in TEST() 33 int stop_factor = DspHelper::RampSignal(input, kLen, start_factor, increment, in TEST() 36 for (int i = 0; i < kLen; ++i) { in TEST() 37 EXPECT_EQ(1000 * i / kLen, output[i]); in TEST() 41 stop_factor = DspHelper::RampSignal(input, kLen, start_factor, increment); in TEST() 43 for (int i = 0; i < kLen; ++i) { in TEST() [all …]
|
D | sync_buffer_unittest.cc | 19 static const size_t kLen = 10; in TEST() local 21 SyncBuffer sync_buffer(kChannels, kLen); in TEST() 23 EXPECT_EQ(kLen, sync_buffer.Size()); in TEST() 25 EXPECT_EQ(kLen, sync_buffer.next_index()); in TEST() 28 for (size_t i = 0; i < kLen; ++i) { in TEST() 36 static const size_t kLen = 100; in TEST() local 38 SyncBuffer sync_buffer(kChannels, kLen); in TEST() 41 sync_buffer.set_next_index(kLen / 2); in TEST() 42 EXPECT_EQ(kLen / 2, sync_buffer.next_index()); in TEST() 43 sync_buffer.set_next_index(kLen); in TEST() [all …]
|
/external/compiler-rt/lib/asan/tests/ |
D | asan_benchmarks_test.cc | 45 size_t kLen = 1024; in TEST() local 46 int *int_array = new int[kLen]; in TEST() 47 ManyAccessFunc(int_array, kLen, 1 << 24); in TEST()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_printf.cc | 234 const int kLen = 16 * 1024; in SharedPrintfCode() local 249 buffer = (char*)MmapOrDie(kLen, "Report"); in SharedPrintfCode() 250 buffer_size = kLen; in SharedPrintfCode() 257 RAW_CHECK_MSG(needed_length < kLen, \ in SharedPrintfCode()
|
/external/icu/icu4c/source/test/cintltst/ |
D | ccolltst.c | 60 uint32_t kLen = (uint32_t)strlen((const char *)sourceKey); in dumpSk() local 65 for(i = 0; i<kLen; i++) { in dumpSk()
|
D | cmsccoll.c | 3583 int32_t rLen, tLen, ruleLen, sLen, kLen; in TestVI5913() local 3703 kLen=ucol_getSortKey(coll, tailorData[0], tLen, expColl, 100); in TestVI5913() 3707 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913() 3720 kLen=ucol_getSortKey(coll, tailorData2[0], tLen, expColl, 100); in TestVI5913() 3724 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913() 3737 kLen=ucol_getSortKey(coll, tailorData3[3], tLen, expColl, 100); in TestVI5913() 3739 for(i = 0; i<kLen; i++) { in TestVI5913() 3746 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
|
/external/icu/icu4c/source/common/ |
D | brkiter.cpp | 425 int32_t kLen = loc.getKeywordValue("lb", lbKeyValue, kKeyValueLenMax, kvStatus); in makeInstance() local 426 …if (U_SUCCESS(kvStatus) && kLen > 0 && (uprv_strcmp(lbKeyValue,"strict")==0 || uprv_strcmp(lbKeyVa… in makeInstance() 439 int32_t kLen = loc.getKeywordValue("ss", ssKeyValue, kKeyValueLenMax, kvStatus); in makeInstance() local 440 if (U_SUCCESS(kvStatus) && kLen > 0 && uprv_strcmp(ssKeyValue,"standard")==0) { in makeInstance()
|
D | uresbund.cpp | 2923 int32_t kLen = (int32_t)uprv_strlen(k); in ures_getKeywordValues() local 2925 … ((valuesIndex+kLen+1+1) >= VALUES_BUF_SIZE)) { /* no more space in buffer (string + 2 nulls) */ in ures_getKeywordValues() 2930 valuesIndex += kLen; in ures_getKeywordValues()
|
/external/lzma/CPP/7zip/Archive/7z/ |
D | 7zHandler.cpp | 103 const unsigned kLen = 32; in ConvertMethodIdToString() local 104 char s[kLen]; in ConvertMethodIdToString() 105 unsigned len = kLen - 1; in ConvertMethodIdToString()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | LongArray.java | 1545 int kLen = ks.length, kMax = ks[kLen - 1], kNext = kLen > 1 ? ks[kLen - 2] : 0; in reduceInPlace() local
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/ |
D | LongArray.java | 1546 int kLen = ks.length, kMax = ks[kLen - 1], kNext = kLen > 1 ? ks[kLen - 2] : 0; in reduceInPlace() local
|
/external/icu/icu4c/source/i18n/ |
D | numfmt.cpp | 1037 int32_t kLen = loc.getKeywordValue("cf", cfKeyValue, kKeyValueLenMax, kvStatus); in internalCreateInstance() local 1038 if (U_SUCCESS(kvStatus) && kLen > 0 && uprv_strcmp(cfKeyValue,"account")==0) { in internalCreateInstance()
|