Home
last modified time | relevance | path

Searched refs:bio (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/cmds/servicemanager/
Dbinder.c201 int binder_parse(struct binder_state *bs, struct binder_io *bio, in binder_parse() argument
255 if (bio) { in binder_parse()
256 bio_init_from_txn(bio, txn); in binder_parse()
257 bio = 0; in binder_parse()
406 void bio_init_from_txn(struct binder_io *bio, struct binder_transaction_data *txn) in bio_init_from_txn() argument
408 bio->data = bio->data0 = (char *)(intptr_t)txn->data.ptr.buffer; in bio_init_from_txn()
409 bio->offs = bio->offs0 = (binder_size_t *)(intptr_t)txn->data.ptr.offsets; in bio_init_from_txn()
410 bio->data_avail = txn->data_size; in bio_init_from_txn()
411 bio->offs_avail = txn->offsets_size / sizeof(size_t); in bio_init_from_txn()
412 bio->flags = BIO_F_SHARED; in bio_init_from_txn()
[all …]
Dbinder.h81 void bio_init(struct binder_io *bio, void *data,
84 void bio_put_obj(struct binder_io *bio, void *ptr);
85 void bio_put_ref(struct binder_io *bio, uint32_t handle);
86 void bio_put_uint32(struct binder_io *bio, uint32_t n);
87 void bio_put_string16(struct binder_io *bio, const uint16_t *str);
88 void bio_put_string16_x(struct binder_io *bio, const char *_str);
90 uint32_t bio_get_uint32(struct binder_io *bio);
91 uint16_t *bio_get_string16(struct binder_io *bio, size_t *sz);
92 uint32_t bio_get_ref(struct binder_io *bio);