/external/grpc-grpc/src/core/tsi/alts/frame_protector/ |
frame_handler.cc | 73 size_t* bytes_size) { 74 if (bytes_size == nullptr || output == nullptr) return false; 76 *bytes_size = 0; 83 GPR_MIN(*bytes_size, 88 *bytes_size -= bytes_to_write; 92 *bytes_size = bytes_written; 98 GPR_MIN(writer->input_size - writer->input_bytes_written, *bytes_size); 103 *bytes_size = bytes_written; 155 const unsigned char* bytes, size_t* bytes_size) { 156 if (bytes_size == nullptr) return false [all...] |
frame_handler.h | 84 * This method writes up to bytes_size bytes of a frame to output. 88 * - bytes_size: an in/out parameter that stores the size of output buffer 95 size_t* bytes_size); 150 * This method processes up to the number of bytes given in bytes_size. It may 156 * - bytes_size: an in/out parameter that stores the size of bytes before the 162 const unsigned char* bytes, size_t* bytes_size);
|
/external/grpc-grpc/src/core/tsi/ |
transport_security.cc | 133 size_t* bytes_size) { 135 bytes_size == nullptr) { 142 return self->vtable->get_bytes_to_send_to_peer(self, bytes, bytes_size); 147 size_t* bytes_size) { 149 bytes_size == nullptr) { 156 return self->vtable->process_bytes_from_peer(self, bytes, bytes_size); 252 size_t* bytes_size) { 254 bytes_size == nullptr) { 258 return self->vtable->get_unused_bytes(self, bytes, bytes_size);
|
transport_security.h | 60 size_t* bytes_size); 63 size_t* bytes_size); 105 size_t* bytes_size);
|
transport_security_interface.h | 342 - bytes_size is an input/output parameter specifying the capacity of the 345 nothing has to be sent to the peer (in which base bytes_size outputs to 0), 348 was more data to write than the specified bytes_size). In case of a fatal 352 size_t* bytes_size); 357 - bytes_size is an input/output parameter specifying the size of the data as 366 size_t* bytes_size);
|
ssl_transport_security.cc | [all...] |
fake_transport_security.cc | 525 size_t* bytes_size) { 527 *bytes_size = result->unused_bytes_size; 570 tsi_handshaker* self, unsigned char* bytes, size_t* bytes_size) { 574 *bytes_size = 0; 595 result = tsi_fake_frame_encode(bytes, bytes_size, &impl->outgoing_frame); 611 tsi_handshaker* self, const unsigned char* bytes, size_t* bytes_size) { 619 *bytes_size = 0; 622 result = tsi_fake_frame_decode(bytes, bytes_size, &impl->incoming_frame);
|
/external/python/cpython3/Modules/_io/ |
winconsoleio.c | 791 DWORD bytes_size, rn; local 854 bytes_size = WideCharToMultiByte(CP_UTF8, 0, buf, len, local 858 if (!bytes_size) { 864 bytes_size = 0; 867 bytes_size += _buflen(self); 868 bytes = PyBytes_FromStringAndSize(NULL, bytes_size); 869 rn = _copyfrombuf(self, PyBytes_AS_STRING(bytes), bytes_size); 873 bytes_size = WideCharToMultiByte(CP_UTF8, 0, buf, len, local 874 &PyBytes_AS_STRING(bytes)[rn], bytes_size - rn, NULL, NULL); 877 if (!bytes_size) { 915 Py_ssize_t bytes_size; local [all...] |
/external/grpc-grpc/test/core/tsi/alts/handshaker/ |
alts_tsi_handshaker_test.cc | 262 size_t bytes_size = 0; local 264 &bytes_size) == TSI_OK); 265 GPR_ASSERT(bytes_size == strlen(ALTS_TSI_HANDSHAKER_TEST_REMAIN_BYTES)); 266 GPR_ASSERT(memcmp(bytes, ALTS_TSI_HANDSHAKER_TEST_REMAIN_BYTES, bytes_size) == 299 size_t bytes_size = 0; local 301 &bytes_size) == TSI_OK); 302 GPR_ASSERT(bytes_size == 0);
|
/external/grpc-grpc/test/core/tsi/ |
transport_security_test_lib.cc | 94 size_t bytes_size = 0; local 96 result_with_unused_bytes, &bytes, &bytes_size) == TSI_OK); 97 GPR_ASSERT(bytes_size == strlen(TSI_TEST_UNUSED_BYTES)); 98 GPR_ASSERT(memcmp(bytes, TSI_TEST_UNUSED_BYTES, bytes_size) == 0); 100 result_without_unused_bytes, &bytes, &bytes_size) == TSI_OK); 101 GPR_ASSERT(bytes_size == 0);
|
/external/python/cpython3/Lib/multiprocessing/ |
reduction.py | 152 bytes_size = a.itemsize * size 153 msg, ancdata, flags, addr = sock.recvmsg(1, socket.CMSG_SPACE(bytes_size))
|
/external/python/cpython3/Modules/ |
zipimport.c | 1192 Py_ssize_t data_size, file_size, bytes_size; local [all...] |
/external/grpc-grpc/src/core/tsi/alts/handshaker/ |
alts_tsi_handshaker.cc | 162 size_t* bytes_size) { 163 if (self == nullptr || bytes == nullptr || bytes_size == nullptr) { 172 *bytes_size = result->unused_bytes_size;
|
/external/e2fsprogs/misc/ |
e4crypt.c | 155 size_t bytes_size) 169 if ((x >> 1) >= bytes_size)
|
/external/f2fs-tools/tools/ |
f2fscrypt.c | 202 size_t bytes_size) 216 if ((x >> 1) >= bytes_size)
|