Lines Matching refs:res
41 ota.on('new', function(res) { argument
42 console.log('length is ' + res.length);
43 console.log('module_name is ' + res.module_name);
44 console.log('version is ' + res.version);
45 console.log('url is ' + res.url);
46 console.log('hash is ' + res.hash);
47 console.log('hash_type is ' + res.hash_type);
49 info.url = res.url;
50 info.length = res.length;
51 info.module_name = res.module_name;
52 info.version = res.version;
53 info.hash = res.hash;
54 info.hashType = res.hash_type;
59 }, function(res) { argument
60 if (res >= 0) {
69 }, function(res) { argument
70 if (res >= 0) {
77 }, function(res) { argument
78 if (res >= 0) {