Home
last modified time | relevance | path

Searched refs:valid_len (Results 1 – 7 of 7) sorted by relevance

/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_gcm.function117 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 …]
Dtest_suite_ccm.function301 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/
Dstatvfs01.c28 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/
Dtrc_mem_acc_cache.cpp94 …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/
Dtrc_mem_acc_cache.h49 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/
Dseg.rs83 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/
Dentry_impl.cc212 int valid_len = Size() - offset; in Write() local
213 int copy_len = std::min(valid_len, len); in Write()