Home | History | Annotate | Download | only in servicemanager

Lines Matching full:sizeof

98     bs = malloc(sizeof(*bs));
180 data.txn.data_size = sizeof(int);
191 binder_write(bs, &data, sizeof(data));
221 if ((end - ptr) * sizeof(uint32_t) < sizeof(struct binder_txn)) {
232 bio_init(&reply, rdata, sizeof(rdata), 4);
237 ptr += sizeof(*txn) / sizeof(uint32_t);
242 if ((end - ptr) * sizeof(uint32_t) < sizeof(struct binder_txn)) {
253 ptr += (sizeof(*txn) / sizeof(uint32_t));
282 binder_write(bs, cmd, sizeof(cmd));
290 binder_write(bs, cmd, sizeof(cmd));
299 binder_write(bs, cmd, sizeof(cmd));
329 bwr.write_size = sizeof(writebuf);
335 bwr.read_size = sizeof(readbuf);
352 memset(reply, 0, sizeof(*reply));
368 binder_write(bs, readbuf, sizeof(unsigned));
371 bwr.read_size = sizeof(readbuf);
406 uint32_t n = maxoffs * sizeof(uint32_t);
444 binder_write(bs, cmd, sizeof(cmd));
453 obj = bio_alloc(bio, sizeof(*obj));
467 uint32_t *ptr = bio_alloc(bio, sizeof(n));
493 obj = bio_alloc(bio, sizeof(*obj));
517 if (len >= (MAX_BIO_SIZE / sizeof(uint16_t))) {
523 len = (len + 1) * sizeof(uint16_t);
542 if (len >= (MAX_BIO_SIZE / sizeof(uint16_t))) {
548 ptr = bio_alloc(bio, (len + 1) * sizeof(uint16_t));
575 uint32_t *ptr = bio_get(bio, sizeof(*ptr));
585 return bio_get(bio, (len + 1) * sizeof(uint16_t));
596 return bio_get(bio, sizeof(struct binder_object));