/external/toybox/toys/other/ |
makedevs.c | 39 char *fname; 49 if (toys.optflags & FLAG_d && strcmp(TT.fname, "-")) { 50 fd = xopen(TT.fname, O_RDONLY); 51 xprintf("table = %s\n", TT.fname);
|
/hardware/invensense/65xx/libsensors_iio/ |
MPLSupport.h | 22 int inv_read_data(char *fname, long *data);
|
/external/libpcap/ |
sf-pcap.c | 608 pcap_setup_dump(pcap_t *p, int linktype, FILE *f, const char *fname) 626 fname, pcap_strerror(errno)); 635 * Initialize so that sf_write() will output to the file named 'fname'. 638 pcap_dump_open(pcap_t *p, const char *fname) 650 fname); 657 fname, p->linktype); 662 if (fname[0] == '-' && fname[1] == '\0') { 664 fname = "standard output"; 667 f = fopen(fname, "w") [all...] |
/external/blktrace/btt/ |
devmap.c | 64 int dev_map_read(char *fname) 67 FILE *fp = my_fopen(fname, "r"); 70 perror(fname);
|
args.c | 244 static FILE *setup_ofile(char *fname) 246 if (fname) { 248 FILE *ofp = my_fopen(fname, "w"); 251 perror(fname); 258 add_file(ofp, fname); 270 char fname[strlen(output_name) + 32]; local 272 sprintf(fname, "%s.%s", output_name, sfx); 273 fp = my_fopen(fname, "w"); 275 perror(fname); 279 printf("Sending %s to %s\n", msg, fname); [all...] |
/external/elfutils/tests/ |
asm-tst4.c | 32 static const char fname[] = "asm-tst4-out.o"; variable 51 ctx = asm_begin (fname, ebl, false); 99 unlink (fname);
|
asm-tst5.c | 34 static const char fname[] = "asm-tst5-out.o"; variable 53 ctx = asm_begin (fname, ebl, false); 111 unlink (fname);
|
newdata.c | 238 static const char *fname; local 240 fname = use_mmap ? "newdata.elf32.mmap" : "newdata.elf32"; 242 fname = use_mmap ? "newdata.elf64.mmap" : "newdata.elf64"; 244 printf ("\ncheck_elf: %s\n", fname); 246 int fd = open (fname, O_RDWR|O_CREAT|O_TRUNC, 00666); 249 printf ("cannot create `%s': %s\n", fname, strerror (errno)); 271 fd = open (fname, O_RDONLY); 274 printf ("cannot open `%s' read-only: %s\n", fname, strerror (errno)); 301 fd = open (fname, O_RDONLY); 304 printf ("cannot open `%s' read-only: %s\n", fname, strerror (errno)) [all...] |
/external/strace/tests/ |
getdents.c | 46 static const char fname[] = variable 110 assert(!creat(fname, 0600)); 130 assert(!unlink(fname));
|
readdir.c | 44 static const char fname[] = variable 80 assert(!creat(fname, 0600)); 94 assert(!unlink(fname));
|
struct_flock.c | 93 char fname[] = TEST_SYSCALL_STR "_XXXXXX"; local 96 return mkstemp(fname) || unlink(fname) || ftruncate(0, FILE_LEN) ? 77 : 0;
|
/external/elfutils/src/ |
findtextrel.c | 88 /* Print symbols in file named FNAME. */ 89 static int process_file (const char *fname, bool more_than_one); 95 const char *fname, bool more_than_one, 200 process_file (const char *fname, bool more_than_one) 205 size_t fname_len = strlen (fname); 207 const char *real_fname = fname; 208 if (fname[0] == '/' && (rootdir[0] != '/' || rootdir[1] != '\0')) 214 fname, fname_len)) = '\0'; 221 error (0, errno, gettext ("cannot open '%s'"), fname); 229 fname, elf_errmsg (-1)) [all...] |
objdump.c | 90 /* Print symbols in file named FNAME. */ 91 static int process_file (const char *fname, bool more_than_one); 94 static int handle_ar (int fd, Elf *elf, const char *prefix, const char *fname, 98 static int handle_elf (Elf *elf, const char *prefix, const char *fname, 102 #define INTERNAL_ERROR(fname) \ 104 fname, __LINE__, PACKAGE_VERSION, elf_errmsg (-1)) 247 process_file (const char *fname, bool more_than_one) 250 int fd = open (fname, O_RDONLY); 253 error (0, errno, gettext ("cannot open %s"), fname); 264 fname, NULL) [all...] |
size.c | 95 /* Print symbols in file named FNAME. */ 96 static int process_file (const char *fname); 99 static int handle_ar (int fd, Elf *elf, const char *prefix, const char *fname); 102 static void handle_elf (Elf *elf, const char *fullname, const char *fname); 107 #define INTERNAL_ERROR(fname) \ 109 fname, __LINE__, PACKAGE_VERSION, elf_errmsg (-1)) 284 process_file (const char *fname) 286 int fd = open (fname, O_RDONLY); 289 error (0, errno, gettext ("cannot open '%s'"), fname); 299 handle_elf (elf, NULL, fname); [all...] |
ranlib.c | 47 static int handle_file (const char *fname); 152 handle_file (const char *fname) 154 int fd = open (fname, O_RDONLY); 157 error (0, errno, gettext ("cannot open '%s'"), fname); 164 error (0, errno, gettext ("cannot stat '%s'"), fname); 175 fname, elf_errmsg (-1)); 182 error (0, 0, gettext ("'%s' is no archive"), fname); 209 arlib_add_symbols (elf, fname, arhdr->ar_name, cur_off); 232 char tmpfname[strlen (fname) + 7]; 233 strcpy (stpcpy (tmpfname, fname), "XXXXXX") [all...] |
/external/javassist/src/main/javassist/convert/ |
TransformReadField.java | 43 String fname, boolean is_private, int index) { 44 if (!cp.getFieldrefName(index).equals(fname)) 49 if (c == fclass || (!is_private && isFieldInSuper(c, fclass, fname))) 56 static boolean isFieldInSuper(CtClass clazz, CtClass fclass, String fname) { 61 CtField f = clazz.getField(fname);
|
/external/vboot_reference/tests/ |
vb21_host_fw_preamble_tests.c | 35 char fname[1024]; local 49 sprintf(fname, "%s/key_rsa4096.keyb", keys_dir); 50 TEST_SUCC(vb2_public_key_read_keyb(&pubk4096, fname), 55 sprintf(fname, "%s/key_rsa4096.pem", keys_dir); 56 TEST_SUCC(vb2_private_key_read_pem(&prik4096, fname),
|
/cts/tools/vm-tests-tf/src/util/build/ |
DasmBuildStep.java | 51 private static Reader createReader(String fname) throws IOException { 52 FileInputStream fs = new FileInputStream(fname); 60 String fname = file.getAbsolutePath(); local 65 inp = createReader(fname); 66 dAsm.readD(inp, new File(fname).getName(), generate_linenum); 76 " while reading and parsing " + fname); 86 " while reading and parsing " + fname);
|
/external/avahi/avahi-daemon/ |
ini-file-parser.c | 34 AvahiIniFile* avahi_ini_file_load(const char *fname) { 40 assert(fname); 42 if (!(fo = fopen(fname, "r"))) { 43 avahi_log_error("Failed to open file '%s': %s", fname, strerror(errno)); 72 avahi_log_error("Unclosed group header in %s:%u: <%s>", fname, line, s); 89 avahi_log_error("Missing assignment in %s:%u: <%s>", fname, line, s); 94 avahi_log_error("Assignment outside group in %s:%u <%s>", fname, line, s);
|
/external/ipsec-tools/src/racoon/ |
plainrsa-gen.c | 165 char *fname = NULL; local 179 fname = optarg; 186 if (fname) { 187 if (stat(fname, &st) >= 0) { 188 fprintf(stderr, "%s: file exists! Please use a different name.\n", fname); 193 fp = fopen(fname, "w"); 195 fprintf(stderr, "%s: %s\n", fname, strerror(errno));
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
runpy.py | 151 mod_name, loader, code, fname = _get_module_details(mod_name) 153 mod_name, loader, code, fname = _get_main_module_details() 160 sys.argv[0] = fname 162 "__main__", fname, loader, pkg_name) 170 mod_name, loader, code, fname = _get_module_details(mod_name) 176 fname, loader, pkg_name) 180 fname, loader, pkg_name) 213 def _get_code_from_file(fname): 215 with open(fname, "rb") as f: 219 with open(fname, "rU") as f [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
runpy.py | 151 mod_name, loader, code, fname = _get_module_details(mod_name) 153 mod_name, loader, code, fname = _get_main_module_details() 160 sys.argv[0] = fname 162 "__main__", fname, loader, pkg_name) 170 mod_name, loader, code, fname = _get_module_details(mod_name) 176 fname, loader, pkg_name) 180 fname, loader, pkg_name) 213 def _get_code_from_file(fname): 215 with open(fname, "rb") as f: 219 with open(fname, "rU") as f [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
runpy.py | 151 mod_name, loader, code, fname = _get_module_details(mod_name) 153 mod_name, loader, code, fname = _get_main_module_details() 160 sys.argv[0] = fname 162 "__main__", fname, loader, pkg_name) 170 mod_name, loader, code, fname = _get_module_details(mod_name) 176 fname, loader, pkg_name) 180 fname, loader, pkg_name) 213 def _get_code_from_file(fname): 215 with open(fname, "rb") as f: 219 with open(fname, "rU") as f [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
runpy.py | 151 mod_name, loader, code, fname = _get_module_details(mod_name) 153 mod_name, loader, code, fname = _get_main_module_details() 160 sys.argv[0] = fname 162 "__main__", fname, loader, pkg_name) 170 mod_name, loader, code, fname = _get_module_details(mod_name) 176 fname, loader, pkg_name) 180 fname, loader, pkg_name) 213 def _get_code_from_file(fname): 215 with open(fname, "rb") as f: 219 with open(fname, "rU") as f [all...] |
/external/elfutils/libdwfl/ |
linux-kernel-modules.c | 81 try_kernel_name (Dwfl *dwfl, char **fname, bool try_debug) 83 if (*fname == NULL) 86 /* Don't bother trying *FNAME itself here if the path will cause it to be 91 : TEMP_FAILURE_RETRY (open (*fname, O_RDONLY))); 99 *fname, basename (*fname), 0, 105 *fname, NULL, 0, 109 free (*fname); 110 *fname = fakemod.debug.name; 120 if (asprintf (&zname, "%s%s", *fname, vmlinux_suffixes[i]) > 0 199 char *fname; local [all...] |