Home
last modified time | relevance | path

Searched refs:device (Results 1 – 25 of 395) sorted by relevance

12345678910>>...16

/external/qemu/distrib/sdl-1.2.12/src/video/dummy/
DSDL_nullvideo.c79 static void DUMMY_DeleteDevice(SDL_VideoDevice *device) in DUMMY_DeleteDevice() argument
81 SDL_free(device->hidden); in DUMMY_DeleteDevice()
82 SDL_free(device); in DUMMY_DeleteDevice()
87 SDL_VideoDevice *device; in DUMMY_CreateDevice() local
90 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); in DUMMY_CreateDevice()
91 if ( device ) { in DUMMY_CreateDevice()
92 SDL_memset(device, 0, (sizeof *device)); in DUMMY_CreateDevice()
93 device->hidden = (struct SDL_PrivateVideoData *) in DUMMY_CreateDevice()
94 SDL_malloc((sizeof *device->hidden)); in DUMMY_CreateDevice()
96 if ( (device == NULL) || (device->hidden == NULL) ) { in DUMMY_CreateDevice()
[all …]
/external/bluez/utils/audio/
Dmanager.c86 struct audio_device *device; member
136 static void destroy_device(struct audio_device *device) in destroy_device() argument
138 g_dbus_unregister_all_interfaces(connection, device->path); in destroy_device()
141 static void remove_device(struct audio_device *device) in remove_device() argument
143 if (device == default_dev) { in remove_device()
148 if (device == default_hs) { in remove_device()
153 devices = g_slist_remove(devices, device); in remove_device()
155 destroy_device(device); in remove_device()
158 static gboolean add_device(struct audio_device *device, gboolean send_signals) in add_device() argument
166 DBUS_TYPE_STRING, &device->path, in add_device()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/
DSDL_riscosvideo.c88 static void RISCOS_DeleteDevice(SDL_VideoDevice *device) in RISCOS_DeleteDevice() argument
90 SDL_free(device->hidden); in RISCOS_DeleteDevice()
91 SDL_free(device); in RISCOS_DeleteDevice()
96 SDL_VideoDevice *device; in RISCOS_CreateDevice() local
99 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); in RISCOS_CreateDevice()
100 if ( device ) { in RISCOS_CreateDevice()
101 SDL_memset(device, 0, (sizeof *device)); in RISCOS_CreateDevice()
102 device->hidden = (struct SDL_PrivateVideoData *) in RISCOS_CreateDevice()
103 SDL_malloc((sizeof *device->hidden)); in RISCOS_CreateDevice()
105 if ( (device == NULL) || (device->hidden == NULL) ) { in RISCOS_CreateDevice()
[all …]
/external/bluez/utils/hcid/
Ddevice.c76 struct device *device; member
772 struct device *device = user_data; in device_free() local
774 if (device->agent) in device_free()
775 agent_destroy(device->agent, FALSE); in device_free()
777 g_slist_foreach(device->uuids, (GFunc) g_free, NULL); in device_free()
778 g_slist_free(device->uuids); in device_free()
780 if (device->disconn_timer) in device_free()
781 g_source_remove(device->disconn_timer); in device_free()
783 g_free(device->address); in device_free()
784 g_free(device->path); in device_free()
[all …]
Ddevice.h33 struct device { struct
52 struct device *device_create(DBusConnection *conn, struct adapter *adapter, argument
54 void device_remove(DBusConnection *conn, struct device *device);
55 gint device_address_cmp(struct device *device, const gchar *address);
56 int device_browse(struct device *device, DBusConnection *conn,
58 void device_probe_drivers(struct device *device, GSList *uuids);
65 int (*probe) (struct btd_device *device);
66 void (*remove) (struct btd_device *device);
/external/skia/src/core/
DSkBlitter_ARGB32.cpp24 SkARGB32_Blitter::SkARGB32_Blitter(const SkBitmap& device, const SkPaint& paint) in SkARGB32_Blitter() argument
25 : INHERITED(device) { in SkARGB32_Blitter()
57 uint32_t* device = fDevice.getAddr32(x, y); in blitH() local
60 sk_memset32(device, fPMColor, width); in blitH()
64 uint32_t prevDst = ~device[0]; // so we always fail the test the first time in blitH()
68 uint32_t currDst = device[i]; in blitH()
73 device[i] = result; in blitH()
85 uint32_t* device = fDevice.getAddr32(x, y); in blitAntiH() local
97 sk_memset32(device, color, count); in blitAntiH()
104 device[n] = sc + SkAlphaMulQ(device[n], dst_scale); in blitAntiH()
[all …]
DSkBlitter_RGB16.cpp53 SkRGB16_Black_Blitter::SkRGB16_Black_Blitter(const SkBitmap& device, const SkPaint& paint) in SkRGB16_Black_Blitter() argument
54 : SkRGB16_Blitter(device, paint) { in SkRGB16_Black_Blitter()
100 uint16_t* SK_RESTRICT device = fDevice.getAddr16(clip.fLeft, clip.fTop); in blitMask() local
116 *device = SkAlphaMulRGB16(*device, SkAlpha255To256(255 - aa)); in blitMask()
117 device += 1; in blitMask()
119 device = (uint16_t*)((char*)device + deviceRB); in blitMask()
129 uint16_t* SK_RESTRICT device = fDevice.getAddr16(x, y); in blitAntiH() local
143 memset(device, 0, count << 1); in blitAntiH()
147 *device = SkAlphaMulRGB16(*device, aa); in blitAntiH()
148 device += 1; in blitAntiH()
[all …]
DSkBlitter_A8.cpp23 SkA8_Blitter::SkA8_Blitter(const SkBitmap& device, const SkPaint& paint) in SkA8_Blitter() argument
24 : INHERITED(device) in SkA8_Blitter()
46 uint8_t* device = fDevice.getAddr8(x, y); in blitH() local
50 memset(device, 0xFF, width); in blitH()
59 device[i] = SkToU8(srcA + SkAlphaMul(device[i], scale)); in blitH()
69 uint8_t* device = fDevice.getAddr8(x, y); in blitAntiH() local
81 memset(device, 0xFF, count); in blitAntiH()
89 device[i] = SkToU8(sa + SkAlphaMul(device[i], scale)); in blitAntiH()
94 device += count; in blitAntiH()
156 uint8_t* device = fDevice.getAddr8(x, y); in blitMask() local
[all …]
DSkBlitter_4444.cpp42 SkARGB4444_Blitter(const SkBitmap& device, const SkPaint& paint);
63 SkARGB4444_Blitter::SkARGB4444_Blitter(const SkBitmap& device, const SkPaint& paint) in SkARGB4444_Blitter() argument
64 : INHERITED(device) in SkARGB4444_Blitter()
151 SkPMColor16* device = fDevice.getAddr16(x, y); in blitH() local
160 sk_dither_memset16(device, color, other, width); in blitH()
163 src_over_4444x(device, SkExpand_4444_Replicate(color), in blitH()
175 SkPMColor16* device = fDevice.getAddr16(x, y); in blitV() local
186 *device = color; in blitV()
187 device = (SkPMColor16*)((char*)device + rb); in blitV()
201 uint32_t d32 = SkExpand_4444(*device) * invScale; in blitV()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/nanox/
DSDL_nxvideo.c65 static void NX_DeleteDevice (SDL_VideoDevice * device) in NX_DeleteDevice() argument
69 if (device) { in NX_DeleteDevice()
70 if (device -> hidden) SDL_free (device -> hidden) ; in NX_DeleteDevice()
71 if (device -> gl_data) SDL_free (device -> gl_data) ; in NX_DeleteDevice()
72 SDL_free (device) ; in NX_DeleteDevice()
80 SDL_VideoDevice * device ; in NX_CreateDevice() local
85 device = (SDL_VideoDevice *) SDL_malloc (sizeof (SDL_VideoDevice)) ; in NX_CreateDevice()
86 if (device) { in NX_CreateDevice()
87 SDL_memset (device, 0, (sizeof * device)) ; in NX_CreateDevice()
88 device -> hidden = (struct SDL_PrivateVideoData *) in NX_CreateDevice()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/dc/
DSDL_dcvideo.c70 static void DC_DeleteDevice(SDL_VideoDevice *device) in DC_DeleteDevice() argument
72 SDL_free(device->hidden); in DC_DeleteDevice()
73 SDL_free(device); in DC_DeleteDevice()
78 SDL_VideoDevice *device; in DC_CreateDevice() local
81 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); in DC_CreateDevice()
82 if ( device ) { in DC_CreateDevice()
83 SDL_memset(device, 0, (sizeof *device)); in DC_CreateDevice()
84 device->hidden = (struct SDL_PrivateVideoData *) in DC_CreateDevice()
85 SDL_malloc((sizeof *device->hidden)); in DC_CreateDevice()
87 if ( (device == NULL) || (device->hidden == NULL) ) { in DC_CreateDevice()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/qtopia/
DSDL_sysvideo.cc79 static void QT_DeleteDevice(SDL_VideoDevice *device) in QT_DeleteDevice() argument
81 SDL_free(device->hidden); in QT_DeleteDevice()
82 SDL_free(device); in QT_DeleteDevice()
87 SDL_VideoDevice *device; in QT_CreateDevice() local
90 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); in QT_CreateDevice()
91 if ( device ) { in QT_CreateDevice()
92 SDL_memset(device, 0, (sizeof *device)); in QT_CreateDevice()
93 device->hidden = (struct SDL_PrivateVideoData *) in QT_CreateDevice()
94 SDL_malloc((sizeof *device->hidden)); in QT_CreateDevice()
96 if ( (device == NULL) || (device->hidden == NULL) ) { in QT_CreateDevice()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/photon/
DSDL_ph_video.c49 static void ph_DeleteDevice(SDL_VideoDevice *device);
72 SDL_VideoDevice* device; in ph_CreateDevice() local
75 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); in ph_CreateDevice()
76 if (device) in ph_CreateDevice()
78 SDL_memset(device, 0, (sizeof *device)); in ph_CreateDevice()
79 device->hidden = (struct SDL_PrivateVideoData*)SDL_malloc((sizeof *device->hidden)); in ph_CreateDevice()
80 device->gl_data = NULL; in ph_CreateDevice()
82 if ((device == NULL) || (device->hidden == NULL)) in ph_CreateDevice()
85 ph_DeleteDevice(device); in ph_CreateDevice()
88 SDL_memset(device->hidden, 0, (sizeof *device->hidden)); in ph_CreateDevice()
[all …]
/external/bluez/utils/test/
Dapitest137 self.device = dbus.Interface(obj, 'org.bluez.Adapter')
217 for device in devices:
218 print device
229 print self.device.GetAddress()
231 print self.device.GetManufacturer()
233 print self.device.GetVersion()
235 print self.device.GetRevision()
237 print self.device.GetCompany()
239 print self.device.GetMode()
242 self.device.SetMode(self.cmd_args[0])
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/ggi/
DSDL_ggivideo.c81 static void GGI_DeleteDevice(SDL_VideoDevice *device) in GGI_DeleteDevice() argument
83 SDL_free(device->hidden); in GGI_DeleteDevice()
84 SDL_free(device); in GGI_DeleteDevice()
89 SDL_VideoDevice *device; in GGI_CreateDevice() local
92 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); in GGI_CreateDevice()
93 if ( device ) { in GGI_CreateDevice()
94 SDL_memset(device, 0, (sizeof *device)); in GGI_CreateDevice()
95 device->hidden = (struct SDL_PrivateVideoData *) in GGI_CreateDevice()
96 SDL_malloc((sizeof *device->hidden)); in GGI_CreateDevice()
98 if ( (device == NULL) || (device->hidden == NULL) ) { in GGI_CreateDevice()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/audio/baudio/
DSDL_beaudio.cc53 static void Audio_DeleteDevice(SDL_AudioDevice *device) in Audio_DeleteDevice() argument
55 SDL_free(device->hidden); in Audio_DeleteDevice()
56 SDL_free(device); in Audio_DeleteDevice()
61 SDL_AudioDevice *device; in Audio_CreateDevice() local
64 device = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice)); in Audio_CreateDevice()
65 if ( device ) { in Audio_CreateDevice()
66 SDL_memset(device, 0, (sizeof *device)); in Audio_CreateDevice()
67 device->hidden = (struct SDL_PrivateAudioData *) in Audio_CreateDevice()
68 SDL_malloc((sizeof *device->hidden)); in Audio_CreateDevice()
70 if ( (device == NULL) || (device->hidden == NULL) ) { in Audio_CreateDevice()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/aalib/
DSDL_aavideo.c67 static void AA_DeleteDevice(SDL_VideoDevice *device) in AA_DeleteDevice() argument
69 SDL_free(device->hidden); in AA_DeleteDevice()
70 SDL_free(device); in AA_DeleteDevice()
75 SDL_VideoDevice *device; in AA_CreateDevice() local
78 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); in AA_CreateDevice()
79 if ( device ) { in AA_CreateDevice()
80 SDL_memset(device, 0, (sizeof *device)); in AA_CreateDevice()
81 device->hidden = (struct SDL_PrivateVideoData *) in AA_CreateDevice()
82 SDL_malloc((sizeof *device->hidden)); in AA_CreateDevice()
84 if ( (device == NULL) || (device->hidden == NULL) ) { in AA_CreateDevice()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/picogui/
DSDL_pgvideo.c81 static void PG_DeleteDevice(SDL_VideoDevice *device) in PG_DeleteDevice() argument
83 SDL_free(device->hidden); in PG_DeleteDevice()
84 SDL_free(device); in PG_DeleteDevice()
89 SDL_VideoDevice *device; in PG_CreateDevice() local
92 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); in PG_CreateDevice()
93 if ( device ) { in PG_CreateDevice()
94 SDL_memset(device, 0, (sizeof *device)); in PG_CreateDevice()
95 device->hidden = (struct SDL_PrivateVideoData *) in PG_CreateDevice()
96 SDL_malloc((sizeof *device->hidden)); in PG_CreateDevice()
98 if ( (device == NULL) || (device->hidden == NULL) ) { in PG_CreateDevice()
[all …]
/external/libpcap/
Dpcap-dos.h109 extern struct device el2_dev LOCKED_VAR; /* 3Com EtherLink II */
110 extern struct device el3_dev LOCKED_VAR; /* EtherLink III */
111 extern struct device tc59_dev LOCKED_VAR; /* 3Com Vortex Card (?) */
112 extern struct device tc515_dev LOCKED_VAR;
113 extern struct device tc90x_dev LOCKED_VAR;
114 extern struct device tc90bcx_dev LOCKED_VAR;
115 extern struct device wd_dev LOCKED_VAR;
116 extern struct device ne_dev LOCKED_VAR;
117 extern struct device acct_dev LOCKED_VAR;
118 extern struct device cs89_dev LOCKED_VAR;
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/
DSDL_sysvideo.cc78 static void BE_DeleteDevice(SDL_VideoDevice *device) in BE_DeleteDevice() argument
80 SDL_free(device->hidden); in BE_DeleteDevice()
81 SDL_free(device); in BE_DeleteDevice()
86 SDL_VideoDevice *device; in BE_CreateDevice() local
89 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); in BE_CreateDevice()
90 if ( device ) { in BE_CreateDevice()
91 SDL_memset(device, 0, (sizeof *device)); in BE_CreateDevice()
92 device->hidden = (struct SDL_PrivateVideoData *) in BE_CreateDevice()
93 SDL_malloc((sizeof *device->hidden)); in BE_CreateDevice()
95 if ( (device == NULL) || (device->hidden == NULL) ) { in BE_CreateDevice()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/macrom/
DSDL_romvideo.c119 static void ROM_DeleteDevice(SDL_VideoDevice *device) in ROM_DeleteDevice() argument
121 SDL_free(device->hidden); in ROM_DeleteDevice()
122 SDL_free(device); in ROM_DeleteDevice()
127 SDL_VideoDevice *device; in ROM_CreateDevice() local
130 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); in ROM_CreateDevice()
131 if ( device ) { in ROM_CreateDevice()
132 SDL_memset(device, 0, (sizeof *device)); in ROM_CreateDevice()
133 device->hidden = (struct SDL_PrivateVideoData *) in ROM_CreateDevice()
134 SDL_malloc((sizeof *device->hidden)); in ROM_CreateDevice()
136 if ( (device == NULL) || (device->hidden == NULL) ) { in ROM_CreateDevice()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/svga/
DSDL_svgavideo.c101 static void SVGA_DeleteDevice(SDL_VideoDevice *device) in SVGA_DeleteDevice() argument
103 SDL_free(device->hidden); in SVGA_DeleteDevice()
104 SDL_free(device); in SVGA_DeleteDevice()
109 SDL_VideoDevice *device; in SVGA_CreateDevice() local
112 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); in SVGA_CreateDevice()
113 if ( device ) { in SVGA_CreateDevice()
114 SDL_memset(device, 0, (sizeof *device)); in SVGA_CreateDevice()
115 device->hidden = (struct SDL_PrivateVideoData *) in SVGA_CreateDevice()
116 SDL_malloc((sizeof *device->hidden)); in SVGA_CreateDevice()
118 if ( (device == NULL) || (device->hidden == NULL) ) { in SVGA_CreateDevice()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/joystick/darwin/
DSDL_sysjoystick.c157 recDevice *device = (recDevice *) refcon; in HIDRemovalCallback() local
158 device->removed = 1; in HIDRemovalCallback()
159 device->uncentered = 1; in HIDRemovalCallback()
576 recDevice *device, *lastDevice; in SDL_SYS_JoystickInit() local
640 device = HIDBuildDevice (ioHIDDeviceObject); in SDL_SYS_JoystickInit()
641 if (!device) in SDL_SYS_JoystickInit()
651 if ( (device->usagePage != kHIDPage_GenericDesktop) || in SDL_SYS_JoystickInit()
652 ((device->usage != kHIDUsage_GD_Joystick && in SDL_SYS_JoystickInit()
653 device->usage != kHIDUsage_GD_GamePad && in SDL_SYS_JoystickInit()
654 device->usage != kHIDUsage_GD_MultiAxisController)) ) { in SDL_SYS_JoystickInit()
[all …]
/external/bluez/utils/serial/
Dmain.c53 struct btd_device *device = user_data; in serial_connect() local
61 ba2str(&device->src, src); in serial_connect()
62 ba2str(&device->dst, dst); in serial_connect()
72 const char *device, *sender; in serial_disconnect() local
75 if (dbus_message_get_args(msg, NULL, DBUS_TYPE_STRING, &device, in serial_disconnect()
81 if (sscanf(device, "/dev/rfcomm%d", &id) != 1) in serial_disconnect()
84 err = port_remove_listener(sender, device); in serial_disconnect()
99 static int serial_probe(struct btd_device *device) in serial_probe() argument
101 DBG("path %s", device->path); in serial_probe()
103 if (g_dbus_register_interface(conn, device->path, SERIAL_INTERFACE, in serial_probe()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/vgl/
DSDL_vglvideo.c106 static void VGL_DeleteDevice(SDL_VideoDevice *device) in VGL_DeleteDevice() argument
108 SDL_free(device->hidden); in VGL_DeleteDevice()
109 SDL_free(device); in VGL_DeleteDevice()
114 SDL_VideoDevice *device; in VGL_CreateDevice() local
117 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice)); in VGL_CreateDevice()
118 if ( device ) { in VGL_CreateDevice()
119 SDL_memset(device, 0, (sizeof *device)); in VGL_CreateDevice()
120 device->hidden = (struct SDL_PrivateVideoData *) in VGL_CreateDevice()
121 SDL_malloc((sizeof *device->hidden)); in VGL_CreateDevice()
123 if ( (device == NULL) || (device->hidden == NULL) ) { in VGL_CreateDevice()
[all …]

12345678910>>...16