Home
last modified time | relevance | path

Searched refs:maxcode (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/
H A Dcodecvt.cc252 read_utf8_code_point(range<const C>& from, unsigned long maxcode) in read_utf8_code_point() argument
274 if (c <= maxcode) in read_utf8_code_point()
293 if (c <= maxcode) in read_utf8_code_point()
297 else if (c1 < 0xF5 && maxcode > 0xFFFF) // 4-byte sequence in read_utf8_code_point()
319 if (c <= maxcode) in read_utf8_code_point()
403 unsigned long maxcode, codecvt_mode mode) in read_utf16_code_point() argument
425 if (c <= maxcode) in read_utf16_code_point()
461 unsigned long maxcode = max_code_point, codecvt_mode mode = {}) in ucs4_in() argument
466 const char32_t codepoint = read_utf8_code_point(from, maxcode);
469 if (codepoint > maxcode) [[unlikely]]
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/
H A Dcodecvt.cc252 read_utf8_code_point(range<const C>& from, unsigned long maxcode) in read_utf8_code_point() argument
274 if (c <= maxcode) in read_utf8_code_point()
291 if (c <= maxcode) in read_utf8_code_point()
313 if (c <= maxcode) in read_utf8_code_point()
397 unsigned long maxcode, codecvt_mode mode) in read_utf16_code_point() argument
419 if (c <= maxcode) in read_utf16_code_point()
455 unsigned long maxcode = max_code_point, codecvt_mode mode = {}) in ucs4_in() argument
460 const char32_t codepoint = read_utf8_code_point(from, maxcode);
463 if (codepoint > maxcode)
474 unsigned long maxcode = max_code_point, codecvt_mode mode = {}) in ucs4_out() argument
[all …]
/netbsd-src/usr.bin/compress/
H A Dzopen.c148 #define maxcode zs->zs_maxcode macro
270 maxcode = MAXCODE(n_bits = INIT_BITS); in zwrite()
413 if (free_ent > maxcode || (clear_flg > 0)) { in output()
426 maxcode = MAXCODE(n_bits = INIT_BITS); in output()
431 maxcode = maxmaxcode; in output()
433 maxcode = MAXCODE(n_bits); in output()
494 maxcode = MAXCODE(n_bits = INIT_BITS); in zread()
575 if (clear_flg > 0 || roffset >= size || free_ent > maxcode) { in getcode()
581 if (free_ent > maxcode) { in getcode()
584 maxcode = maxmaxcode; in getcode()
[all …]
/netbsd-src/sys/dev/stbi/
H A Dstb_image.c1118 unsigned int maxcode[18]; member
1182 h->maxcode[j] = code << (16-j); in build_huffman()
1185 h->maxcode[j] = 0xffffffff; in build_huffman()
1251 if (temp < h->maxcode[k]) in decode()
2194 int maxcode[17]; member
2238 z->maxcode[i] = code << (16-i); // preshift for inner loop in zbuild_huffman()
2242 z->maxcode[16] = 0x10000; // sentinel in zbuild_huffman()
2323 if (k < z->maxcode[s]) in zhuffman_decode()