/third_party/grpc/src/core/tsi/alts/frame_protector/ |
D | frame_handler.cc | 75 size_t* bytes_size) { in alts_write_frame_bytes() argument 76 if (bytes_size == nullptr || output == nullptr) return false; in alts_write_frame_bytes() 78 *bytes_size = 0; in alts_write_frame_bytes() 85 GPR_MIN(*bytes_size, in alts_write_frame_bytes() 90 *bytes_size -= bytes_to_write; in alts_write_frame_bytes() 94 *bytes_size = bytes_written; in alts_write_frame_bytes() 100 GPR_MIN(writer->input_size - writer->input_bytes_written, *bytes_size); in alts_write_frame_bytes() 105 *bytes_size = bytes_written; in alts_write_frame_bytes() 157 const unsigned char* bytes, size_t* bytes_size) { in alts_read_frame_bytes() argument 158 if (bytes_size == nullptr) return false; in alts_read_frame_bytes() [all …]
|
D | frame_handler.h | 95 size_t* bytes_size); 162 const unsigned char* bytes, size_t* bytes_size);
|
/third_party/python/Modules/_io/ |
D | winconsoleio.c | 779 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/grpc/src/core/tsi/ |
D | transport_security.cc | 146 size_t* bytes_size) { in tsi_handshaker_get_bytes_to_send_to_peer() argument 148 bytes_size == nullptr) { in tsi_handshaker_get_bytes_to_send_to_peer() 156 return self->vtable->get_bytes_to_send_to_peer(self, bytes, bytes_size); in tsi_handshaker_get_bytes_to_send_to_peer() 161 size_t* bytes_size) { in tsi_handshaker_process_bytes_from_peer() argument 163 bytes_size == nullptr) { in tsi_handshaker_process_bytes_from_peer() 171 return self->vtable->process_bytes_from_peer(self, bytes, bytes_size); in tsi_handshaker_process_bytes_from_peer() 267 size_t* bytes_size) { in tsi_handshaker_result_get_unused_bytes() argument 269 bytes_size == nullptr) { in tsi_handshaker_result_get_unused_bytes() 273 return self->vtable->get_unused_bytes(self, bytes, bytes_size); in tsi_handshaker_result_get_unused_bytes()
|
D | transport_security.h | 59 size_t* bytes_size); 62 size_t* bytes_size); 103 size_t* bytes_size);
|
D | transport_security_interface.h | 250 size_t* bytes_size); 369 size_t* bytes_size); 383 size_t* bytes_size);
|
D | fake_transport_security.cc | 526 size_t* bytes_size) { in fake_handshaker_result_get_unused_bytes() argument 529 *bytes_size = result->unused_bytes_size; in fake_handshaker_result_get_unused_bytes() 572 tsi_handshaker* self, unsigned char* bytes, size_t* bytes_size) { in fake_handshaker_get_bytes_to_send_to_peer() argument 576 *bytes_size = 0; in fake_handshaker_get_bytes_to_send_to_peer() 599 result = tsi_fake_frame_encode(bytes, bytes_size, &impl->outgoing_frame); in fake_handshaker_get_bytes_to_send_to_peer() 615 tsi_handshaker* self, const unsigned char* bytes, size_t* bytes_size) { in fake_handshaker_process_bytes_from_peer() argument 623 *bytes_size = 0; in fake_handshaker_process_bytes_from_peer() 626 result = tsi_fake_frame_decode(bytes, bytes_size, &impl->incoming_frame); in fake_handshaker_process_bytes_from_peer()
|
D | ssl_transport_security.cc | 1339 size_t* bytes_size) { in ssl_handshaker_result_get_unused_bytes() argument 1342 *bytes_size = impl->unused_bytes_size; in ssl_handshaker_result_get_unused_bytes() 1389 tsi_ssl_handshaker* impl, unsigned char* bytes, size_t* bytes_size) { in ssl_handshaker_get_bytes_to_send_to_peer() argument 1391 if (bytes == nullptr || bytes_size == nullptr || *bytes_size == 0 || in ssl_handshaker_get_bytes_to_send_to_peer() 1392 *bytes_size > INT_MAX) { in ssl_handshaker_get_bytes_to_send_to_peer() 1395 GPR_ASSERT(*bytes_size <= INT_MAX); in ssl_handshaker_get_bytes_to_send_to_peer() 1397 BIO_read(impl->network_io, bytes, static_cast<int>(*bytes_size)); in ssl_handshaker_get_bytes_to_send_to_peer() 1399 *bytes_size = 0; in ssl_handshaker_get_bytes_to_send_to_peer() 1407 *bytes_size = static_cast<size_t>(bytes_read_from_ssl); in ssl_handshaker_get_bytes_to_send_to_peer() 1420 tsi_ssl_handshaker* impl, const unsigned char* bytes, size_t* bytes_size) { in ssl_handshaker_process_bytes_from_peer() argument [all …]
|
/third_party/grpc/test/core/tsi/ |
D | transport_security_test_lib.cc | 94 size_t bytes_size = 0; in check_unused_bytes() local 96 result_with_unused_bytes, &bytes, &bytes_size) == TSI_OK); in check_unused_bytes() 97 GPR_ASSERT(bytes_size == strlen(TSI_TEST_UNUSED_BYTES)); in check_unused_bytes() 98 GPR_ASSERT(memcmp(bytes, TSI_TEST_UNUSED_BYTES, bytes_size) == 0); in check_unused_bytes() 100 result_without_unused_bytes, &bytes, &bytes_size) == TSI_OK); in check_unused_bytes() 101 GPR_ASSERT(bytes_size == 0); in check_unused_bytes()
|
/third_party/grpc/test/core/tsi/alts/handshaker/ |
D | alts_tsi_handshaker_test.cc | 338 size_t bytes_size = 0; in on_client_next_success_cb() local 340 &bytes_size) == TSI_OK); in on_client_next_success_cb() 341 GPR_ASSERT(bytes_size == strlen(ALTS_TSI_HANDSHAKER_TEST_REMAIN_BYTES)); in on_client_next_success_cb() 342 GPR_ASSERT(memcmp(bytes, ALTS_TSI_HANDSHAKER_TEST_REMAIN_BYTES, bytes_size) == in on_client_next_success_cb() 413 size_t bytes_size = 0; in on_server_next_success_cb() local 415 &bytes_size) == TSI_OK); in on_server_next_success_cb() 416 GPR_ASSERT(bytes_size == 0); in on_server_next_success_cb()
|
/third_party/glib/glib/ |
D | gvariant-core.c | 957 gsize bytes_size; in g_variant_get_data_as_bytes() local 964 bytes_data = g_bytes_get_data (value->contents.serialised.bytes, &bytes_size); in g_variant_get_data_as_bytes() 974 if (data == bytes_data && size == bytes_size) in g_variant_get_data_as_bytes()
|
/third_party/python/Lib/multiprocessing/ |
D | reduction.py | 156 bytes_size = a.itemsize * size 157 msg, ancdata, flags, addr = sock.recvmsg(1, socket.CMSG_SPACE(bytes_size))
|
/third_party/grpc/src/core/tsi/alts/handshaker/ |
D | alts_tsi_handshaker.cc | 219 size_t* bytes_size) { in handshaker_result_get_unused_bytes() argument 220 if (self == nullptr || bytes == nullptr || bytes_size == nullptr) { in handshaker_result_get_unused_bytes() 229 *bytes_size = result->unused_bytes_size; in handshaker_result_get_unused_bytes()
|
/third_party/jerryscript/jerry-core/ecma/base/ |
D | ecma-helpers-string.c | 455 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 457 return ecma_new_ecma_string_from_utf8 (lit_utf8_bytes, bytes_size); in ecma_new_ecma_string_from_code_unit() 472 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 473 bytes_size += lit_code_unit_to_utf8 (second_code_unit, lit_utf8_bytes + bytes_size); in ecma_new_ecma_string_from_code_units() 475 return ecma_new_ecma_string_from_utf8 (lit_utf8_bytes, bytes_size); in ecma_new_ecma_string_from_code_units()
|
/third_party/e2fsprogs/misc/ |
D | e4crypt.c | 156 size_t bytes_size) in hex2byte() argument 170 if ((x >> 1) >= bytes_size) in hex2byte()
|
/third_party/f2fs-tools/tools/ |
D | f2fscrypt.c | 202 size_t bytes_size) in hex2byte() argument 216 if ((x >> 1) >= bytes_size) in hex2byte()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.cpp | 4046 unsigned bytes_size = 0; in mubuf_load_callback() local 4049 bytes_size = 1; in mubuf_load_callback() 4052 bytes_size = 2; in mubuf_load_callback() 4055 bytes_size = 4; in mubuf_load_callback() 4058 bytes_size = 8; in mubuf_load_callback() 4061 bytes_size = 12; in mubuf_load_callback() 4064 bytes_size = 16; in mubuf_load_callback() 4078 RegClass rc = RegClass::get(RegType::vgpr, bytes_size); in mubuf_load_callback() 4106 unsigned bytes_size = 0; in global_load_callback() local 4111 bytes_size = 1; in global_load_callback() [all …]
|