MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / av_strncasecmp

Function av_strncasecmp

libavutil/avstring.c:218–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218int av_strncasecmp(const char *a, const char *b, size_t n)
219{
220 uint8_t c1, c2;
221 if (n <= 0)
222 return 0;
223 do {
224 c1 = av_tolower(*a++);
225 c2 = av_tolower(*b++);
226 } while (--n && c1 && c1 == c2);
227 return c1 - c2;
228}
229
230char *av_strireplace(const char *str, const char *from, const char *to)
231{

Callers 15

resolve_content_pathFunction · 0.85
ff_mkdir_pFunction · 0.85
ff_rtsp_connectFunction · 0.85
get_relative_urlFunction · 0.85
nist_read_headerFunction · 0.85
parse_content_encodingFunction · 0.85
process_lineFunction · 0.85
get_cookiesFunction · 0.85
ogm_chapterFunction · 0.85
data_openFunction · 0.85
ff_smil_get_attr_ptrFunction · 0.85

Calls 1

av_tolowerFunction · 0.85

Tested by

no test coverage detected