Home
last modified time | relevance | path

Searched refs:copy_length (Results 1 – 9 of 9) sorted by relevance

/external/brotli/c/enc/
Dhash.h120 size_t copy_length, size_t backward_reference_offset) { in BackwardReferenceScore() argument
121 return BROTLI_SCORE_BASE + BROTLI_LITERAL_BYTE_SCORE * (score_t)copy_length - in BackwardReferenceScore()
126 size_t copy_length) { in BackwardReferenceScoreUsingLastDistance() argument
127 return BROTLI_LITERAL_BYTE_SCORE * (score_t)copy_length + in BackwardReferenceScoreUsingLastDistance()
Dbackward_references_hq.c583 size_t copy_length = ZopfliNodeCopyLength(next); in BrotliZopfliCreateCommands() local
600 copy_length, (int)len_code - (int)copy_length, dist_code); in BrotliZopfliCreateCommands()
611 pos += copy_length; in BrotliZopfliCreateCommands()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_interceptors.cpp408 uptr copy_length = Min(size, from_length + 1); in INTERCEPTOR() local
409 ASAN_READ_RANGE(ctx, from, copy_length); in INTERCEPTOR()
414 CHECK_RANGES_OVERLAP("strncat", to, to_length + copy_length + 1, in INTERCEPTOR()
415 from, copy_length); in INTERCEPTOR()
/external/compiler-rt/lib/asan/
Dasan_interceptors.cc519 uptr copy_length = Min(size, from_length + 1); in INTERCEPTOR() local
520 ASAN_READ_RANGE(ctx, from, copy_length); in INTERCEPTOR()
525 CHECK_RANGES_OVERLAP("strncat", to, to_length + copy_length + 1, in INTERCEPTOR()
526 from, copy_length); in INTERCEPTOR()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_interceptors.cpp218 uptr copy_length = Min(size, from_length + 1); in INTERCEPTOR() local
219 MEMPROF_READ_RANGE(from, copy_length); in INTERCEPTOR()
/external/brotli/c/dec/
Dstate.h296 int copy_length; member
Ddecode.c1670 uint32_t copy_length; in ReadCommandInternal() local
1690 copy_length = BrotliReadBits24(br, v.copy_len_extra_bits); in ReadCommandInternal()
1693 !SafeReadBits(br, v.copy_len_extra_bits, &copy_length)) { in ReadCommandInternal()
1698 s->copy_length = (int)copy_length + v.copy_len_offset; in ReadCommandInternal()
1778 pos, i, s->copy_length)); in ProcessCommandsInternal()
1893 i = s->copy_length; in ProcessCommandsInternal()
/external/python/cpython3/Objects/
Dunicodeobject.c1191 Py_ssize_t copy_length; in resize_copy() local
1201 copy_length = Py_MIN(length, PyUnicode_GET_LENGTH(unicode)); in resize_copy()
1202 _PyUnicode_FastCopyCharacters(copy, 0, unicode, 0, copy_length); in resize_copy()
1211 copy_length = _PyUnicode_WSTR_LENGTH(unicode); in resize_copy()
1212 copy_length = Py_MIN(copy_length, length); in resize_copy()
1214 copy_length * sizeof(wchar_t)); in resize_copy()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc296 uptr copy_length = internal_strnlen(s, size); \
297 char *new_mem = (char *)WRAP(malloc)(copy_length + 1); \
299 COMMON_INTERCEPTOR_READ_STRING(ctx, s, Min(size, copy_length + 1)); \
301 COMMON_INTERCEPTOR_COPY_STRING(ctx, new_mem, s, copy_length); \
302 internal_memcpy(new_mem, s, copy_length); \
303 new_mem[copy_length] = '\0'; \