Lines Matching refs:wused
38 wused, /* Bytes used */ member
327 data.wused = 0; in main()
338 printf("FAIL - %d bytes written.\n", (int)data.wused); in main()
341 else if (data.wused != sizeof(collection)) in main()
343 printf("FAIL - wrote %d bytes, expected %d bytes!\n", (int)data.wused, in main()
345 hex_dump("Bytes Written", data.wbuffer, data.wused); in main()
349 else if (memcmp(data.wbuffer, collection, data.wused)) in main()
351 for (i = 0; i < data.wused; i ++) in main()
356 hex_dump("Bytes Written", data.wbuffer, data.wused); in main()
386 else if (data.rpos != data.wused) in main()
389 (int)data.wused); in main()
601 data.wused = sizeof(mixed); in main()
1037 if ((count = data->wsize - data->wused) > bytes) in write_cb()
1040 memcpy(data->wbuffer + data->wused, buffer, count); in write_cb()
1041 data->wused += count; in write_cb()