Home
last modified time | relevance | path

Searched refs:ALLOC_N (Results 1 – 8 of 8) sorted by relevance

/external/grpc-grpc/src/ruby/ext/grpc/
Drb_channel_args.c126 params->dst->args = ALLOC_N(grpc_arg, num_args); in grpc_rb_hash_convert_to_channel_args0()
Drb_server_credentials.c183 key_cert_pairs = ALLOC_N(grpc_ssl_pem_key_cert_pair, num_key_certs); in grpc_rb_server_credentials_init()
/external/protobuf/php/ext/google/protobuf/
Dprotobuf.h272 #define ALLOC_N(class_name, n) (class_name*) emalloc(sizeof(class_name) * n) macro
Dmessage.c221 MessageHeader* msg = (MessageHeader*)ALLOC_N( in message_create()
Dstorage.c300 layout->fields = ALLOC_N(MessageField, nfields); in create_layout()
/external/protobuf/ruby/ext/google/protobuf_c/
Dmessage.c58 MessageHeader* msg = (MessageHeader*)ALLOC_N( in Message_alloc()
Drepeated_field.c199 self->elements = ALLOC_N(uint8_t, elem_size * self->capacity); in RepeatedField_reserve()
Dstorage.c407 layout->fields = ALLOC_N(MessageField, nfields); in create_layout()