/titanic_41/usr/src/cmd/vi/port/ |
H A D | ex_vops2.c | 955 unsigned char multic[MULTI_BYTE_MAX+1]; local 1117 multic[0] = wchar = c; 1146 multic[0] = wchar = c; 1160 if((length = _mbftowc((char *)multic, &wchar, getkey, &Peekkey)) <= 0) { 1166 multic[0] = '\\'; 1192 strncpy(gcursor, multic, length); 1196 if((length = mbftowc((char *)multic, &wchar, getkey, &Peekkey)) <= 0) { 1198 if((length = _mbftowc((char *)multic, &wchar, getkey, &Peekkey)) <= 0) { 1203 strncpy(gcursor, multic, length); 1328 if (anyabbrs && gcursor > ogcursor && !wordch(multic) && wordch(lastchr(ogcursor, gcursor))) { [all …]
|
H A D | ex_put.c | 67 static unsigned char multic[MULTI_BYTE_MAX]; variable 390 length2 = wctomb((char *)multic, c); in flush1() 391 p = multic; in flush1() 793 unsigned char multic[MB_LEN_MAX]; in plod() local 800 length = wctomb((char *)multic, wchar); in plod() 812 (void) plodput((char)multic[0]); in plod()
|
H A D | ex_unix.c | 53 char multic[MB_LEN_MAX + 1]; in unix0() local 75 if ((len = _mbftowc(multic, &wc, getchar, &peekc)) > 0) { in unix0() 80 strncpy(up, multic, len); in unix0()
|
H A D | ex_io.c | 161 char multic[MB_LEN_MAX + 1]; in getargs() local 169 if ((len = _mbftowc(multic, &wc, getchar, &peekc)) > 0) { in getargs() 172 strncpy(cp, multic, len); in getargs() 199 if ((len = _mbftowc(multic, &wc, getchar, &peekc)) > 0) { in getargs() 202 strncpy(cp, multic, len); in getargs()
|
H A D | ex_cmds.c | 1114 char multic[MULTI_BYTE_MAX]; local 1116 length = _mbftowc(multic, &wchar, getchar, &peekc); 1119 multic[length] = '\0'; 1122 multic);
|
H A D | ex_vput.c | 428 unsigned char multic[MULTI_BYTE_MAX]; in vgoto() local 432 length = wctomb((char *)multic, c); in vgoto() 1212 unsigned char multic[MULTI_BYTE_MAX]; local 1403 bytelength = wctomb((char *)multic, c); 1404 p = multic;
|
H A D | ex_vops.c | 105 unsigned multic[MULTI_BYTE_MAX]; local 399 char multic[MULTI_BYTE_MAX]; in vmove() local
|
H A D | ex_vmain.c | 190 char multic[MULTI_BYTE_MAX]; local 192 (void)_mbftowc(multic, &wchar, getkey, &Peekkey);
|
/titanic_41/usr/src/cmd/egrep/ |
H A D | egrep.y | 300 char multic[MB_LEN_MAX]; in nextch() local 303 if ((length = _mbftowc(multic, &lc, mgetc, &d)) < 0) in nextch() 1088 char multic[MB_LEN_MAX+1]; in range() local 1095 p = multic; in range() 1099 range(p1+1, (unsigned char *)multic, length - 1)); in range() 1106 p = multic; in range() 1110 range((unsigned char *)multic, p2+1, length - 1)); in range() 1286 char multic[MB_LEN_MAX], minmax[2]; in maxmin() local 1298 multic[length] = minmax[i]; in maxmin() 1299 mbtowc(&minmax1[i], multic, MB_LEN_MAX); in maxmin() [all …]
|
/titanic_41/usr/src/cmd/pg/ |
H A D | pg.c | 858 char multic[MB_LEN_MAX]; in ttyin() local 871 if ((length = wctomb(multic, ch)) < 0) in ttyin() 873 multic[length] = 0; in ttyin() 933 (void) strncpy(sptr, multic, (size_t)length); in ttyin() 937 multic[0] = '^'; in ttyin() 938 multic[1] = ch; in ttyin() 941 p = multic; in ttyin() 1423 static char multic[MB_LEN_MAX]; local 1436 (void) strncpy(Line, multic, (size_t)savlength); 1447 length = wctomb(multic, c); [all …]
|
/titanic_41/usr/src/cmd/ed/ |
H A D | ed.c | 1828 char multic[MB_LEN_MAX]; in global() local 1839 if ((n = _mbftowc(multic, &l, getchr, &peekc)) <= 0) in global() 1970 char multic[MB_LEN_MAX]; in compsub() local 1976 if ((n = _mbftowc(multic, &seof, getchr, &peekc)) <= 0) in compsub() 1984 if ((n = _mbftowc(multic, &cl, getchr, &peekc)) <= 0) in compsub() 1990 if ((n = _mbftowc(multic, &cl, getchr, &peekc)) <= 0) in compsub() 2006 (void) strncpy(p, multic, n); in compsub() 2128 char multic[MB_LEN_MAX]; in comple() local 2131 if ((n = _mbftowc(multic, &c, getchr, &peekc)) < 0) in comple() 2153 if ((n = _mbftowc(multic, &c, getchr, &peekc)) < 0) in comple() [all …]
|