Searched defs:dev (Results 1 - 25 of 363) sorted by path

1234567891011>>

/external/android-clat/
H A Dclatd.c74 fd = open("/dev/tun", O_RDWR);
76 fd = open("/dev/net/tun", O_RDWR);
84 * dev - the name for the new tun device
86 int tun_alloc(char *dev, int fd) { argument
93 if( *dev ) {
94 strncpy(ifr.ifr_name, dev, IFNAMSIZ);
102 strcpy(dev, ifr.ifr_name);
/external/blktrace/
H A Dblkparse.c47 dev_t dev; member in struct:per_dev_info
385 static struct per_dev_info *get_dev_info(dev_t dev) argument
391 if (!devices[i].dev)
392 devices[i].dev = dev;
393 if (devices[i].dev == dev)
401 pdi->dev = dev;
498 MAJOR(pdi->dev), MINO
[all...]
/external/blktrace/btt/
H A Ddevs.c25 #define DEV_HASH(dev) ((MAJOR(dev) ^ MINOR(dev)) & (N_DEV_HASH - 1))
233 void dip_plug(__u32 dev, double cur_time) argument
235 struct d_info *dip = __dip_find(dev);
249 void dip_unplug(__u32 dev, double cur_time, __u64 nios_up) argument
251 struct d_info *dip = __dip_find(dev);
260 void dip_unplug_tm(__u32 dev, double cur_time, __u64 nios_up) argument
262 struct d_info *dip = __dip_find(dev);
H A Dinlines.h22 static inline int remapper_dev(__u32 dev) argument
24 int mjr = MAJOR(dev);
H A Dunplug_hist.c29 __u32 dev; member in struct:hist_bkt
40 hbp->dev = device;
69 int mjr = hbp->dev >> MINORBITS;
70 int mnr = hbp->dev & ((1 << MINORBITS) - 1);
/external/bluetooth/bluedroid/audio_a2dp_hw/
H A Daudio_a2dp_hw.c1001 static int adev_open_output_stream(struct audio_hw_device *dev, argument
1010 struct a2dp_audio_device *a2dp_dev = (struct a2dp_audio_device *)dev;
1078 static void adev_close_output_stream(struct audio_hw_device *dev, argument
1081 struct a2dp_audio_device *a2dp_dev = (struct a2dp_audio_device *)dev;
1096 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) argument
1098 struct a2dp_audio_device *a2dp_dev = (struct a2dp_audio_device *)dev;
1112 static char * adev_get_parameters(const struct audio_hw_device *dev, argument
1116 UNUSED(dev);
1129 static int adev_init_check(const struct audio_hw_device *dev) argument
1131 struct a2dp_audio_device *a2dp_dev = (struct a2dp_audio_device*)dev;
1138 adev_set_voice_volume(struct audio_hw_device *dev, float volume) argument
1148 adev_set_master_volume(struct audio_hw_device *dev, float volume) argument
1158 adev_set_mode(struct audio_hw_device *dev, int mode) argument
1168 adev_set_mic_mute(struct audio_hw_device *dev, bool state) argument
1178 adev_get_mic_mute(const struct audio_hw_device *dev, bool *state) argument
1188 adev_get_input_buffer_size(const struct audio_hw_device *dev, const struct audio_config *config) argument
1199 adev_open_input_stream(struct audio_hw_device *dev, audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, struct audio_stream_in **stream_in, audio_input_flags_t flags __unused, const char *address __unused, audio_source_t source __unused) argument
1269 adev_close_input_stream(struct audio_hw_device *dev, struct audio_stream_in *stream) argument
[all...]
/external/bluetooth/bluedroid/bta/sys/
H A Dutl.c192 UINT8 *dev; local
197 dev = BTM_ReadDeviceClass();
198 BTM_COD_SERVICE_CLASS( service, dev );
199 BTM_COD_MINOR_CLASS(minor, dev );
200 BTM_COD_MAJOR_CLASS(major, dev );
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_hh.c622 btif_hh_device_t *dev; local
629 dev = btif_hh_find_dev_by_bda(bd_addr);
633 if (dev == NULL && btif_hh_cb.device_num >= BTIF_HH_MAX_HID) {
H A Dbtif_rc.c138 {"/dev/uinput", "/dev/input/uinput", "/dev/misc/uinput" };
276 struct uinput_dev dev; local
290 memset(&dev, 0, sizeof(dev));
292 strncpy(dev.name, name, UINPUT_MAX_NAME_SIZE);
294 dev.id.bustype = BUS_BLUETOOTH;
295 dev.id.vendor = 0x0000;
296 dev
[all...]
/external/bluetooth/bluedroid/stack/gap/
H A Dgap_api.c774 UINT8 *dev; local
779 dev = BTM_ReadDeviceClass();
780 BTM_COD_SERVICE_CLASS( service, dev );
781 BTM_COD_MINOR_CLASS(minor, dev );
782 BTM_COD_MAJOR_CLASS(major, dev );
839 UINT8 *dev; local
841 dev = BTM_ReadDeviceClass();
843 BTM_COD_SERVICE_CLASS( p_cod->service, dev );
844 BTM_COD_MINOR_CLASS( p_cod->minor, dev );
845 BTM_COD_MAJOR_CLASS( p_cod->major, dev );
[all...]
/external/chromium_org/chrome/browser/chromeos/policy/
H A Ddevice_status_collector_browsertest.cc719 const FakeDeviceData& dev = kFakeDevices[i]; variable
720 test_device_client->AddDevice(dev.device_path, dev.type,
721 dev.object_path);
722 if (*dev.mac_address) {
724 dev.device_path, shill::kAddressProperty,
725 base::StringValue(dev.mac_address));
727 if (*dev.meid) {
729 dev.device_path, shill::kMeidProperty,
730 base::StringValue(dev
765 const FakeDeviceData& dev = kFakeDevices[i]; local
[all...]
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/
H A Dremovable_storage_provider_linux.cc49 struct udev_device* dev, *parent; local
66 dev = udev_device_new_from_syspath(udev, path);
68 const char* partition = udev_device_get_sysattr_value(dev, "partition");
74 const char* removable = udev_device_get_sysattr_value(dev, "removable");
82 udevadm info -a -n /dev/<device> */
84 dev,
97 device->storage_unit_id = udev_device_get_devnode(dev);
98 device->capacity = get_int_attr(udev_device_get_sysattr_value(dev, "size"))
104 udev_device_unref(dev);
/external/chromium_org/content/browser/gamepad/
H A Dgamepad_platform_data_fetcher_linux.cc36 bool IsGamepad(udev_device* dev, int* index, std::string* path) { argument
37 if (!udev_device_get_property_value(dev, "ID_INPUT_JOYSTICK"))
40 const char* node_path = udev_device_get_devnode(dev);
44 static const char kJoystickRoot[] = "/dev/input/js";
114 void GamepadPlatformDataFetcherLinux::RefreshDevice(udev_device* dev) { argument
117 if (IsGamepad(dev, &index, &node_path)) {
124 // The device pointed to by dev contains information about the logical
128 dev = udev_device_get_parent_with_subsystem_devtype(
129 dev,
132 if (!dev) {
227 udev_device* dev = udev_device_new_from_syspath(udev_->udev_handle(), path); local
[all...]
/external/chromium_org/content/browser/
H A Dudev_linux.cc59 udev_device* dev = udev_monitor_receive_device(monitor_); local
60 if (!dev)
63 callback_.Run(dev);
64 udev_device_unref(dev);
/external/chromium_org/media/cast/test/utility/
H A Dtap_proxy.cc222 int tun_alloc(char *dev, int flags) { argument
225 const char *clonedev = "/dev/net/tun";
229 * char *dev: the name of an interface (or '\0'). MUST have enough
244 if (*dev) {
248 strncpy(ifr.ifr_name, dev, IFNAMSIZ);
257 if (!*dev) {
259 * interface to the variable "dev", so the caller can know
260 * it. Note that the caller MUST reserve space in *dev (see calling
262 strcpy(dev, ifr.ifr_name);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/devfs/
H A Ddev_fs.cc293 int dev = other_fs->dev(); local
295 snprintf(path, 32, "%d", dev);
301 int dev = other_fs->dev(); local
303 snprintf(path, 32, "%d", dev);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dfilesystem.h35 FsInitArgs() : dev(0), ppapi(NULL), fuse_ops(NULL) {}
36 explicit FsInitArgs(int dev) : dev(dev), ppapi(NULL), fuse_ops(NULL) {} argument
39 int dev; member in struct:nacl_io::FsInitArgs
61 int dev() { return dev_; } function in class:nacl_io::Filesystem
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Dkernel_proxy_test.cc563 g_fs_dev = args.dev;
637 snprintf(path, 100, "dev/fs/%d", g_fs_dev);
651 dev_t dev,
658 EXPECT_EQ(g_fs_dev, dev);
646 mount_callback(const char* source, const char* target, const char* filesystemtype, unsigned long mountflags, const void* data, dev_t dev, void* user_data) argument
/external/chromium_org/skia/ext/
H A Dbitmap_platform_device_cairo.cc204 skia::RefPtr<SkBaseDevice> dev = skia::AdoptRef( local
206 return CreateCanvas(dev, failureType);
H A Dbitmap_platform_device_mac.cc251 skia::RefPtr<SkBaseDevice> dev = skia::AdoptRef( local
253 return CreateCanvas(dev, failureType);
258 skia::RefPtr<SkBaseDevice> dev = skia::AdoptRef( local
260 return CreateCanvas(dev, failureType);
H A Dbitmap_platform_device_skia.cc77 skia::RefPtr<SkBaseDevice> dev = skia::AdoptRef( local
79 return CreateCanvas(dev, failureType);
H A Dbitmap_platform_device_win.cc287 skia::RefPtr<SkBaseDevice> dev = skia::AdoptRef( local
289 return CreateCanvas(dev, failureType);
/external/chromium_org/third_party/android_platform/webview/
H A Dframeworks.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/location/ android/location/Address$1.class ...
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dtranstst.cpp1165 UnicodeString dev = CharsToUnicodeString("\\u0901\\u090B\\u0925"); local
1167 expect(*dg, dev, guj);
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
H A Dlinuxdeviceinfo.cc129 udev_device* dev = local
132 if (!dev) continue;
134 libudev_context->instance()->udev_device_get_devnode()(dev);
138 dev = libudev_context->instance()->
140 dev, "usb", "usb_device");
141 if (!dev) continue;
144 dev, property_name);

Completed in 611 milliseconds

1234567891011>>