/external/libchrome/base/strings/ |
utf_string_conversions.cc | 26 size_t src_len, 30 int32_t src_len32 = static_cast<int32_t>(src_len); 48 bool WideToUTF8(const wchar_t* src, size_t src_len, std::string* output) { 49 if (IsStringASCII(std::wstring(src, src_len))) { 50 output->assign(src, src + src_len); 53 PrepareForUTF8Output(src, src_len, output); 54 return ConvertUnicode(src, src_len, output); 69 bool UTF8ToWide(const char* src, size_t src_len, std::wstring* output) { 70 if (IsStringASCII(StringPiece(src, src_len))) { 71 output->assign(src, src + src_len); [all...] |
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,
|
utf_string_conversion_utils.cc | 14 int32_t src_len, 21 CBU8_NEXT(src, *char_index, src_len, code_point); 33 int32_t src_len, 38 *char_index + 1 >= src_len || 58 int32_t /* src_len */, 109 size_t src_len, 112 if (src_len == 0) 116 output->reserve(src_len); 119 output->reserve(src_len * 3); 129 size_t src_len, [all...] |
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/ |
utf_string_conversion_utils.cc | 14 int32_t src_len, 21 CBU8_NEXT(src, *char_index, src_len, code_point); 59 size_t src_len, 62 if (src_len == 0) 66 output->reserve(src_len); 69 output->reserve(src_len * 3); 75 size_t src_len, 78 if (src_len == 0) 82 output->reserve(src_len); 86 output->reserve(src_len / 2) [all...] |
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);
|
/system/core/libmincrypt/ |
dsa_sig.c | 36 int src_len) { 38 while (*src == '\0' && src_len > 0) { 40 src_len--; 42 if (src_len > P256_NBYTES || src_len < 1) { 45 dst_offset = P256_NBYTES - src_len; 47 memcpy(dst + dst_offset, src, src_len);
|
/external/curl/tests/server/ |
getpart.c | 156 size_t src_len = strlen(src_buf); local 158 if(!src_len) 161 need_alloc = src_len + *dst_len + 1; 164 if(src_buf[src_len - 1] == '\r') 165 src_len--; 167 if(src_buf[src_len - 1] == '\n') 168 src_len--; 183 memcpy(*dst_buf + *dst_len, src_buf, src_len); 184 *dst_len += src_len; 195 size_t src_len = 0 local [all...] |
/system/core/include/utils/ |
Unicode.h | 54 ssize_t utf32_to_utf8_length(const char32_t *src, size_t src_len); 65 * "src_len" == 2 74 * "src_len" == 2 84 * "src_len" == 2 91 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst); 95 * Returns -1 when the index is invalid (equals to or more than "src_len"). 100 int32_t utf32_from_utf8_at(const char *src, size_t src_len, size_t index, size_t *next_index); 106 ssize_t utf16_to_utf8_length(const char16_t *src, size_t src_len); 113 void utf16_to_utf8(const char16_t* src, size_t src_len, char* dst); 136 size_t utf8_to_utf32_length(const char *src, size_t src_len); [all...] |
/external/libvncserver/common/ |
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,
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
fib_rules.h | 20 __u8 src_len; member in struct:fib_rule_hdr
|
/bionic/libc/bionic/ |
__stpcpy_chk.cpp | 48 size_t src_len = strlen(src) + 1; local 49 if (__predict_false(src_len > dest_len)) {
|
__strcpy_chk.cpp | 48 size_t src_len = strlen(src) + 1; local 49 if (__predict_false(src_len > dest_len)) {
|
__stpncpy_chk.cpp | 65 size_t n, size_t dest_len, size_t src_len) 86 if (__predict_false(s_copy_len > src_len)) {
|
__strncpy_chk.cpp | 65 size_t n, size_t dest_len, size_t src_len) 86 if (__predict_false(s_copy_len > src_len)) {
|
/system/core/libutils/ |
Unicode.cpp | 153 int32_t utf32_from_utf8_at(const char *src, size_t src_len, size_t index, size_t *next_index) 155 if (index >= src_len) { 171 ssize_t utf32_to_utf8_length(const char32_t *src, size_t src_len) 173 if (src == NULL || src_len == 0) { 178 const char32_t *end = src + src_len; 185 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst) 187 if (src == NULL || src_len == 0 || dst == NULL) { 192 const char32_t *end_utf32 = src + src_len; 351 void utf16_to_utf8(const char16_t* src, size_t src_len, char* dst) 353 if (src == NULL || src_len == 0 || dst == NULL) [all...] |
/external/pdfium/core/src/fxcodec/codec/ |
fx_codec_progress.h | 32 int src_len,
52 void Calc(int dest_len, int src_len, FX_BOOL bInterpol);
68 void Calc(int dest_len, int src_len);
|
/external/valgrind/coregrind/m_debuginfo/ |
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,
|
/bootable/recovery/applypatch/ |
imgpatch.cpp | 90 size_t src_len = Read8(normal_header+8); local 93 if (src_start + src_len > static_cast<size_t>(old_size)) { 97 ApplyBSDiffPatch(old_data + src_start, src_len, 130 size_t src_len = Read8(deflate_header+8); local 139 if (src_start + src_len > static_cast<size_t>(old_size)) { 162 strm.avail_in = src_len;
|
/bionic/tests/ |
wchar_test.cpp | 491 size_t src_len = NUM_WCHARS(sizeof(src)) - 1; local 492 EXPECT_EQ(dst + src_len, wcpncpy(dst, src, src_len + 1)); 500 EXPECT_EQ(dst + src_len, wcpncpy(dst, src, src_len + 4)); 502 EXPECT_EQ(dst[src_len], L'\0'); 503 EXPECT_EQ(dst[src_len+1], L'\0'); 504 EXPECT_EQ(dst[src_len+2], L'\0'); 505 EXPECT_EQ(dst[src_len+3], L'\0'); 506 EXPECT_EQ(dst[src_len+4], L'x') 521 size_t src_len = NUM_WCHARS(sizeof(src)) - 1; local [all...] |
/external/iproute2/include/linux/ |
fib_rules.h | 21 __u8 src_len; member in struct:fib_rule_hdr
|
/external/kernel-headers/original/uapi/linux/ |
fib_rules.h | 21 __u8 src_len; member in struct:fib_rule_hdr
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
fib_rules.h | 21 __u8 src_len; member in struct:fib_rule_hdr
|
/external/valgrind/none/tests/s390x/ |
mvcl.c | 159 run_test(void *dst, uint32_t dst_len, void *src, uint32_t src_len, uint32_t pad) 163 result = mvcl(dst, dst_len, src, src_len, pad); 175 uint32_t dst_offset, dst_len, src_offset, src_len; local 267 for (src_len = 0; src_len <= sizeof buf - src_offset; ++src_len) 268 run_test(buf + dst_offset, dst_len, buf + src_offset, src_len, 'x');
|
/external/boringssl/src/crypto/base64/ |
base64.c | 177 size_t EVP_EncodeBlock(uint8_t *dst, const uint8_t *src, size_t src_len) { 179 size_t remaining = src_len, ret = 0; 430 int EVP_DecodeBlock(uint8_t *dst, const uint8_t *src, size_t src_len) { 434 while (conv_ascii2bin(*src) == B64_WS && src_len > 0) { 436 src_len--; 441 while (src_len > 3 && B64_NOT_BASE64(conv_ascii2bin(src[src_len - 1]))) { 442 src_len--; 445 if (!EVP_DecodedLength(&dst_len, src_len) || dst_len > INT_MAX) { 448 if (!EVP_DecodeBase64(dst, &dst_len, dst_len, src, src_len)) { [all...] |