Searched refs:ALLOC_N (Results 1 – 9 of 9) sorted by relevance
/external/grpc-grpc/src/ruby/ext/grpc/ |
D | rb_channel_args.c | 126 params->dst->args = ALLOC_N(grpc_arg, num_args); in grpc_rb_hash_convert_to_channel_args0()
|
D | rb_server_credentials.c | 183 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/ |
D | storage.c | 604 layout->fields = ALLOC_N(MessageField, nfields); in create_layout() 1111 ALLOC_N(char, native_slot_size(upb_fielddef_type(field))); in layout_merge()
|
D | message.c | 255 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);
|
D | def.c | 734 char* lower = ALLOC_N(char, length + 1); in is_reserved()
|
D | protobuf.h | 1479 #define ALLOC_N(class_name, n) (class_name*) emalloc(sizeof(class_name) * n) macro
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | repeated_field.c | 199 self->elements = ALLOC_N(uint8_t, elem_size * self->capacity); in RepeatedField_reserve()
|
D | message.c | 63 MessageHeader* msg = (MessageHeader*)ALLOC_N( in Message_alloc()
|
D | storage.c | 470 layout->fields = ALLOC_N(MessageField, nfields); in create_layout()
|