/bionic/libc/bionic/ |
__memmove_chk.cpp | 45 size_t len, size_t dest_len) 47 if (len > dest_len) {
|
__memset_chk.cpp | 44 extern "C" void *__memset_chk (void *dest, int c, size_t n, size_t dest_len) { 45 if (n > dest_len) {
|
__strcpy_chk.cpp | 44 extern "C" char *__strcpy_chk (char *dest, const char *src, size_t dest_len) { 47 if (src_len > dest_len) {
|
__strncpy_chk.cpp | 45 size_t len, size_t dest_len) 47 if (len > dest_len) {
|
__memcpy_chk.cpp | 46 size_t copy_amount, size_t dest_len) 48 if (__builtin_expect(copy_amount > dest_len, 0)) {
|
__strcat_chk.cpp | 48 size_t dest_len = strlen(dest); local 51 // sum = src_len + dest_len + 1 (with overflow protection) 52 if (!safe_add3(&sum, src_len, dest_len, 1U)) {
|
__strncat_chk.cpp | 49 size_t dest_len = strlen(dest); local 56 // sum = src_len + dest_len + 1 (with overflow protection) 57 if (!safe_add3(&sum, src_len, dest_len, 1U)) {
|
/external/chromium/net/base/ |
gzip_filter.cc | 73 int* dest_len) { 74 if (!dest_buffer || !dest_len || *dest_len <= 0) 82 return CopyOut(dest_buffer, dest_len); 99 *dest_len = 0; 118 return CopyOut(dest_buffer, dest_len); 131 int dest_orig_size = *dest_len; 132 status = DoInflate(dest_buffer, dest_len); 140 *dest_len = dest_orig_size; 141 status = DoInflate(dest_buffer, dest_len); [all...] |
gzip_filter.h | 44 // Upon entry, *dest_len is the total size (in number of chars) of the 45 // destination buffer. Upon exit, *dest_len is the actual number of chars 49 // stream_buffer_. On the other hand, *dest_len can be 0 upon successful 52 virtual FilterStatus ReadFilteredData(char* dest_buffer, int* dest_len); 97 FilterStatus DoInflate(char* dest_buffer, int* dest_len);
|
filter.cc | 87 Filter::FilterStatus Filter::ReadData(char* dest_buffer, int* dest_len) { 88 const int dest_buffer_capacity = *dest_len; 92 return last_status_ = ReadFilteredData(dest_buffer, dest_len); 94 return next_filter_->ReadData(dest_buffer, dest_len); 102 *dest_len = dest_buffer_capacity; // Reset the input/output parameter. 103 next_filter_->ReadData(dest_buffer, dest_len); 118 0 == *dest_len); 328 Filter::FilterStatus Filter::CopyOut(char* dest_buffer, int* dest_len) { 330 int input_len = *dest_len; 331 *dest_len = 0 [all...] |
filter.h | 158 FilterStatus ReadData(char* dest_buffer, int* dest_len); 208 // Upon entry, *dest_len is the total size (in number of chars) of the 209 // destination buffer. Upon exit, *dest_len is the actual number of chars 213 // stream_buffer_. On the other hand, *dest_len can be 0 upon successful 216 virtual FilterStatus ReadFilteredData(char* dest_buffer, int* dest_len) = 0; 219 FilterStatus CopyOut(char* dest_buffer, int* dest_len);
|
sdch_filter.h | 40 // Upon entry, *dest_len is the total size (in number of chars) of the 41 // destination buffer. Upon exit, *dest_len is the actual number of chars 43 virtual FilterStatus ReadFilteredData(char* dest_buffer, int* dest_len);
|
sdch_filter.cc | 146 int* dest_len) { 147 int available_space = *dest_len; 148 *dest_len = 0; // Nothing output yet. 259 *dest_len += amount; 280 *dest_len += available_space; 306 *dest_len += amount;
|
gzip_filter_unittest.cc | 118 char* dest, int* dest_len) { 140 zlib_stream.avail_out = *dest_len; 153 *dest_len = *dest_len - zlib_stream.avail_out; 216 // Dest is the buffer for decoding results. Upon entry, *dest_len is the size 217 // of the dest buffer. Upon exit, *dest_len is the number of chars written 220 char* dest, int* dest_len) { 223 return filter->ReadData(dest, dest_len);
|
/external/regex-re2/util/ |
strutil.cc | 18 int dest_len) { 23 if (dest_len - used < 2) // Need space for two letter escape 39 if (dest_len - used < 4) // need space for 4 letter escape 49 if (dest_len - used < 1) // make sure that there is room for \0
|
/hardware/qcom/media/mm-video/vidc/vdec/src/ |
frameparser.cpp | 149 OMX_U32 dest_len =0, source_len = 0, temp_len = 0; local 159 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 165 if ((start_code == H263_start_code && dest_len < 3) || 166 (start_code != H263_start_code && dest_len < 4) || (source_len == 0)) 168 DEBUG_PRINT_LOW("\n FrameParser: dest_len %d source_len %d",dest_len,source_len); 211 && parse_state != A4 && parse_state != A5 && dest_len > 0 240 dest_len--; 248 dest_len -= 2; 256 dest_len -= 3 525 OMX_U32 dest_len =0, source_len = 0, temp_len = 0,parsed_length = 0; local [all...] |
/external/valgrind/main/memcheck/tests/s390x/ |
cu21.c | 45 register uint64_t dest_len asm("3") = dst_len; 49 : "+d"(dest), "+d"(source), "+d"(source_len), "+d"(dest_len)
|
cu42.c | 31 register uint64_t dest_len asm("3") = dst_len; 35 : "+d"(dest), "+d"(source), "+d"(source_len), "+d"(dest_len)
|
/external/valgrind/main/none/tests/s390x/ |
cu24.c | 64 register uint64_t dest_len asm("3") = dst_len; 71 "+d"(source_len), "+d"(dest_len) 77 regs.len1 = dest_len;
|
cu24_1.c | 64 register uint64_t dest_len asm("3") = dst_len; 71 "+d"(source_len), "+d"(dest_len) 77 regs.len1 = dest_len;
|
cu21.c | 77 register uint64_t dest_len asm("3") = dst_len; 84 "+d"(source_len), "+d"(dest_len) 90 regs.len1 = dest_len;
|
cu21_1.c | 77 register uint64_t dest_len asm("3") = dst_len; 84 "+d"(source_len), "+d"(dest_len) 90 regs.len1 = dest_len;
|
cu41.c | 78 register uint64_t dest_len asm("3") = dst_len; 85 "+d"(source_len), "+d"(dest_len) 91 regs.len1 = dest_len;
|
cu42.c | 67 register uint64_t dest_len asm("3") = dst_len; 74 "+d"(source_len), "+d"(dest_len) 80 regs.len1 = dest_len;
|
/external/icu4c/test/intltest/ |
idnaconf.cpp | 106 int dest_len = ucnv_toUChars(conv, local 116 dest = new UChar[ dest_len + 1]; 117 ucnv_toUChars(conv, dest, dest_len + 1, source, source_len, &status); 120 dest[dest_len] = 0; 121 len = dest_len;
|