Home
last modified time | relevance | path

Searched refs:priv_size (Results 1 – 10 of 10) sorted by relevance

/external/libusb/libusb/
Dcore.c502 size_t priv_size = usbi_backend->device_priv_size; in usbi_alloc_device() local
503 struct libusb_device *dev = malloc(sizeof(*dev) + priv_size); in usbi_alloc_device()
516 memset(&dev->os_priv, 0, priv_size); in usbi_alloc_device()
861 size_t priv_size = usbi_backend->device_handle_priv_size; in libusb_open() local
866 _handle = malloc(sizeof(*_handle) + priv_size); in libusb_open()
876 memset(&_handle->os_priv, 0, priv_size); in libusb_open()
/external/libusb_aah/libusb/
Dcore.c529 size_t priv_size = usbi_backend->device_priv_size; in usbi_alloc_device() local
530 struct libusb_device *dev = calloc(1, sizeof(*dev) + priv_size); in usbi_alloc_device()
546 memset(&dev->os_priv, 0, priv_size); in usbi_alloc_device()
946 size_t priv_size = usbi_backend->device_handle_priv_size; in libusb_open() local
950 _handle = malloc(sizeof(*_handle) + priv_size); in libusb_open()
962 memset(&_handle->os_priv, 0, priv_size); in libusb_open()
/external/linux-tools-perf/util/
Dtop.h32 return ((void *)self) + symbol_conf.priv_size; in sym_entry__symbol()
Dsymbol.h96 unsigned short priv_size; member
128 return ((void *)sym) - symbol_conf.priv_size; in symbol__priv()
Dsymbol.c150 struct symbol *sym = calloc(1, (symbol_conf.priv_size + in symbol__new()
155 if (symbol_conf.priv_size) in symbol__new()
156 sym = ((void *)sym) + symbol_conf.priv_size; in symbol__new()
172 free(((void *)sym) - symbol_conf.priv_size); in symbol__delete()
2476 symbol_conf.priv_size = KERNEL_ALIGN(symbol_conf.priv_size, sizeof(u64)); in symbol__init()
2478 symbol_conf.priv_size = ALIGN(symbol_conf.priv_size, sizeof(u64)); in symbol__init()
2484 symbol_conf.priv_size += (sizeof(struct symbol_name_rb_node) - in symbol__init()
/external/linux-tools-perf/
Dbuiltin-report.c488 symbol_conf.priv_size = sizeof(struct annotation); in cmd_report()
502 symbol_conf.priv_size += sizeof(u32); in cmd_report()
Dbuiltin-annotate.c281 symbol_conf.priv_size = sizeof(struct annotation); in cmd_annotate()
Dbuiltin-test.c670 symbol_conf.priv_size = sizeof(int); in cmd_test()
Dandroid.patch1220 + symbol_conf.priv_size = KERNEL_ALIGN(symbol_conf.priv_size, sizeof(u64));
1222 symbol_conf.priv_size = ALIGN(symbol_conf.priv_size, sizeof(u64));
Dbuiltin-top.c1151 symbol_conf.priv_size = (sizeof(struct sym_entry) + sizeof(struct annotation) + in cmd_top()