Lines Matching defs:device
105 // Retrieves an icon associated with a given device.
107 get_device_icon(const char* device, void* icon, int32 size)
109 if (device == NULL || icon == NULL
113 int fd = open(device, O_RDONLY);
128 status_t status = get_device_icon(device, &data, &dataSize, &type);
162 // Retrieves an icon associated with a given device.
164 get_device_icon(const char* device, BBitmap* icon, icon_size which)
167 if (device == NULL || icon == NULL)
173 status_t status = get_device_icon(device, &data, &size, &type);
208 status = get_device_icon(device, bitmap->Bits(), iconSize);
220 get_device_icon(const char* device, uint8** _data, size_t* _size,
223 if (device == NULL || _data == NULL || _size == NULL || _type == NULL)
226 int fd = open(device, O_RDONLY);