Home
last modified time | relevance | path

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

12

/third_party/ltp/testcases/realtime/tools/
H A Dftqviz.py38 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...]
/third_party/node/deps/openssl/openssl/apps/lib/
H A Dwin32_init.c58 static int process_glob(WCHAR *wstr, int wlen) in process_glob() argument
73 for (slash = 0, i = 0; i < wlen; i++) in process_glob()
79 for (i = slash; i < wlen; i++) in process_glob()
83 if (i == wlen) in process_glob()
86 saved_char = wstr[wlen]; in process_glob()
87 wstr[wlen] = L'\0'; in process_glob()
89 wstr[wlen] = saved_char; in process_glob()
145 int wlen, ulen, valid = 1; in win32_utf8argv() local
162 wlen = wcslen(wcmdline); in win32_utf8argv()
163 p = _alloca((wlen in win32_utf8argv()
[all...]
/third_party/openssl/apps/lib/
H A Dwin32_init.c58 static int process_glob(WCHAR *wstr, int wlen) in process_glob() argument
73 for (slash = 0, i = 0; i < wlen; i++) in process_glob()
79 for (i = slash; i < wlen; i++) in process_glob()
83 if (i == wlen) in process_glob()
86 saved_char = wstr[wlen]; in process_glob()
87 wstr[wlen] = L'\0'; in process_glob()
89 wstr[wlen] = saved_char; in process_glob()
145 int wlen, ulen, valid = 1; in win32_utf8argv() local
162 wlen = wcslen(wcmdline); in win32_utf8argv()
163 p = _alloca((wlen in win32_utf8argv()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dcopy_file_range.c30 int fd_in, fd_out, wlen, result; in copy_file_range_0100() local
44 wlen = write(fd_in, str, strlen(str)); in copy_file_range_0100()
45 if (wlen != strlen(str)) { in copy_file_range_0100()
60 result = copy_file_range(fd_in, NULL, fd_out, NULL, wlen, 0); in copy_file_range_0100()
65 wlen -= result; in copy_file_range_0100()
66 } while (wlen > 0 && result > 0); in copy_file_range_0100()
109 int fd_in, fd_out, wlen, result; in copy_file_range_0300() local
123 wlen = write(fd_in, str, strlen(str)); in copy_file_range_0300()
124 if (wlen != strlen(str)) { in copy_file_range_0300()
139 result = copy_file_range(fd_in, NULL, fd_out, NULL, wlen, in copy_file_range_0300()
[all...]
/third_party/toybox/toys/posix/
H A Dstrings.c41 int nread, i, wlen = TT.n, count = 0; in do_strings() local
50 string = xzalloc(wlen+1); in do_strings()
65 if (count == wlen) fputc(toybuf[i], stdout); in do_strings()
68 if (count == wlen) { in do_strings()
70 if (FLAG(o) || FLAG(t)) printf(pattern, (long long)(offset - wlen)); in do_strings()
78 if (count == wlen) xputc('\n'); in do_strings()
/third_party/skia/src/utils/win/
H A DSkDWrite.cpp62 int wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, nullptr, 0); in sk_cstring_to_wchar() local
63 if (0 == wlen) { in sk_cstring_to_wchar()
67 name->reset(wlen); in sk_cstring_to_wchar()
68 wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, name->get(), wlen); in sk_cstring_to_wchar()
69 if (0 == wlen) { in sk_cstring_to_wchar()
/third_party/python/Modules/_io/
H A Dwinconsoleio.c657 DWORD wlen = (DWORD)(len / 4); in readinto()
658 if (wlen == 0) { in readinto()
659 wlen = 1; in readinto()
666 wlen -= 1; in readinto()
668 if (len == read_len || wlen == 0) in readinto()
672 wchar_t *wbuf = read_console_w(handle, wlen, &n); in readinto()
957 DWORD len, wlen, orig_len, n = 0; in _io__WindowsConsoleIO_write_impl() local
978 wlen = MultiByteToWideChar(CP_UTF8, 0, b->buf, len, NULL, 0); in _io__WindowsConsoleIO_write_impl() local
985 while (wlen > 32766 / sizeof(wchar_t)) { in _io__WindowsConsoleIO_write_impl()
1002 wlen in _io__WindowsConsoleIO_write_impl()
1012 wlen = MultiByteToWideChar(CP_UTF8, 0, b->buf, len, wbuf, wlen); _io__WindowsConsoleIO_write_impl() local
[all...]
/third_party/python/Parser/
H A Dmyreadline.c261 int wlen; in PyOS_StdioReadline() local
262 wlen = MultiByteToWideChar(CP_UTF8, 0, prompt, -1, in PyOS_StdioReadline()
264 if (wlen) { in PyOS_StdioReadline()
265 wbuf = PyMem_RawMalloc(wlen * sizeof(wchar_t)); in PyOS_StdioReadline()
272 wlen = MultiByteToWideChar(CP_UTF8, 0, prompt, -1, in PyOS_StdioReadline()
273 wbuf, wlen); in PyOS_StdioReadline()
274 if (wlen) { in PyOS_StdioReadline()
277 /* wlen includes null terminator, so subtract 1 */ in PyOS_StdioReadline()
278 WriteConsoleW(hStdErr, wbuf, wlen - 1, &n, NULL); in PyOS_StdioReadline()
/third_party/nghttp2/tests/
H A Dfailmalloc_test.c76 size_t wlen = nghttp2_min(avail, len); in data_feed_recv_callback() local
80 memcpy(data, df->datamark, wlen); in data_feed_recv_callback()
81 df->datamark += wlen; in data_feed_recv_callback()
82 return (ssize_t)wlen; in data_feed_recv_callback()
89 size_t wlen; in fixed_length_data_source_read_callback() local
96 wlen = len; in fixed_length_data_source_read_callback()
98 wlen = ud->data_source_length; in fixed_length_data_source_read_callback()
100 ud->data_source_length -= wlen; in fixed_length_data_source_read_callback()
104 return (ssize_t)wlen; in fixed_length_data_source_read_callback()
/third_party/f2fs-tools/fsck/
H A Dsegment.c452 u64 wlen; in f2fs_fix_mutable() local
458 wlen = f2fs_write_addrtag(sbi, ino, in f2fs_fix_mutable()
460 if (wlen) in f2fs_fix_mutable()
461 return wlen; in f2fs_fix_mutable()
647 u64 wlen; in f2fs_build_file() local
655 wlen = f2fs_write(sbi, de->ino, rbuf, n, off); in f2fs_build_file()
656 ASSERT((int)wlen == n); in f2fs_build_file()
658 wlen = f2fs_write_addrtag(sbi, de->ino, off, in f2fs_build_file()
660 ASSERT(!wlen); in f2fs_build_file()
661 wlen in f2fs_build_file()
[all...]
/third_party/python/Python/
H A Dfileutils.c390 decode_ascii(const char *arg, wchar_t **wstr, size_t *wlen, in decode_ascii() argument
420 if (wlen) { in decode_ascii()
421 *wlen = in - (unsigned char*)arg; in decode_ascii()
433 if (wlen != NULL) { in decode_ascii()
434 *wlen = out - res; in decode_ascii()
442 decode_current_locale(const char* arg, wchar_t **wstr, size_t *wlen, in decode_current_locale() argument
480 if (wlen != NULL) { in decode_current_locale()
481 *wlen = count; in decode_current_locale()
542 if (wlen != NULL) { in decode_current_locale()
543 *wlen in decode_current_locale()
589 _Py_DecodeLocaleEx(const char* arg, wchar_t **wstr, size_t *wlen, const char **reason, int current_locale, _Py_error_handler errors) _Py_DecodeLocaleEx() argument
651 Py_DecodeLocale(const char* arg, size_t *wlen) Py_DecodeLocale() argument
[all...]
/third_party/lwip/src/netif/ppp/
H A Dupap.c604 int mlen, ulen, wlen; in upap_printpkt() local
630 wlen = p[ulen + 1]; in upap_printpkt()
631 if (len < ulen + wlen + 2) in upap_printpkt()
635 p += ulen + wlen + 2; in upap_printpkt()
636 len -= ulen + wlen + 2; in upap_printpkt()
644 ppp_print_string(pwd, wlen, printer, arg); in upap_printpkt()
/third_party/python/Include/internal/
H A Dpycore_fileutils.h30 size_t *wlen,
184 size_t *wlen,
199 size_t *wlen);
/third_party/toybox/kconfig/lxdialog/
H A Dutil.c317 int i, prompt_len, room, wlen; in print_autowrap() local
349 wlen = strlen(word); in print_autowrap()
350 if (wlen > room || in print_autowrap()
351 (newl && wlen < 4 && sp in print_autowrap()
352 && wlen + 1 + strlen(sp) > room in print_autowrap()
354 || wlen + 1 + (sp2 - sp) > room))) { in print_autowrap()
/third_party/toybox/toys/pending/
H A Dsyslogd.c362 int wlen, isNetwork = *tf->filename == '@'; in logmsg() local
364 wlen = sendto(tf->logfd, omsg, olen, 0, (struct sockaddr*)&tf->saddr, sizeof(tf->saddr)); in logmsg()
365 else wlen = write_rotate(tf, len); in logmsg()
366 if (wlen < 0) perror_msg("write failed file : %s ", tf->filename + isNetwork); in logmsg()
H A Dtelnet.c73 int wlen = write(TT.sfd, TT.iac, TT.piac); in flush_iac() local
75 if(wlen <= 0) error_msg("IAC : send failed."); in flush_iac()
/third_party/python/PC/
H A Dpyshellext.cpp283 int wlen = MultiByteToWideChar(CP_ACP, 0, temp, (int)len, NULL, 0); in GetArguments() local
284 if (wlen) { in GetArguments()
285 LPWSTR args = (LPWSTR)CoTaskMemAlloc(sizeof(WCHAR) * (wlen + 1)); in GetArguments()
286 if (MultiByteToWideChar(CP_ACP, 0, temp, (int)len, args, wlen + 1)) { in GetArguments()
H A Dlauncher.c532 size_t wlen = wcslen(wanted_ver); in find_python_by_version() local
537 wlen -= wcslen(L"-32"); in find_python_by_version()
541 wlen -= wcslen(L"-64"); in find_python_by_version()
546 * If wlen is greater than 1, we're probably trying to find a specific in find_python_by_version()
550 if ((wlen > 1) && (n != wlen)) { in find_python_by_version()
553 if (n > wlen) { in find_python_by_version()
554 n = wlen; in find_python_by_version()
/third_party/python/Modules/
H A D_testinternalcapi.c467 size_t wlen = 0; in decode_locale_ex() local
470 &wstr, &wlen, &reason, in decode_locale_ex()
475 res = PyUnicode_FromWideChar(wstr, wlen); in decode_locale_ex()
483 wlen, reason); in decode_locale_ex()
/third_party/python/Objects/
H A Dtupleobject.c632 Py_ssize_t vlen, wlen; in tuplerichcompare() local
641 wlen = Py_SIZE(wt); in tuplerichcompare()
652 * vlen and wlen across the comparison calls. in tuplerichcompare()
654 for (i = 0; i < vlen && i < wlen; i++) { in tuplerichcompare()
663 if (i >= vlen || i >= wlen) { in tuplerichcompare()
665 Py_RETURN_RICHCOMPARE(vlen, wlen, op); in tuplerichcompare()
/third_party/python/Modules/_decimal/libmpdec/
H A Dmpdecimal.c8151 _baseconv_to_u16(uint16_t **w, size_t wlen, mpd_uint_t wbase, in _baseconv_to_u16() argument
8156 assert(wlen > 0 && ulen > 0); in _baseconv_to_u16()
8160 if (n >= wlen) { in _baseconv_to_u16()
8164 wlen = n+1; in _baseconv_to_u16()
8176 _coeff_from_u16(mpd_t *w, mpd_ssize_t wlen, in _coeff_from_u16() argument
8183 assert(wlen > 0 && ulen > 0); in _coeff_from_u16()
8190 if (n >= wlen) { in _coeff_from_u16()
8194 wlen = n+1; in _coeff_from_u16()
8200 if (n >= wlen) { in _coeff_from_u16()
8204 wlen in _coeff_from_u16()
8215 _baseconv_to_smaller(uint32_t **w, size_t wlen, uint32_t wbase, mpd_uint_t *u, mpd_ssize_t ulen, mpd_uint_t ubase) _baseconv_to_smaller() argument
8242 _copy_equal_base(uint32_t **w, size_t wlen, const uint32_t *u, size_t ulen) _copy_equal_base() argument
8257 _baseconv_to_larger(uint32_t **w, size_t wlen, mpd_uint_t wbase, const mpd_uint_t *u, size_t ulen, mpd_uint_t ubase) _baseconv_to_larger() argument
8295 _coeff_from_larger_base(mpd_t *w, size_t wlen, mpd_uint_t wbase, mpd_uint_t *u, mpd_ssize_t ulen, mpd_uint_t ubase, uint32_t *status) _coeff_from_larger_base() argument
8323 _coeff_from_smaller_base(mpd_t *w, mpd_ssize_t wlen, mpd_uint_t wbase, const uint32_t *u, size_t ulen, mpd_uint_t ubase, uint32_t *status) _coeff_from_smaller_base() argument
8693 _uint_from_u16(mpd_uint_t *w, mpd_ssize_t wlen, const uint16_t *u, size_t ulen) _uint_from_u16() argument
[all...]
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-tokenize.h262 * \p wlen: length of the wildcard string
271 lws_strcmp_wildcard(const char *wildcard, size_t wlen, const char *check,
/third_party/cmsis/CMSIS/Core/Include/m-profile/
H A Dcmsis_gcc_m.h135 uint32_t wlen; in __cmsis_start() member
140 uint32_t wlen; in __cmsis_start() member
149 for(uint32_t i=0u; i<pTable->wlen; ++i) { in __cmsis_start()
155 for(uint32_t i=0u; i<pTable->wlen; ++i) { in __cmsis_start()
/third_party/ffmpeg/libavcodec/
H A Dopusenc.c211 int blk_len = OPUS_BLOCK_SIZE(f->size), wlen = OPUS_BLOCK_SIZE(f->size + 1); in celt_frame_mdct() local
212 int rwin = blk_len - CELT_OVERLAP, lap_dst = (wlen - blk_len - CELT_OVERLAP) >> 1; in celt_frame_mdct()
213 memset(win, 0, wlen*sizeof(float)); in celt_frame_mdct()
/third_party/libuv/src/win/
H A Dutil.c386 DWORD wlen; in uv__get_process_title() local
388 wlen = GetConsoleTitleW(title_w, sizeof(title_w) / sizeof(WCHAR)); in uv__get_process_title()
389 if (wlen == 0) in uv__get_process_title()
392 return uv__convert_utf16_to_utf8(title_w, wlen, &process_title); in uv__get_process_title()

Completed in 32 milliseconds

12