/external/libpcap/tests/ |
filtertest.c | 75 read_infile(char *fname) 81 fd = open(fname, O_RDONLY|O_BINARY); 83 error("can't open %s: %s", fname, pcap_strerror(errno)); 86 error("can't stat %s: %s", fname, pcap_strerror(errno)); 91 fname, pcap_strerror(errno)); 94 error("read %s: %s", fname, pcap_strerror(errno)); 96 error("short read %s (%d != %d)", fname, cc, (int)buf.st_size);
|
valgrindtest.c | 103 read_infile(char *fname) 109 fd = open(fname, O_RDONLY|O_BINARY); 111 error("can't open %s: %s", fname, pcap_strerror(errno)); 114 error("can't stat %s: %s", fname, pcap_strerror(errno)); 119 fname, pcap_strerror(errno)); 122 error("read %s: %s", fname, pcap_strerror(errno)); 124 error("short read %s (%d != %d)", fname, cc, (int)buf.st_size);
|
/frameworks/native/opengl/tools/glgen/src/ |
GenerateGL.java | 48 String fname = cfunc.getName(); local 49 File f = new File("stubs/jsr239/" + fname + 52 System.out.println("Special-casing function " + fname); 53 copy("stubs/jsr239/" + fname + 55 copy("stubs/jsr239/" + fname + ".java-impl", glImplStream); 56 copy("stubs/jsr239/" + fname + ".cpp", cStream); 60 String filename = "stubs/jsr239/" + fname + ".nativeReg";
|
GenerateEGL.java | 46 String fname = cfunc.getName(); local 47 String stubRoot = "stubs/egl/" + fname; 51 System.out.println("Special-casing function " + fname);
|
GenerateGLES.java | 45 String fname = cfunc.getName(); local 46 String stubRoot = "stubs/gles11/" + fname; 50 System.out.println("Special-casing function " + fname);
|
/frameworks/native/opengl/tools/glgen2/ |
glgen.py | 122 rtype, fname = parseProto(cmd.elem.find('proto')) 128 % (rtype, overrideSymbolName(fname, self.genOpts.apiname), 129 fmtParams(params), call, fname, 146 rtype, fname = parseProto(cmd.elem.find('proto')) 148 self.cmds.append({'rtype': rtype, 'name': fname, 'params': params}) 211 rtype, fname = parseProto(cmd.elem.find('proto')) 214 print('%s %s ( %s )' % (rtype, fname, fmtParams(params)),
|
/external/elfutils/tests/ |
elfstrtab.c | 132 check_elf (const char *fname, int class, int use_mmap) 134 printf ("\nfname: %s\n", fname); 137 int fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, 0666); 140 printf ("cannot open `%s': %s\n", fname, strerror (errno)); 283 fd = open (fname, O_RDWR, 0666); 286 printf ("cannot open `%s' read-only: %s\n", fname, strerror (errno)); 352 fd = open (fname, O_RDONLY, 0666); 355 printf ("cannot open `%s' read-only: %s\n", fname, strerror (errno)); 377 unlink (fname);
|
newfile.c | 58 char fname[] = "newfile-XXXXXX"; local 60 fd = mkstemp (fname); 67 unlink (fname);
|
asm-tst1.c | 30 static const char fname[] = "asm-tst1-out.o"; variable 84 ctx = asm_begin (fname, ebl, false); 117 fd = open (fname, O_RDONLY); 251 unlink (fname);
|
asm-tst2.c | 30 static const char fname[] = "asm-tst2-out.o"; variable 83 ctx = asm_begin (fname, ebl, false); 133 fd = open (fname, O_RDONLY); 273 unlink (fname);
|
update2.c | 35 const char *fname = "xxx_update2"; local 42 fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, 0666); 45 printf ("cannot open `%s': %s\n", fname, strerror (errno)); 147 unlink (fname);
|
update3.c | 37 const char *fname = "xxx_update3"; local 49 fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, 0666); 52 printf ("cannot open `%s': %s\n", fname, strerror (errno)); 202 unlink (fname);
|
/external/toybox/toys/pending/ |
crontab.c | 113 static int parse_crontab(char *fname) 116 int lno, fd = xopen(fname, O_RDONLY); 245 char *fname = *toys.optargs ? *toys.optargs : "-"; local 248 if ((*fname == '-') && !*(fname+1)) { 254 fname = tname; 257 if (parse_crontab(fname)) 258 error_exit("errors in crontab file '%s', can't install.", fname); 259 update_crontab(fname, name);
|
/frameworks/native/opengl/libs/EGL/ |
egl_cache.cpp | 222 const char* fname = mFilename.string(); local 226 int fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); 230 if (unlink(fname) == -1) { 232 ALOGE("error unlinking cache file %s: %s (%d)", fname, 237 fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); 240 ALOGE("error creating cache file %s: %s (%d)", fname, 253 unlink(fname); 263 unlink(fname); 277 unlink(fname);
|
/libcore/ojluni/src/main/java/sun/net/www/ |
MimeTable.java | 174 public MimeEntry findByFileName(String fname) { 177 int i = fname.lastIndexOf('#'); 180 fname = fname.substring(0, i - 1); 183 i = fname.lastIndexOf('.'); 185 i = Math.max(i, fname.lastIndexOf('/')); 186 i = Math.max(i, fname.lastIndexOf('?')); 188 if (i != -1 && fname.charAt(i) == '.') { 189 ext = fname.substring(i).toLowerCase();
|
/external/v8/tools/ |
android-run.py | 79 (fd, fname) = tempfile.mkstemp() 81 tmp_file = open(fname, "w") 84 return fname
|
/external/elfutils/src/ |
strip.c | 107 /* Print symbols in file named FNAME. */ 108 static int process_file (const char *fname); 112 const char *fname, mode_t mode, struct timespec tvp[2]); 115 static int handle_ar (int fd, Elf *elf, const char *prefix, const char *fname, 124 #define INTERNAL_ERROR(fname) \ 128 fname, __LINE__, PACKAGE_VERSION, elf_errmsg (-1)); \ 308 process_file (const char *fname) 318 if (stat (fname, &pre_st) != 0) 320 error (0, errno, gettext ("cannot stat input file '%s'"), fname); 331 int fd = open (fname, output_fname == NULL ? O_RDWR : O_RDONLY) [all...] |
nm.c | 127 /* Print symbols in file named FNAME. */ 128 static int process_file (const char *fname, bool more_than_one); 131 static int handle_ar (int fd, Elf *elf, const char *prefix, const char *fname, 135 static int handle_elf (int fd, Elf *elf, const char *prefix, const char *fname, 139 #define INTERNAL_ERROR(fname) \ 141 fname, __LINE__, PACKAGE_VERSION, elf_errmsg (-1)) 372 process_file (const char *fname, bool more_than_one) 375 int fd = open (fname, O_RDONLY); 378 error (0, errno, gettext ("cannot open '%s'"), fname); 389 fname, NULL) [all...] |
/external/wpa_supplicant_8/hostapd/ |
hlr_auc_gw.c | 275 static int read_gsm_triplets(const char *fname) 282 if (fname == NULL) 285 f = fopen(fname, "r"); 287 printf("Could not open GSM triplet data file '%s'\n", fname); 318 printf("%s:%d - Invalid IMSI\n", fname, line); 327 printf("%s:%d - Invalid Kc\n", fname, line); 336 printf("%s:%d - Invalid SRES\n", fname, line); 345 printf("%s:%d - Invalid RAND\n", fname, line); 387 static int read_milenage(const char *fname) 394 if (fname == NULL [all...] |
/external/clang/test/Index/ |
annotate-tokens-pp.c | 31 const char *fname = __FILE__; variable
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_interceptors.h | 11 ScopedInterceptor(ThreadState *thr, const char *fname, uptr pc);
|
/external/dbus/dbus/ |
dbus-nonce.h | 60 dbus_bool_t _dbus_read_nonce (const DBusString *fname,
|
/external/ipsec-tools/src/racoon/ |
rsalist.c | 65 int prsa_parse_file(struct genlist *list, const char *fname, enum rsa_key_type type); 189 rsa_parse_file(struct genlist *list, const char *fname, enum rsa_key_type type) 193 plog(LLV_DEBUG, LOCATION, NULL, "Parsing %s\n", fname); 194 ret = prsa_parse_file(list, fname, type);
|
/external/libvpx/libvpx/test/ |
video_source.h | 62 char fname[MAX_PATH]; local 66 if (GetTempFileNameA(tmppath, "lvx", 0, fname)) { 67 file_name->assign(fname); 68 return fopen(fname, "wb+");
|
/hardware/bsp/intel/peripheral/libupm/src/grovescam/ |
grovescam.h | 169 * @param fname Name of the file to write 172 bool storeImage(const char *fname);
|