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

/external/toybox/toys/posix/
H A Dstrings.c34 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 DSkDWrite.cpp57 int wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, nullptr, 0); local
58 if (0 == wlen) {
62 name->reset(wlen);
63 wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, name->get(), wlen);
64 if (0 == wlen) {
/external/pdfium/core/src/fxcrt/
H A Dfx_basic_gcc.cpp226 int wlen,
232 for (int i = 0; i < wlen; i++) {
248 int wlen = 0; local
250 if (buf && wlen < buflen) {
251 buf[wlen] = bstr[i];
253 wlen++;
255 return wlen;
223 FXSYS_WideCharToMultiByte(FX_DWORD codepage, FX_DWORD dwFlags, const FX_WCHAR* wstr, int wlen, FX_CHAR* buf, int buflen, const FX_CHAR* default_str, int* pUseDefault) argument
H A Dfx_basic_wstring.cpp366 FX_STRSIZE wlen) {
367 if (!wstr || 0 == wlen) {
372 FX_WCHAR* buf = result.GetBuffer(wlen);
373 for (int i = 0; i < wlen; i++) {
376 result.ReleaseBuffer(wlen);
365 FromUTF16LE(const unsigned short* wstr, FX_STRSIZE wlen) argument
/external/webrtc/webrtc/base/
H A Dwin32.cc376 int wlen = ::MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), local
379 if (0 == wlen) {
382 wchar_t* wfilename = STACK_ARRAY(wchar_t, wlen);
385 wfilename, wlen)) {
389 std::replace(wfilename, wfilename + wlen, L'/', L'\\');
/external/ppp/pppd/
H A Dupap.c619 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 Dutil.c317 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 Dpcap-dag.c377 * o the length of the packet on the link (header->wlen),
386 packet_len = ntohs(header->wlen) + dag_record_size;
425 packet_len = ntohs(header->wlen);
435 packet_len = ntohs(header->wlen);
470 packet_len = ntohs(header->wlen);
485 packet_len = ntohs(header->wlen);
497 packet_len = ntohs(header->wlen);
525 packet_len = ntohs(header->wlen);
H A Dpcap-win32.c363 swt = SWAPS(header->wlen);
375 swt = SWAPS(header->wlen);
/external/toybox/toys/pending/
H A Dsyslogd.c363 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 Dtelnet.c73 int wlen = write(TT.sfd, TT.iac, TT.piac); local
75 if(wlen <= 0) error_msg("IAC : send failed.");
/external/pdfium/core/include/fxcrt/
H A Dfx_system.h215 int wlen,
/external/libmtp/src/
H A Dlibusb-glue.c1173 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/libpng/
H A Dpngwutil.c1785 png_size_t wlen, hlen, total_len; local
1789 wlen = strlen(width);
1791 total_len = wlen + hlen + 2;
1800 memcpy(buf + 1, width, wlen + 1); /* Append the '\0' here */
1801 memcpy(buf + wlen + 2, height, hlen); /* Do NOT append the '\0' here */
/external/opencv3/3rdparty/libpng/
H A Dpngwutil.c1925 png_size_t wlen, hlen, total_len; local
1929 wlen = png_strlen(width);
1931 total_len = wlen + hlen + 2;
1940 png_memcpy(buf + 1, width, wlen + 1); /* Append the '\0' here */
1941 png_memcpy(buf + wlen + 2, height, hlen); /* Do NOT append the '\0' here */
/external/pdfium/third_party/lpng_v163/
H A Dpngwutil.c1861 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 Dmcstrans.c1201 int wlen = strlen(w->text); local
1202 if (plen >= wlen && !strncmp(w->text, p, strlen(w->text))){
/external/mksh/src/
H A Dedit.c830 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);

Completed in 864 milliseconds