Searched refs:encodeLength (Results 1 – 7 of 7) sorted by relevance
/external/skia/tests/ |
D | SkBase64Test.cpp | 24 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/ |
D | SkBase64Test.cpp | 21 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/ |
D | MemoryCache.cpp | 15 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/ |
D | ResourceString.java | 98 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/ |
D | MemoryCache.cpp | 22 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/ |
D | ocspclient.py | 34 def encodeLength(self, *args): member in ValueOnlyBitStringEncoder
|
/external/python/pyasn1/pyasn1/codec/ber/ |
D | encoder.py | 53 def encodeLength(self, length, defMode): member in AbstractItemEncoder 131 header += self.encodeLength(len(substrate), defModeOverride)
|