/prebuilts/gdb/linux-x86/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)
|
/prebuilts/python/darwin-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)
|
/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)
|
/external/skia/bench/ |
RectBench.cpp | 104 fName.set(this->INHERITED::onGetName()); 105 fName.prepend("srcmode_"); 106 return fName.c_str(); 111 SkString fName; 128 fName.set(this->INHERITED::onGetName()); 129 fName.prepend("transparent_"); 130 return fName.c_str(); 134 SkString fName; 166 fName = name; 193 const char* onGetName() override { return fName.c_str(); [all...] |
MathBench.cpp | 31 SkString fName; 35 fName.printf("math_%s", name); 55 return fName.c_str(); 232 const char* fName; 270 fName = "isfinite_rect"; 273 fName = gRec[index].fName; 313 return fName; 318 const char* fName; 339 fName = "floor_fast" [all...] |
GradientBench.cpp | 20 const char* fName; 132 const char* fName; 195 fName.printf("gradient_%s_%s", gGrads[gradType].fName, 198 fName.appendf("_%s", geomtypename(geomType)); 202 fName.appendf("_scale_%g", scale); 205 fName.append(data.fName); 215 fName.printf("gradient_%s_%s", gGrads[gradType].fName, tmname) [all...] |
PicturePlaybackBench.cpp | 24 fName.printf("picture_playback_%s", name); 37 return fName.c_str(); 62 SkString fName; 151 TiledPlaybackBench(BBH bbh, Mode mode) : fBBH(bbh), fMode(mode), fName("tiled_playback") { 153 case kNone: fName.append("_none" ); break; 154 case kRTree: fName.append("_rtree" ); break; 157 case kTiled: fName.append("_tiled" ); break; 158 case kRandom: fName.append("_random"); break; 162 const char* onGetName() override { return fName.c_str(); } 212 SkString fName; [all...] |
/external/skqp/bench/ |
RectBench.cpp | 104 fName.set(this->INHERITED::onGetName()); 105 fName.prepend("srcmode_"); 106 return fName.c_str(); 111 SkString fName; 128 fName.set(this->INHERITED::onGetName()); 129 fName.prepend("transparent_"); 130 return fName.c_str(); 134 SkString fName; 166 fName = name; 193 const char* onGetName() override { return fName.c_str(); [all...] |
MathBench.cpp | 31 SkString fName; 35 fName.printf("math_%s", name); 55 return fName.c_str(); 232 const char* fName; 270 fName = "isfinite_rect"; 273 fName = gRec[index].fName; 313 return fName; 318 const char* fName; 339 fName = "floor_fast" [all...] |
GradientBench.cpp | 20 const char* fName; 132 const char* fName; 195 fName.printf("gradient_%s_%s", gGrads[gradType].fName, 198 fName.appendf("_%s", geomtypename(geomType)); 202 fName.appendf("_scale_%g", scale); 205 fName.append(data.fName); 215 fName.printf("gradient_%s_%s", gGrads[gradType].fName, tmname) [all...] |
PicturePlaybackBench.cpp | 24 fName.printf("picture_playback_%s", name); 37 return fName.c_str(); 62 SkString fName; 151 TiledPlaybackBench(BBH bbh, Mode mode) : fBBH(bbh), fMode(mode), fName("tiled_playback") { 153 case kNone: fName.append("_none" ); break; 154 case kRTree: fName.append("_rtree" ); break; 157 case kTiled: fName.append("_tiled" ); break; 158 case kRandom: fName.append("_random"); break; 162 const char* onGetName() override { return fName.c_str(); } 212 SkString fName; [all...] |
/external/ltp/testcases/kernel/fs/ftest/ |
ftest02.c | 253 char fname[MAXPATHLEN], buf[MAXPATHLEN]; local 255 ft_mkname(fname, dirname, me, count); 257 fd = open(fname, O_RDWR | O_CREAT | O_TRUNC, 0666); 259 val = rmdir(fname); 260 warn(val, "rmdir", fname); 261 fd = open(fname, O_RDWR | O_CREAT | O_TRUNC, 0666); 263 warn(fd, "creating", fname); 292 char fname[MAXPATHLEN]; local 300 ft_mkname(fname, dirname, me, i); 301 val = rmdir(fname); 319 char dir[MAXPATHLEN], fname[MAXPATHLEN], savedir[MAXPATHLEN]; local [all...] |
ftest06.c | 273 char fname[MAXPATHLEN]; local 276 ft_mkname(fname, dirname, me, count); 278 fd = open(fname, O_RDWR | O_CREAT | O_TRUNC, 0666); 280 val = rmdir(fname); 281 warn(val, "rmdir", fname); 282 fd = open(fname, O_RDWR | O_CREAT | O_TRUNC, 0666); 284 warn(fd, "creating", fname); 312 char fname[MAXPATHLEN]; local 318 ft_mkname(fname, dirname, me, i); 319 val = rmdir(fname); 337 char dir[MAXPATHLEN], fname[MAXPATHLEN], savedir[MAXPATHLEN]; local [all...] |
/external/scapy/scapy/ |
main.py | 206 def save_session(fname=None, session=None, pickleProto=-1): 207 """Save current Scapy session to the file specified in the fname arg. 210 - fname: file to save the scapy session in 214 if fname is None: 215 fname = conf.session 216 if not fname: 217 conf.session = fname = utils.get_temp_file(keep=True) 218 log_interactive.info("Use [%s] as session file" % fname) 242 os.rename(fname, fname+".bak" [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...] |
/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...] |
/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl24.c | 103 char fname[255]; variable 140 * Call fcntl(2) with F_SETLEASE & F_WRLCK argument on fname 148 fname, TEST_ERRNO, strerror(TEST_ERRNO)); 154 fname, TEST_RETURN); 160 fname, TEST_RETURN); 164 fname); 188 sprintf(fname, "tfile_%d", getpid()); 189 if ((fd = open(fname, O_RDWR | O_CREAT, 0777)) == -1) { 192 fname, errno, strerror(errno)); 205 tst_resm(TWARN, "close(%s) Failed, errno=%d : %s", fname, errno [all...] |
fcntl25.c | 104 char fname[255]; variable 141 * Call fcntl(2) with F_SETLEASE & F_WRLCK argument on fname 149 fname, TEST_ERRNO, strerror(TEST_ERRNO)); 155 fname, TEST_RETURN); 161 fname, TEST_RETURN); 165 fname); 189 sprintf(fname, "tfile_%d", getpid()); 190 if ((fd = open(fname, O_RDONLY | O_CREAT, 0777)) == -1) { 193 fname, errno, strerror(errno)); 206 tst_resm(TWARN, "close(%s) Failed, errno=%d : %s", fname, errno [all...] |
fcntl26.c | 104 char fname[255]; variable 141 * Call fcntl(2) with F_SETLEASE & F_WRLCK argument on fname 149 fname, TEST_ERRNO, strerror(TEST_ERRNO)); 155 fname, TEST_RETURN); 161 fname, TEST_RETURN); 165 fname); 189 sprintf(fname, "tfile_%d", getpid()); 190 if ((fd = open(fname, O_WRONLY | O_CREAT, 0777)) == -1) { 193 fname, errno, strerror(errno)); 206 tst_resm(TWARN, "close(%s) Failed, errno=%d : %s", fname, errno [all...] |
/frameworks/base/test-base/src/junit/framework/ |
TestCase.java | 80 private String fName; 87 fName= null; 93 fName= name; 152 assertNotNull("TestCase.fName cannot be null", fName); // Some VMs crash when calling getMethod(null,null); 159 runMethod= getClass().getMethod(fName, (Class[])null); 161 fail("Method \""+fName+"\" not found"); 164 fail("Method \""+fName+"\" should be public"); 203 return fName; 210 fName= name [all...] |
/external/honggfuzz/ |
input.c | 72 char fname[PATH_MAX]; local 73 snprintf(fname, sizeof(fname), "%s/%s", hfuzz->io.inputDir, entry->d_name); 74 LOG_D("Analyzing file '%s'", fname); 77 if (stat(fname, &st) == -1) { 78 LOG_W("Couldn't stat() the '%s' file", fname); 82 LOG_D("'%s' is not a regular file, skipping", fname); 87 fname, (int64_t)st.st_size, (int64_t)hfuzz->maxFileSz); 121 bool input_getNext(run_t* run, char* fname, bool rewind) { 150 snprintf(fname, PATH_MAX, "%s/%s", run->global->io.inputDir, entry->d_name) [all...] |
/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/javax/sip/address/ |
NetObject.java | 109 String fname = fieldType.toString(); local 110 if (fname.compareTo("int") == 0) { 113 } else if (fname.compareTo("short") == 0) { 116 } else if (fname.compareTo("char") == 0) { 119 } else if (fname.compareTo("long") == 0) { 122 } else if (fname.compareTo("boolean") == 0) { 125 } else if (fname.compareTo("double") == 0) { 128 } else if (fname.compareTo("float") == 0) { 199 String fname = fieldType.toString(); local 200 if (fname.compareTo("int") == 0) 309 String fname = fieldType.toString(); local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
SIPObject.java | 111 String fname = fieldType.toString(); local 112 if (fname.compareTo("int") == 0) { 115 } else if (fname.compareTo("short") == 0) { 118 } else if (fname.compareTo("char") == 0) { 121 } else if (fname.compareTo("long") == 0) { 124 } else if (fname.compareTo("boolean") == 0) { 127 } else if (fname.compareTo("double") == 0) { 130 } else if (fname.compareTo("float") == 0) { 201 String fname = fieldType.toString(); local 202 if (fname.compareTo("int") == 0) 316 String fname = fieldType.toString(); local [all...] |
/external/tensorflow/tensorflow/core/lib/io/ |
zlib_buffers_test.cc | 64 string fname = testing::TmpDir() + "/zlib_buffers_test"; local 71 TF_ASSERT_OK(env->NewWritableFile(fname, &file_writer)); 84 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file_reader)); 115 string fname = testing::TmpDir() + "/zlib_buffers_test"; local 121 TF_ASSERT_OK(env->NewWritableFile(fname, &file_writer)); 138 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file_reader)); 163 string fname = testing::TmpDir() + "/zlib_buffers_test"; local 173 TF_ASSERT_OK(env->NewWritableFile(fname, &file_writer)); 185 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file_reader)); 195 void WriteCompressedFile(Env* env, const string& fname, int input_buf_size 215 string fname = testing::TmpDir() + "\/zlib_buffers_test"; local 259 string fname = testing::TmpDir() + "\/zlib_buffers_test"; local [all...] |