| /system/ulib/ftl/utils/ |
| A D | fscache.h | 15 #define SET_DIRTY_NEW(C, ent) { \ argument 16 if (C) { \ 18 (C)->flags |= CACHE_DIRTY; \ 22 #define SET_DIRTY_OLD(C, ent) { \ argument 24 (C)->flags |= CACHE_DIRTY; \ 70 void FcReinit(Cache* C, ui32 entry_size); 71 void FcDestroy(Cache* C); 75 int FcFlush(Cache* C); 79 int FcHitsPercent(const Cache* C); 83 ui32 FcRAM(const Cache* C); [all …]
|
| /system/ulib/fbl/include/fbl/ |
| A D | macros.h | 54 template <typename C> static std::true_type test( decltype(&C::fn_name) ); \ 55 template <typename C> static std::false_type test(...); \ 72 template <typename C> static std::true_type test( decltype(static_cast<sig>(&C::fn_name)) ); \ 73 template <typename C> static std::false_type test(...); \
|
| A D | string_traits.h | 18 DECLARE_HAS_MEMBER_FN_WITH_SIGNATURE(has_data, data, const char* (C::*)() const); 19 DECLARE_HAS_MEMBER_FN_WITH_SIGNATURE(has_length, length, size_t (C::*)() const);
|
| /system/ulib/fidl/ |
| A D | README.md | 1 # The C and C++ fidl library 3 This library provides the runtime for fidl C bindings. This primarily 10 This library depends only on the C standard library and the Zircon kernel 11 public API. In particular, this library does not depend on the C++ standard 16 C++ standard library, but they can also be provided by other libraries 21 In order to avoid the C++ standard library, this library uses a few unusual
|
| /system/banjo/zircon-hw-usb/ |
| A D | usb.banjo | 13 [Packed, repr="C"] 22 [Packed, repr="C"] 40 [Packed, repr="C"] 52 [Packed, repr="C"] 62 [Packed, repr="C"] 74 [Packed, repr="C"]
|
| /system/banjo/zircon-syscalls-pci/ |
| A D | pci.banjo | 7 [repr = "C"] 13 [repr = "C"] 21 [repr = "C"] 29 [repr = "C"]
|
| /system/utest/int-types/ |
| A D | README.md | 6 There are two essentially identical source files, one in C and one in 7 C++. Certain types are built into C++ but not into C, so we need to 9 or types is considerably easier with C++ machinery like decltype and
|
| /system/ulib/fit/ |
| A D | README.md | 4 FIT is a lean library of portable C++ abstractions for control flow and 5 memory management beyond what is offered by the C++ 14 standard library. 9 event-driven programs as the C++ 14 standard library has some limitations in 38 - Is the feature not well served by other means, particularly by the C++ 54 - Features that introduce dependencies on libraries other than the C and C++ 57 - Collection classes where the C++ 14 standard library already offers an 68 FIT's API style follows C++ standard library conventions. 75 - Whenever a FIT API mimics a C++ standard library API, it should have a 112 - std::optional is very useful but it requires C++ 17. 116 - So we should create a poly-fill for std::optional on C++ 14. [all …]
|
| /system/utest/fbl/ |
| A D | ref_ptr_tests.cpp | 232 class C : public A, public B { class 234 ~C() { } in ~C() 511 test_res = do_test<A, C>(); in ref_ptr_upcast_test() 516 test_res = do_test<B, C>(); in ref_ptr_upcast_test() 523 test_res = do_test<D, C>(); in ref_ptr_upcast_test() 534 fbl::RefPtr<C> ptr = fbl::AdoptRef(new (&ac) C()); in ref_ptr_upcast_test() 564 class C : public fbl::RefCounted<C> { in ref_ptr_adopt_null_test() class 567 fbl::RefPtr<C> ptr = fbl::AdoptRef(static_cast<C*>(nullptr)); in ref_ptr_adopt_null_test() 575 class C : public fbl::RefCounted<C> { in ref_ptr_to_const_test() class 577 explicit C(int x) : x_(x) {} in ref_ptr_to_const_test() function in __anoned50383b0111::ref_ptr_to_const_test::C [all …]
|
| A D | type_support_tests.cpp | 213 union C { int a; float b; }; union 237 class C : public B { }; class 238 static_assert( fbl::is_base_of<C, C>::value, "C should be a base of C!"); 291 struct C : public A { ~C() { } }; in ~C() struct 531 class C { }; class 575 struct C {}; struct 587 static_assert(!has_simple<C>::value, ""); 593 static_assert(!has_overloaded<C>::value, ""); 599 static_assert(!has_simple_void<C>::value, ""); 605 static_assert(!has_simple_int<C>::value, ""); [all …]
|
| A D | unique_ptr_tests.cpp | 367 class C : public A, public B { class 369 ~C() { stuff_ = 2; } in ~C() 517 test_res = test_upcast<A, C>(); in uptr_upcasting() 522 test_res = test_upcast<B, C>(); in uptr_upcasting() 542 test_res = test_upcast<D, C>(); in uptr_upcasting() 553 fbl::unique_ptr<C> ptr(new (&ac) C()); in uptr_upcasting()
|
| /system/ulib/zx/ |
| A D | README.md | 1 # The C++ zx library 3 The intention of this library is to provide an idiomatic C++ interface 5 safety and move semantics on top of the C calls.
|
| /system/ulib/fidl-utils/ |
| A D | README.md | 4 fidl-utils contains C++ wrappers around libfidl. 7 in the SDK, and it may use C++17 features, where it would
|
| /system/host/fidl/examples/ |
| A D | tables.fidl | 15 struct C { 20 C qux;
|
| /system/host/banjo/examples/ |
| A D | tables.banjo | 15 struct C { 20 C qux;
|
| /system/ulib/trace/ |
| A D | README.md | 3 A static library for instrumenting C and C++ programs to capture trace data.
|
| /system/banjo/ddk-driver/ |
| A D | driver.banjo | 13 [repr = "C"] 17 [repr = "C"] 21 [repr = "C"]
|
| /system/fidl/fuchsia-hardware-i2c/ |
| A D | i2c.fidl | 22 /// vector<Segment>:MAX_SEGMENTS instead once we have better support in the C bindings or for C++.
|
| /system/host/fidl/ |
| A D | README.md | 61 #### C Bindings 63 C bindings are directly generated from the FIDL compiler. 65 #### Everything except C (C++, Rust, Dart, Go, etc) 73 * C++, Rust, and Go:
|
| /system/ulib/perftest/ |
| A D | README.md | 3 This is a library for writing performance tests (specifically micro-benchmarks) in C++.
|
| /system/banjo/ddk-physiter/ |
| A D | phys-iter.banjo | 7 [repr = "C"]
|
| /system/ulib/async/ |
| A D | README.md | 3 This set of libraries defines a C and C++ language interface for initiating 15 - `libasync.a` provides the C client API which includes all of the function 25 - `libasync-cpp.a` provides C++ wrappers: 243 ## Using the C++ helpers 246 which wrap the C API with a more convenient type safe interface for use 247 in C++. 249 Note that the C API can of course be used directly from C++ for special
|
| /system/banjo/zircon-hw-usb-hub/ |
| A D | usb-hub.banjo | 9 [Packed, repr="C"]
|
| /system/banjo/zircon-device-audio/ |
| A D | audio.banjo | 23 [repr = "C", Packed]
|
| /system/banjo/zircon-device-block/ |
| A D | block.banjo | 7 [repr = "C"]
|