HomeSort by: relevance | last modified time | path
    Searched refs:utf8_len (Results 1 - 6 of 6) sorted by relevancy

  /src/external/bsd/libfido2/dist/src/
hid_win.c 128 int utf8_len; local
138 if ((utf8_len = WideCharToMultiByte(CP_UTF8, WC_ERR_INVALID_CHARS, buf,
139 -1, NULL, 0, NULL, NULL)) <= 0 || utf8_len > 128) {
144 if ((*manufacturer = malloc((size_t)utf8_len)) == NULL) {
150 *manufacturer, utf8_len, NULL, NULL) != utf8_len) {
169 int utf8_len; local
179 if ((utf8_len = WideCharToMultiByte(CP_UTF8, WC_ERR_INVALID_CHARS, buf,
180 -1, NULL, 0, NULL, NULL)) <= 0 || utf8_len > 128) {
185 if ((*product = malloc((size_t)utf8_len)) == NULL)
    [all...]
  /src/external/gpl3/gcc/dist/gcc/
pretty-print.cc 2397 size_t utf8_len = 0;
2401 utf8_len++;
2403 if (utf8_len > len || utf8_len < 2 || utf8_len > 6)
2408 ch = *p & ((1 << (7 - utf8_len)) - 1);
2409 for (i = 1; i < utf8_len; i++)
2419 if ( (ch <= 0x7F && utf8_len > 1)
2420 || (ch <= 0x7FF && utf8_len > 2)
2421 || (ch <= 0xFFFF && utf8_len > 3
2396 size_t utf8_len = 0; local
2466 size_t utf8_len = decode_utf8_char (&uid[i], idlen - i, &c); local
2590 size_t utf8_len = decode_utf8_char (&uid[i], idlen - i, &c); local
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/
pretty-print.cc 1958 size_t utf8_len = 0;
1962 utf8_len++;
1964 if (utf8_len > len || utf8_len < 2 || utf8_len > 6)
1969 ch = *p & ((1 << (7 - utf8_len)) - 1);
1970 for (i = 1; i < utf8_len; i++)
1980 if ( (ch <= 0x7F && utf8_len > 1)
1981 || (ch <= 0x7FF && utf8_len > 2)
1982 || (ch <= 0xFFFF && utf8_len > 3
1957 size_t utf8_len = 0; local
2027 size_t utf8_len = decode_utf8_char (&uid[i], idlen - i, &c); local
2151 size_t utf8_len = decode_utf8_char (&uid[i], idlen - i, &c); local
    [all...]
  /src/external/gpl3/binutils/dist/binutils/
strings.c 722 unsigned int utf8_len;
728 utf8_len = 2;
731 utf8_len = 3;
734 utf8_len = 4;
748 switch (utf8_len)
780 for (j = 0; j < utf8_len; j++)
790 return utf8_len;
718 unsigned int utf8_len; local
  /src/external/gpl3/binutils.old/dist/binutils/
strings.c 722 unsigned int utf8_len;
728 utf8_len = 2;
731 utf8_len = 3;
734 utf8_len = 4;
748 switch (utf8_len)
780 for (j = 0; j < utf8_len; j++)
790 return utf8_len;
718 unsigned int utf8_len; local
  /src/external/mit/libuv/dist/src/win/
util.c 98 size_t utf8_len, utf16_buffer_len, utf16_len; local
126 utf8_len = *size_ptr - 1; /* Reserve space for NUL */
127 err = uv_utf16_to_wtf8(utf16_buffer, utf16_len, &buffer, &utf8_len);
129 utf8_len = *size_ptr - 1;
132 *size_ptr = utf8_len;
1072 size_t utf8_len = 0; local
1078 return uv_utf16_to_wtf8(utf16, utf16len, utf8, &utf8_len);

Completed in 22 milliseconds