Home
last modified time | relevance | path

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

/third_party/lz4/lib/
Dlz4frame.h668 typedef void* (*LZ4F_AllocFunction) (void* opaqueState, size_t size);
669 typedef void* (*LZ4F_CallocFunction) (void* opaqueState, size_t size);
670 typedef void (*LZ4F_FreeFunction) (void* opaqueState, void* address);
675 void* opaqueState; member
Dlz4frame.c104 return cmem.customCalloc(cmem.opaqueState, s); in LZ4F_calloc()
111 { void* const p = cmem.customAlloc(cmem.opaqueState, s); in LZ4F_calloc()
120 return cmem.customAlloc(cmem.opaqueState, s); in LZ4F_malloc()
130 cmem.customFree(cmem.opaqueState, p); in LZ4F_free()
/third_party/skia/src/pdf/
DSkPDFGradientShader.cpp845 SkPDFGradientShader::Key opaqueState = clone_key(state); in make_alpha_function_shader() local
846 for (int i = 0; i < opaqueState.fInfo.fColorCount; i++) { in make_alpha_function_shader()
847 opaqueState.fInfo.fColors[i] = SkColorSetA(opaqueState.fInfo.fColors[i], SK_AlphaOPAQUE); in make_alpha_function_shader()
849 opaqueState.fHash = hash(opaqueState); in make_alpha_function_shader()
851 SkASSERT(!gradient_has_alpha(opaqueState)); in make_alpha_function_shader()
853 SkPDFIndirectReference colorShader = find_pdf_shader(doc, std::move(opaqueState), false); in make_alpha_function_shader()