/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
toaiff.py | 81 (fd, fname) = tempfile.mkstemp() 83 temps.append(fname) 84 sts = uncompress.copy(filename, fname) 88 fname = filename 90 ftype = sndhdr.whathdr(fname) 101 return fname 107 sts = table[ftype].copy(fname, temp)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
OpenGLTraceAction.java | 66 String fname = fd.open(); local 67 if (fname == null || fname.trim().length() == 0) { 71 sLoadFromFolder = new File(fname).getParent().toString(); 73 openEditorFor(fname); 76 private void openEditorFor(String fname) { 77 IFileStore fileStore = EFS.getLocalFileSystem().getStore(new Path(fname));
|
/external/fio/ |
filelock.c | 168 static int __fio_lock_file(const char *fname, int trylock) 173 hash = jhash(fname, strlen(fname), 0); 215 int fio_trylock_file(const char *fname) 217 return __fio_lock_file(fname, 1); 220 void fio_lock_file(const char *fname) 222 __fio_lock_file(fname, 0); 225 void fio_unlock_file(const char *fname) 230 hash = jhash(fname, strlen(fname), 0) [all...] |
/external/libdivsufsort/examples/ |
mksary.c | 71 const char *fname, *ofname; local 87 if(fopen_s(&fp, fname = argv[1], "rb") != 0) { 89 if((fp = LFS_FOPEN(fname = argv[1], "rb")) == NULL) { 91 fprintf(stderr, "%s: Cannot open file `%s': ", argv[0], fname); 104 fname = "stdin"; 137 fprintf(stderr, "%s: Cannot ftell `%s': ", argv[0], fname); 142 fprintf(stderr, "%s: Input file `%s' is too big.\n", argv[0], fname); 146 fprintf(stderr, "%s: Cannot fseek `%s': ", argv[0], fname); 164 fname); 171 fprintf(stderr, "%s: %" PRIdOFF_T " bytes ... ", fname, n) [all...] |
unbwt.c | 83 const char *fname, *ofname; local 101 if(fopen_s(&fp, fname = argv[1], "rb") != 0) { 103 if((fp = LFS_FOPEN(fname = argv[1], "rb")) == NULL) { 105 fprintf(stderr, "%s: Cannot open file `%s': ", argv[0], fname); 118 fname = "stdin"; 148 fprintf(stderr, "%s: Cannot read from `%s': ", argv[0], fname); 169 fname); 190 fprintf(stderr, "%s: Cannot read from `%s': ", argv[0], fname);
|
/external/llvm/utils/release/ |
findRegressions-simple.py | 18 fname = '' 30 fname = tmp[1].strip('\r\n') 32 fname = tmp[0].strip('\r\n') 34 if not test.has_key(fname): 35 test[fname] = {} 37 test[fname][t[1] + ' state'] = t[0] 38 test[fname][t[1] + ' time'] = float('nan') 47 test[fname]['compile time'] = float(t[2].split('program')[1].strip('\r\n')) 50 test[fname]['exec time'] = float(t[2].split('program')[1].strip('\r\n')) 52 print test[fname][string.replace(n, '-success', '') [all...] |
/frameworks/native/opengl/tools/glgen/src/ |
CFunc.java | 24 String fname; field in class:CFunc 41 public void setName(String fname) { 42 this.fname = fname; 46 return fname; 108 String s = "Function " + fname + " returns " + ftype + ": "; 131 String fname = tokens[i++]; local 132 if (fname.equals("*")) { 134 fname = tokens[i++]; 137 cfunc.setName(fname); [all...] |
/libcore/ojluni/src/main/java/sun/net/ |
NetProperties.java | 60 String fname = System.getProperty("java.home"); local 61 if (fname == null) { 65 File f = new File(fname, "lib"); 67 fname = f.getCanonicalPath(); 68 InputStream in = new FileInputStream(fname);
|
/external/elfutils/libdwfl/ |
find-debuginfo.c | 44 char *fname; local 47 fname = strdup (debuglink); 48 if (unlikely (fname == NULL)) 51 else if ((subdir == NULL ? asprintf (&fname, "%s/%s", dir, debuglink) 52 : dir == NULL ? asprintf (&fname, "%s/%s", subdir, debuglink) 53 : asprintf (&fname, "%s/%s/%s", dir, subdir, debuglink)) < 0) 57 int fd = TEMP_FAILURE_RETRY (open (fname, O_RDONLY)); 59 free (fname); 65 free (fname); 71 *debuginfo_file_name = fname; 281 char *fname = NULL; local [all...] |
linux-proc-maps.c | 58 char *fname; local 59 if (asprintf (&fname, PROCEXEFMT, pid) < 0) 62 int fd = open (fname, O_RDONLY); 63 free (fname); 94 char *fname; local 95 if (asprintf (&fname, PROCAUXVFMT, pid) < 0) 98 int fd = open (fname, O_RDONLY); 99 free (fname); 297 char *fname; local 298 if (asprintf (&fname, PROCMAPSFMT, pid) < 0 408 char *fname; local [all...] |
/external/ipsec-tools/src/racoon/ |
logger.c | 64 log_open(siz, fname) 66 char *fname; 91 if (fname) 92 p->fname = racoon_strdup(fname); 107 /* syslog if p->fname == NULL? */ 128 if (p->fname == NULL) 130 fp = fopen(p->fname, "a"); 146 if (p->fname == NULL) 148 fp = fopen(p->fname, "a") [all...] |
/external/autotest/client/bin/ |
local_host_unittest.py | 109 fname = os.path.join(self.tmpdir.name, 'file') 111 open(fname, 'w').close() 112 os.symlink(fname, sname) 117 [fname, sname], 118 host.symlink_closure([fname, sname])) 125 fname = os.path.join(self.tmpdir.name, 'file') 127 open(fname, 'w').close() 128 os.symlink(fname, sname) 132 [fname, sname],
|
/external/boringssl/src/crypto/asn1/ |
tasn_prn.c | 161 const char *fname, const char *sname, 169 const char *fname, const char *sname, 173 const char *fname, const char *sname, 192 const char *fname, const char *sname, 216 fname, sname, pctx)) 237 indent, fname, sname,pctx)) 242 if (!nohdr && !asn1_print_fsname(out, indent, fname, sname, pctx)) 262 if (!nohdr && !asn1_print_fsname(out, indent, fname, sname, pctx)) 283 if (!nohdr && !asn1_print_fsname(out, indent, fname, sname, pctx)) 285 if (fname || sname 347 const char *sname, *fname; local [all...] |
/external/elfutils/libasm/ |
asm_begin.c | 130 asm_begin (const char *fname, Ebl *ebl, bool textp) 132 if (fname == NULL && ! textp) 135 size_t fname_len = fname != NULL ? strlen (fname) : 0; 149 if (fname != NULL) 152 result->fname = stpcpy (mempcpy (result->tmp_fname, fname, fname_len), 154 memcpy (result->fname, fname, fname_len + 1);
|
/external/libselinux/src/ |
booleans.c | 89 char *fname = NULL; local 102 fname = (char *)malloc(sizeof(char) * len); 103 if (!fname) 105 snprintf(fname, len, "%s%s%s", selinux_mnt, SELINUX_BOOL_DIR, name); 107 fd = open(fname, O_RDONLY); 116 free(fname); 121 if (fname) 122 free(fname); 164 char buf[2], *fname; local 176 fname = (char *)malloc(sizeof(char) * len) [all...] |
/external/liblzf/ |
lzf.c | 331 compose_name (const char *fname, char *oname) 337 if (strlen (fname) > PATH_MAX - 4) 339 fprintf (stderr, "%s: %s.lzf: name too long", imagename, fname); 343 strcpy (oname, fname); 348 if (strlen (fname) > PATH_MAX) 350 fprintf (stderr, "%s: %s: name too long\n", imagename, fname); 354 strcpy (oname, fname); 358 fprintf (stderr, "%s: %s: unknown suffix\n", imagename, fname); 369 run_file (const char *fname) 377 if (compose_name (fname, oname) [all...] |
/external/toybox/toys/other/ |
hwclock.c | 29 char *fname; 48 TT.fname = toybuf; 81 if (!TT.fname && (fd = open("/dev/rtc", flag)) == -1) { 83 if (!TT.fname) TT.fname = "/dev/misc/rtc"; 85 if (fd == -1) fd = xopen(TT.fname, flag);
|
/external/libmicrohttpd/src/examples/ |
spdy_fileserver.c | 45 #define GET_MIME_TYPE(fname, mime) do {\ 46 unsigned int __len = strlen(fname);\ 47 if (__len < 4 || '.' != (fname)[__len - 4]) \ 50 printf("MIME for %s is applic...\n", (fname));\ 53 const char * __ext = &(fname)[__len - 3];\ 62 printf("MIME for %s is applic...\n", (fname));\ 165 char *fname; local 176 asprintf(&fname,"%s%s",basedir,path); 177 if(0 == access(fname, R_OK)) 179 if(NULL == (fd = fopen(fname,"r") [all...] |
/external/nist-sip/java/gov/nist/core/ |
GenericObject.java | 239 String fname = fieldType.toString(); local 243 if (fname.compareTo("int") == 0) { 246 } else if (fname.compareTo("short") == 0) { 249 } else if (fname.compareTo("char") == 0) { 252 } else if (fname.compareTo("long") == 0) { 255 } else if (fname.compareTo("boolean") == 0) { 258 } else if (fname.compareTo("double") == 0) { 261 } else if (fname.compareTo("float") == 0) { 436 String fname = fieldType.toString(); local 437 if (fname.compareTo("int") == 0) 521 String fname = fieldType.toString(); local 619 String fname = fieldType.toString(); local [all...] |
/external/selinux/libsemanage/src/ |
database_file.c | 50 const char *fname = NULL; local 61 fname = dbase->path[handle->is_in_transaction]; 63 if (parse_init(handle, fname, NULL, &parse_info) < 0) 120 const char *fname = NULL; local 126 fname = dbase->path[handle->is_in_transaction]; 128 str = fopen(fname, "w"); 131 fname, strerror(errno)); 139 ERR(handle, "could not write file header for %s", fname);
|
/external/avahi/avahi-daemon/ |
ini-file-parser.h | 48 AvahiIniFile* avahi_ini_file_load(const char *fname);
|
/external/clang/test/Index/ |
c-index-getCursor-pp.c | 16 const char *fname = __FILE__; variable
|
/external/elfutils/tests/ |
zstrptr.c | 42 const char *fname = argv[1]; local 48 int fd = open (fname, O_RDONLY); 51 printf ("cannot open `%s' read-only: %s\n", fname, strerror (errno)); 71 printf ("ELF file `%s' doesn't have a section header table index", fname);
|
/external/libedit/src/ |
hist.h | 74 #define HIST_LOAD(el, fname) HIST_FUN(el, H_LOAD fname) 75 #define HIST_SAVE(el, fname) HIST_FUN(el, H_SAVE fname)
|
/external/libevent/ |
evutil_rand.c | 46 evutil_secure_rng_set_urandom_device_file(char *fname) 48 (void) fname; 137 evutil_secure_rng_set_urandom_device_file(char *fname) 141 arc4random_urandom_filename = fname;
|