Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Dtable.c28 bool is_pow2(uint64_t v) { return v == 0 || (v & (v - 1)) == 0; } in is_pow2() function
32 bool pow2 = is_pow2(v); in log2ceil()
/external/protobuf/php/ext/google/protobuf/
Dupb.c4665 bool is_pow2(uint64_t v) { return v == 0 || (v & (v - 1)) == 0; } in is_pow2() function
4669 bool pow2 = is_pow2(v); in log2ceil()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c6458 bool is_pow2(uint64_t v) { return v == 0 || (v & (v - 1)) == 0; } in is_pow2() function
6462 bool pow2 = is_pow2(v); in log2ceil()