Lines Matching defs:partial
1342 tdb_len_t partial;
1354 partial = el->offset - off;
1355 if (transaction_read(tdb, off, buf, partial, cv) != 0) {
1358 len -= partial;
1359 off += partial;
1360 buf = (void *)(partial + (char *)buf);
1363 partial = len;
1365 partial = el->offset + el->length - off;
1367 memcpy(buf, el->data + (off - el->offset), partial);
1371 len -= partial;
1372 off += partial;
1373 buf = (void *)(partial + (char *)buf);
1415 tdb_len_t partial;
1431 partial = el->offset - off;
1432 if (transaction_write(tdb, off, buf, partial) != 0) {
1435 len -= partial;
1436 off += partial;
1437 buf = (const void *)(partial + (const char *)buf);
1440 partial = len;
1442 partial = el->offset + el->length - off;
1444 memcpy(el->data + (off - el->offset), buf, partial);
1445 len -= partial;
1446 off += partial;
1447 buf = (const void *)(partial + (const char *)buf);