/hardware/bsp/intel/peripheral/libupm/examples/python/ |
D | m24lr64e.py | 35 addr = (nfcTagObj.M24LR64E.EEPROM_I2C_LENGTH - 1) variable 36 print "Address: ", addr 37 byte = nfcTag.readByte(addr) 43 nfcTag.writeByte(addr, byte) 47 byte = nfcTag.readByte(addr)
|
D | hm11.py | 90 addr = "AT+ADDR?"; variable 91 print "Querying module address (" + addr + ")..." 93 sendCommand(my_ble_obj, addr)
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/ |
D | vpx_mem_tracker.c | 82 static void memory_tracker_add(size_t addr, unsigned int size, 85 static int memory_tracker_remove(size_t addr); 86 static struct mem_block *memory_tracker_find(size_t addr); 254 void vpx_memory_tracker_add(size_t addr, unsigned int size, in vpx_memory_tracker_add() argument 257 memory_tracker_add(addr, size, file, line, padded); in vpx_memory_tracker_add() 268 int vpx_memory_tracker_remove(size_t addr) { in vpx_memory_tracker_remove() argument 269 return memory_tracker_remove(addr); in vpx_memory_tracker_remove() 279 struct mem_block *vpx_memory_tracker_find(size_t addr) { in vpx_memory_tracker_find() argument 283 p = memory_tracker_find(addr); in vpx_memory_tracker_find() 455 p->addr, i, p->size, in memory_tracker_dump() [all …]
|
D | vpx_mem.c | 110 void *addr, in vpx_memalign() local 123 addr = hmm_alloc(&hmm_d, number_aau); in vpx_memalign() 125 addr = VPX_MALLOC_L(size + align - 1 + ADDRESS_STORAGE_SIZE); in vpx_memalign() 128 if (addr) { in vpx_memalign() 129 x = align_addr((unsigned char *)addr + ADDRESS_STORAGE_SIZE, (int)align); in vpx_memalign() 131 ((size_t *)x)[-1] = (size_t)addr; in vpx_memalign() 153 void *addr, in vpx_realloc() local 170 addr = (void *)(((size_t *)memblk)[-1]); in vpx_realloc() 174 new_addr = vpx_mm_realloc(addr, size + align + ADDRESS_STORAGE_SIZE); in vpx_realloc() 176 new_addr = VPX_REALLOC_L(addr, size + align + ADDRESS_STORAGE_SIZE); in vpx_realloc() [all …]
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
D | m24lr64e.cxx | 45 int addr = M24LR64E::EEPROM_I2C_LENGTH - 1; in main() local 46 printf("Address: %d\n", addr); in main() 47 uint8_t byte = nfcTag->readByte(addr); in main() 52 nfcTag->writeByte(addr, byte); in main() 56 byte = nfcTag->readByte(addr); in main()
|
D | hm11.cxx | 96 char addr[] = "AT+ADDR?"; in main() local 97 cout << "Querying module address (" << addr << ")..." << endl; in main() 98 sendCommand(ble, addr); in main()
|
/hardware/libhardware_legacy/uevent/ |
D | uevent.c | 45 struct sockaddr_nl addr; in uevent_init() local 49 memset(&addr, 0, sizeof(addr)); in uevent_init() 50 addr.nl_family = AF_NETLINK; in uevent_init() 51 addr.nl_pid = getpid(); in uevent_init() 52 addr.nl_groups = 0xffffffff; in uevent_init() 60 if(bind(s, (struct sockaddr *) &addr, sizeof(addr)) < 0) { in uevent_init()
|
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
D | m24lr64e.js | 39 var addr = (nfcTagObj.M24LR64E.EEPROM_I2C_LENGTH - 1); variable 40 console.log("Address: " + addr); 41 var byte = nfcTag.readByte(addr); 47 nfcTag.writeByte(addr, byte); 51 byte = nfcTag.readByte(addr);
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
D | M24LR64ESample.java | 47 int addr = upm_m24lr64e.M24LR64E.EEPROM_I2C_LENGTH - 1; in main() local 48 System.out.println("Address: " + addr); in main() 49 short read = nfcTag.readByte(addr); in main() 54 nfcTag.writeByte(addr, read); in main() 58 read = nfcTag.readByte(addr); in main()
|
D | HM11Sample.java | 80 String addr = "AT+ADDR?"; in main() local 81 System.out.println("Querying module address (" + addr + ")..."); in main() 82 sendCommand(ble, addr.getBytes()); in main()
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/observers/ |
D | UeventObserver.cpp | 58 struct sockaddr_nl addr; in initialize() local 63 memset(&addr, 0, sizeof(addr)); in initialize() 64 addr.nl_family = AF_NETLINK; in initialize() 65 addr.nl_pid = pthread_self() | getpid(); in initialize() 66 addr.nl_groups = 0xffffffff; in initialize() 78 if (bind(mUeventFd, (struct sockaddr *) &addr, sizeof(addr)) < 0) { in initialize()
|
/hardware/intel/img/hwcomposer/merrifield/common/observers/ |
D | UeventObserver.cpp | 58 struct sockaddr_nl addr; in initialize() local 63 memset(&addr, 0, sizeof(addr)); in initialize() 64 addr.nl_family = AF_NETLINK; in initialize() 65 addr.nl_pid = pthread_self() | getpid(); in initialize() 66 addr.nl_groups = 0xffffffff; in initialize() 78 if (bind(mUeventFd, (struct sockaddr *) &addr, sizeof(addr)) < 0) { in initialize()
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
D | tdls.h | 52 void (*on_tdls_state_changed)(mac_addr addr, wifi_tdls_status status); 65 wifi_error wifi_enable_tdls(wifi_interface_handle iface, mac_addr addr, 76 wifi_error wifi_disable_tdls(wifi_interface_handle iface, mac_addr addr); 79 wifi_error wifi_get_tdls_status(wifi_interface_handle iface, mac_addr addr,
|
/hardware/bsp/intel/peripheral/libmraa/examples/ |
D | mraa-i2c.c | 162 int addr; in i2c_detect_devices() local 163 for (addr = 0x0; addr < 0x80; ++addr) { in i2c_detect_devices() 165 if ((addr) % 16 == 0) in i2c_detect_devices() 166 printf("%02x: ", addr); in i2c_detect_devices() 167 if (i2c_get(bus, addr, 0, &value) == MRAA_SUCCESS) in i2c_detect_devices() 168 printf("%02x ", addr); in i2c_detect_devices() 171 if ((addr + 1) % 16 == 0) in i2c_detect_devices()
|
/hardware/libhardware_legacy/qemu_tracing/ |
D | qemu_tracing.c | 60 int qemu_add_mapping(unsigned int addr, const char *name) in qemu_add_mapping() argument 69 sprintf(buf, "%x %s\n", addr, name); in qemu_add_mapping() 75 int qemu_remove_mapping(unsigned int addr) in qemu_remove_mapping() argument 82 sprintf(buf, "%x\n", addr); in qemu_remove_mapping()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/include/ |
D | vpx_mem_tracker.h | 27 size_t addr; member 73 void vpx_memory_tracker_add(size_t addr, unsigned int size, 90 int vpx_memory_tracker_remove(size_t addr); 100 struct mem_block *vpx_memory_tracker_find(size_t addr);
|
/hardware/marvell/bt/libbt-vendor/ |
D | hardware_mrvl.c | 129 static void populate_bd_addr_params(uint8_t *params, uint8_t *addr) in populate_bd_addr_params() argument 131 assert(params && addr); in populate_bd_addr_params() 133 *params++ = addr[5]; in populate_bd_addr_params() 134 *params++ = addr[4]; in populate_bd_addr_params() 135 *params++ = addr[3]; in populate_bd_addr_params() 136 *params++ = addr[2]; in populate_bd_addr_params() 137 *params++ = addr[1]; in populate_bd_addr_params() 138 *params = addr[0]; in populate_bd_addr_params()
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
D | loc_eng_agps.h | 279 virtual void setIPAddresses(struct sockaddr_storage& addr) = 0; 320 inline virtual void setIPAddresses(struct sockaddr_storage& addr) in setIPAddresses() 321 { addr.ss_family = AF_INET6;/*todo: convert mIPv6Addr into addr */ } in setIPAddresses() 347 inline virtual void setIPAddresses(struct sockaddr_storage& addr) in setIPAddresses() 348 { memset(&addr, 0, sizeof(addr)); in setIPAddresses() 349 addr.ss_family = AF_INET6; } in setIPAddresses() 383 inline virtual void setIPAddresses(struct sockaddr_storage& addr) in setIPAddresses() 384 { addr.ss_family = AF_INET6; } in setIPAddresses() 419 inline virtual void setIPAddresses(struct sockaddr_storage& addr) in setIPAddresses() 420 { addr.ss_family = AF_INET6; } in setIPAddresses()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/ |
D | vpx_image.c | 18 #define align_addr(addr,align) (void*)(((size_t)(addr) + ((align) - 1)) & (size_t)-(align)) argument 22 void *addr, in img_buf_memalign() local 25 addr = malloc(size + align - 1 + ADDRESS_STORAGE_SIZE); in img_buf_memalign() 27 if (addr) { in img_buf_memalign() 28 x = align_addr((unsigned char *)addr + ADDRESS_STORAGE_SIZE, (int)align); in img_buf_memalign() 30 ((size_t *)x)[-1] = (size_t)addr; in img_buf_memalign() 38 void *addr = (void *)(((size_t *)memblk)[-1]); in img_buf_free() local 39 free(addr); in img_buf_free()
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | tdls.cpp | 108 mac_addr addr; in handleEvent() local 112 memset(&addr, 0, sizeof(mac_addr)); in handleEvent() 125 memcpy(addr, in handleEvent() 129 ALOGV(MAC_ADDR_STR, MAC_ADDR_ARRAY(addr)); in handleEvent() 174 (*mHandler.on_tdls_state_changed)(addr, status); in handleEvent() 357 mac_addr addr, in wifi_enable_tdls() argument 387 ALOGV("%s: MAC_ADDR: " MAC_ADDR_STR, __FUNCTION__, MAC_ADDR_ARRAY(addr)); in wifi_enable_tdls() 389 (char *)addr, 6); in wifi_enable_tdls() 438 wifi_error wifi_disable_tdls(wifi_interface_handle iface, mac_addr addr) in wifi_disable_tdls() argument 462 ALOGV("%s: MAC_ADDR: " MAC_ADDR_STR, __FUNCTION__, MAC_ADDR_ARRAY(addr)); in wifi_disable_tdls() [all …]
|
/hardware/bsp/intel/peripheral/libmraa/src/i2c/ |
D | i2c.c | 266 m[0].addr = dev->addr; in mraa_i2c_read_bytes_data() 270 m[1].addr = dev->addr; in mraa_i2c_read_bytes_data() 347 mraa_i2c_address(mraa_i2c_context dev, uint8_t addr) in mraa_i2c_address() argument 353 dev->addr = (int) addr; in mraa_i2c_address() 355 return dev->advance_func->i2c_address_replace(dev, addr); in mraa_i2c_address() 357 if (ioctl(dev->fh, I2C_SLAVE_FORCE, addr) < 0) { in mraa_i2c_address() 358 syslog(LOG_ERR, "i2c: Failed to set slave address %d", addr); in mraa_i2c_address()
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
D | loc_eng_agps.h | 279 virtual void setIPAddresses(struct sockaddr_storage& addr) = 0; 320 inline virtual void setIPAddresses(struct sockaddr_storage& addr) in setIPAddresses() 321 { addr.ss_family = AF_INET6;/*todo: convert mIPv6Addr into addr */ } in setIPAddresses() 347 inline virtual void setIPAddresses(struct sockaddr_storage& addr) in setIPAddresses() 348 { addr.ss_family = AF_INET6; } in setIPAddresses() 382 inline virtual void setIPAddresses(struct sockaddr_storage& addr) in setIPAddresses() 383 { addr.ss_family = AF_INET6; } in setIPAddresses() 418 inline virtual void setIPAddresses(struct sockaddr_storage& addr) in setIPAddresses() 419 { addr.ss_family = AF_INET6; } in setIPAddresses()
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | loc_eng_agps.h | 279 virtual void setIPAddresses(struct sockaddr_storage& addr) = 0; 320 inline virtual void setIPAddresses(struct sockaddr_storage& addr) in setIPAddresses() 321 { addr.ss_family = AF_INET6;/*todo: convert mIPv6Addr into addr */ } in setIPAddresses() 347 inline virtual void setIPAddresses(struct sockaddr_storage& addr) in setIPAddresses() 348 { addr.ss_family = AF_INET6; } in setIPAddresses() 382 inline virtual void setIPAddresses(struct sockaddr_storage& addr) in setIPAddresses() 383 { addr.ss_family = AF_INET6; } in setIPAddresses() 418 inline virtual void setIPAddresses(struct sockaddr_storage& addr) in setIPAddresses() 419 { addr.ss_family = AF_INET6; } in setIPAddresses()
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
D | loc_eng_agps.h | 279 virtual void setIPAddresses(struct sockaddr_storage& addr) = 0; 320 inline virtual void setIPAddresses(struct sockaddr_storage& addr) in setIPAddresses() 321 { addr.ss_family = AF_INET6;/*todo: convert mIPv6Addr into addr */ } in setIPAddresses() 347 inline virtual void setIPAddresses(struct sockaddr_storage& addr) in setIPAddresses() 348 { addr.ss_family = AF_INET6; } in setIPAddresses() 382 inline virtual void setIPAddresses(struct sockaddr_storage& addr) in setIPAddresses() 383 { addr.ss_family = AF_INET6; } in setIPAddresses() 418 inline virtual void setIPAddresses(struct sockaddr_storage& addr) in setIPAddresses() 419 { addr.ss_family = AF_INET6; } in setIPAddresses()
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc_eng_agps.h | 279 virtual void setIPAddresses(struct sockaddr_storage& addr) = 0; 320 inline virtual void setIPAddresses(struct sockaddr_storage& addr) in setIPAddresses() 321 { addr.ss_family = AF_INET6;/*todo: convert mIPv6Addr into addr */ } in setIPAddresses() 347 inline virtual void setIPAddresses(struct sockaddr_storage& addr) in setIPAddresses() 348 { addr.ss_family = AF_INET6; } in setIPAddresses() 382 inline virtual void setIPAddresses(struct sockaddr_storage& addr) in setIPAddresses() 383 { addr.ss_family = AF_INET6; } in setIPAddresses() 418 inline virtual void setIPAddresses(struct sockaddr_storage& addr) in setIPAddresses() 419 { addr.ss_family = AF_INET6; } in setIPAddresses()
|