Searched refs:attempts (Results 1 - 6 of 6) 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); 144 connectThreads[i] = new std::thread(connectLoop, sin, listensock, &lock, &attempts); 146 std::thread t1(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/tpm/trunks/ |
H A D | resource_manager.cc | 163 int attempts = 0; local 164 while (attempts++ < kMaxCommandAttempts) { 469 int attempts = 0; local 470 while (attempts++ < kMaxCommandAttempts) { 817 int attempts = 0; local 818 while (attempts++ < kMaxCommandAttempts) {
|
/system/netd/server/ |
H A D | RouteController.cpp | 940 unsigned attempts = 0; local 945 ++attempts; 946 } while (err != 0 && attempts < ROUTE_FLUSH_ATTEMPTS); 948 ALOGE("failed to flush %s routes in table %s after %d attempts", 949 IP_VERSIONS[i], tableString, attempts);
|
/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 465 milliseconds