Searched refs:attempts (Results 1 - 7 of 7) sorted by relevance
/system/extras/tests/sdcard/ |
H A D | sysutil.cpp | 97 int attempts = 0; local 101 while (size > 0 && !error && !eof && attempts < kMaxAttempts) 124 ++attempts; 163 int attempts = 0; local 165 while (size > 0 && !error && attempts < kMaxAttempts) 182 ++attempts; 449 int attempts = 0; local 451 while (size > 0 && !error && attempts < kMaxAttempts) 468 ++attempts; 480 attempts 524 int attempts; local [all...] |
/system/extras/tests/tcp_nuke_addr/ |
H A D | tcp_nuke_addr_test.cpp | 92 android::RWLock *lock, std::atomic<unsigned int> *attempts) { 109 attempts->fetch_add(1); 115 void progressThread(std::atomic<unsigned int> *attempts) { argument 121 total = attempts->load(); 138 std::atomic<unsigned int> attempts; local 139 attempts.store(0); 143 std::thread(connectLoop, sin, listensock, &lock, &attempts).detach(); 146 progressThread(&attempts); 91 connectLoop(sockaddr_in listenaddr, int listensock, android::RWLock *lock, std::atomic<unsigned int> *attempts) argument
|
/system/core/fastboot/ |
H A D | udp.cpp | 119 // Sends |length| bytes from |data| and waits for the response packet up to |attempts| times. 125 size_t rx_length, int attempts, std::string* error); 130 uint8_t* rx_data, size_t rx_length, int attempts, 207 size_t rx_length, int attempts, std::string* error) { 229 rx_length, attempts, error); 254 size_t rx_length, const int attempts, std::string* error) { 258 int attempts_left = attempts; 304 attempts_left = attempts; 206 SendData(Id id, const uint8_t* tx_data, size_t tx_length, uint8_t* rx_data, size_t rx_length, int attempts, std::string* error) argument 252 SendSinglePacketHelper( Header* header, const uint8_t* tx_data, size_t tx_length, uint8_t* rx_data, size_t rx_length, const int attempts, std::string* error) argument
|
/system/netd/server/ |
H A D | IptablesRestoreControllerTest.cpp | 136 int attempts; local 137 for (attempts = 0; attempts < XT_LOCK_ATTEMPTS; attempts++) { 143 EXPECT_LT(attempts, XT_LOCK_ATTEMPTS) << 144 "Could not acquire iptables lock after " << XT_LOCK_ATTEMPTS << " attempts " <<
|
/system/core/libusbhost/ |
H A D | usbhost.c | 325 int fd, attempts, writeable = 1; local 334 for (attempts = 0; attempts < MAX_ATTEMPTS; ++attempts) {
|
/system/tpm/trunks/ |
H A D | resource_manager.cc | 155 int attempts = 0; local 156 while (attempts++ < kMaxCommandAttempts) { 458 int attempts = 0; local 459 while (attempts++ < kMaxCommandAttempts) { 804 int attempts = 0; local 805 while (attempts++ < kMaxCommandAttempts) {
|
/system/core/toolbox/ |
H A D | newfs_msdos.c | 264 u_int extra_res, alignment=0, set_res, set_spf, set_spc, tempx, attempts=0; local 603 attempts++; 604 } while(opt_A && alignment != 0 && attempts < 2);
|
Completed in 123 milliseconds