Home
last modified time | relevance | path

Searched refs:BUFFER_MAX (Results 1 – 3 of 3) sorted by relevance

/external/valgrind/drd/tests/
Dcircular_buffer.c27 #define BUFFER_MAX (2) macro
48 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()
/external/skia/src/core/
DSkNormalMapSource.cpp174 #define BUFFER_MAX 16 macro
177 SkPMColor tmpNormalColors[BUFFER_MAX]; in fillScanLine()
180 int n = SkTMin(count, BUFFER_MAX); in fillScanLine()
/external/skia/src/shaders/
DSkLightingShader.cpp347 #define BUFFER_MAX 16 macro
352 SkPMColor diffuse[BUFFER_MAX]; in shadeSpan()
353 SkPoint3 normals[BUFFER_MAX]; in shadeSpan()
358 int n = SkTMin(count, BUFFER_MAX); in shadeSpan()