/openjdk7/jdk/src/windows/instrument/ |
H A D | EncodingSupport_md.c | 39 int wlen, plen; local 59 wlen = MultiByteToWideChar(CP_UTF8, 0, utf8_str, utf8_len, NULL, 0); 60 if (wlen > 0) { 61 wstr = (WCHAR*)malloc(wlen * sizeof(WCHAR)); 67 wstr, wlen) > 0) { 71 wlen,
|
/openjdk7/jdk/src/windows/npt/ |
H A D | utf_md.c | 74 int wlen; local 78 wlen = MultiByteToWideChar(codePage, 0, str, len, NULL, 0); 79 *pwlen = wlen; 80 if (wlen <= 0) { 84 wstr = (WCHAR*)malloc(wlen * sizeof(WCHAR)); 89 if (MultiByteToWideChar(codePage, 0, str, len, wstr, wlen) == 0) { 102 int wlen; local 118 wstr = getWideString(CP_UTF8, (char*)utf8, len, &wlen); 124 plen = WideCharToMultiByte(ui->platformCodePage, 0, wstr, wlen, 141 int wlen; local [all...] |
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_util.c | 417 Cardinal wlen = 0; local 433 XmNnumChildren, &wlen, 435 if (wlen > 0) { 436 for (i=0; i < wlen; i++) { 447 Cardinal wlen = 0; local 460 XmNnumChildren, &wlen, 462 for (i = 0; i < wlen; i++) { 564 Cardinal wlen=0; local 566 XtVaGetValues(root, XmNchildren, &wl, XmNnumChildren, &wlen, NULL); 568 if(wlen> [all...] |
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_TextComponent.cpp | 399 long wlen; local 404 if ((wlen = GetTextLength()) == 0) 406 wbuf = new TCHAR[wlen + 1]; 407 GetText(wbuf, wlen + 1); 409 wlen = RemoveCR(wbuf); 412 while (cur < orgPos && pos++ < wlen) { 424 long wlen; local 429 if ((wlen = GetTextLength()) == 0) 431 wbuf = new TCHAR[wlen + 1]; 432 GetText(wbuf, wlen [all...] |
H A D | awt_TextArea.cpp | 627 long wlen; local 633 if ((wlen = GetTextLength()) == 0) 635 wbuf = new TCHAR[wlen + 1]; 636 GetText(wbuf, wlen + 1); 638 wlen = RemoveCR(wbuf); 641 while (cur < pos && cur < wlen) {
|
/openjdk7/jdk/src/windows/native/java/net/ |
H A D | NetworkInterface.c | 180 int lo=0, eth=0, tr=0, fddi=0, ppp=0, sl=0, net=0, wlen=0; local 258 wlen = MultiByteToWideChar(CP_OEMCP, 0, ifrowP->bDescr, 260 if(wlen == 0) { 265 curr->displayName = (wchar_t *)malloc(wlen*(sizeof(wchar_t))+1); 289 if (wlen == 0) { 297 ifrowP->dwDescrLen, curr->displayName, wlen) == 0) { 307 curr->displayName[wlen*(sizeof(wchar_t))] = '\0';
|
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | ObjectOutputStream.java | 1850 int wlen = Math.min(len, MAX_BLOCK_SIZE - pos); 1851 System.arraycopy(b, off, buf, pos, wlen); 1852 pos += wlen; 1853 off += wlen; 1854 len -= wlen;
|
/openjdk7/hotspot/src/share/vm/interpreter/ |
H A D | bytecodes.cpp | 171 int wlen = (wide_format != NULL ? (int) strlen(wide_format) : 0); local 175 _lengths [code] = (wlen << 4) | (len & 0xF); 185 assert(wide_length_for(code) == wlen, "");
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/ |
H A D | Bytecodes.java | 830 int wlen = (wide_format != null ? wide_format.length() : 0); 834 _lengths [code] = (byte)((wlen << 4) | (len & 0xF));
|
/openjdk7/jdk/src/share/native/sun/awt/libpng/ |
H A D | pngwutil.c | 1953 png_size_t wlen, hlen, total_len; local 1957 wlen = png_strlen(width); 1959 total_len = wlen + hlen + 2; 1968 png_memcpy(buf + 1, width, wlen + 1); /* Append the '\0' here */ 1969 png_memcpy(buf + wlen + 2, height, hlen); /* Do NOT append the '\0' here */
|