Searched refs:newfile (Results 1 - 9 of 9) sorted by relevance
/third_party/python/Lib/ |
H A D | shlex.py | 78 def push_source(self, newstream, newfile=None): 83 self.infile = newfile 87 if newfile is not None: 115 (newfile, newstream) = spec 116 self.push_source(newstream, newfile) 279 def sourcehook(self, newfile): 281 if newfile[0] == '"': 282 newfile = newfile[1:-1] 284 if isinstance(self.infile, str) and not os.path.isabs(newfile) [all...] |
H A D | tempfile.py | 716 newfile = self._file = TemporaryFile(**self._TemporaryFileArgs) 720 if hasattr(newfile, 'buffer'): 721 newfile.buffer.write(file.detach().getvalue()) 723 newfile.write(file.getvalue()) 724 newfile.seek(pos, 0)
|
/third_party/skia/tools/ |
H A D | jsondiff.py | 154 def GenerateDiffDict(self, oldfile, newfile=None): 157 new = expectations within newfile 159 If newfile is not specified, then 'new' is the actual results within 164 self._GetFileContentsAsString(newfile)) 171 If newfile is not specified, then 'new' is the actual results within 197 diffs = differ.GenerateDiffDict(oldfile=args.old, newfile=args.new)
|
/third_party/curl/tests/libtest/ |
H A D | test613.pl | 134 my $newfile = $logfile . ".new"; 135 open(OUT, ">$newfile") || die "$!"; 140 rename $newfile, $logfile;
|
/third_party/python/Lib/test/ |
H A D | test_profile.py | 134 newfile = [] 137 newfile.append(line) 142 f.writelines(newfile)
|
H A D | test_zipimport.py | 534 newfile = {"spam2" + pyc_ext: (NOW, test_pyc)} 535 files.update(newfile) 537 for name, (mtime, data) in newfile.items():
|
/third_party/curl/src/ |
H A D | tool_operate.c | 928 FILE *newfile = fopen(config->etag_save_file, "wb"); in single_transfer() local 929 if(!newfile) { in single_transfer() 940 etag_save->stream = newfile; in single_transfer() 988 FILE *newfile; in single_transfer() local 1000 newfile = fopen(config->headerfile, "wb"); in single_transfer() 1001 if(newfile) in single_transfer() 1002 fclose(newfile); in single_transfer() 1004 newfile = fopen(config->headerfile, "ab"); in single_transfer() 1006 if(!newfile) { in single_transfer() 1015 heads->stream = newfile; in single_transfer() [all...] |
/third_party/typescript/tests/baselines/reference/tsc/incremental/ |
H A D | when-global-file-is-added,-the-signatures-are-updated.js | 510 /src/project/src/newfile.ts (computed .d.ts) 543 {"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/newfile.ts","./src/main.ts","./src/filenotfound.ts"],"fileInfos":[{"version":"3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-2893492081-declare function something(): number;\r\n","affectsGlobalScope":true},{"version":"-28237004260-/// <reference path=\"./filePresent.ts\"/>\n/// <reference path=\"./fileNotFound.ts\"/>\nfunction anotherFileWithSameReferenes() { }\n","signature":"5108835150-/// <reference path=\"filePresent.d.ts\" />\r\ndeclare function anotherFileWithSameReferenes(): void;\r\n","affectsGlobalScope":true},{"version":"5451387573-function foo() { return 20; }","signature":"-94503195-declare function foo(): number;\r\n","affectsGlobalScope":true},{"version":"-3581559188-/// <reference path=\"./newFile.ts\"/>\n/// <reference path=\"./filePresent.ts\"/>\n/// <reference path=\"./fileNotFound.ts\"/>\nfunction main() { }\nsomething();something();foo();","signature":"23846498620-/// <reference path=\"newFile.d.ts\" />\r\n/// <reference path=\"filePresent.d.ts\" />\r\ndeclare function main(): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[2,6],[2,4,6]],"referencedMap":[[3,1],[5,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,5,4],"latestChangedDtsFile":"./src/main.d.ts"},"version":"FakeTSVersion"}
552 "./src/newfile.ts", 563 "./src/newfile.ts", 583 "./src/newfile.ts": { 604 "./src/newfile.ts", 614 "./src/newfile.ts" 657 /src/project/src/newfile.ts (computed .d.ts) 687 {"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/filenotfound.ts","./src/anotherfilewithsamereferenes.ts","./src/newfile.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-2893492081-declare function something(): number;\r\n","affectsGlobalScope":true},{"version":"-9011934479-function something2() { return 20; }","signature":"-11552458975-declare function something2(): number;\r\n","affectsGlobalScope":true},{"version":"-28237004260-/// <reference path=\"./filePresent.ts\"/>\n/// <reference path=\"./fileNotFound.ts\"/>\nfunction anotherFileWithSameReferenes() { }\n","signature":"-13698947860-/// <reference path=\"filePresent.d.ts\" />\r\n/// <reference path=\"fileNotFound.d.ts\" />\r\ndeclare function anotherFileWithSameReferenes(): void;\r\n","affectsGlobalScope":true},{"version":"5451387573-function foo() { return 20; }","signature":"-94503195-declare function foo(): number;\r\n","affectsGlobalScope":true},{"version":"-3581559188-/// <reference path=\"./newFile.ts\"/>\n/// <reference path=\"./filePresent.ts\"/>\n/// <reference path=\"./fileNotFound.ts\"/>\nfunction main() { }\nsomething();something();foo();","signature":"25064093018-/// <reference path=\"newFile.d.ts\" />\r\n/// <reference path=\"filePresent.d.ts\" />\r\n/// <reference path=\"fileNotFound.d.ts\" />\r\ndeclare function main(): void;\r\n","affectsGlobalScope":true}],"options":{"composite":true},"fileIdsList":[[2,3],[2,3,5]],"referencedMap":[[4,1],[6,2]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,4,3,2,6,5],"latestChangedDtsFile":"./src/main.d.ts"},"version":"FakeTSVersion"}
697 "./src/newfile [all...] |
/third_party/ltp/scripts/ |
H A D | checkpatch.pl | 7495 my $newfile = $filename; 7496 $newfile .= ".EXPERIMENTAL-checkpatch-fixes" if (!$fix_inplace); 7502 open($f, '>', $newfile) 7503 or die "$P: Can't open $newfile for write\n"; 7520 Wrote EXPERIMENTAL --fix correction(s) to '$newfile'
|
Completed in 14 milliseconds