/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
_hotshot.c | 80 FILE *logfp;
member in struct:__anon5669 93 FILE *logfp;
member in struct:__anon5670 119 if (self->logfp != NULL) {
120 fclose(self->logfp);
121 self->logfp = NULL;
136 if (self->logfp == NULL) {
141 return PyInt_FromLong(fileno(self->logfp));
287 if ((c = fgetc(self->logfp)) == EOF)
322 ch = fgetc(self->logfp);
379 fclose(self->logfp);
[all...] |
/external/python/cpython2/Modules/ |
_hotshot.c | 80 FILE *logfp; member in struct:__anon36635 93 FILE *logfp; member in struct:__anon36636 119 if (self->logfp != NULL) { 120 fclose(self->logfp); 121 self->logfp = NULL; 136 if (self->logfp == NULL) { 141 return PyInt_FromLong(fileno(self->logfp)); 287 if ((c = fgetc(self->logfp)) == EOF) 322 ch = fgetc(self->logfp); 379 fclose(self->logfp); [all...] |
/external/curl/tests/server/ |
util.c | 103 FILE *logfp; local 132 logfp = fopen(serverlogfile, "ab"); 133 if(logfp) { 134 fprintf(logfp, "%s %s\n", timebuf, buffer); 135 fclose(logfp);
|
/external/python/cpython3/Lib/ |
cgi.py | 56 logfp = None # File object to log to, if not None variable 71 If the global logfp is not None, it should be a file object to 74 If the global logfp is None, the global logfile may be a string 81 global log, logfile, logfp 82 if logfile and not logfp: 84 logfp = open(logfile, "a") 87 if not logfp: 95 logfp.write(fmt%args + "\n") 103 global log, logfile, logfp 105 if logfp [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_cgi.py | 186 cgi.logfp = StringIO()
189 self.assertEqual(cgi.logfp.getvalue(), "Testing initlog 1\nTesting log 2\n")
191 cgi.logfp = None
|
/external/python/cpython2/Lib/test/ |
test_cgi.py | 193 cgi.logfp = StringIO() 196 self.assertEqual(cgi.logfp.getvalue(), "Testing initlog 1\nTesting log 2\n") 198 cgi.logfp = None
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
cgi.py | 70 logfp = None # File object to log to, if not None
variable 85 If the global logfp is not None, it should be a file object to
88 If the global logfp is None, the global logfile may be a string
95 global logfp, log
96 if logfile and not logfp:
98 logfp = open(logfile, "a")
101 if not logfp:
109 logfp.write(fmt%args + "\n")
[all...] |
/external/python/cpython2/Lib/ |
cgi.py | 69 logfp = None # File object to log to, if not None variable 84 If the global logfp is not None, it should be a file object to 87 If the global logfp is None, the global logfile may be a string 94 global logfp, log 95 if logfile and not logfp: 97 logfp = open(logfile, "a") 100 if not logfp: 108 logfp.write(fmt%args + "\n") [all...] |
/external/python/cpython3/Lib/test/ |
test_cgi.py | 204 cgi.logfp = StringIO() 207 self.assertEqual(cgi.logfp.getvalue(), "Testing initlog 1\nTesting log 2\n") 209 cgi.logfp = None 550 blacklist = {"logfile", "logfp", "initlog", "dolog", "nolog",
|