Home
last modified time | relevance | path

Searched refs:wstri (Results 1 – 8 of 8) sorted by relevance

/dports/lang/seed7/seed7/src/
H A Dsetpaths.c111 static void write_as_utf8 (os_charType *wstri) in write_as_utf8() argument
117 for (; *wstri != '\0'; wstri++) { in write_as_utf8()
118 if (*wstri <= 0x7F) { in write_as_utf8()
119 putchar((unsigned char) *wstri); in write_as_utf8()
120 } else if (*wstri <= 0x7FF) { in write_as_utf8()
121 putchar((unsigned char) (0xC0 | (*wstri >> 6))); in write_as_utf8()
123 } else if (*wstri >= 0xD800 && *wstri <= 0xDBFF && in write_as_utf8()
124 wstri[1] >= 0xDC00 && wstri[1] <= 0xDFFF) { in write_as_utf8()
125 utf32 = ((((unsigned long) *wstri - 0xD800) << 10) + in write_as_utf8()
127 wstri++; in write_as_utf8()
[all …]
H A Dsql_odbc.c94 static wstriType getRegularName (wstriType wstri, memSizeType wstriLength) in getRegularName() argument
103 while (*wstri != '\0') { in getRegularName()
104 if (*wstri >= 'A' && *wstri <= 'Z') { in getRegularName()
105 *destWstri = (wcharType) (*wstri - 'A' + 'a'); in getRegularName()
107 } else if (*wstri != ' ') { in getRegularName()
108 *destWstri = *wstri; in getRegularName()
111 wstri++; in getRegularName()
H A Dstriutl.c1095 register wstriType wstri; in stri_to_utf16() local
1098 wstri = out_wstri; in stri_to_utf16()
1106 wstri++; in stri_to_utf16()
1415 ch1 = *wstri; in wstri_expand()
1417 ch2 = wstri[1]; in wstri_expand()
1421 wstri++; in wstri_expand()
1936 wstriType wstri; in stri_to_wstri_buf() local
1942 wstri = NULL; in stri_to_wstri_buf()
1945 wstri[*length] = '\0'; in stri_to_wstri_buf()
1947 return wstri; in stri_to_wstri_buf()
[all …]
H A Dstriutl.h60 #define free_wstri(wstri,stri) free(wstri); argument
222 striType wstri_buf_to_stri (const_wstriType wstri, memSizeType length,
224 errInfoType conv_wstri_buf_to_cstri (cstriType cstri, const_wstriType wstri,
H A Dcon_win.c658 wstriType wstri; in doWriteConsole() local
677 !ALLOC_WSTRI(wstri, stri->size * SURROGATE_PAIR_FACTOR - in doWriteConsole()
681 wstri_size = stri_to_utf16(wstri, stri->mem, stri->size, &err_info); in doWriteConsole()
685 wstri_part = wstri; in doWriteConsole()
694 UNALLOC_WSTRI(wstri, stri->size * SURROGATE_PAIR_FACTOR - NULL_TERMINATION_LEN); in doWriteConsole()
H A Dsql_cli.c468 for (; (ch1 = *wstri) != 0; wstri++) { in wstri_to_cstri8()
470 ch2 = wstri[1]; in wstri_to_cstri8()
474 wstri++; in wstri_to_cstri8()
2470 wstriType wstri; in getWClob() local
2518 free(wstri); in getWClob()
3669 wstriType wstri; in sqlBindStri() local
4744 wstriType wstri; in sqlColumnStri() local
5564 while (*wstri != '\0') { in printWstri()
5565 if (*wstri <= 255) { in printWstri()
5566 printf("%c", (char) *wstri); in printWstri()
[all …]
H A Ddrw_x11.c2688 XChar2b *wstri; in drwText() local
2697 wstri = stri_buffer; in drwText()
2700 for (; len > 0; wstri++, strelem++, len--) { in drwText()
2705 wstri->byte1 = (*strelem >> 8) & 0xFF; in drwText()
2706 wstri->byte2 = *strelem & 0xFF; in drwText()
H A Ddrw_win.c2133 wchar_t *wstri; in drwText() local
2145 wstri = stri_buffer; in drwText()
2148 for (; len > 0; wstri++, strelem++, len--) { in drwText()
2154 *wstri = (wchar_t) *strelem; in drwText()