Lines Matching refs:size
11 size = strlen((char*)buffer);
12 for (lfs_off_t j = 0; j < LARGESIZE; j += size) {
13 lfs_file_write(&lfs, &file, buffer, size) => size;
34 size = strlen("hair");
35 for (lfs_off_t j = 0; j < MEDIUMSIZE; j += size) {
36 lfs_file_read(&lfs, &file, buffer, size) => size;
37 memcmp(buffer, "hair", size) => 0;
39 lfs_file_read(&lfs, &file, buffer, size) => 0;
55 size = strlen((char*)buffer);
56 for (lfs_off_t j = 0; j < LARGESIZE; j += size) {
57 lfs_file_write(&lfs, &file, buffer, size) => size;
71 size = strlen("hair");
72 for (lfs_off_t j = 0; j < MEDIUMSIZE; j += size) {
73 lfs_file_read(&lfs, &file, buffer, size) => size;
74 memcmp(buffer, "hair", size) => 0;
76 lfs_file_read(&lfs, &file, buffer, size) => 0;
85 size = strlen("hair");
86 for (lfs_off_t j = 0; j < MEDIUMSIZE; j += size) {
87 lfs_file_read(&lfs, &file, buffer, size) => size;
88 memcmp(buffer, "hair", size) => 0;
90 lfs_file_read(&lfs, &file, buffer, size) => 0;
103 size = lfs_min(lfs.cfg->cache_size, sizeof(buffer)/2);
104 lfs_size_t qsize = size / 4;
106 uint8_t *rb = buffer + size;
107 for (lfs_off_t j = 0; j < size; ++j) {
111 /* Spread sequence over size */
112 lfs_file_write(&lfs, &file, wb, size) => size;
113 lfs_file_size(&lfs, &file) => size;
114 lfs_file_tell(&lfs, &file) => size;
120 lfs_size_t trunc = size - qsize;
126 lfs_file_read(&lfs, &file, rb, size) => trunc;
141 lfs_file_read(&lfs, &file, rb, size) => trunc - qsize;
158 size = strlen((char*)buffer);
159 for (lfs_off_t j = 0; j < LARGESIZE; j += size) {
160 lfs_file_write(&lfs, &file, buffer, size) => size;
175 size = strlen((char*)buffer);
176 for (lfs_off_t j = 0; j < MEDIUMSIZE; j += size) {
177 lfs_file_write(&lfs, &file, buffer, size) => size;
188 size = strlen("bald");
189 for (lfs_off_t j = 0; j < MEDIUMSIZE; j += size) {
190 lfs_file_read(&lfs, &file, buffer, size) => size;
191 memcmp(buffer, "bald", size) => 0;
193 lfs_file_read(&lfs, &file, buffer, size) => 0;
213 size = lfs_file_size(&lfs, &file);
214 assert(size == 0 ||
215 size == LARGESIZE ||
216 size == MEDIUMSIZE ||
217 size == SMALLSIZE);
218 for (lfs_off_t j = 0; j < size; j += 4) {
231 size = strlen((char*)buffer);
232 for (lfs_off_t j = 0; j < LARGESIZE; j += size) {
233 lfs_file_write(&lfs, &file, buffer, size) => size;
243 size = strlen((char*)buffer);
244 for (lfs_off_t j = 0; j < MEDIUMSIZE; j += size) {
245 lfs_file_write(&lfs, &file, buffer, size) => size;
255 size = strlen((char*)buffer);
256 for (lfs_off_t j = 0; j < SMALLSIZE; j += size) {
257 lfs_file_write(&lfs, &file, buffer, size) => size;
324 size = strlen((char*)buffer);
325 for (lfs_off_t j = 0; j < startsizes[i]; j += size) {
326 lfs_file_write(&lfs, &file, buffer, size) => size;
350 size = strlen("hair");
352 for (; j < startsizes[i] && j < hotsizes[i]; j += size) {
353 lfs_file_read(&lfs, &file, buffer, size) => size;
354 memcmp(buffer, "hair", size) => 0;
357 for (; j < hotsizes[i]; j += size) {
358 lfs_file_read(&lfs, &file, buffer, size) => size;
359 memcmp(buffer, "\0\0\0\0", size) => 0;
377 size = strlen("hair");
380 j += size) {
381 lfs_file_read(&lfs, &file, buffer, size) => size;
382 memcmp(buffer, "hair", size) => 0;
385 for (; j < coldsizes[i]; j += size) {
386 lfs_file_read(&lfs, &file, buffer, size) => size;
387 memcmp(buffer, "\0\0\0\0", size) => 0;