Home
last modified time | relevance | path

Searched defs:IntPolicy (Results 1 – 7 of 7) sorted by relevance

/external/angle/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set_benchmark.cc38 struct IntPolicy { struct
39 using slot_type = int64_t;
40 using key_type = int64_t;
41 using init_type = int64_t;
43 static void construct(void*, int64_t* slot, int64_t v) { *slot = v; } in construct()
44 static void destroy(void*, int64_t*) {} in destroy()
45 static void transfer(void*, int64_t* new_slot, int64_t* old_slot) { in transfer()
49 static int64_t& element(slot_type* slot) { return *slot; } in element()
52 static auto apply(F&& f, int64_t x) -> decltype(std::forward<F>(f)(x, x)) { in apply()
Draw_hash_set_test.cc296 using IntPolicy = ValuePolicy<int64_t>; typedef
/external/libtextclassifier/abseil-cpp/absl/container/internal/
Draw_hash_set_test.cc253 struct IntPolicy { struct
254 using slot_type = int64_t;
255 using key_type = int64_t;
256 using init_type = int64_t;
258 static void construct(void*, int64_t* slot, int64_t v) { *slot = v; } in construct()
259 static void destroy(void*, int64_t*) {} in destroy()
260 static void transfer(void*, int64_t* new_slot, int64_t* old_slot) { in transfer()
264 static int64_t& element(slot_type* slot) { return *slot; } in element()
267 static auto apply(F&& f, int64_t x) -> decltype(std::forward<F>(f)(x, x)) { in apply()
/external/openscreen/third_party/abseil/src/absl/container/internal/
Draw_hash_set_test.cc253 struct IntPolicy { struct
254 using slot_type = int64_t;
255 using key_type = int64_t;
256 using init_type = int64_t;
258 static void construct(void*, int64_t* slot, int64_t v) { *slot = v; } in construct()
259 static void destroy(void*, int64_t*) {} in destroy()
260 static void transfer(void*, int64_t* new_slot, int64_t* old_slot) { in transfer()
264 static int64_t& element(slot_type* slot) { return *slot; } in element()
267 static auto apply(F&& f, int64_t x) -> decltype(std::forward<F>(f)(x, x)) { in apply()
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set_test.cc252 struct IntPolicy { struct
253 using slot_type = int64_t;
254 using key_type = int64_t;
255 using init_type = int64_t;
257 static void construct(void*, int64_t* slot, int64_t v) { *slot = v; } in construct()
258 static void destroy(void*, int64_t*) {} in destroy()
259 static void transfer(void*, int64_t* new_slot, int64_t* old_slot) { in transfer()
263 static int64_t& element(slot_type* slot) { return *slot; } in element()
266 static auto apply(F&& f, int64_t x) -> decltype(std::forward<F>(f)(x, x)) { in apply()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set_test.cc253 struct IntPolicy { struct
254 using slot_type = int64_t;
255 using key_type = int64_t;
256 using init_type = int64_t;
258 static void construct(void*, int64_t* slot, int64_t v) { *slot = v; } in construct()
259 static void destroy(void*, int64_t*) {} in destroy()
260 static void transfer(void*, int64_t* new_slot, int64_t* old_slot) { in transfer()
264 static int64_t& element(slot_type* slot) { return *slot; } in element()
267 static auto apply(F&& f, int64_t x) -> decltype(std::forward<F>(f)(x, x)) { in apply()
/external/abseil-cpp/absl/container/internal/
Draw_hash_set_test.cc252 struct IntPolicy { struct
253 using slot_type = int64_t;
254 using key_type = int64_t;
255 using init_type = int64_t;
257 static void construct(void*, int64_t* slot, int64_t v) { *slot = v; } in construct()
258 static void destroy(void*, int64_t*) {} in destroy()
259 static void transfer(void*, int64_t* new_slot, int64_t* old_slot) { in transfer()
263 static int64_t& element(slot_type* slot) { return *slot; } in element()
266 static auto apply(F&& f, int64_t x) -> decltype(std::forward<F>(f)(x, x)) { in apply()