Lines Matching defs:total
46 /// - Low memory footprint with total memory control if needed or wanted
585 /// __size__ | Must contain the total size of __memory__
2255 /// nk_layout_space_bounds | Callable after nk_layout_space_begin and returns total space allocated
2494 /// Utility function to calculate total space allocated for `nk_layout_space`
2503 /// Returns `nk_rect` holding the total space allocated
4131 /* total amount of memory allocated */
7033 /* fill left padding up to a total of `width` characters */
7101 /* fill left padding up to a total of `width` characters */
7162 /* fill left padding up to a total of `width` characters */
8145 /* calculate total size with needed alignment + size */
9355 nk_size total = nk_buffer_total(list->buffer);
9356 memory = nk_ptr_add(nk_byte, memory, total);
12315 unsigned int total;
12318 total = 0;
12324 total += (unsigned int)(pixels[i] - buffer[i & NK_TT__OVER_MASK]);
12326 pixels[i] = (unsigned char) (total / 2);
12331 total += (unsigned int)(pixels[i] - buffer[i & NK_TT__OVER_MASK]);
12333 pixels[i] = (unsigned char) (total / 3);
12338 total += (unsigned int)pixels[i] - buffer[i & NK_TT__OVER_MASK];
12340 pixels[i] = (unsigned char) (total / 4);
12345 total += (unsigned int)(pixels[i] - buffer[i & NK_TT__OVER_MASK]);
12347 pixels[i] = (unsigned char) (total / 5);
12352 total += (unsigned int)(pixels[i] - buffer[i & NK_TT__OVER_MASK]);
12354 pixels[i] = (unsigned char) (total / (unsigned int)kernel_width);
12361 total -= (unsigned int)(buffer[i & NK_TT__OVER_MASK]);
12362 pixels[i] = (unsigned char) (total / (unsigned int)kernel_width);
12378 unsigned int total;
12381 total = 0;
12387 total += (unsigned int)(pixels[i*stride_in_bytes] - buffer[i & NK_TT__OVER_MASK]);
12389 pixels[i*stride_in_bytes] = (unsigned char) (total / 2);
12394 total += (unsigned int)(pixels[i*stride_in_bytes] - buffer[i & NK_TT__OVER_MASK]);
12396 pixels[i*stride_in_bytes] = (unsigned char) (total / 3);
12401 total += (unsigned int)(pixels[i*stride_in_bytes] - buffer[i & NK_TT__OVER_MASK]);
12403 pixels[i*stride_in_bytes] = (unsigned char) (total / 4);
12408 total += (unsigned int)(pixels[i*stride_in_bytes] - buffer[i & NK_TT__OVER_MASK]);
12410 pixels[i*stride_in_bytes] = (unsigned char) (total / 5);
12415 total += (unsigned int)(pixels[i*stride_in_bytes] - buffer[i & NK_TT__OVER_MASK]);
12417 pixels[i*stride_in_bytes] = (unsigned char) (total / (unsigned int)kernel_width);
12424 total -= (unsigned int)(buffer[i & NK_TT__OVER_MASK]);
12425 pixels[i*stride_in_bytes] = (unsigned char) (total / (unsigned int)kernel_width);
23072 /* calculate total line count + total space + cursor/selection position */