/system/core/toolbox/ |
smd.c | 10 char devname[32]; local 20 sprintf(devname,"/dev/smd%d",port); 21 fd = open(devname, O_WRONLY);
|
/system/extras/tests/storage/ |
wipe_blkdev.c | 82 char *devname; local 95 devname = argv[2]; 100 devname = argv[1]; 103 fd = open(devname, O_RDWR); 105 fprintf(stderr, "Cannot open device %s\n", devname); 110 fprintf(stderr, "Cannot stat %s\n", devname); 115 fprintf(stderr, "%s is not a block device\n", devname); 122 fprintf(stderr, "Cannot get size of block device %s\n", devname);
|
/hardware/invensense/60xx/libsensors_iio/ |
SensorBase.cpp | 92 char devname[PATH_MAX];
local 99 strcpy(devname, dirname);
100 filename = devname + strlen(devname);
108 fd = open(devname, O_RDONLY);
109 LOGV_IF(EXTRA_VERBOSE, "path open %s", devname);
110 LOGI("path open %s", devname);
|
/external/e2fsprogs/lib/blkid/ |
devno.c | 94 char **devname) 119 *devname = blkid_strdup(path); 122 path, *devname)); 144 char *devname = NULL; local 159 blkid__scan_dir(current->name, devno, &new_list, &devname); 162 if (devname) 176 if (!devname) { 182 printf("found devno 0x%04llx as %s\n", (long long)devno, devname)); 186 return devname; 192 char *devname, *tmp local [all...] |
devname.c | 2 * devname.c - get a dev by its device inode name 48 blkid_dev blkid_get_dev(blkid_cache cache, const char *devname, int flags) 53 if (!cache || !devname) 58 if (strcmp(tmp->bid_name, devname)) 62 printf("found devname %s in cache\n", tmp->bid_name)); 68 if (access(devname, F_OK) < 0) 74 dev->bid_name = blkid_strdup(devname); 123 static int is_dm_leaf(const char *devname) 134 !strcmp(de->d_name, devname) || 142 if (!strcmp(d_de->d_name, devname)) { 188 char *devname = NULL; local [all...] |
resolve.c | 28 const char *devname) 35 DBG(DEBUG_RESOLVE, printf("looking for %s on %s\n", tagname, devname)); 37 if (!devname) 45 if ((dev = blkid_get_dev(c, devname, BLKID_DEV_NORMAL)) && 59 * to be the actual devname and a copy is returned. 117 "\t%s tagname devname\n"
|
/hardware/invensense/60xx/libsensors/ |
SensorBase.cpp | 94 char devname[PATH_MAX]; local 101 strcpy(devname, dirname); 102 filename = devname + strlen(devname); 110 fd = open(devname, O_RDONLY);
|
/system/core/debuggerd/ |
getevent.c | 96 char devname[PATH_MAX]; local 112 strcpy(devname, dirname); 113 filename = devname + strlen(devname); 122 open_device(devname); 125 close_device(devname); 137 char devname[PATH_MAX]; local 144 strcpy(devname, dirname); 145 filename = devname + strlen(devname); [all...] |
/hardware/invensense/65xx/libsensors_iio/ |
SensorBase.cpp | 100 char devname[PATH_MAX];
local 107 strcpy(devname, dirname);
108 filename = devname + strlen(devname);
116 fd = open(devname, O_RDONLY);
117 LOGV_IF(EXTRA_VERBOSE, "path open %s", devname);
118 LOGI("path open %s", devname);
|
/device/samsung/manta/libsensors/ |
SensorBase.cpp | 153 char devname[PATH_MAX]; local 159 sprintf(devname, "/dev/iio:device%d", dev_num); 160 fd = open(devname, O_RDONLY); 163 strcpy(mInputName, devname + 5); 165 ALOGE("couldn't get a event fd from %s", devname); 168 ALOGE("couldn't open %s (%s)", devname, strerror(errno));
|
/development/ndk/platforms/android-3/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/prebuilts/ndk/7/platforms/android-4/arch-arm/usr/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|