Home
last modified time | relevance | path

Searched refs:bytes_size (Results 1 – 6 of 6) sorted by relevance

/third_party/libcoap/src/
Dcoap_ws.c164 ssize_t bytes_size; in coap_ws_log_header()
167 bytes_size = header[1] & WS_B1_LEN_MASK; in coap_ws_log_header()
168 if (bytes_size == 127) { in coap_ws_log_header()
170 } else if (bytes_size == 126) { in coap_ws_log_header()
581 ssize_t bytes_size = 0; in coap_ws_read() local
655 bytes_size = session->ws->rd_header[1] & WS_B1_LEN_MASK; in coap_ws_read()
656 if (bytes_size == 127) { in coap_ws_read()
658 } else if (bytes_size == 126) { in coap_ws_read()
688 if (bytes_size == 127) { in coap_ws_read()
689 bytes_size = ((uint64_t)session->ws->rd_header[2] << 56) + in coap_ws_read()
[all …]
/third_party/python/Modules/_io/
Dwinconsoleio.c779 DWORD bytes_size, rn; in _io__WindowsConsoleIO_readall_impl() local
847 bytes_size = WideCharToMultiByte(CP_UTF8, 0, buf, len, in _io__WindowsConsoleIO_readall_impl() local
851 if (!bytes_size) { in _io__WindowsConsoleIO_readall_impl()
857 bytes_size = 0; in _io__WindowsConsoleIO_readall_impl()
860 bytes_size += _buflen(self); in _io__WindowsConsoleIO_readall_impl()
861 bytes = PyBytes_FromStringAndSize(NULL, bytes_size); in _io__WindowsConsoleIO_readall_impl()
862 rn = _copyfrombuf(self, PyBytes_AS_STRING(bytes), bytes_size); in _io__WindowsConsoleIO_readall_impl()
866 bytes_size = WideCharToMultiByte(CP_UTF8, 0, buf, len, in _io__WindowsConsoleIO_readall_impl() local
867 &PyBytes_AS_STRING(bytes)[rn], bytes_size - rn, NULL, NULL); in _io__WindowsConsoleIO_readall_impl()
870 if (!bytes_size) { in _io__WindowsConsoleIO_readall_impl()
[all …]
/third_party/python/Lib/multiprocessing/
Dreduction.py156 bytes_size = a.itemsize * size
157 msg, ancdata, flags, addr = sock.recvmsg(1, socket.CMSG_SPACE(bytes_size))
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-string.c495 lit_utf8_size_t bytes_size = lit_code_unit_to_utf8 (code_unit, lit_utf8_bytes); in ecma_new_ecma_string_from_code_unit() local
497 return ecma_new_ecma_string_from_utf8 (lit_utf8_bytes, bytes_size); in ecma_new_ecma_string_from_code_unit()
512 lit_utf8_size_t bytes_size = lit_code_unit_to_utf8 (first_code_unit, lit_utf8_bytes); in ecma_new_ecma_string_from_code_units() local
513 bytes_size += lit_code_unit_to_utf8 (second_code_unit, lit_utf8_bytes + bytes_size); in ecma_new_ecma_string_from_code_units()
515 return ecma_new_ecma_string_from_utf8 (lit_utf8_bytes, bytes_size); in ecma_new_ecma_string_from_code_units()
/third_party/f2fs-tools/tools/
Df2fscrypt.c210 size_t bytes_size) in hex2byte() argument
224 if ((x >> 1) >= bytes_size) in hex2byte()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp4415 unsigned bytes_size = 0; in mubuf_load_callback() local
4418 bytes_size = 1; in mubuf_load_callback()
4421 bytes_size = 2; in mubuf_load_callback()
4424 bytes_size = 4; in mubuf_load_callback()
4427 bytes_size = 8; in mubuf_load_callback()
4430 bytes_size = 12; in mubuf_load_callback()
4433 bytes_size = 16; in mubuf_load_callback()
4448 RegClass rc = RegClass::get(RegType::vgpr, bytes_size); in mubuf_load_callback()
4462 unsigned bytes_size = 0; in scratch_load_callback() local
4465 bytes_size = 1; in scratch_load_callback()
[all …]