Searched refs:maybe_add (Results 1 – 4 of 4) sorted by relevance
/external/ruy/ruy/ |
D | ctx.cc | 94 auto maybe_add = [&](Path path, std::function<bool(void)> is_supported) { in DetectRuntimeSupportedPaths() local 111 maybe_add(Path::kNeon, []() { return true; }); in DetectRuntimeSupportedPaths() 118 maybe_add(Path::kNeonDotprod, [=]() { return cpuinfo->NeonDotprod(); }); in DetectRuntimeSupportedPaths() 122 maybe_add(Path::kAvx, in DetectRuntimeSupportedPaths() 124 maybe_add(Path::kAvx2Fma, in DetectRuntimeSupportedPaths() 126 maybe_add(Path::kAvx512, in DetectRuntimeSupportedPaths() 129 (void)maybe_add; in DetectRuntimeSupportedPaths()
|
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_encoder.cc | 533 void (*maybe_add)(grpc_chttp2_hpack_compressor*, grpc_mdelem, size_t) = in hpack_enc() local 546 maybe_add(c, elem, decoder_space_usage); in hpack_enc() 556 maybe_add(c, elem, decoder_space_usage); in hpack_enc() 565 maybe_add = in hpack_enc() 568 maybe_add(c, elem, decoder_space_usage); in hpack_enc()
|
/external/protobuf/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 1553 auto maybe_add = [&](const Descriptor* d) { in operator ()() local 1558 maybe_add(desc->field(i)->message_type()); in operator ()() 1562 maybe_add(desc->extension(i)->message_type()); in operator ()() 1563 maybe_add(desc->extension(i)->containing_type()); in operator ()() 1566 maybe_add(desc->nested_type(i)); in operator ()() 1568 maybe_add(desc->containing_type()); in operator ()()
|
/external/tensorflow/tensorflow/python/eager/ |
D | function_test.py | 2898 def maybe_add(x, should_add): function 2906 maybe_add(x, True) 2907 self.assertLen(total_function_cache(maybe_add), 1) 2910 maybe_add(x, False) 2911 self.assertLen(total_function_cache(maybe_add), 2) 2916 maybe_add(x, True) 2917 self.assertLen(total_function_cache(maybe_add), 3)
|