Coverage Report

Created: 2023-02-15 06:24

/proc/self/cwd/external/utf8_range/utf8_range.h
Line
Count
Source (jump to first uncovered line)
1
#ifndef THIRD_PARTY_UTF8_RANGE_UTF8_RANGE_H_
2
#define THIRD_PARTY_UTF8_RANGE_UTF8_RANGE_H_
3
4
#ifdef __cplusplus
5
extern "C" {
6
#endif
7
8
#if (defined(__ARM_NEON) && defined(__aarch64__)) || defined(__SSE4_1__)
9
int utf8_range2(const unsigned char* data, int len);
10
#else
11
int utf8_naive(const unsigned char* data, int len);
12
0
static inline int utf8_range2(const unsigned char* data, int len) {
13
0
  return utf8_naive(data, len);
14
0
}
15
#endif
16
17
#ifdef __cplusplus
18
}  // extern "C"
19
#endif
20
21
#endif  // THIRD_PARTY_UTF8_RANGE_UTF8_RANGE_H_