Home
last modified time | relevance | path

Searched refs:priv_size (Results 1 – 8 of 8) 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/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dsymbol.h95 unsigned short priv_size; member
140 return ((void *)sym) - symbol_conf.priv_size; in symbol__priv()
Dsymbol.c219 struct symbol *sym = calloc(1, (symbol_conf.priv_size + in symbol__new()
224 if (symbol_conf.priv_size) in symbol__new()
225 sym = ((void *)sym) + symbol_conf.priv_size; in symbol__new()
241 free(((void *)sym) - symbol_conf.priv_size); in symbol__delete()
1447 symbol_conf.priv_size = PERF_ALIGN(symbol_conf.priv_size, sizeof(u64)); in symbol__init()
1452 symbol_conf.priv_size += (sizeof(struct symbol_name_rb_node) - in symbol__init()
/external/chromium_org/third_party/libusb/src/libusb/
Dcore.c509 size_t priv_size = usbi_backend->device_priv_size; in usbi_alloc_device() local
510 struct libusb_device *dev = calloc(1, sizeof(*dev) + priv_size); in usbi_alloc_device()
1083 size_t priv_size = usbi_backend->device_handle_priv_size; in libusb_open() local
1091 _handle = malloc(sizeof(*_handle) + priv_size); in libusb_open()
1104 memset(&_handle->os_priv, 0, priv_size); in libusb_open()
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
Dbuiltin-test.c230 symbol_conf.priv_size = sizeof(int); in cmd_test()
/external/linux-tools-perf/perf-3.12.0/tools/perf/
Dbuiltin-annotate.c340 symbol_conf.priv_size = sizeof(struct annotation); in cmd_annotate()
Dbuiltin-report.c926 symbol_conf.priv_size = sizeof(struct annotation); in cmd_report()
941 symbol_conf.priv_size += sizeof(u32); in cmd_report()
Dbuiltin-top.c1228 symbol_conf.priv_size = sizeof(struct annotation); in cmd_top()