/system/core/adb/ |
H A D | file_sync_service.c | 85 char *fname; local 90 fname = tmp + len + 1; 104 strcpy(fname, de->d_name);
|
H A D | usb_linux.c | 55 char fname[64]; member in struct:usb_handle 91 if(!strcmp(usb->fname, dev_name)) { 458 D("[ usb read %d fd = %d], fname=%s\n", xfer, h->desc, h->fname); 460 D("[ usb read %d ] = %d, fname=%s\n", xfer, n, h->fname); 553 if(!strcmp(usb->fname, dev_name)) { 563 strcpy(usb->fname, dev_name); 575 usb->desc = unix_open(usb->fname, O_RDWR); 578 usb->desc = unix_open(usb->fname, O_RDONL [all...] |
/system/core/sh/ |
H A D | redir.c | 178 char *fname; local 191 fname = redir->nfile.expfname; 196 if ((f = open(fname, O_RDONLY|eflags)) < 0) 202 fname = redir->nfile.expfname; 203 if ((f = open(fname, O_RDWR|O_CREAT|O_TRUNC, 0666)) < 0) 211 fname = redir->nfile.expfname; 212 if ((f = open(fname, oflags, 0666)) < 0) 216 fname = redir->nfile.expfname; 217 if ((f = open(fname, O_WRONLY|O_CREAT|O_APPEND, 0666)) < 0) 245 error("cannot create %s: %s", fname, errms [all...] |
H A D | input.c | 433 setinputfile(const char *fname, int push) argument 439 if ((fd = open(fname, O_RDONLY)) < 0) 440 error("Can't open %s", fname);
|
H A D | nodes.h | 106 union node *fname; member in struct:nfile
|
/system/netd/ |
H A D | SoftapController.cpp | 52 int SoftapController::getPrivFuncNum(char *iface, const char *fname) { argument 67 if (strcmp(priv_ptr[i].name, fname) == 0)
|
/system/core/fastboot/ |
H A D | usb_linux.c | 66 char fname[64]; member in struct:usb_handle 241 strcpy(usb->fname, devname); 335 DBG("[ usb read %d fd = %d], fname=%s\n", xfer, h->desc, h->fname); 337 DBG("[ usb read %d ] = %d, fname=%s, Retry %d \n", xfer, n, h->fname, retry);
|
H A D | fastboot.c | 494 char *fname; local 500 fname = find_item("info", product); 501 if (fname == 0) die("cannot find android-info.txt"); 502 data = load_file(fname, &sz); 506 fname = find_item("boot", product); 507 data = load_file(fname, &sz); 509 do_send_signature(fname); 512 fname = find_item("recovery", product); 513 data = load_file(fname, &sz); 515 do_send_signature(fname); 647 char *fname = 0; local [all...] |
/system/core/toolbox/ |
H A D | newfs_msdos.c | 268 const char *fname, *dtype, *bname; local 366 fname = *argv++; 367 if (!opt_create && !strchr(fname, '/')) { 368 snprintf(buf, sizeof(buf), "%s%s", _PATH_DEV, fname); 369 if (!(fname = strdup(buf))) 376 fd = open(fname, O_RDWR | O_CREAT | O_TRUNC, 0644); 378 errx(1, "failed to create %s", fname); 381 } else if ((fd = open(fname, opt_N ? O_RDONLY : O_RDWR)) == -1) 382 err(1, "%s", fname); 384 err(1, "%s", fname); 735 check_mounted(const char *fname, mode_t mode) argument 784 getdiskinfo(int fd, const char *fname, const char *dtype, __unused int oflag, struct bpb *bpb) argument 827 getdiskinfo(int fd, const char *fname, const char *dtype, __unused int oflag, struct bpb *bpb) argument 937 ckgeom(const char *fname, u_int val, const char *msg) argument [all...] |