Home
last modified time | relevance | path

Searched refs:encodeLength (Results 1 – 7 of 7) sorted by relevance

/external/skia/tests/
DSkBase64Test.cpp24 size_t encodeLength = SkBase64::Encode(all + offset, length, nullptr); in DEF_TEST() local
25 SkAutoTMalloc<char> src(encodeLength + 1); in DEF_TEST()
28 src[SkToInt(encodeLength)] = '\0'; in DEF_TEST()
34 err = SkBase64::Decode(src.get(), encodeLength, nullptr, &decodeLength); in DEF_TEST()
42 err = SkBase64::Decode(src.get(), encodeLength, dst, &decodeLength); in DEF_TEST()
/external/skqp/tests/
DSkBase64Test.cpp21 size_t encodeLength = SkBase64::Encode(all + offset, length, nullptr); in DEF_TEST() local
22 SkAutoTMalloc<char> src(encodeLength + 1); in DEF_TEST()
24 src[SkToInt(encodeLength)] = '\0'; in DEF_TEST()
26 tryMe.decode(src.get(), encodeLength); in DEF_TEST()
/external/skqp/tools/gpu/
DMemoryCache.cpp15 size_t encodeLength = SkBase64::Encode(data.data(), data.size(), nullptr); in data_to_str() local
17 str.resize(encodeLength); in data_to_str()
22 bool overlength = encodeLength > kMaxLength; in data_to_str()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResourceString.java98 encodeLength(output, str.length(), type); in encodeString()
100 encodeLength(output, bytes.length, type); in encodeString()
125 private static void encodeLength(ByteArrayDataOutput output, int length, Type type) { in encodeLength() method in ResourceString
/external/skia/tools/gpu/
DMemoryCache.cpp22 size_t encodeLength = SkBase64::Encode(data.data(), data.size(), nullptr); in data_to_str() local
24 str.resize(encodeLength); in data_to_str()
29 bool overlength = encodeLength > kMaxLength; in data_to_str()
/external/python/pyasn1-modules/tools/
Docspclient.py34 def encodeLength(self, *args): member in ValueOnlyBitStringEncoder
/external/python/pyasn1/pyasn1/codec/ber/
Dencoder.py53 def encodeLength(self, length, defMode): member in AbstractItemEncoder
131 header += self.encodeLength(len(substrate), defModeOverride)