Searched refs:priv_size (Results 1 – 10 of 10) sorted by relevance
/external/libusb/libusb/ |
D | core.c | 502 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/ |
D | core.c | 529 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/ |
D | top.h | 32 return ((void *)self) + symbol_conf.priv_size; in sym_entry__symbol()
|
D | symbol.h | 96 unsigned short priv_size; member 128 return ((void *)sym) - symbol_conf.priv_size; in symbol__priv()
|
D | symbol.c | 150 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/ |
D | builtin-report.c | 488 symbol_conf.priv_size = sizeof(struct annotation); in cmd_report() 502 symbol_conf.priv_size += sizeof(u32); in cmd_report()
|
D | builtin-annotate.c | 281 symbol_conf.priv_size = sizeof(struct annotation); in cmd_annotate()
|
D | builtin-test.c | 670 symbol_conf.priv_size = sizeof(int); in cmd_test()
|
D | android.patch | 1220 + symbol_conf.priv_size = KERNEL_ALIGN(symbol_conf.priv_size, sizeof(u64)); 1222 symbol_conf.priv_size = ALIGN(symbol_conf.priv_size, sizeof(u64));
|
D | builtin-top.c | 1151 symbol_conf.priv_size = (sizeof(struct sym_entry) + sizeof(struct annotation) + in cmd_top()
|