/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/syslinux/lzo/include/lzo/ |
D | lzo1b.h | 60 lzo1b_compress ( const lzo_bytep src, lzo_uint src_len, 67 lzo1b_decompress ( const lzo_bytep src, lzo_uint src_len, 73 lzo1b_decompress_safe ( const lzo_bytep src, lzo_uint src_len, 83 lzo1b_1_compress ( const lzo_bytep src, lzo_uint src_len, 87 lzo1b_2_compress ( const lzo_bytep src, lzo_uint src_len, 91 lzo1b_3_compress ( const lzo_bytep src, lzo_uint src_len, 95 lzo1b_4_compress ( const lzo_bytep src, lzo_uint src_len, 99 lzo1b_5_compress ( const lzo_bytep src, lzo_uint src_len, 103 lzo1b_6_compress ( const lzo_bytep src, lzo_uint src_len, 107 lzo1b_7_compress ( const lzo_bytep src, lzo_uint src_len, [all …]
|
D | lzo1c.h | 60 lzo1c_compress ( const lzo_bytep src, lzo_uint src_len, 67 lzo1c_decompress ( const lzo_bytep src, lzo_uint src_len, 73 lzo1c_decompress_safe ( const lzo_bytep src, lzo_uint src_len, 83 lzo1c_1_compress ( const lzo_bytep src, lzo_uint src_len, 87 lzo1c_2_compress ( const lzo_bytep src, lzo_uint src_len, 91 lzo1c_3_compress ( const lzo_bytep src, lzo_uint src_len, 95 lzo1c_4_compress ( const lzo_bytep src, lzo_uint src_len, 99 lzo1c_5_compress ( const lzo_bytep src, lzo_uint src_len, 103 lzo1c_6_compress ( const lzo_bytep src, lzo_uint src_len, 107 lzo1c_7_compress ( const lzo_bytep src, lzo_uint src_len, [all …]
|
D | lzo_asm.h | 59 (const lzo_bytep src, lzo_uint src_len, 63 (const lzo_bytep src, lzo_uint src_len, 68 (const lzo_bytep src, lzo_uint src_len, 72 (const lzo_bytep src, lzo_uint src_len, 77 (const lzo_bytep src, lzo_uint src_len, 81 (const lzo_bytep src, lzo_uint src_len, 85 (const lzo_bytep src, lzo_uint src_len, 89 (const lzo_bytep src, lzo_uint src_len, 94 (const lzo_bytep src, lzo_uint src_len, 98 (const lzo_bytep src, lzo_uint src_len, [all …]
|
D | lzo1x.h | 56 lzo1x_decompress ( const lzo_bytep src, lzo_uint src_len, 62 lzo1x_decompress_safe ( const lzo_bytep src, lzo_uint src_len, 74 lzo1x_1_compress ( const lzo_bytep src, lzo_uint src_len, 87 lzo1x_1_11_compress ( const lzo_bytep src, lzo_uint src_len, 96 lzo1x_1_12_compress ( const lzo_bytep src, lzo_uint src_len, 105 lzo1x_1_15_compress ( const lzo_bytep src, lzo_uint src_len, 117 lzo1x_999_compress ( const lzo_bytep src, lzo_uint src_len, 127 lzo1x_999_compress_dict ( const lzo_bytep src, lzo_uint src_len, 133 lzo1x_999_compress_level ( const lzo_bytep src, lzo_uint src_len, 141 lzo1x_decompress_dict_safe ( const lzo_bytep src, lzo_uint src_len, [all …]
|
D | lzo1y.h | 56 lzo1y_decompress ( const lzo_bytep src, lzo_uint src_len, 62 lzo1y_decompress_safe ( const lzo_bytep src, lzo_uint src_len, 72 lzo1y_1_compress ( const lzo_bytep src, lzo_uint src_len, 84 lzo1y_999_compress ( const lzo_bytep src, lzo_uint src_len, 95 lzo1y_999_compress_dict ( const lzo_bytep src, lzo_uint src_len, 101 lzo1y_999_compress_level ( const lzo_bytep src, lzo_uint src_len, 109 lzo1y_decompress_dict_safe ( const lzo_bytep src, lzo_uint src_len, 120 lzo1y_optimize ( lzo_bytep src, lzo_uint src_len,
|
D | lzo1z.h | 54 lzo1z_decompress ( const lzo_bytep src, lzo_uint src_len, 60 lzo1z_decompress_safe ( const lzo_bytep src, lzo_uint src_len, 72 lzo1z_999_compress ( const lzo_bytep src, lzo_uint src_len, 82 lzo1z_999_compress_dict ( const lzo_bytep src, lzo_uint src_len, 88 lzo1z_999_compress_level ( const lzo_bytep src, lzo_uint src_len, 96 lzo1z_decompress_dict_safe ( const lzo_bytep src, lzo_uint src_len,
|
D | lzo1f.h | 55 lzo1f_decompress ( const lzo_bytep src, lzo_uint src_len, 61 lzo1f_decompress_safe ( const lzo_bytep src, lzo_uint src_len, 71 lzo1f_1_compress ( const lzo_bytep src, lzo_uint src_len, 83 lzo1f_999_compress ( const lzo_bytep src, lzo_uint src_len,
|
D | lzo2a.h | 49 lzo2a_decompress ( const lzo_bytep src, lzo_uint src_len, 55 lzo2a_decompress_safe ( const lzo_bytep src, lzo_uint src_len, 67 lzo2a_999_compress ( const lzo_bytep src, lzo_uint src_len,
|
D | lzo1.h | 54 lzo1_compress ( const lzo_bytep src, lzo_uint src_len, 59 lzo1_decompress ( const lzo_bytep src, lzo_uint src_len, 71 lzo1_99_compress ( const lzo_bytep src, lzo_uint src_len,
|
D | lzo1a.h | 54 lzo1a_compress ( const lzo_bytep src, lzo_uint src_len, 59 lzo1a_decompress ( const lzo_bytep src, lzo_uint src_len, 71 lzo1a_99_compress ( const lzo_bytep src, lzo_uint src_len,
|
/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/libconstrainedcrypto/ |
D | dsa_sig.c | 36 int src_len) { in trim_to_p256_bytes() argument 38 while (*src == '\0' && src_len > 0) { in trim_to_p256_bytes() 40 src_len--; in trim_to_p256_bytes() 42 if (src_len > P256_NBYTES || src_len < 1) { in trim_to_p256_bytes() 45 dst_offset = P256_NBYTES - src_len; in trim_to_p256_bytes() 47 memcpy(dst + dst_offset, src, src_len); in trim_to_p256_bytes()
|
/external/syslinux/lzo/src/ |
D | lzo1x_d2.c | 38 (const lzo_bytep src, lzo_uint src_len, 42 (const lzo_bytep src, lzo_uint src_len, in lzo1x_decompress_asm_safe() argument 46 return lzo1x_decompress_safe(src, src_len, dst, dst_len, wrkmem); in lzo1x_decompress_asm_safe() 49 (const lzo_bytep src, lzo_uint src_len, 53 (const lzo_bytep src, lzo_uint src_len, in lzo1x_decompress_asm_fast_safe() argument 57 return lzo1x_decompress_safe(src, src_len, dst, dst_len, wrkmem); in lzo1x_decompress_asm_fast_safe()
|
/external/strace/tests-mx32/ |
D | hexquote_strndup.c | 37 hexquote_strndup(const char *src, const size_t src_len) in hexquote_strndup() argument 39 const size_t dst_size = 4 * src_len + 1; in hexquote_strndup() 40 assert(dst_size > src_len); in hexquote_strndup() 48 for (i = 0; i < src_len; ++i) { in hexquote_strndup()
|
/external/strace/tests-m32/ |
D | hexquote_strndup.c | 37 hexquote_strndup(const char *src, const size_t src_len) in hexquote_strndup() argument 39 const size_t dst_size = 4 * src_len + 1; in hexquote_strndup() 40 assert(dst_size > src_len); in hexquote_strndup() 48 for (i = 0; i < src_len; ++i) { in hexquote_strndup()
|
/external/strace/tests/ |
D | hexquote_strndup.c | 37 hexquote_strndup(const char *src, const size_t src_len) in hexquote_strndup() argument 39 const size_t dst_size = 4 * src_len + 1; in hexquote_strndup() 40 assert(dst_size > src_len); in hexquote_strndup() 48 for (i = 0; i < src_len; ++i) { in hexquote_strndup()
|
/external/boringssl/src/crypto/base64/ |
D | base64.c | 210 size_t EVP_EncodeBlock(uint8_t *dst, const uint8_t *src, size_t src_len) { in EVP_EncodeBlock() argument 212 size_t remaining = src_len, ret = 0; in EVP_EncodeBlock() 426 int EVP_DecodeBlock(uint8_t *dst, const uint8_t *src, size_t src_len) { in EVP_DecodeBlock() argument 428 while (src_len > 0) { in EVP_DecodeBlock() 434 src_len--; in EVP_DecodeBlock() 438 while (src_len > 0) { in EVP_DecodeBlock() 439 switch (src[src_len-1]) { in EVP_DecodeBlock() 444 src_len--; in EVP_DecodeBlock() 452 if (!EVP_DecodedLength(&dst_len, src_len) || in EVP_DecodeBlock() 454 !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,
|
/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,
|
/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.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()
|