Home
last modified time | relevance | path

Searched refs:ALLOC_N (Results 1 – 9 of 9) 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/
Dstorage.c604 layout->fields = ALLOC_N(MessageField, nfields); in create_layout()
1111 ALLOC_N(char, native_slot_size(upb_fielddef_type(field))); in layout_merge()
Dmessage.c255 intern->data = ALLOC_N(uint8_t, desc->layout->size);
1365 *binary = ALLOC_N(char, *binary_len);
1473 char* type_url = ALLOC_N(char, type_url_len);
1507 char* type_url = ALLOC_N(char, type_url_len);
Ddef.c734 char* lower = ALLOC_N(char, length + 1); in is_reserved()
Dprotobuf.h1479 #define ALLOC_N(class_name, n) (class_name*) emalloc(sizeof(class_name) * n) macro
/external/protobuf/ruby/ext/google/protobuf_c/
Drepeated_field.c199 self->elements = ALLOC_N(uint8_t, elem_size * self->capacity); in RepeatedField_reserve()
Dmessage.c63 MessageHeader* msg = (MessageHeader*)ALLOC_N( in Message_alloc()
Dstorage.c470 layout->fields = ALLOC_N(MessageField, nfields); in create_layout()