/third_party/node/deps/npm/node_modules/promise-retry/test/ |
H A D | test.js | 7 describe('promise-retry', function () { 8 it('should call fn again if retry was called', function () { 11 return promiseRetry(function (retry) { 17 retry(new Error('foo')); 34 return promiseRetry(function (retry, number) { 41 retry(new Error('foo')); 55 it('should not retry on fulfillment if retry was not called', function () { 74 it('should not retry on rejection if retry wa [all...] |
/third_party/node/deps/npm/node_modules/make-fetch-happen/lib/ |
H A D | options.js | 16 if (!options.retry) { 17 options.retry = { retries: 0 } 18 } else if (typeof options.retry === 'string') { 19 const retries = parseInt(options.retry, 10) 21 options.retry = { retries } 23 options.retry = { retries: 0 } 25 } else if (typeof options.retry === 'number') { 26 options.retry = { retries: options.retry } 28 options.retry [all...] |
/third_party/node/deps/npm/node_modules/retry/test/integration/ |
H A D | test-retry-operation.js | 4 var retry = require(common.dir.lib + '/retry'); variable 8 var operation = retry.operation([1, 2, 3]); 21 if (operation.retry(error)) { 46 var operation = retry.operation(); 57 var operation = retry.operation(); 69 var operation = retry.operation(); 80 var operation = retry.operation(); 96 var operation = retry.operation([1, 2, 3]); 106 if (operation.retry(erro [all...] |
H A D | test-timeouts.js | 3 var retry = require(common.dir.lib + '/retry'); variable 6 var timeouts = retry.timeouts(); 16 var timeouts = retry.timeouts({ 29 var timeouts = retry.timeouts(timeoutsArray); 37 var timeouts = retry.timeouts({ 48 var timeouts = retry.timeouts(); 57 var timeouts = retry.timeouts({ 67 var timeouts = retry.timeouts({retries: 2});
|
H A D | test-retry-wrap.js | 4 var retry = require(common.dir.lib + '/retry'); variable 16 retry.wrap(lib); 24 retry.wrap(lib, {retries: 2}); 35 retry.wrap(lib, ['fn2', 'fn3']); 43 retry.wrap(lib, {retries: 2}, ['fn2', 'fn3']); 59 retry.wrap(lib); 80 retry.wrap(lib, {}, ['fn1', 'fn2']); 95 retry.wrap(lib, {retries: 1});
|
/third_party/ffmpeg/libavutil/tests/ |
H A D | random_seed.c | 33 int i, j, rsf, retry; in main() local 38 for (retry=0; retry<3; retry++){ in main() 43 goto retry; in main() 47 retry:; in main() 49 if (retry >= 3) { in main()
|
/foundation/window/window_manager/wmserver/src/ |
H A D | window_common_event.cpp | 58 int retry = RETRY_MAX_COUNT; in SubscriberEvent() local 59 SubscriberEventInner(retry); in SubscriberEvent() 62 void WindowCommonEvent::SubscriberEventInner(int retry) in SubscriberEventInner() argument 64 if (retry <= 0) { in SubscriberEventInner() 67 retry--; in SubscriberEventInner() 68 WLOGI("called action = %{public}d", retry); in SubscriberEventInner() 72 std::function<void()> func = [this, retry]() { this->SubscriberEventInner(retry); }; in SubscriberEventInner()
|
/third_party/curl/tests/libtest/ |
H A D | lib1594.c | 34 curl_off_t retry; in test() local 48 res = curl_easy_getinfo(curl, CURLINFO_RETRY_AFTER, &retry); in test() 55 retry += time(NULL); in test() 56 retry /= 10000; in test() 58 printf("Retry-After %" CURL_FORMAT_CURL_OFF_T "\n", retry); in test()
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | commonring.c | 71 bool retry = true; in brcmf_commonring_write_available() local 87 if (retry) { in brcmf_commonring_write_available() 90 retry = false; in brcmf_commonring_write_available() 96 if (retry) { in brcmf_commonring_write_available() 99 retry = false; in brcmf_commonring_write_available() 112 bool retry = true; in brcmf_commonring_reserve_for_write() local 130 if (retry) { in brcmf_commonring_reserve_for_write() 133 retry = false; in brcmf_commonring_reserve_for_write() 148 bool retry = true; in brcmf_commonring_reserve_for_write_multiple() local 169 if (retry) { in brcmf_commonring_reserve_for_write_multiple() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_dp_dual_mode_helper.c | 362 int retry; in drm_dp_dual_mode_set_tmds_output() local 371 for (retry = 0; retry < 3; retry++) { in drm_dp_dual_mode_set_tmds_output() 379 retry + 1); in drm_dp_dual_mode_set_tmds_output() 388 retry + 1); in drm_dp_dual_mode_set_tmds_output() 447 int retry; in drm_lspcon_get_mode() local 455 for (retry = 0; retry < 6; retry in drm_lspcon_get_mode() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | commonring.c | 71 bool retry = true; in brcmf_commonring_write_available() local 87 if (retry) { in brcmf_commonring_write_available() 90 retry = false; in brcmf_commonring_write_available() 96 if (retry) { in brcmf_commonring_write_available() 99 retry = false; in brcmf_commonring_write_available() 112 bool retry = true; in brcmf_commonring_reserve_for_write() local 130 if (retry) { in brcmf_commonring_reserve_for_write() 133 retry = false; in brcmf_commonring_reserve_for_write() 148 bool retry = true; in brcmf_commonring_reserve_for_write_multiple() local 169 if (retry) { in brcmf_commonring_reserve_for_write_multiple() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/display/ |
H A D | drm_dp_dual_mode_helper.c | 366 int retry; in drm_dp_dual_mode_set_tmds_output() local 375 for (retry = 0; retry < 3; retry++) { in drm_dp_dual_mode_set_tmds_output() 382 enable ? "enable" : "disable", retry + 1); in drm_dp_dual_mode_set_tmds_output() 391 enable ? "enabling" : "disabling", retry + 1); in drm_dp_dual_mode_set_tmds_output() 451 int retry; in drm_lspcon_get_mode() local 459 for (retry = 0; retry < 6; retry in drm_lspcon_get_mode() [all...] |
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | netsys_tcp_client.c | 60 int64_t Poll(int sock, short event, int *retry) in Poll() argument 73 if (*retry < MAX_POLL_RETRY) { in Poll() 74 ++(*retry); in Poll() 88 int retry = 0; in ProcData() local 90 int32_t resPoll = Poll(sock, event, &retry); in ProcData() 99 if (errno == EAGAIN && retry < MAX_POLL_RETRY) { in ProcData() 100 ++retry; in ProcData()
|
/kernel/linux/linux-5.10/drivers/clk/ti/ |
H A D | clk.c | 237 * Adds a failed clock init to the retry list. The retry list is parsed 243 struct clk_init_item *retry; in ti_clk_retry_init() local 245 pr_debug("%pOFn: adding to retry list...\n", node); in ti_clk_retry_init() 246 retry = kzalloc(sizeof(*retry), GFP_KERNEL); in ti_clk_retry_init() 247 if (!retry) in ti_clk_retry_init() 250 retry->node = node; in ti_clk_retry_init() 251 retry->func = func; in ti_clk_retry_init() 252 retry in ti_clk_retry_init() 384 struct clk_init_item *retry; ti_dt_clk_init_retry_clks() local [all...] |
/kernel/linux/linux-6.6/drivers/clk/ti/ |
H A D | clk.c | 270 * Adds a failed clock init to the retry list. The retry list is parsed 276 struct clk_init_item *retry; in ti_clk_retry_init() local 278 pr_debug("%pOFn: adding to retry list...\n", node); in ti_clk_retry_init() 279 retry = kzalloc(sizeof(*retry), GFP_KERNEL); in ti_clk_retry_init() 280 if (!retry) in ti_clk_retry_init() 283 retry->node = node; in ti_clk_retry_init() 284 retry->func = func; in ti_clk_retry_init() 285 retry in ti_clk_retry_init() 423 struct clk_init_item *retry; ti_dt_clk_init_retry_clks() local [all...] |
/third_party/alsa-utils/alsactl/ |
H A D | monitor.c | 165 static int check_control_cdev(int infd, bool *retry) in check_control_cdev() argument 190 *retry = true; in check_control_cdev() 303 bool *retry) in run_dispatcher() 339 err = check_control_cdev(infd, retry); in run_dispatcher() 340 if (err < 0 || *retry) in run_dispatcher() 399 bool retry; in monitor() local 422 retry: in monitor() 423 retry = false; in monitor() 430 err = run_dispatcher(epfd, sigfd, infd, &srcs, &retry); in monitor() 433 if (retry) { in monitor() 302 run_dispatcher(int epfd, int sigfd, int infd, struct list_head *srcs, bool *retry) run_dispatcher() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_lspcon.c | 204 int retry; in lspcon_probe() local 213 for (retry = 0; retry < 6; retry++) { in lspcon_probe() 214 if (retry) in lspcon_probe() 271 u8 retry; in lspcon_parade_fw_ready() local 275 for (retry = 0; retry < 5; retry++) { in lspcon_parade_fw_ready() 276 if (retry) in lspcon_parade_fw_ready() 378 u32 retry; _lspcon_write_avi_infoframe_mca() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_lspcon.c | 232 int retry; in lspcon_probe() local 243 for (retry = 0; retry < 6; retry++) { in lspcon_probe() 244 if (retry) in lspcon_probe() 302 u8 retry; in lspcon_parade_fw_ready() local 306 for (retry = 0; retry < 5; retry++) { in lspcon_parade_fw_ready() 307 if (retry) in lspcon_parade_fw_ready() 409 u32 retry; _lspcon_write_avi_infoframe_mca() local [all...] |
/third_party/toybox/toys/pending/ |
H A D | tftp.c | 219 int packetlen, retry; in read_ack() local 221 for (retry = 0; retry < TFTP_RETRIES; retry++) { in read_ack() 272 int len, sd, fd, retry, nbytesrecvd = 0, ndatabytes, ret, result = -1; in file_get() local 290 for (retry = 0 ; retry < TFTP_RETRIES; retry++) { in file_get() 302 retry--; in file_get() 314 retry in file_get() 388 int packetlen, sd, fd, retry = 0, ret, result = -1; file_put() local [all...] |
/foundation/communication/dsoftbus/adapter/common/bus_center/driver/ |
H A D | lnn_hdf_driver_monitor.c | 125 static int32_t retry = 0; in DelayInitFunction() local 128 if (retry >= MAX_BIND_HDF_RETRY_COUNT) { in DelayInitFunction() 133 LNN_LOGE(LNN_INIT, "get hdf dsoftbus service fail=%{public}d", retry); in DelayInitFunction() 135 ++retry; in DelayInitFunction() 139 LNN_LOGI(LNN_INIT, "init hdf driver monitor=%{public}d, result=%{public}d", retry, rc); in DelayInitFunction() 145 ++retry; in DelayInitFunction()
|
/kernel/linux/linux-6.6/drivers/iio/imu/bno055/ |
H A D | bno055_ser_trace.h | 29 TP_PROTO(bool read, int addr, int retry), 30 TP_ARGS(read, addr, retry), 34 __field(int, retry) 39 __entry->retry = retry; 41 TP_printk("%s addr 0x%x retry #%d", 43 __entry->addr, __entry->retry
|
/third_party/node/deps/npm/node_modules/sigstore/dist/ |
H A D | config.js | 72 retry: options.retry ?? exports.DEFAULT_RETRY, 96 retry: options.retry ?? exports.DEFAULT_RETRY, 103 retry: options.retry ?? exports.DEFAULT_RETRY,
|
/kernel/linux/linux-5.10/drivers/irqchip/ |
H A D | irq-csky-apb-intc.c | 151 retry: in gx_irq_handler() 155 goto retry; in gx_irq_handler() 160 goto retry; in gx_irq_handler() 205 retry: in ck_irq_handler() 209 goto retry; in ck_irq_handler() 213 goto retry; in ck_irq_handler() 222 goto retry; in ck_irq_handler() 227 goto retry; in ck_irq_handler()
|
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | gateworks-gsc.c | 35 int retry, ret; in gsc_write() local 37 for (retry = 0; retry < I2C_RETRIES; retry++) { in gsc_write() 54 int retry, ret; in gsc_read() local 56 for (retry = 0; retry < I2C_RETRIES; retry++) { in gsc_read()
|
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | gateworks-gsc.c | 35 int retry, ret; in gsc_write() local 37 for (retry = 0; retry < I2C_RETRIES; retry++) { in gsc_write() 54 int retry, ret; in gsc_read() local 56 for (retry = 0; retry < I2C_RETRIES; retry++) { in gsc_read()
|