/external/ltp/testcases/realtime/tools/ |
ftqviz.py | 38 def smooth(x, wlen): 39 if x.size < wlen: 43 s = r_[2*x[0]-x[wlen:1:-1], x, 2*x[-1]-x[-1:-wlen:-1]] 44 w = hamming(wlen) 49 y1 = y[wlen-1:-wlen+1] 59 def smooth_fft(timefile, countfile, sample_hz, wlen): 60 # The higher the sample_hz, the larger the required wlen (used to generate 66 print("Hamming Window Length: ", wlen) [all...] |
/external/toybox/toys/posix/ |
strings.c | 41 int nread, i, wlen = TT.n, count = 0; local 50 string = xzalloc(wlen+1); 65 if (count == wlen) fputc(toybuf[i], stdout); 68 if (count == wlen) { 70 if (FLAG(o) || FLAG(t)) printf(pattern, (long long)(offset - wlen)); 78 if (count == wlen) xputc('\n');
|
/external/u-boot/common/ |
cli_readline.c | 195 wlen = eol_num - num; \ 196 putnstr(buf + num, wlen); \ 204 unsigned long wlen; local 216 wlen = *eol_num - *num; 217 if (wlen > 1) 218 memmove(&buf[*num+1], &buf[*num], wlen-1); 221 putnstr(buf + *num, wlen); 223 while (--wlen) 227 wlen = 1; 229 putnstr(buf + *num, wlen); 249 unsigned long wlen; local [all...] |
/external/skia/src/utils/win/ |
SkDWrite.cpp | 57 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/skqp/src/utils/win/ |
SkDWrite.cpp | 57 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/python/cpython3/Parser/ |
myreadline.c | 228 int wlen; local 229 wlen = MultiByteToWideChar(CP_UTF8, 0, prompt, -1, 231 if (wlen) { 232 wbuf = PyMem_RawMalloc(wlen * sizeof(wchar_t)); 237 wlen = MultiByteToWideChar(CP_UTF8, 0, prompt, -1, 238 wbuf, wlen); 239 if (wlen) { 242 /* wlen includes null terminator, so subtract 1 */ 243 WriteConsoleW(hStdErr, wbuf, wlen - 1, &n, NULL);
|
/external/pdfium/core/fxcrt/ |
fx_system.cpp | 191 int wlen, 197 for (int i = 0; i < wlen; i++) { 212 int wlen = 0; local 214 if (buf && wlen < buflen) { 215 buf[wlen] = bstr[i]; 217 wlen++; 219 return wlen;
|
/external/python/cpython3/Python/ |
fileutils.c | 272 decode_ascii(const char *arg, wchar_t **wstr, size_t *wlen, 297 if (wlen) { 298 *wlen = in - (unsigned char*)arg; 310 if (wlen != NULL) { 311 *wlen = out - res; 319 decode_current_locale(const char* arg, wchar_t **wstr, size_t *wlen, 358 if (wlen != NULL) { 359 *wlen = count; 432 if (wlen != NULL) { 433 *wlen = out - res [all...] |
/external/u-boot/drivers/spi/ |
renesas_rpc_spi.c | 245 u32 wlen = dout ? (bitlen / 8) : 0; local 247 u32 wloop = DIV_ROUND_UP(wlen, 4); 252 if (!wlen || rlen) 255 memcpy(priv->cmdcopy, dout, wlen); 256 priv->cmdlen = wlen; 269 if (wlen || (!rlen && !wlen) || flags == SPI_XFER_ONCE) { 270 if (wlen && flags == SPI_XFER_END) 304 if (wlen && flags == SPI_XFER_END) {
|
/external/python/cpython3/Modules/_io/ |
winconsoleio.c | 671 DWORD wlen = (DWORD)(len / 4); local 672 if (wlen == 0) { 673 wlen = 1; 680 wlen -= 1; 682 if (len == read_len || wlen == 0) 686 wchar_t *wbuf = read_console_w(self->handle, wlen, &n); 966 DWORD len, wlen, n = 0; local 982 wlen = MultiByteToWideChar(CP_UTF8, 0, b->buf, len, NULL, 0); local 989 while (wlen > 32766 / sizeof(wchar_t)) { 991 wlen = MultiByteToWideChar(CP_UTF8, 0, b->buf, len, NULL, 0) 1001 wlen = MultiByteToWideChar(CP_UTF8, 0, b->buf, len, wbuf, wlen); local [all...] |
/external/u-boot/drivers/i2c/ |
lpc32xx_i2c.c | 113 int stat, wlen; local 142 wlen = length; 144 while (length | wlen) { 148 if ((wlen > 0) 150 wlen--; 152 writel(wlen ? 0 :
|
/external/webrtc/webrtc/base/ |
win32.cc | 376 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/ |
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/u-boot/drivers/mmc/ |
ftsdc010_mci.c | 236 int wlen; local 244 for (wlen = 0; wlen < len && wlen < chip->fifo; ) { 247 wlen += 4; 250 len -= wlen;
|
/external/python/cpython3/Include/ |
fileutils.h | 27 size_t *wlen, 46 size_t *wlen,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
tupleobject.c | 573 Py_ssize_t vlen, wlen;
local 584 wlen = Py_SIZE(wt);
595 * vlen and wlen across the comparison calls.
597 for (i = 0; i < vlen && i < wlen; i++) {
606 if (i >= vlen || i >= wlen) {
611 case Py_LT: cmp = vlen < wlen; break;
612 case Py_LE: cmp = vlen <= wlen; break;
613 case Py_EQ: cmp = vlen == wlen; break;
614 case Py_NE: cmp = vlen != wlen; break;
615 case Py_GT: cmp = vlen > wlen; break; [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
tupleobject.c | 571 Py_ssize_t vlen, wlen;
local 582 wlen = Py_SIZE(wt);
593 * vlen and wlen across the comparison calls.
595 for (i = 0; i < vlen && i < wlen; i++) {
604 if (i >= vlen || i >= wlen) {
609 case Py_LT: cmp = vlen < wlen; break;
610 case Py_LE: cmp = vlen <= wlen; break;
611 case Py_EQ: cmp = vlen == wlen; break;
612 case Py_NE: cmp = vlen != wlen; break;
613 case Py_GT: cmp = vlen > wlen; break; [all...] |
/external/python/cpython2/Objects/ |
tupleobject.c | 570 Py_ssize_t vlen, wlen; local 581 wlen = Py_SIZE(wt); 592 * vlen and wlen across the comparison calls. 594 for (i = 0; i < vlen && i < wlen; i++) { 603 if (i >= vlen || i >= wlen) { 608 case Py_LT: cmp = vlen < wlen; break; 609 case Py_LE: cmp = vlen <= wlen; break; 610 case Py_EQ: cmp = vlen == wlen; break; 611 case Py_NE: cmp = vlen != wlen; break; 612 case Py_GT: cmp = vlen > wlen; break [all...] |
/external/toybox/kconfig/lxdialog/ |
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/u-boot/fs/ubifs/ |
lpt_commit.c | 370 int lnum, offs, len, from, err, wlen, alen, done_ltab, done_lsave; local 410 wlen = offs - from; 411 if (wlen) { 412 alen = ALIGN(wlen, c->min_io_size); 413 memset(buf + offs, 0xff, alen - wlen); 470 wlen = offs - from; 471 alen = ALIGN(wlen, c->min_io_size); 472 memset(buf + offs, 0xff, alen - wlen); 496 wlen = offs - from; 497 alen = ALIGN(wlen, c->min_io_size) [all...] |
/external/openssh/regress/ |
netcat.c | 1450 size_t hlen, wlen = 0; local [all...] |
/external/libpcap/ |
pcap-dag.c | 461 * o the length of the packet on the link (header->wlen), 470 packet_len = ntohs(header->wlen) + dag_record_size; 509 packet_len = ntohs(header->wlen); 519 packet_len = ntohs(header->wlen); 558 packet_len = ntohs(header->wlen); 577 packet_len = ntohs(header->wlen); 596 packet_len = ntohs(header->wlen); 626 packet_len = ntohs(header->wlen); 639 packet_len = ntohs(header->wlen); [all...] |
/external/python/cpython3/PC/ |
pyshellext.cpp | 285 int wlen = MultiByteToWideChar(CP_ACP, 0, temp, (int)len, NULL, 0); local 286 if (wlen) { 287 LPWSTR args = (LPWSTR)CoTaskMemAlloc(sizeof(WCHAR) * (wlen + 1)); 288 if (MultiByteToWideChar(CP_ACP, 0, temp, (int)len, args, wlen + 1)) {
|
/external/toybox/toys/pending/ |
syslogd.c | 362 int wlen, isNetwork = *tf->filename == '@'; local 364 wlen = sendto(tf->logfd, omsg, olen, 0, (struct sockaddr*)&tf->saddr, sizeof(tf->saddr)); 365 else wlen = write_rotate(tf, len); 366 if (wlen < 0) perror_msg("write failed file : %s ", tf->filename + isNetwork);
|
telnet.c | 73 int wlen = write(TT.sfd, TT.iac, TT.piac); local 75 if(wlen <= 0) error_msg("IAC : send failed.");
|