Searched refs:valid_len (Results 1 – 7 of 7) sorted by relevance
/external/openthread/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_gcm.function | 117 int valid_len = sizeof(valid_buffer); 139 mbedtls_gcm_crypt_and_tag( NULL, valid_mode, valid_len, 140 valid_buffer, valid_len, 141 valid_buffer, valid_len, 143 valid_len, valid_buffer ) ); 146 mbedtls_gcm_crypt_and_tag( &ctx, valid_mode, valid_len, 147 NULL, valid_len, 148 valid_buffer, valid_len, 150 valid_len, valid_buffer ) ); 153 mbedtls_gcm_crypt_and_tag( &ctx, valid_mode, valid_len, [all …]
|
D | test_suite_ccm.function | 301 int valid_len = sizeof(valid_buffer); 302 int valid_bitlen = valid_len * 8; 320 mbedtls_ccm_encrypt_and_tag( NULL, valid_len, 321 valid_buffer, valid_len, 322 valid_buffer, valid_len, 324 valid_buffer, valid_len ) ); 327 mbedtls_ccm_encrypt_and_tag( &ctx, valid_len, 328 NULL, valid_len, 329 valid_buffer, valid_len, 331 valid_buffer, valid_len ) ); [all …]
|
/external/ltp/testcases/kernel/syscalls/statvfs/ |
D | statvfs01.c | 28 long valid_len; in run() local 34 valid_len = buf.f_namemax; in run() 36 valid_len = buf.f_namemax / NLS_MAX_CHARSET_SIZE; in run() 38 memset(valid_fname, 'a', valid_len); in run() 39 memset(toolong_fname, 'b', valid_len + 1); in run() 41 valid_fname[valid_len] = 0; in run() 42 toolong_fname[valid_len+1] = 0; in run()
|
/external/OpenCSD/decoder/source/mem_acc/ |
D | trc_mem_acc_cache.cpp | 94 …m_mru[m_mru_idx].valid_len = p_accessor->readBytes(address, mem_space, trcID, MEM_ACC_CACHE_PAGE_S… in readBytesFromCache() 97 if (m_mru[m_mru_idx].valid_len > MEM_ACC_CACHE_PAGE_SIZE) in readBytesFromCache() 99 m_mru[m_mru_idx].valid_len = 0; // set to nothing returned. in readBytesFromCache() 103 if (m_mru[m_mru_idx].valid_len > 0) in readBytesFromCache() 113 …[addr:0x" << std::hex << address << ", bytes: " << std::dec << m_mru[m_mru_idx].valid_len << "]\n"; in readBytesFromCache() 133 …[addr:0x" << std::hex << address << ", bytes: " << std::dec << m_mru[m_mru_idx].valid_len << "]\n"; in readBytesFromCache()
|
/external/OpenCSD/decoder/include/mem_acc/ |
D | trc_mem_acc_cache.h | 49 uint32_t valid_len; member 105 m_mru[i].valid_len = 0; in TrcMemAccCache() 116 m_mru[m_mru_idx].st_addr + m_mru[m_mru_idx].valid_len >= (address + reqBytes)) in blockInPage() 140 m_mru[i].valid_len = 0; in invalidateAll()
|
/external/rust/crates/ciborium-ll/src/ |
D | seg.rs | 83 let valid_len = e.valid_up_to(); in parse() localVariable 84 let invalid_len = bytes.len() - valid_len; in parse() 93 self.buffer[..invalid_len].clone_from_slice(&bytes[valid_len..]); in parse() 97 core::str::from_utf8(&bytes[..valid_len]).unwrap() in parse()
|
/external/cronet/net/disk_cache/blockfile/ |
D | entry_impl.cc | 212 int valid_len = Size() - offset; in Write() local 213 int copy_len = std::min(valid_len, len); in Write()
|