/system/core/toolbox/ |
smd.c | 10 char devname[32]; local 20 sprintf(devname,"/dev/smd%d",port); 21 fd = open(devname, O_WRONLY);
|
nandread.c | 22 char *devname = NULL; local 54 devname = optarg; 96 if (!devname) { 101 fd = open(devname, O_RDONLY); 103 fprintf(stderr, "cannot open %s, %s\n", devname, strerror(errno)); 126 devname, strerror(errno)); 152 devname, strerror(errno)); 165 devname, strerror(errno)); 182 devname, strerror(errno)); 209 devname, strerror(errno)) [all...] |
getevent.c | 230 char devname[PATH_MAX]; local 246 strcpy(devname, dirname); 247 filename = devname + strlen(devname); 256 open_device(devname, print_flags); 259 close_device(devname, print_flags); 271 char devname[PATH_MAX]; local 278 strcpy(devname, dirname); 279 filename = devname + strlen(devname); [all...] |
/bionic/libc/kernel/common/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/external/kernel-headers/original/linux/ |
blkpg.h | 53 char devname[BLKPG_DEVNAMELTH]; /* partition name, like sda5 or c0d1p2, member in struct:blkpg_partition
|
/ndk/build/platforms/android-3/arch-arm/usr/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/ndk/build/platforms/android-4/arch-arm/usr/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/ndk/build/platforms/android-5/arch-arm/usr/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/ndk/build/platforms/android-5/arch-x86/usr/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/ndk/build/platforms/android-8/arch-arm/usr/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/ndk/build/platforms/android-8/arch-x86/usr/include/linux/ |
blkpg.h | 37 char devname[BLKPG_DEVNAMELTH]; member in struct:blkpg_partition
|
/external/e2fsprogs/lib/blkid/ |
devno.c | 99 char **devname) 124 *devname = blkid_strdup(path); 127 path, *devname)); 149 char *devname = NULL; local 164 scan_dir(current->name, devno, &new_list, &devname); 167 if (devname) 181 if (!devname) { 187 printf("found devno 0x%04llx as %s\n", (long long)devno, devname)); 191 return devname; 197 char *devname, *tmp local [all...] |
devname.c | 2 * devname.c - get a dev by its device inode name 51 blkid_dev blkid_get_dev(blkid_cache cache, const char *devname, int flags) 56 if (!cache || !devname) 61 if (strcmp(tmp->bid_name, devname)) 65 printf("found devname %s in cache\n", tmp->bid_name)); 75 dev->bid_name = blkid_strdup(devname); 99 char *devname = NULL; local 136 devname = blkid_strdup(device); 140 if (!devname) { 141 devname = blkid_devno_to_devname(devno) [all...] |
tag.c | 411 char *devname = NULL; local 433 devname = argv[optind++]; 438 if (!devname || (argc != optind)) 447 dev = blkid_get_dev(cache, devname, flags); 450 devname);
|
/external/e2fsprogs/lib/ext2fs/ |
finddev.c | 167 char *devname, *tmp; local 198 devname = ext2fs_find_block_device(device); 199 if (devname) { 200 printf("Found device! %s\n", devname); 201 free(devname);
|
/external/bluetooth/bluez/network/ |
common.c | 66 char *devname; member in struct:bnep_data 74 const char *devname = b; local 76 return strcmp(data->devname, devname); 240 int bnep_if_up(const char *devname, uint16_t id) 249 l = g_slist_find_custom(pids, devname, find_devname); 255 argv[1] = devname; 265 strncpy(ifr.ifr_name, devname, IF_NAMESIZE - 1); 272 error("Could not bring up %s. %s(%d)", devname, strerror(err), 281 bnep->devname = g_strdup(devname) [all...] |
/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...] |
/development/apps/Term/jni/ |
termExec.cpp | 84 char *devname; local 96 ((devname = (char*) ptsname(ptm)) == 0)){ 114 pts = open(devname, O_RDWR);
|
/external/blktrace/ |
blkrawverify.c | 121 static int process(FILE **fp, char *devname, char *file, unsigned int cpu) 159 sprintf(ofname, "%s.verify.out", devname); 170 fprintf(*fp, "Verifying %s\n", devname); 278 char *devname; local 292 devname = argv[i]; 293 sprintf(ofname, "%s.verify.out", devname); 296 printf("Verifying %s\n", devname); fflush(stdout); 298 sprintf(fname, "%s.blktrace.%d", devname, cpu); 302 devname); 308 nbad = process(&ofp, devname, fname, cpu) [all...] |
/external/bluetooth/bluez/tools/ |
hid2hci.c | 152 char devname[PATH_MAX + 1]; local 161 sprintf(devname, "%s/hiddev%d", devpath, i); 162 fd = open(devname, O_RDWR); 164 sprintf(devname, "%s/usb/hiddev%d", devpath, i); 165 fd = open(devname, O_RDWR); 167 sprintf(devname, "%s/usb/hid/hiddev%d", devpath, i); 168 fd = open(devname, O_RDWR);
|
/external/iproute2/ip/ |
iptunnel.c | 485 int devname = 0; local 512 devname++; 523 if (devname == 0) {
|
/external/qemu/distrib/sdl-1.2.12/src/video/wscons/ |
SDL_wsconsvideo.c | 149 char *devname; local 157 devname = SDL_getenv("SDL_WSCONSDEV"); 158 if (devname == NULL) { 166 devname = devnamebuf; 169 private->fd = open(devname, O_RDWR | O_NONBLOCK, 0); 171 WSCONS_ReportError("open %s: %s", devname, strerror(errno));
|
/system/core/fastboot/ |
usb_linux.c | 199 char busname[64], devname[64]; local 222 sprintf(devname, "%s/%s", busname, de->d_name); 224 // DBG("[ scanning %s ]\n", devname); 226 if((fd = open(devname, O_RDWR)) < 0) { 230 if((fd = open(devname, O_RDONLY)) < 0) { 240 strcpy(usb->fname, devname);
|
/bootable/recovery/mtdutils/ |
mtdutils.c | 197 char devname[64]; local 200 sprintf(devname, "/dev/block/mtdblock%d", partition->device_index); 202 rv = mount(devname, mount_point, filesystem, flags, NULL); 205 rv = mount(devname, mount_point, filesystem, flags | MS_RDONLY, 0); 208 devname, mount_point, strerror(errno)); 210 printf("Mount %s on %s read-only\n", devname, mount_point);
|
/external/bluetooth/bluez/compat/ |
pand.c | 271 char devname[16]; local 292 strncpy(devname, netdev, 16); 293 devname[15] = '\0'; 295 if (!bnep_accept_connection(nsk, role, devname)) { 302 str, devname); 304 run_script(devupcmd, devname, str, sk, nsk); 307 strncpy(down_cmd.dev, devname, strlen(devname) + 1);
|