Searched refs:my_unichar (Results 1 – 1 of 1) sorted by relevance
/haiku/src/kits/storage/mime/ |
H A D | TextSnifferAddon.cpp | 128 typedef unsigned long my_unichar; typedef 134 static int looks_ascii(const unsigned char *, size_t, my_unichar *, size_t *); 135 static int looks_utf8(const unsigned char *, size_t, my_unichar *, size_t *); 136 static int looks_unicode(const unsigned char *, size_t, my_unichar *, size_t *); 137 static int looks_latin1(const unsigned char *, size_t, my_unichar *, size_t *); 138 static int looks_extended(const unsigned char *, size_t, my_unichar *, size_t *); 140 static int ascmatch(const unsigned char *, const my_unichar *, size_t); 149 my_unichar *ubuf = NULL; in file_ascmagic() 175 if ((ubuf = (my_unichar*)malloc((nbytes + 1) * sizeof(ubuf[0]))) == NULL) in file_ascmagic() 239 my_unichar *tp = ubuf + 1; in file_ascmagic() [all …]
|