Home
last modified time | relevance | path

Searched refs:custom_context (Results 1 – 6 of 6) sorted by relevance

/external/libmojo/mojo/public/cpp/bindings/lib/
Dstring_serialization.h30 void* custom_context = CustomContextHelper<Traits>::SetUp(input, context);
32 CallWithContext(Traits::GetSize, input, custom_context));
44 void* custom_context = CustomContextHelper<Traits>::GetNext(context);
47 CallWithContext(Traits::GetSize, input, custom_context), buffer);
50 CallWithContext(Traits::GetData, input, custom_context),
51 CallWithContext(Traits::GetSize, input, custom_context));
55 CustomContextHelper<Traits>::TearDown(input, custom_context);
Dserialization_util.h100 void* custom_context = Traits::SetUpContext(input);
103 context->custom_contexts->push(custom_context);
104 return custom_context;
108 void* custom_context = context->custom_contexts->front();
110 return custom_context;
114 static void TearDown(MaybeConstUserType& input, void* custom_context) {
115 Traits::TearDownContext(input, custom_context);
129 static void TearDown(MaybeConstUserType& input, void* custom_context) {
130 DCHECK(!custom_context);
/external/libmojo/mojo/public/tools/bindings/generators/cpp_templates/
Dstruct_serialization_declaration.tmpl41 void* custom_context = CustomContextHelper<Traits>::SetUp(input, context);
42 ALLOW_UNUSED_LOCAL(custom_context);
45 struct, "CallWithContext(Traits::%s, input, custom_context)",
59 void* custom_context = CustomContextHelper<Traits>::GetNext(context);
63 "CallWithContext(Traits::%s, input, custom_context)", "result",
67 CustomContextHelper<Traits>::TearDown(input, custom_context);
/external/zopfli/src/zopflipng/lodepng/
Dlodepng.h265 const void* custom_context; /*optional custom settings for custom functions*/ member
299 const void* custom_context; /*optional custom settings for custom functions*/ member
Dlodepng.cpp2231 settings->custom_context = 0; in lodepng_compress_settings_init()
2247 settings->custom_context = 0; in lodepng_decompress_settings_init()
/external/zopfli/src/zopflipng/
Dzopflipng_lib.cc46 static_cast<const ZopfliPNGOptions*>(settings->custom_context); in CustomPNGDeflate()
189 state.encoder.zlibsettings.custom_context = png_options; in TryOptimize()