Home
last modified time | relevance | path

Searched refs:kLen (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddsp_helper_unittest.cc20 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 …]
Dsync_buffer_unittest.cc19 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/libmojo/base/android/
Djni_array_unittest.cc22 const size_t kLen = arraysize(kBytes); in TEST() local
24 ScopedJavaLocalRef<jbyteArray> bytes = ToJavaByteArray(env, kBytes, kLen); in TEST()
27 std::vector<uint8_t> inputVector(kBytes, kBytes + kLen); in TEST()
38 std::vector<uint8_t> expected_vec(kBytes, kBytes + kLen); in TEST()
44 expected_vec.insert(expected_vec.end(), kBytes, kBytes + kLen); in TEST()
68 const size_t kLen = arraysize(kInts); in TEST() local
71 CheckIntConversion(env, kInts, kLen, ToJavaIntArray(env, kInts, kLen)); in TEST()
73 const std::vector<int> vec(kInts, kInts + kLen); in TEST()
74 CheckIntConversion(env, kInts, kLen, ToJavaIntArray(env, vec)); in TEST()
96 const size_t kLen = arraysize(kLongs); in TEST() local
[all …]
/external/compiler-rt/lib/asan/tests/
Dasan_benchmarks_test.cc45 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/
Dsanitizer_printf.cc234 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/
Dccolltst.c60 uint32_t kLen = (uint32_t)strlen((const char *)sourceKey); in dumpSk() local
65 for(i = 0; i<kLen; i++) { in dumpSk()
Dcmsccoll.c3586 int32_t rLen, tLen, ruleLen, sLen, kLen; in TestVI5913() local
3706 kLen=ucol_getSortKey(coll, tailorData[0], tLen, expColl, 100); in TestVI5913()
3710 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
3723 kLen=ucol_getSortKey(coll, tailorData2[0], tLen, expColl, 100); in TestVI5913()
3727 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
3740 kLen=ucol_getSortKey(coll, tailorData3[3], tLen, expColl, 100); in TestVI5913()
3742 for(i = 0; i<kLen; i++) { in TestVI5913()
3749 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
/external/icu/icu4c/source/common/
Dbrkiter.cpp413 int32_t kLen = loc.getKeywordValue("lb", lbKeyValue, kKeyValueLenMax, kvStatus); in makeInstance() local
414 …if (U_SUCCESS(kvStatus) && kLen > 0 && (uprv_strcmp(lbKeyValue,"strict")==0 || uprv_strcmp(lbKeyVa… in makeInstance()
427 int32_t kLen = loc.getKeywordValue("ss", ssKeyValue, kKeyValueLenMax, kvStatus); in makeInstance() local
428 if (U_SUCCESS(kvStatus) && kLen > 0 && uprv_strcmp(ssKeyValue,"standard")==0) { in makeInstance()
Duresbund.cpp2891 int32_t kLen = (int32_t)uprv_strlen(k); in ures_getKeywordValues() local
2893 … ((valuesIndex+kLen+1+1) >= VALUES_BUF_SIZE)) { /* no more space in buffer (string + 2 nulls) */ in ures_getKeywordValues()
2898 valuesIndex += kLen; in ures_getKeywordValues()
/external/lzma/CPP/7zip/Archive/7z/
D7zHandler.cpp100 const unsigned kLen = 32; in ConvertMethodIdToString() local
101 char s[kLen]; in ConvertMethodIdToString()
102 unsigned len = kLen - 1; in ConvertMethodIdToString()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DLongArray.java1540 int kLen = ks.length, kMax = ks[kLen - 1], kNext = kLen > 1 ? ks[kLen - 2] : 0; in reduceInPlace() local
/external/icu/icu4c/source/i18n/
Dnumfmt.cpp1039 int32_t kLen = loc.getKeywordValue("cf", cfKeyValue, kKeyValueLenMax, kvStatus); in internalCreateInstance() local
1040 if (U_SUCCESS(kvStatus) && kLen > 0 && uprv_strcmp(cfKeyValue,"account")==0) { in internalCreateInstance()