Searched refs:buffer_size_bytes (Results 1 – 8 of 8) sorted by relevance
/external/pigweed/pw_tokenizer/ |
D | tokenize.cc | 67 size_t* buffer_size_bytes, in _pw_tokenizer_ToBuffer() argument 71 if (*buffer_size_bytes < sizeof(token)) { in _pw_tokenizer_ToBuffer() 72 *buffer_size_bytes = 0; in _pw_tokenizer_ToBuffer() 84 *buffer_size_bytes - sizeof(token))); in _pw_tokenizer_ToBuffer() 87 *buffer_size_bytes = sizeof(token) + encoded_bytes; in _pw_tokenizer_ToBuffer()
|
/external/adhd/cras/src/common/ |
D | byte_buffer.h | 23 static inline struct byte_buffer *byte_buffer_create(size_t buffer_size_bytes) in byte_buffer_create() argument 27 buffer_size_bytes); in byte_buffer_create() 30 buf->max_size = buffer_size_bytes; in byte_buffer_create() 31 buf->used_size = buffer_size_bytes; in byte_buffer_create()
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | socket_utils_common_posix.cc | 110 grpc_error* grpc_set_socket_sndbuf(int fd, int buffer_size_bytes) { in grpc_set_socket_sndbuf() argument 111 return 0 == setsockopt(fd, SOL_SOCKET, SO_SNDBUF, &buffer_size_bytes, in grpc_set_socket_sndbuf() 112 sizeof(buffer_size_bytes)) in grpc_set_socket_sndbuf() 117 grpc_error* grpc_set_socket_rcvbuf(int fd, int buffer_size_bytes) { in grpc_set_socket_rcvbuf() argument 118 return 0 == setsockopt(fd, SOL_SOCKET, SO_RCVBUF, &buffer_size_bytes, in grpc_set_socket_rcvbuf() 119 sizeof(buffer_size_bytes)) in grpc_set_socket_rcvbuf()
|
D | socket_utils_posix.h | 86 grpc_error* grpc_set_socket_sndbuf(int fd, int buffer_size_bytes); 89 grpc_error* grpc_set_socket_rcvbuf(int fd, int buffer_size_bytes);
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | socket_utils_common_posix.cc | 136 grpc_error* grpc_set_socket_sndbuf(int fd, int buffer_size_bytes) { in grpc_set_socket_sndbuf() argument 137 return 0 == setsockopt(fd, SOL_SOCKET, SO_SNDBUF, &buffer_size_bytes, in grpc_set_socket_sndbuf() 138 sizeof(buffer_size_bytes)) in grpc_set_socket_sndbuf() 143 grpc_error* grpc_set_socket_rcvbuf(int fd, int buffer_size_bytes) { in grpc_set_socket_rcvbuf() argument 144 return 0 == setsockopt(fd, SOL_SOCKET, SO_RCVBUF, &buffer_size_bytes, in grpc_set_socket_rcvbuf() 145 sizeof(buffer_size_bytes)) in grpc_set_socket_rcvbuf()
|
D | socket_utils_posix.h | 98 grpc_error* grpc_set_socket_sndbuf(int fd, int buffer_size_bytes); 101 grpc_error* grpc_set_socket_rcvbuf(int fd, int buffer_size_bytes);
|
/external/grpc-grpc/test/core/iomgr/ |
D | fd_posix_test.cc | 63 int buffer_size_bytes = BUF_SIZE; in create_test_socket() local 70 GPR_ASSERT(grpc_set_socket_sndbuf(fd, buffer_size_bytes) == GRPC_ERROR_NONE); in create_test_socket() 71 GPR_ASSERT(grpc_set_socket_rcvbuf(fd, buffer_size_bytes) == GRPC_ERROR_NONE); in create_test_socket()
|
/external/pigweed/pw_tokenizer/public/pw_tokenizer/ |
D | tokenize.h | 181 size_t* buffer_size_bytes, // input and output arg
|