Searched refs:chunk (Results 1 – 4 of 4) sorted by relevance
/trusty/user/app/storage/test/storage-unittest-aidl/unittests/ |
D | helpers.rs | 63 for chunk in &mut chunks { in check_pattern32() 64 let actual = u32::from_ne_bytes([chunk[0], chunk[1], chunk[2], chunk[3]]); in check_pattern32() 87 for chunk in buf.chunks_exact_mut(U32_SIZE) { in fill_pattern32() 90 chunk[i] = bytes[i]; in fill_pattern32()
|
/trusty/user/base/lib/storage/ |
D | storage.c | 505 size_t chunk = MAX_CHUNK_SIZE; in storage_read() local 509 if (chunk > size) in storage_read() 510 chunk = size; in storage_read() 511 rc = _read_chunk(fh, off, ptr, chunk); in storage_read() 553 size_t chunk = MAX_CHUNK_SIZE; in storage_write() local 558 if (chunk >= size) { in storage_write() 560 chunk = size; in storage_write() 563 rc = _write_req(fh, off, ptr, chunk, msg_flags); in storage_write() 566 if ((size_t)rc != chunk) { in storage_write() 570 off += chunk; in storage_write() [all …]
|
/trusty/user/app/keymaster/ |
D | openssl_keymaster_enforcement.cpp | 115 auto& chunk = data_chunks[i]; in hmacSha256() local 116 if (!HMAC_Update(ctx.get(), chunk.data, chunk.data_length)) { in hmacSha256()
|
/trusty/user/base/lib/tipc/rust/src/ |
D | service.rs | 291 let mut chunk; in new_from_string() localVariable 294 (chunk, remainder) = remainder.split_at(chunk_size); in new_from_string() 295 let converted_byte = convert_uuid_element(Some(chunk), u8::from_str_radix)?; in new_from_string()
|