/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
multifile.py | 4 an ordinary file, as long as you use fp.readline(). Allows recursive 11 fp = MultiFile(real_fp) 13 "read some lines from fp" 14 fp.push(separator) 16 "read lines from fp until it returns an empty string" (A) 17 if not fp.next(): break 18 fp.pop() 19 "read remaining lines from fp until it returns an empty string" 43 def __init__(self, fp, seekable=1): 44 self.fp = f [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_sunaudiodev.py | 15 fp = open(path, 'r') 16 data = fp.read() 17 fp.close()
|
test_applesingle.py | 27 fp = open(test_support.TESTFN, 'w') 28 fp.write(applesingledata) 29 fp.close() 43 fp = MacOS.openrf(TESTFN2, '*rb') 45 fp = open(TESTFN2, 'rb') 46 filedata = fp.read(1000)
|
/external/libppp/src/ |
ccp.c | 324 CcpInitRestartCounter(struct fsm *fp, int what) 327 struct ccp *ccp = fsm2ccp(fp); 329 fp->FsmTimer.load = ccp->cfg.fsm.timeout * SECTICKS; 332 fp->restart = ccp->cfg.fsm.maxreq; 335 fp->restart = ccp->cfg.fsm.maxtrm; 338 fp->restart = 1; 344 CcpSendConfigReq(struct fsm *fp) 347 struct ccp *ccp = fsm2ccp(fp); 361 (*algorithm[f]->Usable)(fp)) { 371 fp->link->name) [all...] |
/dalvik/vm/mterp/armv6t2/ |
OP_IPUT_WIDE_QUICK.S | 6 GET_VREG(r2, r1) @ r2<- fp[B], the object pointer 7 add r3, rFP, r0, lsl #2 @ r3<- &fp[A] 9 ldmia r3, {r0-r1} @ r0/r1<- fp[A]
|
/external/aac/libSYS/src/ |
genericStds.cpp | 376 INT FDKfclose(FDKFILE *fp) { return fclose((FILE*)fp);} 379 INT FDKfseek(FDKFILE *fp, LONG OFFSET, int WHENCE) { return fseek((FILE*)fp, OFFSET, WHENCE);} 382 INT FDKftell(FDKFILE *fp) { return ftell((FILE*)fp); } 385 INT FDKfflush(FDKFILE *fp) { return fflush((FILE*)fp); } 392 UINT FDKfwrite(void *ptrf, INT size, UINT nmemb, FDKFILE *fp) { return fwrite(ptrf, size, nmemb, (FILE*)fp); } [all...] |
/external/iproute2/tc/ |
tc_monitor.c | 40 FILE *fp = (FILE*)arg; local 61 fprintf(fp, "Unknown message: length %08d type %08x flags %08x\n", 89 FILE *fp; local 90 fp = fopen(file, "r"); 91 if (fp == NULL) { 95 return rtnl_from_file(fp, accept_tcmsg, (void*)stdout);
|
/external/libffi/src/m32r/ |
sysv.S | 49 push fp 55 mv fp, sp 75 ld lr, @(8,fp) 83 ld lr, @(28,fp) 87 mv sp, fp 117 pop fp
|
/hardware/qcom/display/msm8960/libmemtrack/ |
kgsl.c | 49 FILE *fp; local 68 fp = fopen(tmp, "r"); 69 if (fp == NULL) { 77 fclose(fp); 88 if (fgets(line, sizeof(line), fp) == NULL) { 151 fclose(fp);
|
/hardware/qcom/display/msm8974/libmemtrack/ |
kgsl.c | 49 FILE *fp; local 68 fp = fopen(tmp, "r"); 69 if (fp == NULL) { 77 fclose(fp); 88 if (fgets(line, sizeof(line), fp) == NULL) { 151 fclose(fp);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_applesingle.py | 27 fp = open(test_support.TESTFN, 'w') 28 fp.write(applesingledata) 29 fp.close() 43 fp = MacOS.openrf(TESTFN2, '*rb') 45 fp = open(TESTFN2, 'rb') 46 filedata = fp.read(1000)
|
/external/qemu/slirp/ |
ip_input.c | 52 register struct ipq *fp); 53 static void ip_freef(struct ipq *fp); 186 register struct ipq *fp; local 193 fp = container_of(l, struct ipq, ip_link); 194 if (ip->ip_id == fp->ipq_id && 195 ip->ip_src.s_addr == fp->ipq_src.s_addr && 196 ip->ip_dst.s_addr == fp->ipq_dst.s_addr && 197 ip->ip_p == fp->ipq_p) 200 fp = NULL; 223 ip = ip_reass(ip, fp); 480 struct ipq *fp = container_of(l, struct ipq, ip_link); local [all...] |
/external/qemu/slirp-android/ |
ip_input.c | 52 register struct ipq *fp); 53 static void ip_freef(struct ipq *fp); 186 register struct ipq *fp; local 193 fp = container_of(l, struct ipq, ip_link); 194 if (ip->ip_id == fp->ipq_id && 195 ip_equal(ip->ip_src, fp->ipq_src) && 196 ip_equal(ip->ip_dst, fp->ipq_dst) && 197 ip->ip_p == fp->ipq_p) 200 fp = NULL; 223 ip = ip_reass(ip, fp); 480 struct ipq *fp = container_of(l, struct ipq, ip_link); local [all...] |
/dalvik/vm/mterp/x86/ |
OP_MOVE_EXCEPTION.S | 5 SET_VREG %eax rINST # fp[AA]<- exception object
|
OP_MOVE_RESULT.S | 8 SET_VREG %eax rINST # fp[AA]<- retval.l
|
/external/chromium/base/ |
shared_memory_posix.cc | 110 FILE *fp; local 119 fp = file_util::CreateAndOpenTemporaryShmemFile(&path); 124 if (fp) 131 fp = file_util::OpenFile(path, "w+x"); 132 if (fp == NULL && open_existing) { 134 fp = file_util::OpenFile(path, "a+"); 138 if (fp && fix_size) { 141 if (fstat(fileno(fp), &stat) != 0) 145 if (HANDLE_EINTR(ftruncate(fileno(fp), size)) != 0) 147 if (fseeko(fp, size, SEEK_SET) != 0 196 FILE *fp = file_util::OpenFile(path, mode); local [all...] |
/external/clang/test/CXX/except/except.spec/ |
p2-places.cpp | 13 void (*fp)() throw (int); member in namespace:dyn 48 void (*fp)() noexcept(false);
|
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/ |
p1inst.cpp | 14 void test_f(X0<float, int> xfi, X0<void, int> xvi, float *fp, void *vp, int i) { 15 xfi.f(fp, i);
|
/external/clang/test/CodeGen/ |
exprs.c | 57 void f0(void (*fp)(void), void (*fp2)(void)) { 58 int x = fp - fp2; 73 void (*fp)(void) = f2; 75 ++fp; 76 fp++; 77 --fp; 78 fp--; 79 return (unsigned) fp; 142 // Make sure negate of fp uses -0.0 for proper -0 handling.
|
/external/clang/test/Index/ |
complete-memfunc-cvquals.cpp | 17 void text(Foo f, Foo *fp, const Foo &fc, const Foo *fcp, 20 fp->bar();
|
/external/clang/test/SemaCXX/ |
incomplete-call.cpp | 21 Func fp; local 22 fp(); // expected-error {{calling function with incomplete return type 'A'}}
|
/external/dropbear/ |
compat.c | 236 register FILE *fp; local 246 if ((fp = fopen("/etc/shells", "rc")) == NULL) 248 if (fstat(fileno(fp), &statb) == -1) { 249 (void)fclose(fp); 253 (void)fclose(fp); 258 (void)fclose(fp); 266 while (fgets(cp, flen - (cp - strings), fp) != NULL) { 277 (void)fclose(fp);
|
/external/iproute2/ip/ |
iprule.c | 48 FILE *fp = (FILE*)arg; local 76 fprintf(fp, "Deleted "); 79 fprintf(fp, "%u:\t", *(unsigned*)RTA_DATA(tb[FRA_PRIORITY])); 81 fprintf(fp, "0:\t"); 84 fprintf(fp, "not "); 88 fprintf(fp, "from %s/%u ", rt_addr_n2a(r->rtm_family, 95 fprintf(fp, "from %s ", format_host(r->rtm_family, 102 fprintf(fp, "from 0/%d ", r->rtm_src_len); 104 fprintf(fp, "from all "); 109 fprintf(fp, "to %s/%u ", rt_addr_n2a(r->rtm_family [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/ |
invoke_void_0.pass.cpp | 48 void (*fp)() = f_void_0; 49 std::function<void ()> r1(fp);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.invoke/ |
invoke_void_0.pass.cpp | 49 void (*fp)() = f_void_0; 50 std::reference_wrapper<void (*)()> r1(fp);
|