Searched refs:wlen (Results 1 - 10 of 10) sorted by relevance

/openjdk7/jdk/src/windows/instrument/
H A DEncodingSupport_md.c39 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 Dutf_md.c74 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 Dawt_util.c417 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 Dawt_TextComponent.cpp399 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 Dawt_TextArea.cpp627 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 DNetworkInterface.c180 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 DObjectOutputStream.java1850 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 Dbytecodes.cpp171 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 DBytecodes.java830 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 Dpngwutil.c1953 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 */

Completed in 634 milliseconds