Home
last modified time | relevance | path

Searched refs:o (Results 1 – 25 of 149) sorted by relevance

123456

/system/libvintf/
Dparse_xml_for_test.h23 std::string toXml(const Version& o, SerializeFlags::Type flags = SerializeFlags::EVERYTHING);
24 std::string toXml(const KernelConfigTypedValue& o,
26 std::string toXml(const ManifestHal& o, SerializeFlags::Type flags = SerializeFlags::EVERYTHING);
27 std::string toXml(const MatrixHal& o, SerializeFlags::Type flags = SerializeFlags::EVERYTHING);
29 [[nodiscard]] bool fromXml(Version* o, const std::string& xml, std::string* error = nullptr);
30 [[nodiscard]] bool fromXml(KernelConfigTypedValue* o, const std::string& xml,
32 [[nodiscard]] bool fromXml(MatrixHal* o, const std::string& xml, std::string* error = nullptr);
33 [[nodiscard]] bool fromXml(ManifestHal* o, const std::string& xml, std::string* error = nullptr);
Dparse_xml_internal.h21 std::string toXml(const KernelInfo& o, SerializeFlags::Type flags = SerializeFlags::EVERYTHING);
22 [[nodiscard]] bool fromXml(KernelInfo* o, const std::string& xml, std::string* error = nullptr);
/system/teeui/test/
Dteeui_test.cpp121 constexpr ConvexObject<10> o{{.0, .0}, {1.0, .0}, {1.0, 1.0}, {.0, 1.0}}; in TEST() local
122 ASSERT_EQ(size_t(4), o.size()); in TEST()
126 constexpr ConvexObject<10> o{{.0, .0}, {1.0, .0}, {1.0, 1.0}, {.0, 1.0}}; in TEST() local
127 ASSERT_EQ(size_t(4), o.size()); in TEST()
130 auto o2 = o.intersect<10>({.0, .0}, {1.0, 1.0}); in TEST()
136 o2 = o.intersect<10>({1.0, 1.0}, {.0, .0}); in TEST()
142 o2 = o.intersect<10>({.0, 2.0}, {2.0, .0}); in TEST()
146 o2 = o.intersect<10>({2.0, .0}, {.0, 2.0}); in TEST()
152 o2 = o.intersect<10>({-1.0, .0}, {1.0, 2.0}); in TEST()
156 o2 = o.intersect<10>({1.0, 2.0}, {-1.0, .0}); in TEST()
[all …]
/system/core/libutils/
DString16.cpp93 String16::String16(const String16& o) in String16() argument
94 : mString(o.mString) in String16()
99 String16::String16(String16&& o) noexcept in String16() argument
100 : mString(o.mString) in String16()
102 o.mString = getEmptyString(); in String16()
105 String16::String16(const String16& o, size_t len, size_t begin) in String16() argument
108 setTo(o, len, begin); in String16()
111 String16::String16(const char16_t* o) : mString(allocFromUTF16(o, strlen16(o))) {} in String16() argument
113 String16::String16(const char16_t* o, size_t len) : mString(allocFromUTF16(o, len)) {} in String16() argument
115 String16::String16(const String8& o) in String16() argument
[all …]
DString8.cpp131 String8::String8(const String8& o) in String8() argument
132 : mString(o.mString) in String8()
137 String8::String8(const char* o) in String8() argument
138 : mString(allocFromUTF8(o, strlen(o))) in String8()
145 String8::String8(const char* o, size_t len) in String8() argument
146 : mString(allocFromUTF8(o, len)) in String8()
153 String8::String8(const String16& o) in String8() argument
154 : mString(allocFromUTF16(o.string(), o.size())) in String8()
158 String8::String8(const char16_t* o) in String8() argument
159 : mString(allocFromUTF16(o, strlen16(o))) in String8()
[all …]
/system/core/libutils/include/utils/
DRefBase.h234 inline bool operator _op_ (const U* o) const { \
235 return m_ptr _op_ o; \
238 inline bool operator _op_ (const T* o) const { \
239 return m_ptr _op_ o; \
251 inline bool operator _op_ (const U* o) const { \
252 return _wp_compare_<_compare_>(m_ptr, o); \
382 RefBase(const RefBase& o);
383 RefBase& operator=(const RefBase& o);
469 inline bool operator == (const wp<U>& o) const {
470 return m_refs == o.m_refs; // Implies m_ptr == o.mptr; see invariants below.
[all …]
DString8.h44 String8(const String8& o);
45 explicit String8(const char* o);
46 explicit String8(const char* o, size_t numChars);
48 explicit String8(const String16& o);
49 explicit String8(const char16_t* o);
50 explicit String8(const char16_t* o, size_t numChars);
51 explicit String8(const char32_t* o);
52 explicit String8(const char32_t* o, size_t numChars);
DString16.h43 String16(const String16& o);
44 String16(String16&& o) noexcept;
45 String16(const String16& o,
48 explicit String16(const char16_t* o);
49 explicit String16(const char16_t* o, size_t len);
50 explicit String16(const String8& o);
51 explicit String16(const char* o);
52 explicit String16(const char* o, size_t len);
DTypeHelpers.h260 key_value_pair_t(const key_value_pair_t& o) : key(o.key), value(o.value) { }
261 key_value_pair_t& operator=(const key_value_pair_t& o) {
262 key = o.key;
263 value = o.value;
268 inline bool operator < (const key_value_pair_t& o) const {
269 return strictly_order_type(key, o.key);
/system/tools/aidl/
Daidl_const_expressions.cpp63 T operator+(T o) { in operator +() argument
65 mOverflowed = __builtin_add_overflow(mValue, o, &out); in operator +()
68 T operator-(T o) { in operator -() argument
70 mOverflowed = __builtin_sub_overflow(mValue, o, &out); in operator -()
73 T operator*(T o) { in operator *() argument
81 out = mValue * o; in operator *()
83 mOverflowed = __builtin_mul_overflow(mValue, o, &out); in operator *()
87 T operator/(T o) { in operator /() argument
88 if (o == 0 || (isMin() && o == -1)) { in operator /()
92 return static_cast<T>(mValue / o); in operator /()
[all …]
/system/security/keystore/tests/
DMakefile69 GTEST_OBJS = $(GTEST)/src/gtest-all.o gtest_main.o
71 auth_token_table_test: auth_token_table_test.o \
72 ../auth_token_table.o \
74 $(KEYMASTER)/authorization_set.o \
75 $(KEYMASTER)/keymaster_tags.o \
76 $(KEYMASTER)/logger.o \
77 $(KEYMASTER)/serializable.o
113 OBJS=$(CPPSRCS:.cpp=.o)
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
DZoneOffsetPeriod.java137 public boolean equals(Object o) { in equals() argument
138 if (this == o) { in equals()
141 if (o == null || getClass() != o.getClass()) { in equals()
144 ZoneOffsetPeriod that = (ZoneOffsetPeriod) o; in equals()
180 public boolean equals(Object o) { in equals() argument
181 if (this == o) { in equals()
184 if (o == null || getClass() != o.getClass()) { in equals()
187 ZonePeriodsKey zoneKey = (ZonePeriodsKey) o; in equals()
/system/libvintf/include/vintf/
Dparse_xml.h27 std::string toXml(const HalManifest& o, SerializeFlags::Type flags = SerializeFlags::EVERYTHING);
28 std::string toXml(const CompatibilityMatrix& o,
30 [[nodiscard]] bool fromXml(HalManifest* o, const std::string& xml, std::string* error = nullptr);
31 [[nodiscard]] bool fromXml(CompatibilityMatrix* o, const std::string& xml,
/system/extras/tests/workloads/
Dpowerave.py17 for o,a in parsedargv:
18 if o == '-o': offset = float(a)
19 if o == '-h' or o == '--help': usage()
/system/libhwbinder/include/hwbinder/
DBinder.h85 BHwBinder(const BHwBinder& o);
86 BHwBinder& operator=(const BHwBinder& o);
101 explicit BpHwRefBase(const sp<IBinder>& o);
111 BpHwRefBase(const BpHwRefBase& o);
112 BpHwRefBase& operator=(const BpHwRefBase& o);
/system/tools/aidl/tests/java/src/android/aidl/tests/
DSimpleParcelable.java49 public boolean equals(Object o) { in equals() argument
50 if (o == null) { in equals()
53 if (!(o instanceof SimpleParcelable)) { in equals()
56 SimpleParcelable p = (SimpleParcelable)o; in equals()
DBadParcelable.java52 public boolean equals(Object o) { in equals() argument
53 if (o == null) { in equals()
56 if (!(o instanceof BadParcelable)) { in equals()
59 BadParcelable p = (BadParcelable) o; in equals()
/system/chre/build/
Dbuild_template.mk62 $(1)_CC_OBJS = $$(patsubst %.cc, $(OUT)/$$($(1)_OBJS_DIR)/%.o, \
64 $(1)_CPP_OBJS = $$(patsubst %.cpp, $(OUT)/$$($(1)_OBJS_DIR)/%.o, \
66 $(1)_C_OBJS = $$(patsubst %.c, $(OUT)/$$($(1)_OBJS_DIR)/%.o, \
68 $(1)_S_OBJS = $$(patsubst %.S, $(OUT)/$$($(1)_OBJS_DIR)/%.o, \
198 $$($(1)_CPP_OBJS): $(OUT)/$$($(1)_OBJS_DIR)/%.o: %.cpp $(MAKEFILE_LIST)
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DZoneTabFile.java94 public boolean equals(Object o) { in equals() argument
95 if (this == o) { in equals()
98 if (o == null || getClass() != o.getClass()) { in equals()
102 CountryEntry that = (CountryEntry) o; in equals()
/system/core/fastboot/
Dvendor_boot_img_utils.cpp218 const uint32_t o = round_up(*hdr_size, hdr->page_size); in replace_default_vendor_ramdisk() local
225 if (auto res = updater.Copy(o); !res.ok()) return res.error(); in replace_default_vendor_ramdisk()
245 if (auto res = updater.CheckOffset(o + p, o + new_p); !res.ok()) return res.error(); in replace_default_vendor_ramdisk()
259 if (auto res = updater.CheckOffset(o + p + q + r, o + new_p + q + new_r); !res.ok()) in replace_default_vendor_ramdisk()
312 const uint32_t o = round_up(*hdr_size, hdr->page_size); in replace_vendor_ramdisk_fragment() local
318 uint64_t total_size = (uint64_t)o + p + q + r + s; in replace_vendor_ramdisk_fragment()
324 (uint64_t)o + p + q + r) { in replace_vendor_ramdisk_fragment()
330 reinterpret_cast<const vendor_ramdisk_table_entry_v4*>(vendor_boot.data() + o + p + q); in replace_vendor_ramdisk_fragment()
341 if (auto res = updater.Copy(o); !res.ok()) return res.error(); in replace_vendor_ramdisk_fragment()
347 vendor_boot.data() + o + p + q); in replace_vendor_ramdisk_fragment()
[all …]
/system/tools/hidl/test/cpp_impl_test/
DAndroid.bp19 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-impl-headers android.hardware.tests.foo@1.0 && " +
20 "$(location hidl-gen) -o $(genDir) -r hidl.tests:system/tools/hidl/test/ " +
41 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-impl-sources android.hardware.tests.foo@1.0 && " +
42 "$(location hidl-gen) -o $(genDir) -r hidl.tests:system/tools/hidl/test/ " +
/system/chre/apps/power_test/common/include/generated/
Dchre_power_test_generated.h393 auto o = flatbuffers::Offset<TimerMessage>(end); in Finish() local
394 return o; in Finish()
471 auto o = flatbuffers::Offset<WifiScanMessage>(end); in Finish() local
472 return o; in Finish()
539 auto o = flatbuffers::Offset<GnssLocationMessage>(end); in Finish() local
540 return o; in Finish()
595 auto o = flatbuffers::Offset<CellQueryMessage>(end); in Finish() local
596 return o; in Finish()
652 auto o = flatbuffers::Offset<AudioRequestMessage>(end); in Finish() local
653 return o; in Finish()
[all …]
/system/core/libsparse/
Dsimg_dump.py52 for o, a in opts:
53 if o in ("-v", "--verbose"):
55 elif o in ("-s", "--showhash"):
57 elif o in ("-c", "--csvfile"):
60 print("Unrecognized option \"%s\"" % (o))
/system/chre/build/sys_support/qcom/
Duimage.lcs.toolv80113 KEEP (*crtbegin.o(.ctors))
114 KEEP (*crtbegin?.o(.ctors))
115 KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o fini.o) .ctors))
121 KEEP (*crtbegin.o(.dtors))
122 KEEP (*crtbegin?.o(.dtors))
123 KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o fini.o) .dtors))
/system/libhidl/transport/token/1.0/utils/include/hidl/
DHybridInterface.h232 Obituary(const Obituary& o) : in Obituary()
233 recipient(o.recipient), in Obituary()
234 cookie(o.cookie), in Obituary()
235 flags(o.flags), in Obituary()
236 who(o.who) { in Obituary()
238 Obituary& operator=(const Obituary& o) {
239 recipient = o.recipient;
240 cookie = o.cookie;
241 flags = o.flags;
242 who = o.who;

123456