Searched refs:valueBlobSize (Results 1 – 2 of 2) sorted by relevance
152 size_t valueBlobSize = valueBlob->getSize(); in get() local153 if (valueBlobSize <= valueSize) { in get()154 ALOGV("get: copying %zu bytes to caller's buffer", valueBlobSize); in get()155 memcpy(value, valueBlob->getData(), valueBlobSize); in get()158 valueSize, valueBlobSize); in get()160 return valueBlobSize; in get()
202 size_t valueBlobSize = valueBlob->getSize(); in get() local203 void* buf = alloc(valueBlobSize); in get()205 ALOGV("get: copying %zu bytes to caller's buffer", valueBlobSize); in get()206 memcpy(buf, valueBlob->getData(), valueBlobSize); in get()210 ALOGV("get: cannot allocate caller's buffer: needs %zu", valueBlobSize); in get()213 return valueBlobSize; in get()