Searched defs:Slice (Results 1 - 1 of 1) sorted by relevance

/system/netd/libnetdutils/include/netdutils/
H A DSlice.h31 // Slice represents memory as a half-closed interval [base, limit).
33 // Note that without manually invoking the Slice() constructor, it is
38 // Note that const Slice still wraps mutable memory, however copy
40 class Slice { class in namespace:android::netdutils
42 Slice() = default;
45 Slice(void* base, void* limit) : mBase(toUint8(base)), mLimit(toUint8(limit)) {} function in class:android::netdutils::Slice
48 Slice(void* base, size_t size) : Slice(base, toUint8(base) + size) {} function in class:android::netdutils::Slice
71 inline const Slice makeSlice(const T& ref) {
78 inline const Slice makeSlic
[all...]

Completed in 135 milliseconds