/external/libchrome/base/strings/ |
D | utf_string_conversions.cc | 26 size_t src_len, in ConvertUnicode() argument 30 int32_t src_len32 = static_cast<int32_t>(src_len); in ConvertUnicode() 48 bool WideToUTF8(const wchar_t* src, size_t src_len, std::string* output) { in WideToUTF8() argument 49 if (IsStringASCII(std::wstring(src, src_len))) { in WideToUTF8() 50 output->assign(src, src + src_len); in WideToUTF8() 53 PrepareForUTF8Output(src, src_len, output); in WideToUTF8() 54 return ConvertUnicode(src, src_len, output); in WideToUTF8() 69 bool UTF8ToWide(const char* src, size_t src_len, std::wstring* output) { in UTF8ToWide() argument 70 if (IsStringASCII(StringPiece(src, src_len))) { in UTF8ToWide() 71 output->assign(src, src + src_len); in UTF8ToWide() [all …]
|
D | utf_string_conversion_utils.cc | 14 int32_t src_len, in ReadUnicodeCharacter() argument 21 CBU8_NEXT(src, *char_index, src_len, code_point); in ReadUnicodeCharacter() 33 int32_t src_len, in ReadUnicodeCharacter() argument 38 *char_index + 1 >= src_len || in ReadUnicodeCharacter() 109 size_t src_len, in PrepareForUTF8Output() argument 112 if (src_len == 0) in PrepareForUTF8Output() 116 output->reserve(src_len); in PrepareForUTF8Output() 119 output->reserve(src_len * 3); in PrepareForUTF8Output() 129 size_t src_len, in PrepareForUTF16Or32Output() argument 132 if (src_len == 0) in PrepareForUTF16Or32Output() [all …]
|
D | utf_string_conversions.h | 24 BASE_EXPORT bool WideToUTF8(const wchar_t* src, size_t src_len, 27 BASE_EXPORT bool UTF8ToWide(const char* src, size_t src_len, 31 BASE_EXPORT bool WideToUTF16(const wchar_t* src, size_t src_len, 34 BASE_EXPORT bool UTF16ToWide(const char16* src, size_t src_len, 38 BASE_EXPORT bool UTF8ToUTF16(const char* src, size_t src_len, string16* output); 40 BASE_EXPORT bool UTF16ToUTF8(const char16* src, size_t src_len,
|
D | utf_string_conversion_utils.h | 44 int32_t src_len, 50 int32_t src_len, 57 int32_t src_len, 90 void PrepareForUTF8Output(const CHAR* src, size_t src_len, std::string* output); 95 void PrepareForUTF16Or32Output(const char* src, size_t src_len, STRING* output);
|
/external/libweave/third_party/chromium/base/strings/ |
D | utf_string_conversion_utils.cc | 14 int32_t src_len, in ReadUnicodeCharacter() argument 21 CBU8_NEXT(src, *char_index, src_len, code_point); in ReadUnicodeCharacter() 59 size_t src_len, in PrepareForUTF8Output() argument 62 if (src_len == 0) in PrepareForUTF8Output() 66 output->reserve(src_len); in PrepareForUTF8Output() 69 output->reserve(src_len * 3); in PrepareForUTF8Output() 75 size_t src_len, in PrepareForUTF16Or32Output() argument 78 if (src_len == 0) in PrepareForUTF16Or32Output() 82 output->reserve(src_len); in PrepareForUTF16Or32Output() 86 output->reserve(src_len / 2); in PrepareForUTF16Or32Output()
|
D | utf_string_conversion_utils.h | 45 int32_t src_len, 52 int32_t src_len, 81 void PrepareForUTF8Output(const CHAR* src, size_t src_len, std::string* output); 86 void PrepareForUTF16Or32Output(const char* src, size_t src_len, STRING* output);
|
/external/curl/tests/server/ |
D | getpart.c | 156 size_t src_len = strlen(src_buf); in appenddata() local 158 if(!src_len) in appenddata() 161 need_alloc = src_len + *dst_len + 1; in appenddata() 164 if(src_buf[src_len - 1] == '\r') in appenddata() 165 src_len--; in appenddata() 167 if(src_buf[src_len - 1] == '\n') in appenddata() 168 src_len--; in appenddata() 183 memcpy(*dst_buf + *dst_len, src_buf, src_len); in appenddata() 184 *dst_len += src_len; in appenddata() 195 size_t src_len = 0; in decodedata() local [all …]
|
/external/boringssl/src/crypto/base64/ |
D | base64.c | 177 size_t EVP_EncodeBlock(uint8_t *dst, const uint8_t *src, size_t src_len) { in EVP_EncodeBlock() argument 179 size_t remaining = src_len, ret = 0; in EVP_EncodeBlock() 430 int EVP_DecodeBlock(uint8_t *dst, const uint8_t *src, size_t src_len) { in EVP_DecodeBlock() argument 434 while (conv_ascii2bin(*src) == B64_WS && src_len > 0) { in EVP_DecodeBlock() 436 src_len--; in EVP_DecodeBlock() 441 while (src_len > 3 && B64_NOT_BASE64(conv_ascii2bin(src[src_len - 1]))) { in EVP_DecodeBlock() 442 src_len--; in EVP_DecodeBlock() 445 if (!EVP_DecodedLength(&dst_len, src_len) || dst_len > INT_MAX) { in EVP_DecodeBlock() 448 if (!EVP_DecodeBase64(dst, &dst_len, dst_len, src, src_len)) { in EVP_DecodeBlock()
|
/external/libvncserver/common/ |
D | minilzo.h | 72 lzo1x_1_compress ( const lzo_bytep src, lzo_uint src_len, 78 lzo1x_decompress ( const lzo_bytep src, lzo_uint src_len, 84 lzo1x_decompress_safe ( const lzo_bytep src, lzo_uint src_len,
|
D | lzoconf.h | 235 (__LZO_CDECL *lzo_compress_t) ( const lzo_bytep src, lzo_uint src_len, 240 (__LZO_CDECL *lzo_decompress_t) ( const lzo_bytep src, lzo_uint src_len, 245 (__LZO_CDECL *lzo_optimize_t) ( lzo_bytep src, lzo_uint src_len, 250 (__LZO_CDECL *lzo_compress_dict_t)(const lzo_bytep src, lzo_uint src_len, 256 (__LZO_CDECL *lzo_decompress_dict_t)(const lzo_bytep src, lzo_uint src_len,
|
/external/valgrind/coregrind/m_debuginfo/ |
D | minilzo.h | 87 lzo1x_1_compress ( const lzo_bytep src, lzo_uint src_len, 93 lzo1x_decompress ( const lzo_bytep src, lzo_uint src_len, 99 lzo1x_decompress_safe ( const lzo_bytep src, lzo_uint src_len,
|
D | lzoconf.h | 265 (__LZO_CDECL *lzo_compress_t) ( const lzo_bytep src, lzo_uint src_len, 270 (__LZO_CDECL *lzo_decompress_t) ( const lzo_bytep src, lzo_uint src_len, 275 (__LZO_CDECL *lzo_optimize_t) ( lzo_bytep src, lzo_uint src_len, 280 (__LZO_CDECL *lzo_compress_dict_t)(const lzo_bytep src, lzo_uint src_len, 286 (__LZO_CDECL *lzo_decompress_dict_t)(const lzo_bytep src, lzo_uint src_len,
|
/external/valgrind/none/tests/s390x/ |
D | mvcl.c | 159 run_test(void *dst, uint32_t dst_len, void *src, uint32_t src_len, uint32_t pad) in run_test() argument 163 result = mvcl(dst, dst_len, src, src_len, pad); in run_test() 175 uint32_t dst_offset, dst_len, src_offset, src_len; in main() local 267 for (src_len = 0; src_len <= sizeof buf - src_offset; ++src_len) in main() 268 run_test(buf + dst_offset, dst_len, buf + src_offset, src_len, 'x'); in main()
|
D | cu24_1.c | 55 do_cu24(uint32_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in do_cu24() argument 62 register uint64_t source_len asm("5") = src_len; in do_cu24() 86 run_test(uint32_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in run_test() argument 91 result = do_cu24(dst, dst_len, src, src_len); in run_test()
|
D | cu24.c | 55 do_cu24(uint32_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in do_cu24() argument 62 register uint64_t source_len asm("5") = src_len; in do_cu24() 86 run_test(uint32_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in run_test() argument 91 result = do_cu24(dst, dst_len, src, src_len); in run_test()
|
D | cu42.c | 58 do_cu42(uint16_t *dst, uint64_t dst_len, uint32_t *src, uint64_t src_len) in do_cu42() argument 65 register uint64_t source_len asm("5") = src_len; in do_cu42() 89 run_test(uint16_t *dst, uint64_t dst_len, uint32_t *src, uint64_t src_len) in run_test() argument 94 result = do_cu42(dst, dst_len, src, src_len); in run_test()
|
D | cu41.c | 69 do_cu41(uint8_t *dst, uint64_t dst_len, uint32_t *src, uint64_t src_len) in do_cu41() argument 76 register uint64_t source_len asm("5") = src_len; in do_cu41() 100 run_test(uint8_t *dst, uint64_t dst_len, uint32_t *src, uint64_t src_len) in run_test() argument 105 result = do_cu41(dst, dst_len, src, src_len); in run_test()
|
D | cu21_1.c | 68 do_cu21(uint8_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in do_cu21() argument 75 register uint64_t source_len asm("5") = src_len; in do_cu21() 99 run_test(uint8_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in run_test() argument 104 result = do_cu21(dst, dst_len, src, src_len); in run_test()
|
D | cu21.c | 68 do_cu21(uint8_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in do_cu21() argument 75 register uint64_t source_len asm("5") = src_len; in do_cu21() 99 run_test(uint8_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in run_test() argument 104 result = do_cu21(dst, dst_len, src, src_len); in run_test()
|
D | cu14.c | 77 do_cu14(uint32_t *dst, uint64_t dst_len, uint8_t *src, uint64_t src_len) in do_cu14() argument 84 register uint64_t source_len asm("5") = src_len; in do_cu14() 108 run_test(uint32_t *dst, uint64_t dst_len, uint8_t *src, uint64_t src_len) in run_test() argument 114 if (src_len == 0) in run_test() 117 for(i = 0; i < src_len; ++i) in run_test() 122 result = do_cu14(dst, dst_len, src, src_len); in run_test()
|
D | cu12_1.c | 77 do_cu12(uint16_t *dst, uint64_t dst_len, uint8_t *src, uint64_t src_len) in do_cu12() argument 84 register uint64_t source_len asm("5") = src_len; in do_cu12() 108 run_test(uint16_t *dst, uint64_t dst_len, uint8_t *src, uint64_t src_len) in run_test() argument 114 if (src_len == 0) in run_test() 117 for(i = 0; i < src_len; ++i) in run_test() 122 result = do_cu12(dst, dst_len, src, src_len); in run_test()
|
D | cu12.c | 77 do_cu12(uint16_t *dst, uint64_t dst_len, uint8_t *src, uint64_t src_len) in do_cu12() argument 84 register uint64_t source_len asm("5") = src_len; in do_cu12() 108 run_test(uint16_t *dst, uint64_t dst_len, uint8_t *src, uint64_t src_len) in run_test() argument 114 if (src_len == 0) in run_test() 117 for(i = 0; i < src_len; ++i) in run_test() 122 result = do_cu12(dst, dst_len, src, src_len); in run_test()
|
D | cu14_1.c | 77 do_cu14(uint32_t *dst, uint64_t dst_len, uint8_t *src, uint64_t src_len) in do_cu14() argument 84 register uint64_t source_len asm("5") = src_len; in do_cu14() 108 run_test(uint32_t *dst, uint64_t dst_len, uint8_t *src, uint64_t src_len) in run_test() argument 114 if (src_len == 0) in run_test() 117 for(i = 0; i < src_len; ++i) in run_test() 122 result = do_cu14(dst, dst_len, src, src_len); in run_test()
|
/external/valgrind/memcheck/tests/s390x/ |
D | cu21.c | 39 do_cu21(uint8_t *dst, uint64_t dst_len, uint16_t *src, uint64_t src_len) in do_cu21() argument 43 register uint64_t source_len asm("5") = src_len; in do_cu21()
|
/external/boringssl/src/include/openssl/ |
D | base64.h | 79 size_t src_len); 164 size_t src_len);
|