/external/toybox/toys/posix/ |
H A D | strings.c | 34 int nread, i, wlen = TT.num, count = 0; local 36 char *string = xzalloc(wlen + 1); 44 if (count == wlen) fputc(toybuf[i], stdout); 47 if (count == wlen) { 50 printf("%7lld ",(long long)(offset - wlen)); 55 if (count == wlen) xputc('\n');
|
/external/skia/src/utils/win/ |
H A D | SkDWrite.cpp | 55 int wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, NULL, 0); local 56 if (0 == wlen) { 60 name->reset(wlen); 61 wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, name->get(), wlen); 62 if (0 == wlen) {
|
/external/pdfium/core/src/fxcrt/ |
H A D | fx_basic_gcc.cpp | 207 int FXSYS_WideCharToMultiByte(FX_DWORD codepage, FX_DWORD dwFlags, FX_LPCWSTR wstr, int wlen, argument 211 for (int i = 0; i < wlen; i ++) { 224 int wlen = 0; local 226 if (buf && wlen < buflen) { 227 buf[wlen] = bstr[i]; 229 wlen ++; 231 return wlen;
|
H A D | fx_basic_wstring.cpp | 377 CFX_WideString CFX_WideString::FromUTF16LE(const unsigned short* wstr, FX_STRSIZE wlen) argument 379 if (!wstr || 0 == wlen) { 384 FX_WCHAR* buf = result.GetBuffer(wlen); 385 for (int i = 0; i < wlen; i ++) { 388 result.ReleaseBuffer(wlen);
|
/external/ppp/pppd/ |
H A D | upap.c | 619 int mlen, ulen, wlen; local 645 wlen = p[ulen + 1]; 646 if (len < ulen + wlen + 2) 650 p += ulen + wlen + 2; 651 len -= ulen + wlen + 2; 656 print_string(pwd, wlen, printer, arg);
|
/external/toybox/kconfig/lxdialog/ |
H A D | util.c | 317 int i, prompt_len, room, wlen; local 349 wlen = strlen(word); 350 if (wlen > room || 351 (newl && wlen < 4 && sp 352 && wlen + 1 + strlen(sp) > room 354 || wlen + 1 + (sp2 - sp) > room))) {
|
/external/libpcap/ |
H A D | pcap-dag.c | 380 * o the length of the packet on the link (header->wlen), 389 packet_len = ntohs(header->wlen) + dag_record_size; 428 packet_len = ntohs(header->wlen); 438 packet_len = ntohs(header->wlen); 470 packet_len = ntohs(header->wlen); 483 packet_len = ntohs(header->wlen); 493 packet_len = ntohs(header->wlen); 519 packet_len = ntohs(header->wlen);
|
H A D | pcap-win32.c | 333 swt = SWAPS(header->wlen); 345 swt = SWAPS(header->wlen);
|
/external/toybox/toys/pending/ |
H A D | syslogd.c | 363 int wlen, isNetwork = *tf->filename == '@'; local 365 wlen = sendto(tf->logfd, omsg, olen, 0, (struct sockaddr*)&tf->saddr, sizeof(tf->saddr)); 366 else wlen = write_rotate(tf, len); 367 if (wlen < 0) perror_msg("write failed file : %s ", tf->filename + isNetwork);
|
H A D | telnet.c | 106 int wlen = write(TT.sfd, TT.iac, TT.piac); local 108 if(wlen <= 0) error_msg("IAC : send failed.");
|
/external/libmtp/src/ |
H A D | libusb-glue.c | 1173 int wlen, datawlen; local 1193 wlen = PTP_USB_BULK_HDR_LEN; 1198 wlen = PTP_USB_BULK_HDR_LEN + datawlen; 1206 ptp_init_send_memory_handler (&memhandler, (unsigned char *)&usbdata, wlen); 1208 ret = ptp_write_func(wlen, &memhandler, params->data, &written);
|
/external/pdfium/core/include/fxcrt/ |
H A D | fx_system.h | 246 int FXSYS_WideCharToMultiByte(FX_DWORD codepage, FX_DWORD dwFlags, const wchar_t* wstr, int wlen,
|
/external/libpng/ |
H A D | pngwutil.c | 1862 png_size_t wlen, hlen, total_len; local 1866 wlen = strlen(width); 1868 total_len = wlen + hlen + 2; 1877 memcpy(buf + 1, width, wlen + 1); /* Append the '\0' here */ 1878 memcpy(buf + wlen + 2, height, hlen); /* Do NOT append the '\0' here */
|
/external/pdfium/samples/fx_lpng/lpng_v163/ |
H A D | fx_pngwutil.c | 1861 png_size_t wlen, hlen, total_len;
local 1865 wlen = strlen(width);
1867 total_len = wlen + hlen + 2;
1876 memcpy(buf + 1, width, wlen + 1); /* Append the '\0' here */
1877 memcpy(buf + wlen + 2, height, hlen); /* Do NOT append the '\0' here */
|
/external/selinux/policycoreutils/mcstrans/src/ |
H A D | mcstrans.c | 1201 int wlen = strlen(w->text); local 1202 if (plen >= wlen && !strncmp(w->text, p, strlen(w->text))){
|
/external/mksh/src/ |
H A D | edit.c | 830 size_t add = 0, wlen = len; local 834 while (wlen - add > 0) 847 wlen -= add; 852 if (wlen > 0 && rval == 0) 853 rval = putbuf_func(s, wlen);
|