Home
last modified time | relevance | path

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

/external/chromium_org/base/android/
Djni_array_unittest.cc16 const size_t kLen = arraysize(kBytes); in TEST() local
18 ScopedJavaLocalRef<jbyteArray> bytes = ToJavaByteArray(env, kBytes, kLen); in TEST()
24 EXPECT_EQ(std::vector<uint8>(kBytes, kBytes + kLen), vec); in TEST()
49 const size_t kLen = arraysize(kInts); in TEST() local
52 CheckIntConversion(env, kInts, kLen, ToJavaIntArray(env, kInts, kLen)); in TEST()
54 const std::vector<int> vec(kInts, kInts + kLen); in TEST()
55 CheckIntConversion(env, kInts, kLen, ToJavaIntArray(env, vec)); in TEST()
77 const size_t kLen = arraysize(kLongs); in TEST() local
80 CheckLongConversion(env, kLongs, kLen, ToJavaLongArray(env, kLongs, kLen)); in TEST()
82 const std::vector<int64> vec(kLongs, kLongs + kLen); in TEST()
[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.cc217 const int kLen = 16 * 1024; in SharedPrintfCode() local
232 buffer = (char*)MmapOrDie(kLen, "Report"); in SharedPrintfCode()
233 buffer_size = kLen; in SharedPrintfCode()
243 RAW_CHECK_MSG(needed_length < kLen, "Buffer in Report is too short!\n"); in SharedPrintfCode()
252 RAW_CHECK_MSG(needed_length < kLen, "Buffer in Report is too short!\n"); in SharedPrintfCode()
/external/icu4c/test/cintltst/
Dccolltst.c58 uint32_t kLen = (uint32_t)strlen((const char *)sourceKey); in dumpSk() local
63 for(i = 0; i<kLen; i++) { in dumpSk()
Dcmsccoll.c4932 int32_t rLen, tLen, ruleLen, sLen, kLen; in TestVI5913() local
5041 kLen=ucol_getSortKey(coll, tailorData[0], tLen, expColl, 100); in TestVI5913()
5045 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
5058 kLen=ucol_getSortKey(coll, tailorData2[0], tLen, expColl, 100); in TestVI5913()
5062 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
5075 kLen=ucol_getSortKey(coll, tailorData3[3], tLen, expColl, 100); in TestVI5913()
5080 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dccolltst.c56 uint32_t kLen = (uint32_t)strlen((const char *)sourceKey); in dumpSk() local
61 for(i = 0; i<kLen; i++) { in dumpSk()
Dcmsccoll.c4913 int32_t rLen, tLen, ruleLen, sLen, kLen; in TestVI5913() local
5022 kLen=ucol_getSortKey(coll, tailorData[0], tLen, expColl, 100); in TestVI5913()
5026 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
5039 kLen=ucol_getSortKey(coll, tailorData2[0], tLen, expColl, 100); in TestVI5913()
5043 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
5056 kLen=ucol_getSortKey(coll, tailorData3[3], tLen, expColl, 100); in TestVI5913()
5061 if ( kLen!=rLen || uprv_memcmp(expColl, resColl, rLen*sizeof(uint8_t))!=0 ) { in TestVI5913()
/external/chromium_org/third_party/icu/source/common/
Duresbund.c2727 int32_t kLen = (int32_t)uprv_strlen(k); in ures_getKeywordValues() local
2732 … ((valuesIndex+kLen+1+1) >= VALUES_BUF_SIZE)) { /* no more space in buffer (string + 2 nulls) */ in ures_getKeywordValues()
2737 valuesIndex += kLen; in ures_getKeywordValues()
/external/icu4c/common/
Duresbund.cpp2778 int32_t kLen = (int32_t)uprv_strlen(k); in ures_getKeywordValues() local
2783 … ((valuesIndex+kLen+1+1) >= VALUES_BUF_SIZE)) { /* no more space in buffer (string + 2 nulls) */ in ures_getKeywordValues()
2788 valuesIndex += kLen; in ures_getKeywordValues()
/external/chromium_org/net/third_party/nss/ssl/
Dssl3con.c9539 PRInt32 kLen; in ssl3_HandleRSAClientKeyExchange() local
9540 kLen = ssl3_ConsumeHandshakeNumber(ss, 2, &enc_pms.data, &enc_pms.len); in ssl3_HandleRSAClientKeyExchange()
9541 if (kLen < 0) { in ssl3_HandleRSAClientKeyExchange()
9545 if ((unsigned)kLen < enc_pms.len) { in ssl3_HandleRSAClientKeyExchange()
9546 enc_pms.len = kLen; in ssl3_HandleRSAClientKeyExchange()