Lines Matching refs:blob
51 if (a.blob.size() == 0)
52 return b.blob.size() != 0;
53 if (b.blob.size() == 0) return false;
55 retval = memcmp(&a.blob[0], &b.blob[0], std::min(a.blob.size(), b.blob.size()));
57 if (retval == 0) return a.blob.size() < b.blob.size();
83 if (a.blob.size() != b.blob.size()) return false;
84 return a.blob.size() == 0 ||
85 memcmp(&a.blob[0], &b.blob[0], a.blob.size()) == 0;
183 * | indirect_size bytes of data | this is where the blob data is stored
203 OutStreams& serializeParamValue(OutStreams& out, const hidl_vec<uint8_t>& blob) {
207 auto blob_length = blob.size();
225 // write blob to indirect stream
227 out.indirect.write(reinterpret_cast<const char*>(&blob[0]), blob_length);
325 InStreams& deserializeParamValue(InStreams& in, hidl_vec<uint8_t>* blob) {
329 blob->resize(blob_length);
332 in.indirect.read(reinterpret_cast<char*>(&(*blob)[0]), blob->size());