Home
last modified time | relevance | path

Searched refs:cdesc (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/go/
Dgraph.go294 cdesc := C.TF_NewOperation(g.c, ctype, cname)
301 C.TF_AddInput(cdesc, in.c())
309 C.TF_AddInputList(cdesc, &list[0], C.int(size))
311 C.TF_AddInputList(cdesc, nil, 0)
316 C.TF_AddControlInput(cdesc, in.c)
320 if err := setAttr(cdesc, status, name, value); err != nil {
334 C.TF_SetDevice(cdesc, cdevice)
337 c := C.TF_FinishOperation(cdesc, status.c)
344 func setAttr(cdesc *C.TF_OperationDescription, status *status, name string, value interface{}) erro…
350 C.TF_SetAttrString(cdesc, cAttrName, unsafe.Pointer(cstr), C.size_t(len(value)))
[all …]
/external/u-boot/drivers/usb/emul/
Dusb-emul-uclass.c61 struct usb_config_descriptor *cdesc; in usb_emul_find_descriptor() local
63 cdesc = (struct usb_config_descriptor *)*ptr; in usb_emul_find_descriptor()
64 if (cdesc && cdesc->bConfigurationValue == index) in usb_emul_find_descriptor()
264 struct usb_config_descriptor *cdesc; in usb_emul_setup_device() local
272 for (cdesc = NULL, upto = 0; *ptr; upto += (*ptr)->bLength, ptr++) { in usb_emul_setup_device()
275 if (cdesc) { in usb_emul_setup_device()
276 cdesc->wTotalLength = upto; in usb_emul_setup_device()
278 cdesc->bConfigurationValue, in usb_emul_setup_device()
279 cdesc->bLength); in usb_emul_setup_device()
281 cdesc = (struct usb_config_descriptor *)*ptr; in usb_emul_setup_device()
[all …]
/external/libusb/libusb/os/
Dopenbsd_usb.c39 unsigned char *cdesc; /* active config descriptor */ member
207 dpriv->cdesc = NULL; in obsd_get_device_list()
304 usb_config_descriptor_t *ucd = (usb_config_descriptor_t *)dpriv->cdesc; in obsd_get_active_config_descriptor()
310 memcpy(buf, dpriv->cdesc, len); in obsd_get_active_config_descriptor()
351 usb_config_descriptor_t *ucd = (usb_config_descriptor_t *)dpriv->cdesc; in obsd_get_configuration()
467 free(dpriv->cdesc); in obsd_destroy_device()
620 if (dpriv->cdesc) in _cache_active_config_descriptor()
621 free(dpriv->cdesc); in _cache_active_config_descriptor()
622 dpriv->cdesc = buf; in _cache_active_config_descriptor()
Dnetbsd_usb.c39 unsigned char *cdesc; /* active config descriptor */ member
187 dpriv->cdesc = NULL; in netbsd_get_device_list()
264 ucd = (usb_config_descriptor_t *) dpriv->cdesc; in netbsd_get_active_config_descriptor()
269 memcpy(buf, dpriv->cdesc, len); in netbsd_get_active_config_descriptor()
422 free(dpriv->cdesc); in netbsd_destroy_device()
560 if (dpriv->cdesc) in _cache_active_config_descriptor()
561 free(dpriv->cdesc); in _cache_active_config_descriptor()
562 dpriv->cdesc = buf; in _cache_active_config_descriptor()
/external/emma/core/java12/com/vladium/emma/report/lcov/
DReportGenerator.java219 ClassDescriptor cdesc = cls.getClassDescriptor(); in emitFileCoverage() local