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()
203 size_t valueBlobSize = valueBlob->getSize(); in get() local204 void *buf = alloc(valueBlobSize); in get()206 ALOGV("get: copying %zu bytes to caller's buffer", valueBlobSize); in get()207 memcpy(buf, valueBlob->getData(), valueBlobSize); in get()211 ALOGV("get: cannot allocate caller's buffer: needs %zu", valueBlobSize); in get()214 return valueBlobSize; in get()