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/cronet/third_party/protobuf/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 1508 auto maybe_add = [&](const Descriptor* d) { in operator ()() local 1513 maybe_add(desc->field(i)->message_type()); in operator ()() 1517 maybe_add(desc->extension(i)->message_type()); in operator ()() 1518 maybe_add(desc->extension(i)->containing_type()); in operator ()() 1521 maybe_add(desc->nested_type(i)); in operator ()() 1523 maybe_add(desc->containing_type()); in operator ()()
|
/external/tensorflow/tensorflow/python/eager/ |
D | function_test.py | 3024 def maybe_add(x, should_add): function 3032 maybe_add(x, True) 3033 self.assertLen(total_function_cache(maybe_add), 1) 3036 maybe_add(x, False) 3037 self.assertLen(total_function_cache(maybe_add), 2) 3042 maybe_add(x, True) 3043 self.assertLen(total_function_cache(maybe_add), 3)
|