Home
last modified time | relevance | path

Searched refs:er (Results 1 – 25 of 456) sorted by relevance

12345678910>>...19

/third_party/node/deps/npm/lib/utils/
Derror-message.js10 const jsonError = (er, npm, { summary, detail }) => { argument
14 code: er.code,
22 const errorMessage = (er, npm) => { argument
27 if (er.message) {
28 er.message = replaceInfo(er.message)
30 if (er.stack) {
31 er.stack = replaceInfo(er.stack)
34 switch (er.code) {
36 short.push(['ERESOLVE', er.message])
41 const { explanation, file } = report(er, npm.logChalk, npm.noColorChalk)
[all …]
/third_party/node/deps/npm/node_modules/chownr/
Dchownr.js18 } catch (er) {
19 if (er.code !== 'ENOENT')
20 throw er
28 } catch (er) {
29 if (er.code !== 'ENOENT')
30 throw er
36 needEISDIRHandled ? (path, uid, gid, cb) => er => {
40 if (!er || er.code !== 'EISDIR')
41 cb(er)
52 } catch (er) {
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_er_ssdp.c22 struct wps_er *er = eloop_ctx; in wps_er_ssdp_rx() local
38 if (er->filter_addr.s_addr && in wps_er_ssdp_rx()
39 er->filter_addr.s_addr != addr.sin_addr.s_addr) in wps_er_ssdp_rx()
47 if (sd == er->multicast_sd) { in wps_er_ssdp_rx()
108 wps_er_ap_cache_settings(er, &addr.sin_addr); in wps_er_ssdp_rx()
109 wps_er_ap_remove(er, &addr.sin_addr); in wps_er_ssdp_rx()
123 wps_er_ap_add(er, uuid, &addr.sin_addr, location, max_age); in wps_er_ssdp_rx()
127 void wps_er_send_ssdp_msearch(struct wps_er *er) in wps_er_send_ssdp_msearch() argument
150 if (sendto(er->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0, in wps_er_send_ssdp_msearch()
159 int wps_er_ssdp_init(struct wps_er *er) in wps_er_ssdp_init() argument
[all …]
Dwps_er.c76 wps_er_sta_event(sta->ap->er->wps, sta, WPS_EV_ER_ENROLLEE_REMOVE); in wps_er_sta_free()
99 static struct wps_er_ap * wps_er_ap_get(struct wps_er *er, in wps_er_ap_get() argument
104 dl_list_for_each(ap, &er->ap, struct wps_er_ap, list) { in wps_er_ap_get()
116 static struct wps_er_ap * wps_er_ap_get_id(struct wps_er *er, unsigned int id) in wps_er_ap_get_id() argument
119 dl_list_for_each(ap, &er->ap, struct wps_er_ap, list) { in wps_er_ap_get_id()
181 static void wps_er_ap_unsubscribed(struct wps_er *er, struct wps_er_ap *ap) in wps_er_ap_unsubscribed() argument
188 if (er->deinitializing && dl_list_empty(&er->ap_unsubscribing)) in wps_er_ap_unsubscribed()
189 wps_er_deinit_finish(er, NULL); in wps_er_ap_unsubscribed()
217 wps_er_ap_unsubscribed(ap->er, ap); in wps_er_http_unsubscribe_cb()
221 static void wps_er_ap_unsubscribe(struct wps_er *er, struct wps_er_ap *ap) in wps_er_ap_unsubscribe() argument
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_er_ssdp.c22 struct wps_er *er = eloop_ctx; in wps_er_ssdp_rx() local
38 if (er->filter_addr.s_addr && in wps_er_ssdp_rx()
39 er->filter_addr.s_addr != addr.sin_addr.s_addr) in wps_er_ssdp_rx()
47 if (sd == er->multicast_sd) { in wps_er_ssdp_rx()
108 wps_er_ap_cache_settings(er, &addr.sin_addr); in wps_er_ssdp_rx()
109 wps_er_ap_remove(er, &addr.sin_addr); in wps_er_ssdp_rx()
123 wps_er_ap_add(er, uuid, &addr.sin_addr, location, max_age); in wps_er_ssdp_rx()
127 void wps_er_send_ssdp_msearch(struct wps_er *er) in wps_er_send_ssdp_msearch() argument
150 if (sendto(er->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0, in wps_er_send_ssdp_msearch()
159 int wps_er_ssdp_init(struct wps_er *er) in wps_er_ssdp_init() argument
[all …]
Dwps_er.c76 wps_er_sta_event(sta->ap->er->wps, sta, WPS_EV_ER_ENROLLEE_REMOVE); in wps_er_sta_free()
99 static struct wps_er_ap * wps_er_ap_get(struct wps_er *er, in wps_er_ap_get() argument
104 dl_list_for_each(ap, &er->ap, struct wps_er_ap, list) { in wps_er_ap_get()
116 static struct wps_er_ap * wps_er_ap_get_id(struct wps_er *er, unsigned int id) in wps_er_ap_get_id() argument
119 dl_list_for_each(ap, &er->ap, struct wps_er_ap, list) { in wps_er_ap_get_id()
181 static void wps_er_ap_unsubscribed(struct wps_er *er, struct wps_er_ap *ap) in wps_er_ap_unsubscribed() argument
188 if (er->deinitializing && dl_list_empty(&er->ap_unsubscribing)) in wps_er_ap_unsubscribed()
189 wps_er_deinit_finish(er, NULL); in wps_er_ap_unsubscribed()
217 wps_er_ap_unsubscribed(ap->er, ap); in wps_er_http_unsubscribe_cb()
221 static void wps_er_ap_unsubscribe(struct wps_er *er, struct wps_er_ap *ap) in wps_er_ap_unsubscribe() argument
[all …]
/third_party/node/tools/msvs/msi/
Dcustom_actions.cc14 UINT er = ERROR_SUCCESS; in SetInstallScope() local
26 er = MsiDatabaseOpenView(hDB, query, &hView); in SetInstallScope()
27 ExitOnWin32Error(er, hr, "Failed MsiDatabaseOpenView"); in SetInstallScope()
29 er = MsiViewExecute(hView, 0); in SetInstallScope()
30 ExitOnWin32Error(er, hr, "Failed MsiViewExecute"); in SetInstallScope()
33 er = MsiViewFetch(hView, &hRecord); in SetInstallScope()
34 if (er == ERROR_NO_MORE_ITEMS) break; in SetInstallScope()
35 ExitOnWin32Error(er, hr, "Failed MsiViewFetch"); in SetInstallScope()
39 er = MsiRecordGetString(hRecord, 1, upgrade_code, &upgrade_code_len); in SetInstallScope()
40 ExitOnWin32Error(er, hr, "Failed to read UpgradeCode"); in SetInstallScope()
[all …]
/third_party/node/deps/npm/node_modules/tar/lib/
Dunpack.js74 fs.rename(path, name, er => {
75 if (er) {
76 return cb(er)
351 [ONERROR] (er, entry) { argument
355 if (er.name === 'CwdError') {
356 this.emit('error', er)
358 this.warn('TAR_ENTRY_ERROR', er, { entry })
407 stream.on('error', er => {
416 this[ONERROR](er, entry)
421 const done = er => { argument
[all …]
Dreplace.js50 } catch (er) {
51 if (er.code === 'ENOENT') {
54 throw er
98 } catch (er) {}
117 const cb = (er, pos) => { argument
118 if (er) {
119 fs.close(fd, _ => cb_(er))
132 const onread = (er, bytes) => { argument
133 if (er) {
134 return cb(er)
[all …]
Dmkdir.js41 fs.stat(dir, (er, st) => {
42 if (er || !st.isDirectory()) {
43 er = new CwdError(dir, er && er.code || 'ENOTDIR') variable
45 cb(er)
69 const done = (er, created) => { argument
70 if (er) {
71 cb(er)
75 chownr(created, uid, gid, er => done(er))
113 const onmkdir = (part, parts, mode, cache, unlink, cwd, created, cb) => er => {
114 if (er) {
[all …]
/third_party/ffmpeg/libavcodec/
Dmpeg_er.c48 ERContext *er = &s->er; in ff_mpeg_er_frame_start() local
50 set_erpic(&er->cur_pic, s->current_picture_ptr); in ff_mpeg_er_frame_start()
51 set_erpic(&er->next_pic, s->next_picture_ptr); in ff_mpeg_er_frame_start()
52 set_erpic(&er->last_pic, s->last_picture_ptr); in ff_mpeg_er_frame_start()
54 er->pp_time = s->pp_time; in ff_mpeg_er_frame_start()
55 er->pb_time = s->pb_time; in ff_mpeg_er_frame_start()
56 er->quarter_sample = s->quarter_sample; in ff_mpeg_er_frame_start()
57 er->partitioned_frame = s->partitioned_frame; in ff_mpeg_er_frame_start()
59 ff_er_frame_start(er); in ff_mpeg_er_frame_start()
102 ERContext *er = &s->er; in ff_mpeg_er_init() local
[all …]
/third_party/node/deps/npm/node_modules/mkdirp/lib/
Dmkdirp-manual.js7 return opts.mkdirAsync(path, opts).catch(er => {
10 if (er.code !== 'EISDIR')
11 throw er
15 return opts.mkdirAsync(path, opts).then(() => made || path, er => {
16 if (er.code === 'ENOENT')
19 if (er.code !== 'EEXIST' && er.code !== 'EROFS')
20 throw er
25 throw er
26 }, () => { throw er })
37 } catch (er) {
[all …]
/third_party/node/test/parallel/
Dtest-fs-truncate.js79 fs.writeFile(filename, data, function(er) { argument
80 if (er) return cb(er);
81 fs.stat(filename, function(er, stat) { argument
82 if (er) return cb(er);
85 fs.truncate(filename, 1024, function(er) { argument
86 if (er) return cb(er);
87 fs.stat(filename, function(er, stat) { argument
88 if (er) return cb(er);
91 fs.truncate(filename, function(er) { argument
92 if (er) return cb(er);
[all …]
Dtest-domain-implicit-fs.js33 d.on('error', common.mustCall(function(er) { argument
34 console.error('caught', er);
36 assert.strictEqual(er.domain, d);
37 assert.strictEqual(er.domainThrown, true);
38 assert.ok(!er.domainEmitter);
39 assert.strictEqual(er.actual.code, 'ENOENT');
40 assert.match(er.actual.path, /\bthis file does not exist\b/i);
41 assert.strictEqual(typeof er.actual.errno, 'number');
56 fs.open('this file does not exist', 'r', function(er) { argument
57 assert.ifError(er);
/third_party/node/deps/npm/node_modules/tar/node_modules/fs-minipass/
Dindex.js15 const done = (er, bw) => cb(er, bw, iovec) argument
90 fs.open(this[_path], 'r', (er, fd) => this[_onopen](er, fd))
93 [_onopen] (er, fd) { argument
94 if (er)
95 this[_onerror](er)
114 fs.read(this[_fd], buf, 0, buf.length, null, (er, br, buf) =>
115 this[_onread](er, br, buf))
119 [_onread] (er, br, buf) { argument
121 if (er)
122 this[_onerror](er)
[all …]
/third_party/node/deps/npm/node_modules/fs-minipass/lib/
Dindex.js83 fs.open(this[_path], 'r', (er, fd) => this[_onopen](er, fd))
86 [_onopen] (er, fd) { argument
87 if (er) {
88 this[_onerror](er)
108 fs.read(this[_fd], buf, 0, buf.length, null, (er, br, b) =>
109 this[_onread](er, br, b))
113 [_onread] (er, br, buf) { argument
115 if (er) {
116 this[_onerror](er)
126 fs.close(fd, er => er ? this.emit('error', er) : this.emit('close'))
[all …]
/third_party/node/deps/npm/node_modules/graceful-fs/
Dpolyfills.js15 } catch (er) {}
102 fs$rename(from, to, function CB (er) { argument
103 if (er
104 && (er.code === "EACCES" || er.code === "EPERM" || er.code === "EBUSY")
111 cb(er)
118 if (cb) cb(er)
133 callback = function (er, _, __) { argument
134 if (er && er.code === 'EAGAIN' && eagCounter < 10) {
155 } catch (er) {
156 if (er.code === 'EAGAIN' && eagCounter < 10) {
[all …]
/third_party/node/deps/npm/test/lib/utils/
Derror-message.js43 errorMessage: (er) => mockError(er, res.npm),
83 const er = Object.assign(new Error('foo'), {
90 t.matchSnapshot(errorMessage(er))
101 const er = Object.assign(new Error(message), {
108 t.matchSnapshot(errorMessage(er))
117 const er = Object.assign(new Error('foo'), {
124 t.matchSnapshot(errorMessage(er))
132 const er = Object.assign(new Error('foo'), {
138 t.matchSnapshot(errorMessage(er))
147 const er = Object.assign(new Error('foo'), {
[all …]
/third_party/node/deps/npm/node_modules/isexe/test/
Dbasic.js54 isexe(noent).catch(function (er) { argument
55 t.ok(er)
142 isexe(meow, function (er, is) { argument
143 if (er) {
144 throw er
150 isexe(meow, options, function (er, is) { argument
151 if (er) {
152 throw er
161 isexe(mine, options, function (er, is) { argument
162 if (er) {
[all …]
/third_party/node/deps/npm/node_modules/minipass-fetch/lib/
Dbody.js44 body.on('error', er => {
45 const error = er.name === 'AbortError' ? er
47 this.url}: ${er.message}`, 'system', er)
78 } catch (er) {
80 `invalid json response body at ${this.url} reason: ${er.message}`,
153 upstream.on('error', er => stream.emit('error', er))
160 }).catch(er => {
163 if (er.name === 'AbortError' || er.name === 'FetchError') {
164 throw er
165 } else if (er.name === 'RangeError') {
[all …]
/third_party/node/deps/npm/node_modules/read-package-json/lib/
Dread-json.js49 fs.readFile(file, 'utf8', function (er, d) { argument
50 parseJson(file, er, d, log, strict, cb)
84 function parseJson (file, er, d, log, strict, cb) { argument
85 if (er && er.code === 'ENOENT') {
89 er = Object.create(er)
90 er.code = 'ENOTDIR'
91 return cb(er)
93 return indexjs(file, er, log, strict, cb)
97 if (er) {
98 return cb(er)
[all …]
/third_party/node/deps/npm/node_modules/isexe/
Dindex.js24 isexe(path, options || {}, function (er, is) { argument
25 if (er) {
26 reject(er)
34 core(path, options || {}, function (er, is) { argument
36 if (er) {
37 if (er.code === 'EACCES' || options && options.ignoreErrors) {
38 er = null
42 cb(er, is)
50 } catch (er) {
51 if (options && options.ignoreErrors || er.code === 'EACCES') {
[all …]
/third_party/node/lib/internal/fs/
Dstreams.js71 stream[kFs].open(stream.path, stream.flags, stream.mode, (er, fd) => {
72 if (er) {
73 callback(er);
117 stream[kFs].close(stream.fd, (er) => {
118 cb(er || err);
250 .read(this.fd, buf, 0, n, this.pos, (er, bytesRead, buf) => {
255 this.emit(kIoDone, er);
259 if (er) {
260 errorOrDestroy(this, er);
292 this.once(kIoDone, (er) => close(this, err || er, cb));
[all …]
/third_party/node/deps/npm/node_modules/pacote/lib/
Dfetcher.js260 isDataCorruptionError (er) { argument
261 return er.code === 'EINTEGRITY' || er.code === 'Z_DATA_ERROR'
281 isRetriableError (er) { argument
283 return this.isDataCorruptionError(er) ||
284 er.code === 'ENOENT' ||
285 er.code === 'EISDIR'
308 ) ? streamHandler(this[_tarballFromCache]()).catch(er => {
309 if (this.isDataCorruptionError(er)) {
314 throw er
317 throw er
[all …]
/third_party/node/test/sequential/
Dtest-deprecation-flags.js43 execFile(node, normal, function(er, stdout, stderr) { argument
45 assert.strictEqual(er, null);
51 execFile(node, noDep, function(er, stdout, stderr) { argument
53 assert.strictEqual(er, null);
59 execFile(node, traceDep, function(er, stdout, stderr) { argument
61 assert.strictEqual(er, null);
70 execFile(node, [depUserlandFunction], function(er, stdout, stderr) { argument
72 assert.strictEqual(er, null);
78 execFile(node, [depUserlandClass], function(er, stdout, stderr) { argument
79 assert.strictEqual(er, null);
[all …]

12345678910>>...19