Home
last modified time | relevance | path

Searched refs:num_locks (Results 1 – 4 of 4) sorted by relevance

/external/libnfc-nci/src/nfc/tags/
Drw_t2t_ndef.c348 UINT8 num_locks; in rw_t2t_handle_lock_read_rsp() local
357 num_locks = 0; in rw_t2t_handle_lock_read_rsp()
363 while (num_locks < p_t2t->num_lockbytes) in rw_t2t_handle_lock_read_rsp()
365 if (p_t2t->lockbyte[num_locks].b_lock_read == FALSE) in rw_t2t_handle_lock_read_rsp()
367 …lock_offset = p_t2t->lock_tlv[p_t2t->lockbyte[num_locks].tlv_index].offset + p_t2t->lockbyte[num_l… in rw_t2t_handle_lock_read_rsp()
375 p_t2t->lockbyte[num_locks].lock_byte = p_data[offset]; in rw_t2t_handle_lock_read_rsp()
376 p_t2t->lockbyte[num_locks].b_lock_read = TRUE; in rw_t2t_handle_lock_read_rsp()
385 … p_t2t->lockbyte[num_locks].lock_byte = p_data[lock_offset - base_lock_offset + offset]; in rw_t2t_handle_lock_read_rsp()
386 p_t2t->lockbyte[num_locks].b_lock_read = TRUE; in rw_t2t_handle_lock_read_rsp()
415 num_locks++; in rw_t2t_handle_lock_read_rsp()
[all …]
Drw_t1t_ndef.c184 UINT8 num_locks; in rw_t1t_extract_lock_bytes() local
190 num_locks = 0; in rw_t1t_extract_lock_bytes()
211 while (num_locks < p_t1t->num_lockbytes) in rw_t1t_extract_lock_bytes()
213 if (p_t1t->lockbyte[num_locks].b_lock_read == FALSE) in rw_t1t_extract_lock_bytes()
216 …offset = p_t1t->lock_tlv[p_t1t->lockbyte[num_locks].tlv_index].offset + p_t1t->lockbyte[num_locks]… in rw_t1t_extract_lock_bytes()
235 p_t1t->lockbyte[num_locks].lock_byte = p_data[lock_offset]; in rw_t1t_extract_lock_bytes()
236 p_t1t->lockbyte[num_locks].b_lock_read = TRUE; in rw_t1t_extract_lock_bytes()
241 num_locks++; in rw_t1t_extract_lock_bytes()
304 UINT8 num_locks = 0; in rw_t1t_read_locks() local
309 while (num_locks < p_t1t->num_lockbytes) in rw_t1t_read_locks()
[all …]
/external/chromium/crypto/
Dopenssl_util.cc46 int num_locks = CRYPTO_num_locks(); in OpenSSLInitSingleton() local
47 locks_.reserve(num_locks); in OpenSSLInitSingleton()
48 for (int i = 0; i < num_locks; ++i) in OpenSSLInitSingleton()
/external/e2fsprogs/lib/ext2fs/
Dtdb.c244 unsigned int num_locks; /* number of chain locks held */ member
465 tdb->num_locks++; in _tdb_lock()
555 tdb->num_locks--; in tdb_unlock()
639 if (tdb->num_locks != 0) { in _tdb_lockall()
1600 if (tdb->num_locks != 0 || tdb->global_lock.count) { in tdb_transaction_start()
1720 if (tdb->num_locks != 0) { in tdb_transaction_cancel()
1726 tdb->num_locks = 0; in tdb_transaction_cancel()
2014 if (tdb->num_locks || tdb->global_lock.count) { in tdb_transaction_commit()
4073 if (tdb->num_locks != 0 || tdb->global_lock.count) { in tdb_reopen()