Searched refs:BUFFER_MAX (Results 1 – 3 of 3) sorted by relevance
27 #define BUFFER_MAX (2) macro48 data_t buffer[BUFFER_MAX];93 b->free = create_semaphore(FREE_SEMAPHORE_NAME, BUFFER_MAX); in buffer_init()109 if (out >= BUFFER_MAX) in buffer_recv()111 fetch_and_add(&b->out, -BUFFER_MAX); in buffer_recv()112 out -= BUFFER_MAX; in buffer_recv()132 if (in >= BUFFER_MAX) in buffer_send()134 fetch_and_add(&b->in, -BUFFER_MAX); in buffer_send()135 in -= BUFFER_MAX; in buffer_send()
174 #define BUFFER_MAX 16 macro177 SkPMColor tmpNormalColors[BUFFER_MAX]; in fillScanLine()180 int n = SkTMin(count, BUFFER_MAX); in fillScanLine()
347 #define BUFFER_MAX 16 macro352 SkPMColor diffuse[BUFFER_MAX]; in shadeSpan()353 SkPoint3 normals[BUFFER_MAX]; in shadeSpan()358 int n = SkTMin(count, BUFFER_MAX); in shadeSpan()