/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_old_mailbox.py | 51 with open(tmpname, "w") as fp: 54 fp.write(FROM_) 55 fp.write(DUMMY_MESSAGE) 59 with open(newname, "w") as fp: 60 fp.write(DUMMY_MESSAGE) 78 msg.fp.close() 88 msg.fp.close() 99 msg.fp.close() 102 msg.fp.close()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
zipfile.py | 134 def _check_zipfile(fp): 136 if _EndRecData(fp): 150 result = _check_zipfile(fp=filename) 152 with open(filename, "rb") as fp: 153 result = _check_zipfile(fp) 720 fp = None # Set here since __del__ checks it variable in class:ZipFile 752 self.fp = open(file, modeDict[mode]) 756 self.fp = open(file, modeDict[mode]) 761 self.fp = file 776 self.fp.seek(self.start_dir, 0 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_old_mailbox.py | 51 with open(tmpname, "w") as fp: 54 fp.write(FROM_) 55 fp.write(DUMMY_MESSAGE) 59 with open(newname, "w") as fp: 60 fp.write(DUMMY_MESSAGE) 78 msg.fp.close() 88 msg.fp.close() 99 msg.fp.close() 102 msg.fp.close()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
zipfile.py | 134 def _check_zipfile(fp): 136 if _EndRecData(fp): 150 result = _check_zipfile(fp=filename) 152 with open(filename, "rb") as fp: 153 result = _check_zipfile(fp) 720 fp = None # Set here since __del__ checks it variable in class:ZipFile 752 self.fp = open(file, modeDict[mode]) 756 self.fp = open(file, modeDict[mode]) 761 self.fp = file 776 self.fp.seek(self.start_dir, 0 [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
header.c | 730 FILE *fp; local 739 fp = fopen(filename, "r"); 740 if (!fp) 743 sret = getline(&buf, &len, fp); 744 fclose(fp); 766 fp = fopen(filename, "r"); 767 if (!fp) 770 if (getline(&buf, &len, fp) <= 0) 788 if(fp) 789 fclose(fp); 890 FILE *fp; local 920 FILE *fp; local 979 FILE *fp; local 2157 FILE *fp; member in struct:header_print_data [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
t_vertex.c | 41 const struct tnl_clipspace_fastpath *fp) 45 if (vtx->attr_count != fp->attr_count) 49 if (vtx->attr[j].format != fp->attr[j].format || 50 vtx->attr[j].inputsize != fp->attr[j].size || 51 vtx->attr[j].vertoffset != fp->attr[j].offset) 54 if (fp->match_strides) { 55 if (vtx->vertex_size != fp->vertex_size) 59 if (vtx->attr[j].inputstride != fp->attr[j].stride) 68 struct tnl_clipspace_fastpath *fp = vtx->fastpath; local 70 for ( ; fp ; fp = fp->next) 542 struct tnl_clipspace_fastpath *fp, *tmp; local [all...] |
t_context.c | 129 const struct gl_fragment_program *fp = ctx->FragmentProgram._Current; local 135 || !tnl->AllowPixelFog) && !fp; 145 if (!fp || (fp->Base.InputsRead & FRAG_BIT_COL0)) { 154 (fp && fp->Base.InputsRead & FRAG_BIT_TEX(i))) { 160 || (fp != NULL && (fp->Base.InputsRead & FRAG_BIT_FOGC) != 0)) {
|
/external/mesa3d/src/mesa/tnl/ |
t_vertex.c | 41 const struct tnl_clipspace_fastpath *fp) 45 if (vtx->attr_count != fp->attr_count) 49 if (vtx->attr[j].format != fp->attr[j].format || 50 vtx->attr[j].inputsize != fp->attr[j].size || 51 vtx->attr[j].vertoffset != fp->attr[j].offset) 54 if (fp->match_strides) { 55 if (vtx->vertex_size != fp->vertex_size) 59 if (vtx->attr[j].inputstride != fp->attr[j].stride) 68 struct tnl_clipspace_fastpath *fp = vtx->fastpath; local 70 for ( ; fp ; fp = fp->next) 542 struct tnl_clipspace_fastpath *fp, *tmp; local [all...] |
/external/libedit/src/ |
el.c | 359 FILE *fp; local 363 fp = va_arg(ap, FILE *); 368 el->el_infile = fp; 369 el->el_infd = fileno(fp); 372 el->el_outfile = fp; 373 el->el_outfd = fileno(fp); 376 el->el_errfile = fp; 377 el->el_errfd = fileno(fp); 532 FILE *fp; local 539 fp = NULL [all...] |
/external/srec/portable/src/ |
plog.c | 73 PFile* fp; member in struct:FileLogger_t 97 rc = pvfprintf(p->fp, format, args); 105 return pfflush(p->fp) == 0 ? ESR_SUCCESS : ESR_FATAL_ERROR; 117 pfflush(p->fp); 119 if (p->fp != PSTDERR && p->fp != PSTDOUT) 120 pfclose(p->fp); 124 static ESR_ReturnCode createPFileLogger(PFile* fp, PLogger** logger) 128 if (fp == NULL) 137 fileLogger->fp = fp [all...] |
/external/iproute2/misc/ |
ss.c | 297 FILE *fp; local 300 if ((fp = fopen(tmp, "r")) != NULL) { 301 fscanf(fp, "%*d (%[^)])", process); 302 fclose(fp); 372 FILE *fp; local 377 fp = slabinfo_open(); 378 if (!fp) 383 fgets(buf, sizeof(buf), fp); 384 while(fgets(buf, sizeof(buf), fp) != NULL) { 397 fclose(fp); 505 FILE *fp = popen("\/usr\/sbin\/rpcinfo -p 2>\/dev\/null", "r"); local 721 FILE *fp = ephemeral_ports_open(); local 1645 FILE *fp; local 1701 FILE *fp = NULL; local 1871 FILE *fp = NULL; local 1903 FILE *fp = NULL; local 2176 FILE *fp; local 2261 FILE *fp; local 2338 FILE *fp; local 2391 FILE *fp; local 2428 FILE *fp; local 2523 FILE *fp; local [all...] |
/ndk/sources/host-tools/nawk-20071023/ |
run.c | 219 struct Frame *fp = NULL; /* frame pointer. bottom level unused */ variable in typeref:struct:Frame 236 fp = frame = (struct Frame *) calloc(nframe += 100, sizeof(struct Frame)); 243 dprintf( ("calling %s, %d args (%d in defn), fp=%d\n", s, ncall, ndef, (int) (fp-frame)) ); 250 dprintf( ("evaluate args[%d], fp=%d:\n", i, (int) (fp-frame)) ); 267 fp++; /* now ok to up frame */ 268 if (fp >= frame + nframe) { 269 int dfp = fp - frame; /* old index */ 274 fp = frame + dfp 395 FILE *fp; local 965 FILE *fp; local 1471 FILE *fp; local 1567 FILE *fp; local 1575 fputs(getpssval(y), fp); local 1599 FILE *fp; local 1613 FILE *fp; member in struct:files 1633 FILE *fp = 0; local [all...] |
/bionic/libc/bionic/ |
sysconf.cpp | 98 FILE* fp = fopen("/proc/stat", "r"); local 99 if (fp == NULL) { 105 while (fgets(buf, sizeof(buf), fp) != NULL) { 116 fclose(fp); 121 FILE* fp = fopen("/proc/meminfo", "r"); local 122 if (fp == NULL) { 128 while (fgets(buf, sizeof(buf), fp) != NULL) { 135 fclose(fp);
|
/build/tools/releasetools/ |
edify_generator.py | 84 def AssertSomeFingerprint(self, *fp): 85 """Assert that the current recovery build fingerprint is one of *fp.""" 86 if not fp: 90 % i for i in fp]) + 93 ) % (" or ".join(fp),) 96 def AssertSomeThumbprint(self, *fp): 97 """Assert that the current recovery build thumbprint is one of *fp.""" 98 if not fp: 102 % i for i in fp]) + 105 ) % (" or ".join(fp),) [all...] |
/cts/suite/audio_quality/ |
Android.mk | 33 $(hide) $(ACP) -fp $(PRIVATE_CLIENT_APK) \ 35 $(hide) $(ACP) -fp $(PRIVATE_HOST_BINS) $(CTS_AUDIO_INSTALL_DIR)
|
/development/ndk/platforms/android-3/include/ |
stdio.h | 401 #define getc(fp) __sgetc(fp) 403 #define getc_unlocked(fp) __sgetc(fp) 410 #define putc(x, fp) __sputc(x, fp) 412 #define putc_unlocked(x, fp) __sputc(x, fp)
|
/development/ndk/platforms/android-8/include/ |
stdio.h | 401 #define getc(fp) __sgetc(fp) 403 #define getc_unlocked(fp) __sgetc(fp) 410 #define putc(x, fp) __sputc(x, fp) 412 #define putc_unlocked(x, fp) __sputc(x, fp)
|
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
regdef.h | 62 #define fp $30 macro 112 #define fp $30 macro
|
/external/bison/lib/ |
localcharset.c | 172 FILE *fp; local 174 fp = fdopen (fd, "r"); 175 if (fp == NULL) 195 c = getc (fp); 204 c = getc (fp); 210 ungetc (c, fp); 211 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) 236 fclose (fp);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
print-test-ordering | 48 with open(stats_path, 'r') as fp: 49 stats_trie = json.load(fp)
|
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libwebm/ |
mkvreader.cpp | 17 MkvReader::MkvReader(FILE* fp) : m_file(fp), reader_owns_file_(false) {
|
mkvwriter.cpp | 21 MkvWriter::MkvWriter(FILE* fp) : file_(fp), writer_owns_file_(false) {}
|
/external/clang/test/SemaCXX/ |
const-cast.cpp | 36 f fp = 0; local 38 f *fpp = const_cast<f*>(&fp);
|
/external/iproute2/netem/ |
maketable.c | 20 readdoubles(FILE *fp, int *number) 27 fstat(fileno(fp), &info); 41 fscanf(fp, "%lf", &x[i]); 42 if (feof(fp)) 198 FILE *fp; local 207 if (!(fp = fopen(argv[1], "r"))) { 212 fp = stdin; 214 x = readdoubles(fp, &limit);
|
/external/libpng/contrib/libtests/ |
readpng.c | 35 read_png(FILE *fp) 52 png_init_io(png_ptr, fp);
|